/* ChallengeEU Alliance Repository — front-end styles.
   Everything is scoped to #ceud-mount / .ceud. The stylesheet is printed inside the content,
   after the theme, so equal-specificity ties go our way; the few rules that must win no
   matter where a cache plugin moves this file carry an extra class (see "theme guards"). */

#ceud-mount{ box-sizing:border-box; display:block; }
.ceud, .ceud *, .ceud *::before, .ceud *::after{ box-sizing:border-box; margin:0; padding:0; }

/* ---------- design tokens ---------- */
.ceud{
  --ink:#2A2C37; --ink-soft:#3A3D4B;
  --orange:#F16E22; --orange-deep:#D95B12;
  --cream:#F2F0EB; --paper:#FFFFFF;
  --pink:#FBBFEC; --purple:#621782; --lilac:#D0A5EB;
  --blue:#5692FF; --sky:#BAD4FF; --green:#016220; --sage:#A6C3A3;
  --yellow:#FBD83D; --navy:#193D69; --peach:#F7CDB2;
  --serif:"Alegreya",Georgia,"Times New Roman",serif;
  --sans:"Source Sans 3","Source Sans Pro",Arial,sans-serif;
  --pad:clamp(20px,4.5vw,64px);
  --sec:clamp(84px,11vw,150px);
  font-family:var(--sans); font-size:17px; line-height:1.6; font-weight:400; font-style:normal;
  letter-spacing:normal; word-spacing:normal; text-align:left; text-transform:none; text-indent:0;
  color:var(--ink); background:var(--cream);
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  overflow:clip;
}
.ceud ::selection{ background:var(--orange); color:#fff; }
.ceud img{ display:block; max-width:100%; }
.ceud a{ color:inherit; text-decoration:none; }
.ceud button{ font:inherit; border:0; border-radius:0; padding:0; background:none; cursor:pointer; color:inherit;
  white-space:normal; text-align:inherit; }
.ceud :focus-visible{ outline:3px solid var(--orange); outline-offset:3px; border-radius:2px; }

/* ---------- theme guards ----------
   Hello Elementor ships `a:hover{color:#336}`, `.page-content a{text-decoration:underline}`,
   `[type=button]:hover,button:focus{background:#c36;color:#fff}` and the Elementor kit paints
   every h1/h2 orange. These lines out-rank them without out-ranking our own components. */
.ceud.ceud a{ text-decoration:none; }
.ceud a:hover, .ceud a:active{ color:inherit; }   /* not :focus — it would out-rank .ceud .ceud-btn colours */
.ceud button:hover, .ceud button:focus, .ceud button:active{ background:none; color:inherit; }
.ceud .ceud-display{ color:var(--ink); }
.ceud .ceud-empty[hidden]{ display:none; }

/* grain overlay for editorial texture */
.ceud-grain{ position:relative; }
.ceud-grain::after{
  content:""; position:absolute; inset:0; pointer-events:none; opacity:.05; mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* thin reading-progress bar */
.ceud-progress{ position:sticky; top:0; z-index:60; height:3px; margin-bottom:-3px; pointer-events:none; }
.ceud-progress i{ display:block; height:100%; background:var(--orange); transform:scaleX(0); transform-origin:left; }

/* ---------- shared bits ---------- */
.ceud-wrap{ max-width:1360px; margin:0 auto; padding-left:var(--pad); padding-right:var(--pad); }
.ceud-overline{ display:flex; align-items:center; gap:14px; font-weight:700; letter-spacing:.28em;
  text-transform:uppercase; font-size:13px; }
.ceud-overline i{ width:46px; height:6px; border-radius:3px; background:var(--orange); flex:none;
  transform-origin:left center; }
.ceud-display{ font-family:var(--serif); font-weight:800; line-height:.98; letter-spacing:-.015em; }
.ceud-display em{ font-style:italic; font-weight:700; color:var(--orange); }
.ceud-lede{ font-size:clamp(17px,1.6vw,21px); line-height:1.65; max-width:56ch; }
/* .ceud prefix keeps button colors above the `.ceud a{color:inherit}` reset */
.ceud .ceud-btn{ display:inline-flex; align-items:center; gap:12px; font-weight:700; font-size:16px;
  padding:16px 30px; border-radius:999px; background:var(--orange); color:var(--ink);
  transition:transform .35s cubic-bezier(.22,1,.36,1), background .25s, color .25s, box-shadow .35s;
  will-change:transform; }
.ceud .ceud-btn svg{ flex:none; width:17px; height:16px; transition:transform .35s cubic-bezier(.22,1,.36,1); }
.ceud .ceud-btn:hover{ transform:translateY(-3px); background:var(--ink); color:var(--cream); box-shadow:0 14px 34px -12px rgba(42,44,55,.55); }
.ceud .ceud-btn:hover svg{ transform:translateX(4px); }
.ceud .ceud-btn--ghost{ background:transparent; box-shadow:inset 0 0 0 2px var(--ink); color:var(--ink); }
.ceud .ceud-btn--ghost:hover{ background:var(--ink); color:var(--cream); }
.ceud .ceud-btn--ink{ background:var(--ink); color:var(--cream); }
.ceud .ceud-btn--ink:hover{ background:var(--cream); color:var(--ink); }

/* word-reveal helpers (JS wraps words; harmless without JS) */
.ceud-split .w{ display:inline-block; overflow:hidden; vertical-align:top; padding-bottom:.08em; margin-bottom:-.08em; }
.ceud-split .wi{ display:inline-block; will-change:transform; }

/* =====================================================================
   HERO
   ===================================================================== */
.ceud-hero{ position:relative; background:var(--cream); overflow:hidden; }
.ceud-hero .ceud-wrap{ position:relative; z-index:2; }
.ceud-topbar{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:18px 24px; padding-top:26px; }
.ceud-brand{ display:flex; align-items:center; gap:13px; }
.ceud-brand svg{ width:30px; height:30px; flex:none; color:var(--orange); }
.ceud-brand b{ font-family:var(--serif); font-size:22px; font-weight:800; letter-spacing:-.01em; }
.ceud-brand span{ font-size:13px; font-weight:700; letter-spacing:.22em; text-transform:uppercase;
  border-left:2px solid rgba(42,44,55,.25); padding-left:13px; color:var(--ink-soft); }
.ceud-topnav{ display:flex; flex-wrap:wrap; align-items:center; gap:10px clamp(15px,2.4vw,26px); }
.ceud-topnav a{ display:inline-flex; align-items:center; gap:6px; font-weight:700; font-size:15px;
  position:relative; white-space:nowrap; }
.ceud-topnav a::after{ content:""; position:absolute; left:0; bottom:-5px; height:2px; width:100%;
  background:var(--orange); transform:scaleX(0); transform-origin:right; transition:transform .35s cubic-bezier(.22,1,.36,1); }
.ceud-topnav a:hover::after{ transform:scaleX(1); transform-origin:left; }
.ceud-topnav a svg{ flex:none; color:var(--orange); }   /* download glyph — marks the brand-asset links */

.ceud-hero-grid{ display:grid; grid-template-columns:minmax(0,7fr) minmax(0,5fr); align-items:center;
  gap:clamp(28px,5vw,72px); padding:clamp(56px,8vh,110px) 0 clamp(46px,6vh,84px); }
.ceud-hero h1{ font-size:clamp(50px,7.2vw,118px); margin:26px 0 30px; max-width:13ch; }
.ceud-hero-ctas{ display:flex; flex-wrap:wrap; gap:16px; margin-top:38px; }

/* --- the file stack --- */
.ceud-stackzone{ position:relative; display:flex; align-items:center; justify-content:center; min-height:480px; }
.ceud-stack{ position:relative; width:min(100%,470px); height:480px; }
.ceud-cover{ position:absolute; width:262px; background:var(--paper); border:1.5px solid rgba(42,44,55,.18);
  border-radius:16px; overflow:hidden; box-shadow:0 24px 48px -22px rgba(42,44,55,.4);
  padding:0 0 18px; will-change:transform; }
.ceud-cover .band{ height:12px; background:var(--acc,var(--pink)); border-bottom:1.5px solid rgba(42,44,55,.18); }
.ceud-cover .in{ padding:16px 18px 0; }
.ceud-cover .row{ display:flex; align-items:center; justify-content:space-between; gap:8px; }
.ceud-cover .code{ background:var(--ink); color:var(--cream); border-radius:999px; padding:5px 12px;
  font-size:12px; font-weight:700; letter-spacing:.14em; }
.ceud-cover .lvl{ font-size:10px; font-weight:800; letter-spacing:.2em; text-transform:uppercase; color:var(--ink-soft); }
.ceud-cover .art{ display:flex; align-items:center; justify-content:center; padding:22px 0 14px; }
.ceud-cover .art svg{ width:108px; height:108px; overflow:visible; color:var(--orange); }
.ceud-cover h3{ font-family:var(--serif); font-weight:800; font-size:19px; line-height:1.18; letter-spacing:-.01em;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.ceud-cover .meta{ margin-top:9px; font-size:11.5px; font-weight:700; letter-spacing:.16em;
  text-transform:uppercase; color:var(--ink-soft); }
.ceud-cover .ln{ height:7px; border-radius:4px; background:rgba(42,44,55,.1); margin-top:8px; }
.ceud-cover--a{ left:0; top:34px; transform:rotate(-9deg); }
.ceud-cover--b{ right:0; top:12px; transform:rotate(8deg); }
.ceud-cover--front{ left:50%; top:52px; margin-left:-131px; transform:rotate(-2deg); z-index:3; }
.ceud-cover .stamp{ position:absolute; right:12px; top:150px; transform:rotate(-11deg);
  border:2px solid var(--orange); color:var(--orange); border-radius:8px; padding:4px 9px;
  font-size:10.5px; font-weight:800; letter-spacing:.18em; text-transform:uppercase; }
/* rotating open-access seal */
.ceud-seal{ position:absolute; z-index:4; left:-6px; bottom:8px; width:148px; height:148px; }
.ceud-seal .spin{ transform-origin:50% 50%; animation:ceud-spin 26s linear infinite; }
.ceud-seal text{ font-family:var(--sans); font-weight:700; font-size:12px; letter-spacing:.18em;
  fill:var(--ink); text-transform:uppercase; }
@keyframes ceud-spin{ to{ transform:rotate(360deg); } }
/* sticker chips floating around the stack */
.ceud-stick{ position:absolute; z-index:5; background:var(--acc,var(--pink)); color:var(--ink);
  border:1.5px solid var(--ink); border-radius:999px; padding:9px 15px; font-size:12.5px; font-weight:700;
  letter-spacing:.14em; text-transform:uppercase; white-space:nowrap;
  box-shadow:0 10px 22px -12px rgba(42,44,55,.55); transform:rotate(var(--rot,0deg)); will-change:transform; }
.ceud-stackzone .ceud-stick:nth-of-type(1){ top:0; left:-3%; }
.ceud-stackzone .ceud-stick:nth-of-type(2){ top:9%; right:-5%; }
.ceud-stackzone .ceud-stick:nth-of-type(3){ bottom:17%; right:-2%; }
.ceud-stackzone .ceud-stick:nth-of-type(4){ bottom:-2%; left:34%; }
/* giant ghost word behind the hero */
.ceud-ghost{ position:absolute; z-index:1; left:0; right:0; bottom:clamp(48px,9vh,96px); pointer-events:none;
  font-family:var(--serif); font-weight:800; font-size:clamp(120px,21vw,330px); line-height:1;
  letter-spacing:.02em; color:transparent; -webkit-text-stroke:1.5px rgba(42,44,55,.14);
  white-space:nowrap; user-select:none; }
.ceud-hero-foot{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px;
  padding:20px 0 26px; border-top:1.5px solid rgba(42,44,55,.16); position:relative; z-index:2; }
.ceud-hero-foot .acr{ display:flex; flex-wrap:wrap; gap:6px 0; font-size:12.5px; font-weight:700;
  letter-spacing:.2em; color:var(--ink-soft); text-transform:uppercase; }
.ceud-hero-foot .acr b{ color:var(--ink); font-weight:700; }
.ceud-hero-foot .acr i{ font-style:normal; color:var(--orange); margin:0 9px; }
.ceud-hero-foot .scr{ font-size:12.5px; font-weight:700; letter-spacing:.22em; text-transform:uppercase;
  display:flex; align-items:center; gap:10px; color:var(--ink-soft); }
.ceud-hero-foot .scr::after{ content:""; width:34px; height:2px; background:var(--orange);
  animation:ceud-nudge 2.2s ease-in-out infinite; }
@keyframes ceud-nudge{ 0%,100%{ transform:scaleX(.4); opacity:.5 } 50%{ transform:scaleX(1); opacity:1 } }

/* =====================================================================
   MARQUEE
   ===================================================================== */
.ceud-marquee{ background:var(--orange); color:var(--ink); overflow:hidden; padding:17px 0;
  border-top:2px solid var(--ink); border-bottom:2px solid var(--ink); }
.ceud-marquee .track{ display:flex; width:max-content; animation:ceud-marq 60s linear infinite; }
.ceud-marquee:hover .track{ animation-play-state:paused; }
.ceud-marquee .chunk{ display:flex; align-items:center; gap:34px; padding-right:34px; white-space:nowrap;
  font-family:var(--serif); font-weight:800; font-size:clamp(18px,2.1vw,26px); letter-spacing:.02em; }
.ceud-marquee .chunk svg{ width:20px; height:20px; flex:none; color:var(--ink); }
@keyframes ceud-marq{ to{ transform:translateX(-50%); } }

/* =====================================================================
   THE REGISTER
   ===================================================================== */
.ceud-reg{ background:var(--paper); padding:var(--sec) 0; }
.ceud-reg-head{ display:grid; grid-template-columns:minmax(0,7fr) minmax(0,5fr); gap:clamp(24px,4vw,64px);
  align-items:end; }
.ceud-reg-head h2{ font-size:clamp(38px,4.8vw,78px); margin-top:24px; }
.ceud-reg-head .ceud-lede{ color:var(--ink-soft); padding-bottom:8px; }

/* vitals strip */
.ceud-vitals{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(14px,2vw,26px);
  margin:clamp(36px,4.5vw,60px) 0 clamp(30px,3.5vw,44px); border-top:2px solid var(--ink); }
.ceud-vit{ padding-top:18px; }
.ceud-vit > b{ display:block; font-family:var(--serif); font-weight:800; line-height:1;
  font-size:clamp(40px,4.6vw,74px); letter-spacing:-.02em; }
.ceud-vit > b i{ font-style:normal; color:var(--orange); }
.ceud-vit > b .sm{ font-size:.52em; font-weight:700; font-style:italic; color:var(--ink-soft); letter-spacing:0; }
.ceud-vit > span{ display:block; margin-top:8px; font-size:12.5px; font-weight:700; letter-spacing:.18em;
  text-transform:uppercase; color:var(--ink-soft); }
.ceud-clock{ margin:2px 0 clamp(34px,4vw,52px); }
.ceud-clock .track{ position:relative; height:8px; border-radius:999px; background:var(--cream);
  box-shadow:inset 0 0 0 1.5px rgba(42,44,55,.22); overflow:hidden; }
.ceud-clock .fill{ position:absolute; inset:0 auto 0 0; width:0; border-radius:999px; background:var(--orange); }
.ceud-clock .lbl{ display:flex; justify-content:space-between; gap:10px; margin-top:9px;
  font-size:11.5px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:var(--ink-soft); }
.ceud-clock .lbl b{ color:var(--ink); }

/* filter bar — only useful with the script, so it waits for it */
.ceud-fbar{ border-top:2px solid var(--ink); padding:20px 0 26px; display:flex; flex-direction:column; gap:14px; }
.ceud:not(.ceud-js) .ceud-fbar{ display:none; }
.ceud-fgrp{ display:flex; flex-wrap:wrap; align-items:center; gap:8px 10px; }
.ceud-fgrp .lab{ font-size:11.5px; font-weight:700; letter-spacing:.2em; text-transform:uppercase;
  color:var(--ink-soft); margin-right:6px; min-width:96px; }
.ceud .ceud-chip{ display:inline-flex; align-items:center; gap:8px; padding:8px 15px; border-radius:999px;
  box-shadow:inset 0 0 0 1.5px rgba(42,44,55,.5); font-size:13.5px; font-weight:700; letter-spacing:.03em;
  white-space:nowrap; line-height:1.4;
  transition:background .25s, color .25s, box-shadow .25s, transform .25s; }
.ceud .ceud-chip:hover{ transform:translateY(-2px); box-shadow:inset 0 0 0 1.5px var(--ink); }
.ceud .ceud-chip i{ width:10px; height:10px; border-radius:50%; background:var(--dot,var(--orange));
  box-shadow:inset 0 0 0 1.5px rgba(42,44,55,.4); flex:none; }
.ceud .ceud-chip .n{ font-size:11px; font-weight:700; opacity:.75; }
.ceud .ceud-chip[aria-pressed="true"]{ background:var(--ink); color:var(--cream); box-shadow:inset 0 0 0 1.5px var(--ink); }
.ceud .ceud-chip[aria-pressed="true"] .n{ opacity:.7; }
.ceud-fmeta{ display:flex; align-items:center; gap:16px; margin-left:auto; }
.ceud-fmeta .cnt{ font-size:12.5px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:var(--ink-soft); }
.ceud-fmeta .cnt b{ color:var(--orange); }
.ceud .ceud-reset{ font-size:12.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
  border-bottom:2px solid var(--orange); padding-bottom:2px; visibility:hidden; }
.ceud .ceud-reset.show{ visibility:visible; }

/* year headers + file rows */
.ceud-rows{ border-bottom:2px solid var(--ink); }
.ceud-yr{ display:flex; align-items:baseline; justify-content:space-between; gap:14px;
  padding:clamp(30px,4vw,46px) 4px 14px; }
.ceud-yr b{ font-family:var(--serif); font-style:italic; font-weight:800; line-height:1;
  font-size:clamp(44px,5.4vw,84px); color:rgba(42,44,55,.16); -webkit-text-stroke:1.5px var(--ink); letter-spacing:.01em; }
.ceud-yr span{ font-size:12px; font-weight:700; letter-spacing:.2em; text-transform:uppercase; color:var(--ink-soft); }
.ceud-file{ position:relative; display:grid; grid-template-columns:112px minmax(0,1fr) auto 62px;
  gap:clamp(16px,2.6vw,40px); align-items:center; padding:clamp(20px,2.6vw,30px) clamp(8px,1.2vw,18px);
  border-top:2px solid var(--ink); overflow:hidden; isolation:isolate; }
.ceud-file::before{ content:""; position:absolute; inset:0; z-index:-1; background:var(--wash,var(--cream));
  transform:translateY(101%); transition:transform .5s cubic-bezier(.22,1,.36,1); }
.ceud-file:hover::before, .ceud-file:focus-visible::before{ transform:none; }
.ceud-file .code{ font-family:var(--serif); font-style:italic; font-weight:700; font-size:clamp(26px,3vw,44px);
  line-height:1; color:var(--ink); transition:color .35s; white-space:nowrap; }
.ceud-file:hover .code{ color:var(--orange); }
.ceud-file h3{ font-family:var(--serif); font-weight:800; font-size:clamp(20px,2.1vw,31px); line-height:1.14;
  letter-spacing:-.01em; transition:transform .5s cubic-bezier(.22,1,.36,1); max-width:30ch; }
.ceud-file:hover h3{ transform:translateX(10px); }
.ceud-file .meta{ display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.ceud-file .meta span{ display:inline-flex; align-items:center; gap:7px; font-size:11.5px; font-weight:700;
  letter-spacing:.14em; text-transform:uppercase; padding:5px 11px; border-radius:999px;
  box-shadow:inset 0 0 0 1.5px rgba(42,44,55,.35); }
.ceud-file .meta span i{ width:8px; height:8px; border-radius:50%; background:var(--dot,var(--orange));
  box-shadow:inset 0 0 0 1px rgba(42,44,55,.4); }
.ceud-file .st{ display:flex; flex-direction:column; align-items:flex-end; gap:6px; text-align:right; }
.ceud-file .pill{ display:inline-flex; align-items:center; gap:7px; font-size:11.5px; font-weight:800;
  letter-spacing:.14em; text-transform:uppercase; padding:6px 13px; border-radius:999px; white-space:nowrap; }
.ceud-file .pill svg{ width:11px; height:13px; flex:none; }
.ceud-file .pill--live{ background:var(--orange); color:var(--ink); }
.ceud-file .pill--rev{ box-shadow:inset 0 0 0 2px var(--ink); }
.ceud-file .pill--ahead{ box-shadow:inset 0 0 0 1.5px rgba(42,44,55,.5); color:var(--ink-soft); }
.ceud-file .when{ font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--ink-soft); }
.ceud-file .go{ width:52px; height:52px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:var(--ink); color:var(--cream); transition:background .3s, color .3s, transform .5s cubic-bezier(.22,1,.36,1); }
.ceud-file .go svg{ width:19px; height:19px; }
.ceud-file:hover .go{ background:var(--orange); color:var(--ink); transform:translateY(-3px); }
.ceud-file .go--idle{ background:transparent; color:var(--ink-soft); box-shadow:inset 0 0 0 1.5px rgba(42,44,55,.3); opacity:.7; }
.ceud-file:hover .go--idle{ background:transparent; color:var(--ink); transform:none; }
.ceud-file.is-ahead .code{ color:var(--ink-soft); }   /* future rows: solid but a touch muted */
.ceud-foot{ margin-top:22px; font-size:13px; line-height:1.6; color:rgba(42,44,55,.62); max-width:88ch; }
.ceud-foot b{ color:var(--ink-soft); }
.ceud-empty{ display:flex; align-items:center; gap:18px; padding:clamp(30px,4vw,48px) 8px;
  border-bottom:2px solid var(--ink); }
.ceud-empty svg{ width:40px; height:40px; flex:none; color:rgba(42,44,55,.3); }
.ceud-empty p{ font-size:16px; color:var(--ink-soft); max-width:52ch; }
.ceud-empty b{ color:var(--ink); }
.ceud .ceud-empty .lnk{ font-weight:700; color:var(--ink); border-bottom:2px solid var(--orange); }
.ceud-rows.is-empty{ border-bottom:0; }

/* =====================================================================
   DOWNLOADS — files & documents to download
   ===================================================================== */
.ceud-dl{ background:var(--cream); padding:var(--sec) 0; }
.ceud-dl-head{ display:grid; grid-template-columns:minmax(0,7fr) minmax(0,5fr); gap:clamp(24px,4vw,64px);
  align-items:end; margin-bottom:clamp(34px,4vw,54px); }
.ceud-dl-head h2{ font-size:clamp(36px,4.6vw,72px); margin-top:24px; }
.ceud-dl-head .ceud-lede{ color:var(--ink-soft); padding-bottom:8px; }
.ceud-dl-grid{ display:grid; grid-template-columns:minmax(0,7fr) minmax(0,5fr); gap:clamp(16px,2vw,26px);
  align-items:stretch; }
.ceud-dl-grid.is-solo{ grid-template-columns:minmax(0,1fr); }

/* featured file with language versions */
.ceud-dl-feat{ display:grid; grid-template-columns:176px minmax(0,1fr); background:var(--paper);
  border:1.5px solid rgba(42,44,55,.16); border-radius:26px; overflow:hidden; }
.ceud-dl-cover{ position:relative; background:var(--acc,var(--pink)); border-right:1.5px solid rgba(42,44,55,.16);
  display:flex; align-items:center; justify-content:center; padding:24px; }
.ceud-dl-cover .art svg{ width:118px; height:118px; color:var(--ink); overflow:visible; }
.ceud-dl-cover .tagpill{ position:absolute; left:16px; bottom:16px; background:var(--ink); color:var(--cream);
  border-radius:999px; padding:6px 13px; font-size:10.5px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; }
.ceud-dl-body{ padding:clamp(22px,2.6vw,34px); }
.ceud-dl-top{ display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; }
.ceud-dl-top .code{ font-family:var(--serif); font-style:italic; font-weight:800; font-size:30px; color:var(--orange); line-height:1; }
.ceud-dl-top .kv{ font-size:12px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:var(--ink-soft); }
.ceud-dl-body h3{ font-family:var(--serif); font-weight:800; font-size:clamp(23px,2.2vw,33px); line-height:1.14;
  margin:14px 0 12px; letter-spacing:-.01em; }
.ceud-dl-body > p{ font-size:15.5px; line-height:1.6; color:var(--ink-soft); max-width:58ch; }
.ceud-dl-cta{ margin-top:24px; }
.ceud-lang-head{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin:22px 0 14px;
  padding-top:20px; border-top:1.5px solid rgba(42,44,55,.14); }
.ceud-lang-head b{ font-size:13px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; }
.ceud-lang-head span{ font-size:12px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--orange); }
.ceud-langs{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.ceud .ceud-lang{ display:flex; align-items:center; gap:10px; min-width:0;
  padding:11px 13px; border-radius:13px; box-shadow:inset 0 0 0 1.5px rgba(42,44,55,.2);
  transition:background .25s, box-shadow .25s, transform .25s, color .25s; }
.ceud .ceud-lang::before{ content:""; flex:none; width:9px; height:9px; border-radius:50%; background:var(--orange);
  box-shadow:inset 0 0 0 1.5px rgba(42,44,55,.35); transition:transform .25s; }
.ceud-lang .nm{ flex:1 1 auto; min-width:0; font-size:14.5px; font-weight:700; line-height:1.2;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ceud-lang .dl{ flex:none; width:18px; height:18px; display:flex; align-items:center; justify-content:center;
  color:var(--ink-soft); transition:transform .25s, color .25s; }
.ceud-lang .dl svg{ width:15px; height:15px; }
.ceud .ceud-lang:hover{ background:var(--ink); color:var(--cream); box-shadow:inset 0 0 0 1.5px var(--ink); transform:translateY(-2px); }
.ceud .ceud-lang:hover::before{ transform:scale(1.25); }
.ceud-lang:hover .dl{ color:var(--cream); transform:translateY(2px); }
/* a language version listed before its file is in */
.ceud .ceud-lang.is-soon{ box-shadow:inset 0 0 0 1.5px rgba(42,44,55,.2); color:var(--ink-soft); }
.ceud .ceud-lang.is-soon::before{ background:transparent; box-shadow:inset 0 0 0 1.5px rgba(42,44,55,.45); }
.ceud .ceud-lang.is-soon:hover{ background:transparent; color:var(--ink-soft); transform:none; }
.ceud-lang .soon{ flex:none; font-size:10.5px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-soft); }

/* secondary download cards */
.ceud-dl-side{ display:flex; flex-direction:column; gap:clamp(16px,2vw,26px); }
.ceud .ceud-dl-card{ display:flex; flex:1 1 0; flex-direction:column; background:var(--paper); border:1.5px solid rgba(42,44,55,.16);
  border-left:6px solid var(--acc,var(--orange)); border-radius:22px; padding:clamp(20px,2.2vw,28px);
  transition:transform .5s cubic-bezier(.22,1,.36,1), box-shadow .5s; }
.ceud a.ceud-dl-card:hover{ transform:translateY(-6px); box-shadow:0 26px 50px -26px rgba(42,44,55,.45); }
.ceud-dl-cc{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.ceud-dl-cc .code{ font-family:var(--serif); font-style:italic; font-weight:800; font-size:26px; color:var(--orange); line-height:1; }
.ceud-dl-cc .mini{ width:42px; height:42px; border-radius:50%; background:var(--cream); color:var(--ink);
  display:flex; align-items:center; justify-content:center; transition:background .3s, color .3s, transform .4s cubic-bezier(.22,1,.36,1); }
.ceud-dl-cc .mini svg{ width:17px; height:17px; }
.ceud a.ceud-dl-card:hover .mini{ background:var(--orange); transform:translateY(-2px); }
.ceud-dl-card h3{ font-family:var(--serif); font-weight:800; font-size:clamp(19px,1.7vw,23px); line-height:1.16; margin:15px 0 8px; }
.ceud-dl-card .kv{ font-size:12px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-soft); }
.ceud-dl-card .act{ margin-top:auto; padding-top:18px; display:inline-flex; align-items:center; gap:9px; font-weight:700; font-size:14px; }
.ceud-dl-card .act i{ font-style:normal; position:relative; }
.ceud-dl-card .act i::after{ content:""; position:absolute; left:0; bottom:-3px; height:2px; width:100%; background:var(--orange);
  transform:scaleX(0); transform-origin:right; transition:transform .4s cubic-bezier(.22,1,.36,1); }
.ceud a.ceud-dl-card:hover .act i::after{ transform:scaleX(1); transform-origin:left; }
.ceud-dl-card .act svg{ width:15px; height:15px; transition:transform .4s cubic-bezier(.22,1,.36,1); }
.ceud a.ceud-dl-card:hover .act svg{ transform:translateX(3px); }
.ceud .ceud-dl-card.is-soon .act{ color:var(--ink-soft); }
/* further cards, beyond the two beside the featured file */
.ceud-dl-more{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(16px,2vw,26px);
  margin-top:clamp(16px,2vw,26px); }
.ceud-dl-more.is-first{ margin-top:0; }
@media (max-width:1120px){
  /* stack the featured card so the body — and the language grid — get the full width */
  .ceud-dl-grid{ grid-template-columns:1fr; }
  .ceud-dl-feat{ grid-template-columns:1fr; }
  .ceud-dl-cover{ border-right:0; border-bottom:1.5px solid rgba(42,44,55,.16); min-height:148px; }
  .ceud-langs{ grid-template-columns:repeat(3,minmax(0,1fr)); }
  .ceud-dl-more{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:900px){
  .ceud-dl-head{ grid-template-columns:1fr; }
}
@media (max-width:620px){
  .ceud-langs{ grid-template-columns:1fr; }
  .ceud-dl-more{ grid-template-columns:1fr; }
}

/* brand & identity band (inside the downloads section — note: NOT .ceud-brand, which is the hero lockup) */
.ceud-bband{ margin-top:clamp(34px,4.5vw,58px); padding-top:clamp(32px,4vw,52px); border-top:2px solid var(--ink); }
.ceud-bband.is-first{ margin-top:0; }
.ceud-bband-head{ display:grid; grid-template-columns:minmax(0,7fr) minmax(0,5fr); gap:clamp(20px,4vw,60px);
  align-items:end; margin-bottom:clamp(22px,3vw,38px); }
.ceud-bband-title{ font-size:clamp(28px,3.4vw,50px); margin-top:16px; }
.ceud-bband-head > p{ font-size:15.5px; line-height:1.6; color:var(--ink-soft); padding-bottom:6px; max-width:48ch; }
.ceud-bband-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(16px,2vw,24px); }
.ceud .ceud-asset{ display:flex; flex-direction:column; background:var(--paper); border:1.5px solid rgba(42,44,55,.16);
  border-radius:22px; overflow:hidden; transition:transform .5s cubic-bezier(.22,1,.36,1), box-shadow .5s; }
.ceud a.ceud-asset:hover{ transform:translateY(-6px); box-shadow:0 26px 50px -26px rgba(42,44,55,.45); }
.ceud-asset .pv{ position:relative; height:158px; display:flex; align-items:center; justify-content:center;
  background:var(--acc,var(--pink)); border-bottom:1.5px solid rgba(42,44,55,.16); overflow:hidden; }
.ceud-asset .pv--logo .mark{ width:96px; height:96px; color:var(--ink); overflow:visible;
  transition:transform .5s cubic-bezier(.22,1,.36,1); }
.ceud-asset.is-dark .pv--logo .mark{ color:var(--cream); }
.ceud-asset:hover .pv--logo .mark{ transform:scale(1.08); }   /* scale only — the mark never rotates */
.ceud-asset .cover{ width:96px; height:122px; background:var(--cream); border-radius:5px 8px 8px 5px;
  padding:13px 14px 0; display:flex; flex-direction:column; gap:8px; border-left:4px solid var(--orange);
  box-shadow:0 16px 30px -14px rgba(42,44,55,.55); transition:transform .5s cubic-bezier(.22,1,.36,1); }
.ceud-asset:hover .cover{ transform:translateY(-4px) rotate(-2deg); }
.ceud-asset .cover .mark{ width:40px; height:40px; color:var(--orange); overflow:visible; }
.ceud-asset .cover span{ height:6px; border-radius:3px; background:rgba(42,44,55,.14); }
.ceud-asset .pv--swatches{ padding:0; align-items:stretch; }
.ceud-asset .pv--swatches span{ flex:1; align-self:stretch; }
.ceud-asset .pv--plain b{ font-family:var(--serif); font-style:italic; font-weight:800; font-size:54px; line-height:1;
  letter-spacing:.02em; color:var(--ink); transition:transform .5s cubic-bezier(.22,1,.36,1); }
.ceud-asset.is-dark .pv--plain b{ color:var(--cream); }
.ceud-asset:hover .pv--plain b{ transform:translateY(-4px); }
.ceud-asset-b{ padding:clamp(18px,2vw,24px); display:flex; flex-direction:column; flex:1; }
.ceud-asset-b h4{ font-family:var(--serif); font-weight:800; font-size:clamp(18px,1.7vw,23px); line-height:1.12; }
.ceud-asset-b .kv{ margin-top:7px; font-size:11.5px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-soft); }
.ceud-asset-b .act{ margin-top:auto; padding-top:16px; display:inline-flex; align-items:center; gap:9px; font-weight:700; font-size:14px; }
.ceud-asset-b .act i{ font-style:normal; position:relative; }
.ceud-asset-b .act i::after{ content:""; position:absolute; left:0; bottom:-3px; height:2px; width:100%; background:var(--orange);
  transform:scaleX(0); transform-origin:right; transition:transform .4s cubic-bezier(.22,1,.36,1); }
.ceud a.ceud-asset:hover .act i::after{ transform:scaleX(1); transform-origin:left; }
.ceud-asset-b .act svg{ width:15px; height:15px; transition:transform .4s cubic-bezier(.22,1,.36,1); }
.ceud a.ceud-asset:hover .act svg{ transform:translateY(2px); }
.ceud .ceud-asset.is-soon .act{ color:var(--ink-soft); }
@media (max-width:900px){
  .ceud-bband-head{ grid-template-columns:1fr; }
  .ceud-bband-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:560px){
  .ceud-bband-grid{ grid-template-columns:1fr; }
}

/* =====================================================================
   KEY — how to read the register
   ===================================================================== */
.ceud-key{ background:var(--cream); padding:var(--sec) 0; }
.ceud-key-head{ max-width:820px; margin-bottom:clamp(34px,4vw,56px); }
.ceud-key-head h2{ font-size:clamp(36px,4.4vw,70px); margin-top:22px; }
.ceud-kgrid{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(14px,1.8vw,24px); }
.ceud-kcard{ position:relative; border:1.5px solid rgba(42,44,55,.2); border-radius:22px; overflow:hidden;
  padding:clamp(20px,2.4vw,30px); background:var(--kbg,var(--paper));
  transition:transform .5s cubic-bezier(.22,1,.36,1), box-shadow .5s; }
.ceud-kcard:hover{ transform:translateY(-7px); box-shadow:0 26px 48px -24px rgba(42,44,55,.4); }
.ceud-kcard svg{ width:34px; height:34px; color:var(--ink); }
.ceud-kcard h3{ font-family:var(--serif); font-weight:800; font-size:clamp(20px,1.8vw,25px); margin:16px 0 9px; }
.ceud-kcard p{ font-size:15px; line-height:1.58; color:var(--ink-soft); }
.ceud-kcard .tag{ position:absolute; top:18px; right:18px; font-size:10.5px; font-weight:800; letter-spacing:.18em;
  text-transform:uppercase; padding:5px 10px; border-radius:999px; background:rgba(42,44,55,.1); color:var(--ink-soft); }

/* =====================================================================
   CLAIM + CTA BAND
   ===================================================================== */
.ceud-claim{ background:var(--orange); color:var(--ink); text-align:center; padding:clamp(70px,10vw,130px) 0;
  position:relative; overflow:hidden; }
.ceud-claim .ceud-overline{ justify-content:center; color:var(--ink); }
.ceud-claim .ceud-overline i{ background:var(--ink); }
.ceud-claim blockquote{ font-family:var(--serif); font-weight:800; font-size:clamp(40px,6.4vw,98px);
  line-height:1.04; letter-spacing:-.015em; margin:26px auto 0; max-width:15ch; border:0; }
.ceud-claim blockquote em{ font-style:italic; font-weight:700; color:var(--cream); }
.ceud-claim figcaption{ margin-top:34px; font-weight:700; font-size:14px; letter-spacing:.2em; text-transform:uppercase; }
.ceud-claim .ctas{ margin-top:clamp(30px,4vw,46px); display:flex; flex-wrap:wrap; gap:14px; justify-content:center; }

/* =====================================================================
   PARTNER BAND
   ===================================================================== */
.ceud-partners{ background:var(--paper); padding:44px 0 36px; border-top:2px solid var(--ink); }
.ceud-partners .lbl{ text-align:center; font-size:12.5px; font-weight:700; letter-spacing:.26em;
  text-transform:uppercase; color:var(--ink-soft); margin-bottom:24px; }
.ceud-partners .band{ display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:10px 12px; }
.ceud-partners .box{ width:104px; height:46px; display:flex; flex-direction:column; align-items:center;
  justify-content:center; border:1px solid rgba(42,44,55,.16); border-radius:8px; gap:1px;
  transition:border-color .25s, transform .25s; }
.ceud-partners .box:hover{ border-color:var(--orange); transform:translateY(-2px); }
.ceud-partners .box b{ font-family:var(--serif); font-weight:800; font-size:15px; letter-spacing:.06em; line-height:1; }
.ceud-partners .box span{ font-size:9.5px; font-weight:600; letter-spacing:.12em; text-transform:uppercase;
  color:var(--ink-soft); line-height:1; }
.ceud-partners .div{ width:1.5px; height:46px; background:rgba(42,44,55,.22); margin:0 10px; }
.ceud-partners .eu{ display:flex; align-items:center; gap:12px; }
.ceud-partners .eu svg{ width:69px; height:46px; border-radius:4px; display:block; }
.ceud-partners .eu > span{ font-size:11.5px; font-weight:600; line-height:1.35; color:var(--ink-soft); max-width:120px; }
.ceud-partners .fund{ margin:26px auto 0; max-width:860px; text-align:center; font-size:12px; line-height:1.6;
  color:rgba(42,44,55,.55); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width:1080px){
  .ceud-file{ grid-template-columns:84px minmax(0,1fr) auto 56px; }
  .ceud-kgrid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:900px){
  .ceud-hero-grid{ grid-template-columns:1fr; padding-top:44px; }
  .ceud-stackzone{ min-height:0; margin-top:10px; }
  .ceud-stack{ width:min(100%,420px); height:430px; margin:0 auto; }
  .ceud-cover{ width:228px; }
  .ceud-cover--front{ margin-left:-114px; }
  .ceud-cover .stamp{ top:132px; }
  .ceud-cover .art{ padding:14px 0 8px; }
  .ceud-cover .art svg{ width:88px; height:88px; }
  .ceud-hero h1{ max-width:none; }
  .ceud-stick{ font-size:10.5px; padding:6px 11px; }
  .ceud-brand span{ display:none; }
  .ceud-reg-head{ grid-template-columns:1fr; }
  .ceud-vitals{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ceud-fmeta{ margin-left:0; }
}
@media (max-width:620px){
  /* the nav drops onto its own full-width row under the brand and wraps left-aligned */
  .ceud-topnav{ width:100%; justify-content:flex-start; gap:9px 18px; }
  .ceud-topnav a{ font-size:13.5px; }
  .ceud-file{ grid-template-columns:minmax(0,1fr); gap:12px; padding-left:2px; padding-right:2px; }
  .ceud-file .code{ font-size:30px; }
  .ceud-file .st{ flex-direction:row; align-items:center; gap:10px; order:-1; justify-content:space-between; width:100%; }
  .ceud-file:hover h3{ transform:none; }
  .ceud-file .go{ width:44px; height:44px; }
  .ceud-file .go--idle{ display:none; }
  .ceud-file .go:not(.go--idle){ position:absolute; right:6px; bottom:18px; }
  .ceud-file.has-act{ padding-bottom:24px; padding-right:64px; }
  .ceud-kgrid{ grid-template-columns:1fr; }
  .ceud-hero-foot .scr{ display:none; }
  .ceud-ghost{ bottom:110px; }
  .ceud-seal{ width:118px; height:118px; }
}

/* motion off (setting or [challengeeu_repository motion="0"]) and reduced motion: loops stop */
.ceud[data-motion="0"] .ceud-marquee .track,
.ceud[data-motion="0"] .ceud-seal .spin,
.ceud[data-motion="0"] .ceud-hero-foot .scr::after{ animation:none; }
@media (prefers-reduced-motion:reduce){
  .ceud *{ animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
  .ceud-marquee .track{ animation:none; }
  .ceud-seal .spin{ animation:none; }
}

/* print: whatever the motion left half-way is shown in full */
@media print{
  .ceud [data-card], .ceud [data-fade], .ceud [data-cover], .ceud .wi, .ceud [data-stick]{ opacity:1 !important; transform:none !important; }
  .ceud-progress, .ceud-marquee, .ceud-fbar{ display:none !important; }
}
