/* ===========================================================================
   TO THE POINT · Erasmus+ Youth Exchange, Athens, 3–10 December 2026

   The look is an independent activist poster: off-white paper, heavy condensed
   capitals, torn edges, signal red and cobalt blue used as statements rather
   than as decoration. Colour is closed and deliberate: five values, no more.

   Contrast, checked and fixed:
     ink   on paper  15.4:1     paper on ink    15.4:1
     grey  on paper   6.0:1     ink   on red     5.0:1
     white on blue    5.4:1     red   on ink     4.6:1  (large text only)
   Red therefore always carries BLACK text, blue always carries WHITE text.
   =========================================================================== */

/* ---------------------------------------------------------------- tokens -- */
:root {
  --paper:      #F2EFE6;
  --paper-2:    #FFFFFF;
  --ink:        #111111;
  --grey:       #565650;
  --red:        #F04438;
  --blue:       #2457FF;
  --line:       #111111;

  /* per-band roles; every band re-declares them */
  --bg:         var(--paper);
  --fg:         var(--ink);
  --fg-soft:    var(--grey);
  --rule:       var(--ink);
  --accent:     var(--red);
  --focus:      var(--blue);

  --display: 'Roboto Condensed', 'Arial Narrow', 'Helvetica Neue Condensed', system-ui, sans-serif;
  --body:    'Noto Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono:    'Roboto Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --rail-w: 264px;
  --pad-x:  clamp(1.25rem, 5vw, 4.5rem);
  --pad-y:  clamp(3rem, 7vw, 6.5rem);
  --max:    1180px;
  --ease:   cubic-bezier(.2, .8, .25, 1);
}

/* ----------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(16px, .55vw + 14.6px, 18px);
  line-height: 1.62;
  overflow-x: hidden;
  /* paper grain: a 4px dot screen, barely there */
  background-image: radial-gradient(rgba(17,17,17,.045) 1px, transparent 1px);
  background-size: 4px 4px;
}
body.locked { overflow: hidden; }

img, picture, svg { max-width: 100%; }
img { height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 900;
  line-height: .96;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding: 0; list-style: none; }

a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: .18em; }
a:hover { text-decoration-color: var(--accent); text-decoration-thickness: 4px; text-underline-offset: .24em; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

/* ------------------------------------------------------------ skip link -- */
.skip {
  position: fixed; top: -100px; left: 0; z-index: 200;
  background: var(--ink); color: var(--paper);
  padding: .9rem 1.4rem; font-family: var(--display); text-transform: uppercase;
  letter-spacing: .04em; text-decoration: none;
}
.skip:focus { top: 0; }

/* =============================================================== the dot ==
   The full stop after the name. It is the whole mark.                       */
.dot {
  display: inline-block;
  width: .26em; height: .26em;
  background: var(--red);
  border-radius: 50%;
  margin-left: .1em;
  vertical-align: baseline;
}
.dot--big { width: .18em; height: .18em; margin-left: .06em; }

/* ================================================================= RAIL ==
   Permanent on desktop, off-canvas below 1024px. Never a top menu bar.      */
.rail {
  position: fixed; inset: 0 auto 0 0;
  width: min(86vw, 320px);
  background: var(--ink);
  color: var(--paper);
  z-index: 120;
  display: flex; flex-direction: column;
  transform: translateX(-101%);
  transition: transform .34s var(--ease);
  border-right: 3px solid var(--red);
}
.rail.open { transform: none; }

.rail-inner {
  flex: 1 1 auto; min-height: 0; overflow-y: auto;
  padding: 1.6rem 1.4rem 1.4rem;
  display: flex; flex-direction: column; gap: 1.4rem;
  scrollbar-width: thin;
}

.mark {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: 2.5rem; line-height: .82; letter-spacing: -.02em;
  text-decoration: none; color: var(--paper);
  display: block;
}
.mark-l { display: block; }
.mark .dot { width: .16em; height: .16em; }

.rail-kicker {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .1em;
  text-transform: uppercase; color: #B9B5A9; margin: -.7rem 0 0;
}

.rail-nav { display: flex; flex-direction: column; gap: 0; margin: 0; }
.rail-nav a {
  display: flex; align-items: baseline; gap: .7rem;
  padding: .46rem .3rem .46rem .1rem;
  text-decoration: none; color: #DCD8CC;
  font-family: var(--display); text-transform: uppercase;
  font-size: 1.02rem; letter-spacing: .012em; line-height: 1.15;
  border-left: 3px solid transparent;
  transition: color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
  min-height: 44px;
}
.rail-nav a b {
  font-family: var(--mono); font-size: .68rem; font-weight: 500;
  color: #8A8578; letter-spacing: .04em; flex: 0 0 auto;
  transition: color .18s var(--ease);
}
.rail-nav a:hover { color: #fff; border-left-color: var(--red); transform: translateX(3px); }
.rail-nav a:hover b { color: var(--red); }
.rail-nav a.active { color: #fff; border-left-color: var(--red); border-left-width: 6px; }
.rail-nav a.active b { color: var(--red); }

.rail-foot { margin-top: auto; display: flex; flex-direction: column; gap: .9rem; }

.langs { display: flex; gap: 0; border: 2px solid #3A3A36; width: max-content; }
.langs button {
  appearance: none; background: none; border: 0; cursor: pointer;
  font-family: var(--mono); font-size: .76rem; font-weight: 500; letter-spacing: .06em;
  color: #B9B5A9; padding: .55rem .62rem; min-width: 44px; min-height: 44px;
  transition: background .16s var(--ease), color .16s var(--ease);
}
.langs button + button { border-left: 2px solid #3A3A36; }
.langs button:hover { color: #fff; background: #262622; }
.langs button[aria-pressed="true"] { background: var(--red); color: var(--ink); font-weight: 700; }

.rail-meta {
  font-family: var(--mono); font-size: .7rem; line-height: 1.6;
  color: #8E897D; margin: 0; letter-spacing: .02em;
}

.rail-progress {
  position: absolute; right: 0; top: 0; bottom: 0; width: 3px; background: #2A2A26;
}
.rail-progress span {
  display: block; width: 100%; height: 0; background: var(--red);
  transform-origin: top;
}

.scrim {
  position: fixed; inset: 0; background: rgba(17,17,17,.62);
  z-index: 110; border: 0;
}

/* ============================================================== TOP BAR ==
   Mobile only. Keeps the language switch within thumb reach.      */
.topbar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  padding: .55rem .9rem;
  background: var(--ink); color: var(--paper);
  border-bottom: 3px solid var(--red);
}
.mark-min {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: 1.22rem; letter-spacing: -.01em; text-decoration: none; color: var(--paper);
  display: flex; align-items: baseline; padding: .4rem 0; min-height: 44px;
}
.topbar-actions { display: flex; align-items: center; gap: .5rem; }
.langs--min button { padding: .5rem .4rem; min-width: 44px; font-size: .7rem; }

.menu-toggle {
  appearance: none; cursor: pointer;
  background: var(--paper); color: var(--ink); border: 0;
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: .86rem; letter-spacing: .05em;
  display: flex; align-items: center; gap: .45rem;
  padding: .5rem .8rem; min-height: 44px; min-width: 44px;
}
.menu-toggle .bars { display: grid; gap: 3px; width: 17px; }
.menu-toggle .bars i { display: block; height: 3px; background: var(--ink); transition: transform .2s var(--ease), opacity .2s var(--ease); }
.menu-toggle[aria-expanded="true"] { background: var(--red); }
.menu-toggle[aria-expanded="true"] .bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ================================================================ BANDS == */
.band {
  position: relative;
  background: var(--bg); color: var(--fg);
  /* The measure is held by the padding, not by centring each child. Every
     element in a section therefore starts on the same left edge (heading,
     lede, grid and table) at any window width. */
  padding: var(--pad-y) max(var(--pad-x), calc((100% - var(--max)) / 2));
}

.band--ink  { --bg: var(--ink);  --fg: var(--paper); --fg-soft: #ABA69A; --rule: var(--paper); --accent: var(--red);  --focus: #fff; }
.band--red  { --bg: var(--red);  --fg: var(--ink);   --fg-soft: #2B0E0B; --rule: var(--ink);   --accent: var(--ink);  --focus: var(--ink); }
.band--blue { --bg: var(--blue); --fg: #FFFFFF;      --fg-soft: #EAEEFF; --rule: #FFFFFF;      --accent: #FFFFFF;     --focus: #fff; }

/* torn top edge on every coloured band: cut paper, not a gradient */
.band--ink, .band--red, .band--blue {
  clip-path: polygon(0 14px, 5% 3px, 11% 15px, 17% 2px, 24% 13px, 31% 3px, 38% 15px,
                     45% 4px, 52% 14px, 59% 2px, 66% 13px, 73% 4px, 80% 15px,
                     87% 3px, 94% 13px, 100% 4px, 100% 100%, 0 100%);
  padding-top: calc(var(--pad-y) + 14px);
}
/* the global 1rem paragraph/list margin must not leak past a band's padding,
   and neither must the last list item's, which collapses out of its list */
.band > :last-child { margin-bottom: 0; }
.rules li:last-child, .ticks li:last-child { margin-bottom: 0; }

/* ======================================================= SECTION HEADERS == */
.sec-num {
  font-family: var(--mono); font-size: .78rem; font-weight: 500;
  letter-spacing: .22em; color: var(--fg-soft);
  margin: 0 0 .5rem;
}
.sec-num::before { content: ''; display: inline-block; width: 34px; height: 3px; background: var(--accent); margin-right: .7rem; vertical-align: .28em; }

.sec-h {
  font-size: clamp(2.5rem, 7.4vw, 5.2rem);
  margin: 0 0 1.1rem;
  max-width: 16ch;
}
.sec-h::after {
  content: ''; display: block; height: 10px; background: var(--accent);
  width: min(280px, 42%); margin-top: .55rem;
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease) .1s;
}
.in .sec-h::after, .sec--seen .sec-h::after { transform: scaleX(1); }

.sec-lede {
  font-size: clamp(1.06rem, .5vw + .95rem, 1.32rem);
  line-height: 1.5; max-width: 60ch; color: var(--fg);
  margin-bottom: 2.4rem;
}
.sec-note {
  font-family: var(--mono); font-size: .78rem; line-height: 1.6;
  color: var(--fg-soft); max-width: 62ch; margin-bottom: 1.6rem;
}
.sub-h {
  font-size: clamp(1.28rem, 1.6vw + .9rem, 1.85rem);
  margin: 2.6rem 0 1rem;
}
.sub-h:first-child { margin-top: 0; }

/* ================================================================= HERO == */
.hero {
  padding: clamp(2.5rem, 6vw, 5rem) max(var(--pad-x), calc((100% - var(--max)) / 2)) clamp(3rem, 7vw, 6rem);
  position: relative; overflow: hidden;
}
.hero-grid {
  display: grid; gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: 1fr;
  align-items: center;
}

.tag {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink);
  display: inline-block; border: 2px solid var(--ink);
  padding: .34rem .6rem; margin: 0 0 1.4rem;
}

.hero-title {
  font-size: clamp(4.4rem, 21vw, 13.5rem);
  line-height: .78; letter-spacing: -.035em;
  margin: 0 0 1.3rem;
  /* the word is allowed to run to the very edge of the measure */
  margin-left: -.055em;
}
.ht-line { display: block; }
.ht-line--last { color: var(--red); }

.hero-meta {
  font-family: var(--mono); font-size: clamp(.76rem, .3vw + .7rem, .88rem);
  letter-spacing: .06em; text-transform: uppercase;
  display: flex; flex-wrap: wrap; gap: .5rem; align-items: baseline;
  border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
  padding: .7rem 0; margin: 0 0 1.6rem;
}
.hero-meta b { color: var(--red); }

.hero-lede {
  font-size: clamp(1.12rem, .8vw + 1rem, 1.5rem);
  line-height: 1.45; max-width: 46ch; margin-bottom: 2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.2rem; }

.hero-strip {
  display: flex; flex-wrap: wrap; gap: 0; margin: 0;
  border: 3px solid var(--ink);
}
.hero-strip span {
  display: flex; align-items: baseline; gap: .4rem;
  padding: .7rem .95rem; flex: 1 1 auto;
  font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em;
}
.hero-strip span + span { border-left: 3px solid var(--ink); }
.hero-strip b { font-family: var(--display); font-size: 1.5rem; line-height: 1; }

/* The hero art is a poster cut-out of Athens with the stamp block laid over
   its lower edge, the way a sticker lands on a fly-posted wall. The photograph
   is deliberately NOT animated: it is the largest paint on the screen, and
   fading it in would only postpone it. */
.hero-art { position: relative; }
.hero-photo {
  margin: 0;
  background: var(--paper-2);
  padding: 8px;
  border: 3px solid var(--ink);
  box-shadow: 10px 10px 0 rgba(17, 17, 17, .18);
  transform: rotate(-1.2deg);
}
.hero-photo img { width: 100%; }
.stamp {
  display: block; width: 100%; height: auto;
  position: relative; z-index: 2;
  margin-top: -7%;
}
.cl-word { font-family: var(--display); font-weight: 900; font-size: 30px; fill: #F2EFE6; text-transform: uppercase; letter-spacing: -.01em; }
.cl-word--red { fill: #F04438; }

/* ============================================================ STATEMENT == */
.statement { text-align: left; }
.statement-q {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2rem, 6.4vw, 4.6rem); line-height: .95; letter-spacing: -.02em;
  max-width: 20ch; margin: 0 0 1rem;
}
.statement-sub {
  font-size: clamp(1rem, .4vw + .92rem, 1.18rem);
  max-width: 54ch; margin: 0; color: var(--fg);
}

/* =============================================================== BUTTONS == */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; font-size: 1rem;
  padding: .82rem 1.35rem; min-height: 48px;
  text-decoration: none; cursor: pointer; border: 3px solid var(--fg);
  background: none; color: var(--fg);
  transition: background .18s var(--ease), color .18s var(--ease),
              transform .12s var(--ease), box-shadow .12s var(--ease);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--accent); }
.btn:active { transform: none; box-shadow: none; }
.btn--solid { background: var(--fg); color: var(--bg); }
.btn--solid:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn--line:hover { background: var(--fg); color: var(--bg); }
.btn--sm { font-size: .84rem; padding: .6rem 1rem; min-height: 44px; border-width: 2px; }

/* ========================================================== 01 · FIGURES == */
.figures {
  display: grid; gap: 0; margin: 0 0 3rem;
  border-top: 3px solid var(--rule); border-left: 3px solid var(--rule);
}
.figures li {
  border-right: 3px solid var(--rule); border-bottom: 3px solid var(--rule);
  padding: 1.1rem 1rem 1.2rem;
  display: flex; flex-direction: column; gap: .2rem;
}
.figures b {
  font-family: var(--display); font-weight: 900; font-size: clamp(2.6rem, 5vw, 3.8rem);
  line-height: .88; color: var(--accent);
}
.figures span { font-family: var(--mono); font-size: .72rem; line-height: 1.5; letter-spacing: .03em; color: var(--fg-soft); }

.dist { display: flex; flex-direction: column; gap: 1.6rem; }
.dist-row { border-left: 6px solid var(--accent); padding-left: 1rem; }
.dist-country {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1; margin: 0 0 .2rem;
  display: flex; align-items: baseline; gap: .7rem;
}
.dist-total { font-family: var(--mono); font-size: .9rem; color: var(--accent); font-weight: 500; }
.dist-org { font-size: .92rem; color: var(--fg-soft); margin: 0 0 .7rem; max-width: 46ch; }
.blocks { display: flex; flex-wrap: wrap; gap: 5px; }
.bk { display: block; width: 30px; height: 30px; flex: 0 0 auto; }
.bk--p { background: var(--fg); }
.bk--l { background: var(--red); }
.bk--o { background: var(--blue); }
.band--ink .bk--p { background: var(--paper); }
.legend { display: flex; flex-wrap: wrap; gap: 1.1rem; margin: .6rem 0 0; }
.legend li { display: flex; align-items: center; gap: .45rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .03em; color: var(--fg-soft); }
.legend .bk { width: 16px; height: 16px; }

/* ========================================================== 02 · REASONS == */
.reasons { display: grid; gap: 0; grid-template-columns: 1fr; }
.reason {
  border-top: 3px solid var(--rule);
  padding: 1.6rem 0 1.8rem;
  display: grid; gap: .2rem 1.6rem;
  grid-template-columns: auto 1fr;
  align-items: start;
}
.reason:last-child { border-bottom: 3px solid var(--rule); }
.reason-num {
  font-family: var(--display); font-weight: 900; font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: .8; color: var(--accent); grid-row: span 2;
}
.reason h3 { font-size: clamp(1.4rem, 2.6vw, 2.1rem); margin-bottom: .4rem; }
.reason p { max-width: 62ch; margin: 0; color: var(--fg); }

/* ======================================================= 03 · OBJECTIVES == */
.objectives { display: grid; gap: 1.4rem; grid-template-columns: 1fr; margin-bottom: 3rem; }
.objectives li {
  background: rgba(255,255,255,.09);
  border: 3px solid #fff; padding: 1.4rem 1.3rem 1.5rem;
}
.objectives b {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .18em; display: block; margin-bottom: .7rem;
}
.objectives h3 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); margin-bottom: .6rem; }
.objectives p { margin: 0; }

.notes { display: grid; gap: 0; grid-template-columns: 1fr; border-top: 3px solid var(--rule); }
.note { border-bottom: 3px solid var(--rule); padding: 1.25rem 0 1.35rem; }
.note h4 {
  font-size: 1.06rem; letter-spacing: .02em; margin-bottom: .35rem;
  font-family: var(--mono); font-weight: 500; text-transform: uppercase;
}
.note p { margin: 0; max-width: 64ch; font-size: .96rem; }

/* =========================================================== 04 · THEMES == */
.themes {
  display: grid; gap: 0;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 265px), 1fr));
  border-top: 3px solid var(--rule); border-left: 3px solid var(--rule);
}
.theme {
  border-right: 3px solid var(--rule); border-bottom: 3px solid var(--rule);
  padding: 1.15rem 1.1rem 1.3rem;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.theme b { font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; color: var(--fg-soft); display: block; margin-bottom: .55rem; }
.theme h3 { font-size: 1.22rem; margin-bottom: .4rem; }
.theme p { margin: 0; font-size: .93rem; line-height: 1.55; color: var(--fg-soft); }
.theme:hover { background: var(--red); color: var(--ink); }
.theme:hover b, .theme:hover p { color: var(--ink); }

/* ======================================================== 05 · ACCORDION == */
.acc { border-top: 3px solid var(--rule); }
.acc-item { border-bottom: 3px solid var(--rule); }
.acc-item h3 { margin: 0; }
.acc-head {
  appearance: none; width: 100%; cursor: pointer;
  background: none; border: 0; color: inherit; text-align: left;
  display: flex; align-items: center; gap: 1rem;
  padding: 1.05rem 0 1.1rem; min-height: 56px;
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.15rem, 2.3vw, 1.72rem); line-height: 1.06; letter-spacing: -.005em;
  transition: color .18s var(--ease);
}
.acc-head:hover > span { text-decoration: underline; text-decoration-color: var(--red);
  text-decoration-thickness: 3px; text-underline-offset: .16em; }
.acc-head:hover .acc-mark { color: var(--red); }
.acc-num {
  font-family: var(--mono); font-size: .78rem; font-weight: 500; letter-spacing: .1em;
  color: var(--fg-soft); flex: 0 0 auto;
}
.acc-head > span { flex: 1 1 auto; }
.acc-mark {
  flex: 0 0 auto; width: 18px; height: 18px; position: relative;
}
.acc-mark::before, .acc-mark::after {
  content: ''; position: absolute; background: currentColor;
  transition: transform .24s var(--ease), opacity .24s var(--ease);
}
.acc-mark::before { left: 0; top: 7.5px; width: 18px; height: 3px; }
.acc-mark::after  { left: 7.5px; top: 0; width: 3px; height: 18px; }
.acc-head[aria-expanded="true"] .acc-mark::after { transform: scaleY(0); opacity: 0; }
.acc-head[aria-expanded="true"] .acc-mark { color: var(--red); }

.acc-panel { padding: 0 0 1.5rem; }
.acc-panel:not([hidden]) { border-left: 6px solid var(--red); padding-left: 1.1rem; }
.acc-panel[hidden] { display: none; }
.acc-panel ul { max-width: 68ch; }
.acc-panel ul li {
  position: relative; padding-left: 1.5rem; margin-bottom: .55rem; line-height: 1.55;
}
.acc-panel ul li::before {
  content: ''; position: absolute; left: 0; top: .62em;
  width: 9px; height: 9px; background: var(--accent);
}
.acc-panel p { max-width: 68ch; margin: 0; }
.acc-panel.opening > * { animation: stamp .3s var(--ease) both; }

@keyframes stamp {
  from { opacity: 0; transform: translateY(-7px) scale(.995); }
  to   { opacity: 1; transform: none; }
}

.theme b, .objectives b, .hero-meta b { font-weight: 500; }   /* the mono face ships at 500 only */

.mtd {
  font-family: var(--mono); font-style: normal; font-size: .84em;
  text-transform: uppercase; letter-spacing: .04em;
  border-bottom: 2px solid var(--red); padding-bottom: 1px; white-space: nowrap;
}
/* "Discriminate or Be Discriminated!" is wider than a small phone. Below this
   width the name wraps instead of running off the edge, where body's
   overflow-x: hidden would clip it with no way to scroll to it. */
@media (max-width: 420px) { .mtd { white-space: normal; } }

/* ============================================================= 06 · STAY == */
.stay-grid {
  display: grid; gap: clamp(1.8rem, 3vw, 3rem);
  grid-template-columns: 1fr; align-items: start; margin-bottom: 2.6rem;
}
.org-name {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1; margin: 0 0 .7rem;
}
.addr { font-style: normal; line-height: 1.75; margin-bottom: 1rem; }
.addr a { text-decoration-color: var(--red); }
.stay-links { margin-bottom: 1.4rem; }

.ticks { max-width: 62ch; }
.ticks li { position: relative; padding-left: 1.6rem; margin-bottom: .55rem; line-height: 1.55; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: .48em;
  width: 11px; height: 11px; border: 3px solid var(--accent);
}

.cuts { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.cut {
  margin: 0; background: var(--paper-2); padding: 8px 8px 8px;
  border: 2px solid var(--ink);
  box-shadow: 7px 7px 0 rgba(17,17,17,.16);
}
.cut--1 { grid-column: 1 / -1; transform: rotate(-1.1deg); }
.cut--2 { transform: rotate(1.4deg); }
.cut--3 { transform: rotate(-.8deg); }
.cut--wide { margin-top: 1.4rem; transform: rotate(.8deg); max-width: 460px; }
.cut img { width: 100%; }

.two-col { display: grid; gap: clamp(1.8rem, 3.5vw, 3.4rem); grid-template-columns: 1fr; }

/* =========================================================== 07 · TRAVEL == */
.steps { counter-reset: s; max-width: 58ch; }
.steps li {
  counter-increment: s; position: relative; padding-left: 2.6rem;
  margin-bottom: .8rem; line-height: 1.5; min-height: 1.9rem;
}
.steps li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute; left: 0; top: .06em;
  font-family: var(--mono); font-size: .82rem; font-weight: 500;
  color: var(--ink); background: var(--red);
  width: 1.9rem; height: 1.9rem; display: grid; place-items: center;
}
.linklist { display: flex; flex-direction: column; gap: .45rem; margin: 1.2rem 0; }
.linklist a { font-family: var(--mono); font-size: .84rem; text-decoration-color: var(--red); }
.warn {
  border-left: 6px solid var(--red); padding: .7rem 0 .7rem 1rem;
  font-size: .93rem; max-width: 54ch; margin: 0;
}

.table-wrap { overflow-x: auto; margin-bottom: 1rem; -webkit-overflow-scrolling: touch; }
.tbl { border-collapse: collapse; width: 100%; min-width: 460px; }
.tbl caption {
  text-align: left; font-family: var(--mono); font-size: .76rem; letter-spacing: .04em;
  color: var(--fg-soft); padding-bottom: .8rem;
}
.tbl th, .tbl td { border: 3px solid var(--rule); padding: .8rem .9rem; text-align: left; }
.tbl thead th {
  background: var(--ink); color: var(--paper);
  font-family: var(--mono); font-weight: 500; font-size: .74rem;
  letter-spacing: .1em; text-transform: uppercase;
}
.tbl tbody th {
  font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.16rem;
}
.tbl .num { font-family: var(--display); font-weight: 900; font-size: 1.4rem; color: var(--red); }

.rules { counter-reset: r; max-width: 66ch; }
.rules li {
  counter-increment: r; position: relative; padding-left: 2.4rem;
  margin-bottom: .7rem; line-height: 1.55;
}
.rules li::before {
  content: counter(r, decimal-leading-zero);
  position: absolute; left: 0; top: .18em;
  font-family: var(--mono); font-size: .78rem; color: var(--fg-soft); letter-spacing: .04em;
}

/* ========================================================== 08 · PREPARE == */
.packing {
  display: grid; gap: 0; margin: 0 0 1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  border-top: 3px solid var(--rule); border-left: 3px solid var(--rule);
}
.packing li { border-right: 3px solid var(--rule); border-bottom: 3px solid var(--rule); }
.packing label {
  display: flex; align-items: center; gap: .8rem;
  padding: .85rem 1rem; min-height: 52px; cursor: pointer; line-height: 1.4;
  transition: background .16s var(--ease);
}
.packing label:hover { background: rgba(17,17,17,.05); }
.packing input { width: 22px; height: 22px; accent-color: var(--red); flex: 0 0 auto; margin: 0; }
.packing input:checked + span { text-decoration: line-through; text-decoration-color: var(--red); color: var(--fg-soft); }
.pack-foot { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.pack-count { font-family: var(--mono); font-size: .8rem; color: var(--fg-soft); letter-spacing: .04em; }

/* ========================================================= 09 · PARTNERS == */
.partners { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
.partner {
  border: 3px solid var(--rule); padding: 1.4rem 1.3rem 1.5rem;
  display: flex; flex-direction: column; gap: .6rem;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.partner-flagline {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent); margin: 0;
}
.partner-mark {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.5rem, 2.6vw, 2.05rem); line-height: .96; letter-spacing: -.015em;
  margin: 0; text-wrap: balance;
}
.partner-role { font-size: .9rem; color: var(--fg-soft); margin: auto 0 0; }
.partner:hover { background: var(--red); color: var(--ink); }
.partner:hover .partner-flagline, .partner:hover .partner-role { color: var(--ink); }

/* ========================================================== 11 · RESULTS == */
.outputs { display: grid; gap: 0; grid-template-columns: 1fr; border-top: 3px solid var(--rule); margin-bottom: 2.4rem; }
.outputs li {
  border-bottom: 3px solid var(--rule); padding: .95rem 0 1.05rem;
  display: grid; gap: .2rem .95rem; align-items: baseline;
  grid-template-columns: auto 1fr;
}
.outputs .pill {
  grid-column: 1 / -1; justify-self: start;
  font-family: var(--mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase;
  background: var(--red); color: var(--ink); padding: .18rem .45rem;
}
.outputs b { font-family: var(--display); font-weight: 900; font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: .9; }
.outputs span:last-child { line-height: 1.5; }

.results-slot {
  border: 3px dashed var(--rule); padding: 1.4rem 1.3rem; margin-bottom: 3rem;
}
.results-slot .sub-h { margin-top: 0; }
.results-slot p { margin: 0; max-width: 62ch; color: var(--fg-soft); }

/* ============================================================== FOOTER == */
.site-footer {
  background: var(--ink); color: var(--paper);
  /* the footer is an ink band and must declare the same roles as one, or
     .btn inside it draws ink text on an ink ground */
  --bg: var(--ink); --fg: var(--paper);
  --fg-soft: #9C978B; --accent: var(--red); --focus: #fff;
  padding: clamp(2.6rem, 5vw, 4.4rem) var(--pad-x) 2rem;
  border-top: 6px solid var(--red);
}
.foot-top {
  max-width: var(--max); margin: 0 auto 2.4rem;
  display: grid; gap: 2rem; grid-template-columns: 1fr;
}
.foot-mark {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: 2.1rem; line-height: .9; margin: 0 0 .5rem;
}
.foot-line { font-family: var(--mono); font-size: .76rem; line-height: 1.7; color: var(--fg-soft); margin: 0 0 .4rem; }
.foot-nav { display: flex; flex-direction: column; gap: .5rem; }
.foot-nav a {
  font-family: var(--display); text-transform: uppercase; font-size: 1rem; letter-spacing: .03em;
  text-decoration: none; color: #DCD8CC; padding: .28rem 0; min-height: 32px;
  transition: color .18s var(--ease);
}
.foot-nav a:hover { color: var(--red); }
.foot-h { font-family: var(--mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin: 0 0 .7rem; }
.foot-orgs p:not(.foot-h) { font-size: .88rem; line-height: 1.5; margin: 0 0 .8rem; color: #DCD8CC; }
.foot-orgs b { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1rem; letter-spacing: .02em; }

.funders {
  max-width: var(--max); margin: 0 auto 1.6rem;
  background: #fff; padding: 1.1rem 1.4rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem 2.4rem;
}
.funders img { height: auto; width: auto; max-height: 52px; max-width: 100%; }

.privacy-line {
  max-width: var(--max); margin: 0 auto 1rem;
  font-size: .82rem; line-height: 1.65; color: #DCD8CC;
}
.disclaimer {
  max-width: var(--max); margin: 0 auto 1.6rem;
  font-size: .78rem; line-height: 1.65; color: var(--fg-soft);
}
.foot-bottom {
  max-width: var(--max); margin: 0 auto; padding-top: 1.4rem;
  border-top: 2px solid #2C2C28;
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  font-family: var(--mono); font-size: .74rem; color: var(--fg-soft); letter-spacing: .04em;
}

/* ================================================================ MOTION ==
   Everything below animates transform and opacity only.                      */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .55s var(--ease); }
.reveal-d1.in { transition-delay: .06s; }
.reveal-d2.in { transition-delay: .12s; }
.reveal-d3.in { transition-delay: .18s; }

.cl { opacity: 0; transform: translateY(10px) scale(.985); transform-origin: 50% 50%; }
.hero-art.in .cl { animation: stampIn .5s var(--ease) both; }
.hero-art.in .cl-3 { animation-delay: .08s; }
.hero-art.in .cl-4 { animation-delay: .22s; }
@keyframes stampIn {
  from { opacity: 0; transform: translateY(12px) scale(.97); }
  60%  { opacity: 1; transform: translateY(-2px) scale(1.006); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .cl { opacity: 1; transform: none; }
  .sec-h::after { transform: scaleX(1); }
  .btn:hover { transform: none; }
  .rail { transition: none; }
}

/* ============================================================ BREAKPOINTS == */
@media (min-width: 600px) {
  .partners { grid-template-columns: repeat(2, 1fr); }
  .objectives { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .outputs li { grid-template-columns: auto auto 1fr; }
  .outputs .pill { grid-column: auto; order: 3; margin-left: auto; }
}

@media (min-width: 860px) {
  .two-col { grid-template-columns: 1fr 1fr; }
  .notes { grid-template-columns: 1fr 1fr; column-gap: 2.4rem; }
  .reason { grid-template-columns: minmax(90px, auto) 1fr; }
  .partners { grid-template-columns: repeat(3, 1fr); }
  .objectives { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stay-grid { grid-template-columns: 1fr 1fr; }
  .foot-top { grid-template-columns: 1.1fr .8fr 1.4fr; }
}

@media (min-width: 1024px) {
  /* the rail becomes permanent furniture; nothing sits above the content */
  .topbar { display: none; }
  .scrim  { display: none !important; }
  .rail   { width: var(--rail-w); transform: none; }
  main, .site-footer { margin-left: var(--rail-w); }

  .hero-grid { grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); }
  .hero-title { font-size: clamp(6rem, 11vw, 11rem); }
  .hero { padding-top: clamp(3.5rem, 7vw, 6.5rem); }
  .cuts { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1280px) {
  :root { --rail-w: 282px; }
  .mark { font-size: 2.85rem; }
}

/* very small phones · the display type must not overflow */
@media (max-width: 380px) {
  .hero-title { font-size: 4rem; }
  .bk { width: 26px; height: 26px; }
  .figures { grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); }
}

@media print {
  .rail, .topbar, .scrim, .btn, .site-footer .foot-nav { display: none !important; }
  main { margin-left: 0; }
  .acc-panel[hidden] { display: block !important; }
  body { background: #fff; }
}

/* --------------------------------------------------------------------------
   Small phones: the top bar has to hold the wordmark, four language buttons
   and the menu control inside 360px without any of them dropping below a
   44px touch target. The word "Menu" goes to the accessibility tree only,
   the button keeps its name for screen readers and loses only its label.
   -------------------------------------------------------------------------- */
@media (max-width: 430px) {
  .topbar { padding: .5rem .7rem; gap: .45rem; }
  .mark-min { font-size: .98rem; white-space: nowrap; min-width: 0; overflow: hidden; flex: 0 1 auto; }
  .topbar-actions { flex: 0 0 auto; }
  .langs--min button { min-width: 44px; padding: .5rem .2rem; font-size: .68rem; }
  .menu-toggle { padding: .5rem; gap: 0; }
  .menu-toggle > span:not(.bars) {
    position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
}

/* --------------------------------------------------------------------------
   Desktop rail, tightened. Eleven entries, the language switch and the dates
   all have to be visible without scrolling the rail at
   a 768px-tall window. Touch targets stay at 44px in the mobile panel, where
   they are actually touched.
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  .rail-inner { padding: 1.3rem 1.2rem 1.15rem; gap: 1.05rem; }
  .mark { font-size: 2.25rem; }
  .rail-kicker { font-size: .64rem; margin-top: -.55rem; }
  .rail-nav a { min-height: 0; padding: .34rem .3rem .34rem .12rem; font-size: .97rem; }
  .rail-meta { font-size: .66rem; }
}
@media (min-width: 1280px) {
  .rail-inner { padding: 1.6rem 1.4rem 1.35rem; }
  .rail-nav a { padding: .42rem .3rem .42rem .12rem; font-size: 1.02rem; }
}

/* --------------------------------------------------------------------------
   Six figures: three across on anything wider than a phone, so the block
   always closes as two full rows with no hole in it.
   -------------------------------------------------------------------------- */
.figures { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 600px) { .figures { grid-template-columns: repeat(3, 1fr); } }

.outputs .pill { white-space: nowrap; }

/* --------------------------------------------------------------------------
   Partner marks. The three logos arrive at wildly different sizes, shapes and
   densities: a solid blue house, a circular badge on white, and a very pale
   line mark. They are trimmed to their artwork and placed on one canvas so
   they carry the same optical weight, then shown on a white plate of a fixed
   height, which is the only background the pale one is legible on.
   -------------------------------------------------------------------------- */
.partner-plate {
  background: #FFFFFF;
  display: grid; place-items: center;
  padding: .35rem .5rem;
}
.partner-plate img { width: 100%; height: auto; }

.partner-contact {
  margin: .2rem 0 0; display: flex; flex-direction: column; gap: .3rem;
}
.partner-contact li { font-family: var(--mono); font-size: .76rem; line-height: 1.45; }
.partner-contact a { overflow-wrap: anywhere; text-decoration-color: var(--accent); }
.partner:hover .partner-contact a { text-decoration-color: var(--ink); }

/* the square National Agency mark next to two wide lockups */
.funders .funder-square { max-height: 50px; }

/* ===========================================================================
   ERASMUS+ VISIBILITY, LEGAL PAGES AND COOKIE CONSENT (added October 2026)
   =========================================================================== */

/* the EU emblem has to be at least 60px tall in the footer; the organisation
   mark follows the three funder marks on the same white plate */
.funders img { max-height: 60px; }
.funders .funder-square { max-height: 58px; }
.funders .funder-org { max-height: 66px; }

.foot-project {
  max-width: var(--max); margin: 0 auto 1rem;
  font-size: .82rem; line-height: 1.65; color: #DCD8CC;
}
.foot-legal {
  max-width: var(--max); margin: 0 auto 1.4rem;
  display: flex; flex-wrap: wrap; gap: 0 1.4rem;
}
.foot-legal a, .foot-legal-btn {
  font-family: var(--mono); font-size: .76rem; letter-spacing: .04em;
  color: #DCD8CC; display: inline-flex; align-items: center; min-height: 44px;
  text-decoration-color: var(--red);
}
.foot-legal-btn {
  appearance: none; background: none; border: 0; padding: 0; cursor: pointer;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em;
}
.foot-legal a:hover, .foot-legal-btn:hover { color: #fff; }

/* ------------------------------------------------------------- consent -- */
.consent {
  position: fixed; z-index: 150; left: 1rem; right: 1rem; bottom: 1rem;
  max-width: 34rem; margin-left: auto;
  --bg: var(--ink); --fg: var(--paper); --focus: #fff; --accent: var(--red);
  background: var(--ink); color: var(--paper);
  border-top: 6px solid var(--red);
  padding: 1.1rem 1.2rem 1.2rem;
  box-shadow: 6px 6px 0 rgba(17,17,17,.25);
}
.consent[hidden] { display: none; }
.consent h2 { font-size: 1.35rem; line-height: 1; margin: 0 0 .6rem; text-transform: uppercase; }
.consent h2:focus { outline: none; }
.consent p { font-size: .86rem; line-height: 1.55; margin: 0 0 .9rem; color: #DCD8CC; }
.consent a { color: #fff; text-decoration-color: var(--red); }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.consent-actions .btn { width: 100%; }

/* ----------------------------------------------------------- doc pages -- */
.page-doc .topbar { display: flex; }
.page-doc main, .page-doc .site-footer { margin-left: 0; }
.langs a {
  font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: .06em;
  color: #B9B5A9; text-decoration: none; padding: .5rem .4rem; min-width: 44px; min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
}
.langs a + a { border-left: 2px solid #3A3A36; }
.langs a:hover { color: #fff; background: #262622; }
.langs a[aria-current="page"] { background: var(--red); color: var(--ink); font-weight: 700; }

.doc { padding-bottom: calc(var(--pad-y) + 2rem); }
.doc .sec-h { max-width: 20ch; font-size: clamp(2.2rem, 6vw, 4.2rem); }
.doc .sec-h::after { transform: scaleX(1); }
.doc-body { max-width: 68ch; }
.doc-body h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.05;
  margin: 2.4rem 0 .8rem;
}
.doc-body h2:first-child { margin-top: 0; }
.doc-body p, .doc-body li { overflow-wrap: anywhere; }
.doc-body ul { list-style: none; margin: 0 0 1rem; }
.doc-body ul li { position: relative; padding-left: 1.3rem; margin: 0 0 .6rem; }
.doc-body ul li::before { content: ''; position: absolute; left: 0; top: .62em; width: .6rem; height: 3px; background: var(--red); }
.doc-meta { font-family: var(--mono); font-size: .8rem; color: var(--grey); margin: 0 0 2rem; }
.doc-back { margin-top: 2.6rem; }

.doc-table-wrap { overflow-x: auto; margin: 0 0 1.4rem; border: 2px solid var(--ink); background: #fff; }
.doc-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 34rem; }
.doc-table th, .doc-table td { text-align: left; vertical-align: top; padding: .65rem .8rem; border-bottom: 1px solid #D8D4C8; }
.doc-table th { font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; background: var(--ink); color: var(--paper); font-weight: 700; }
.doc-table tr:last-child td { border-bottom: 0; }
.doc-table code { font-family: var(--mono); font-size: .84em; }

.facts-list { margin: 0 0 1.6rem; border-top: 3px solid var(--ink); }
.facts-list div { display: grid; grid-template-columns: 1fr; gap: .1rem 1.4rem; padding: .7rem 0; border-bottom: 1px solid #CFCABD; }
.facts-list dt { font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.facts-list dd { margin: 0; overflow-wrap: anywhere; }

.funders--big { margin: 0 0 2rem; padding: 1.6rem; max-width: none; gap: 1.6rem 2.6rem; border: 2px solid var(--ink); }
.funders--big img { max-height: 120px; }
.funders--big .funder-square { max-height: 112px; }

.doc-partners { display: grid; gap: 1rem; grid-template-columns: 1fr; margin: 0 0 1.6rem; }
.doc-partner { border: 2px solid var(--ink); background: #fff; padding: 1rem; }
.doc-partner img { width: 100%; max-width: 230px; height: auto; margin: 0 0 .6rem; }
.doc-partner h3 { font-size: 1.15rem; line-height: 1.05; margin: 0 0 .3rem; }
.doc-partner p { margin: 0 0 .3rem; font-size: .9rem; }

@media (min-width: 640px) {
  .facts-list div { grid-template-columns: 15rem 1fr; }
  .doc-partners { grid-template-columns: repeat(3, 1fr); }
}

/* phones: the white plate keeps the EU emblem on its own full-width row and
   puts the other marks two to a row, instead of one long column */
@media (max-width: 599px) {
  .funders { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; justify-items: center; padding: 1rem; }
  .funders picture { display: flex; justify-content: center; }
  .funders picture:first-child { grid-column: 1 / -1; }
  .funders img { max-width: 100%; }
  .funders--big img, .funders--big .funder-square { max-height: 96px; }
  .consent { left: .6rem; right: .6rem; bottom: .6rem; padding: .9rem 1rem 1rem; }
  .consent h2 { font-size: 1.12rem; }
  .consent p { font-size: .8rem; margin-bottom: .7rem; }
}

.nf { margin: 0 0 1.8rem; }
.nf-h { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 .5rem; }

/* phones and tablets: no text under 12px. The desktop sizes above are kept. */
@media (max-width: 1023px) {
  .langs--min button, .langs--min a, .rail-kicker, .rail-nav a b, .rail-meta,
  .tag, .figures span, .foot-h, .foot-bottom, .hero-strip span, .legend li,
  .theme b, .tbl thead th, .partner-flagline, .outputs .pill { font-size: .75rem; }
}
@media (max-width: 430px) {
  .langs--min button, .langs--min a { font-size: .75rem; }
}
@media (max-width: 599px) {
  .doc .sec-h { hyphens: auto; overflow-wrap: anywhere; }
}
.funders--big .funder-org { max-height: 140px; }
