/* ---------- Tokens ---------- */
:root {
  /* EU palette refined */
  --eu-blue:      oklch(0.34 0.16 264);
  --eu-blue-deep: oklch(0.24 0.14 264);
  --eu-blue-soft: oklch(0.55 0.13 264);
  --eu-blue-pale: oklch(0.94 0.03 264);
  --eu-gold:      oklch(0.84 0.16 86);
  --eu-gold-deep: oklch(0.72 0.16 78);
  --eu-gold-pale: oklch(0.96 0.05 86);

  /* Paper / ink */
  --paper:      oklch(0.985 0.004 80);
  --paper-warm: oklch(0.965 0.008 78);
  --paper-card: oklch(0.998 0.003 80);
  --ink:        oklch(0.18 0.012 264);
  --ink-soft:   oklch(0.36 0.012 264);
  --ink-mute:   oklch(0.55 0.01 264);
  --line:       oklch(0.9 0.008 80);
  --line-strong:oklch(0.82 0.01 80);

  /* Typography */
  --font-display: "Newsreader", "Source Serif 4", Georgia, serif;
  --font-sans:    "Geist", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono:    "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Layout */
  --gutter: 64px;
  --maxw:   1320px;
  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   18px;
  --r-xl:   28px;

  /* Density */
  --density-sp: 1;
}

[data-density="compact"] { --density-sp: 0.82; }
[data-density="comfy"]   { --density-sp: 1.18; }

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }

::selection { background: var(--eu-gold); color: var(--eu-blue-deep); }

/* ---------- Layout ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}
.eyebrow.no-rule::before { display: none; }

.h-display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
  font-variation-settings: "opsz" 72;
  text-wrap: balance;
}

/* ---------- Utility bar ---------- */
.utility {
  background: var(--eu-blue-deep);
  color: oklch(0.95 0.02 86);
  font-size: 12.5px;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.utility .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
}
.utility-l,
.utility-r { display: flex; gap: 22px; align-items: center; }
.utility-r a { opacity: 0.75; transition: opacity .15s; display: inline-flex; align-items: center; }
.utility-r a:hover { opacity: 1; }
.util-dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--eu-gold);
  display: inline-block;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in oklab, var(--paper) 92%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  cursor: pointer;
  text-decoration: none;
}
.brand-mark {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--eu-blue);
  display: grid;
  place-items: center;
  position: relative;
  flex-shrink: 0;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px dashed color-mix(in oklab, var(--eu-gold) 70%, transparent);
}
.brand-mark span {
  color: var(--eu-gold);
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  font-weight: 500;
}
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-name b {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand-name small {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 4px;
}

.nav {
  display: flex;
  gap: 4px;
  align-items: center;
  flex: 1;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav li {
  list-style: none;
  display: inline-flex;
  align-items: center;
}
.nav a,
.nav .menu-item a {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--r-sm);
  position: relative;
  transition: color .15s, background .15s;
  cursor: pointer;
  display: inline-block;
}
.nav a:hover,
.nav .menu-item a:hover { color: var(--ink); background: var(--paper-warm); }
.nav .current-menu-item > a,
.nav a.active { color: var(--eu-blue); }
.nav .current-menu-item > a::after,
.nav a.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--eu-gold);
  border-radius: 2px;
}

.header-right { display: flex; gap: 12px; align-items: center; }
.mobile-menu-btn { display: none; }

/* Mobile nav drawer */
.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  z-index: 19;
  background: var(--paper-card);
  border-top: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(0,0,0,.13), 0 4px 16px rgba(0,0,0,.06);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height .38s cubic-bezier(.16,1,.3,1),
              opacity .22s ease,
              transform .28s cubic-bezier(.16,1,.3,1);
  pointer-events: none;
}
.mobile-nav.open {
  max-height: 88vh;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-nav-inner {
  padding: 8px 0 32px;
}

/* Nav links */
.mobile-nav ul,
.mobile-nav ol { list-style: none; margin: 0; padding: 0; }
.mobile-nav ul li { list-style: none; }
.mobile-nav ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 28px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: background .15s, color .15s, padding-left .15s;
  text-decoration: none;
}
.mobile-nav ul li a:hover,
.mobile-nav ul li a:focus {
  background: var(--paper-warm);
  color: var(--eu-blue);
  padding-left: 36px;
}
.mobile-nav ul li:last-child a { border-bottom: none; }
.mobile-nav ul li a .nav-arrow {
  opacity: 0;
  transition: opacity .15s, transform .15s;
  color: var(--eu-blue);
}
.mobile-nav ul li a:hover .nav-arrow { opacity: 1; transform: translateX(3px); }

/* Mobile menu footer strip */
.mobile-nav-footer {
  margin: 20px 28px 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-nav-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .15s;
}
.mobile-nav-contact a:hover { color: var(--eu-blue); }
.mobile-nav-socials {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.mobile-nav-socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink-mute);
  transition: background .15s, color .15s, border-color .15s;
  text-decoration: none;
}
.mobile-nav-socials a:hover {
  background: var(--eu-blue);
  color: white;
  border-color: var(--eu-blue);
}

/* Hamburger → X animation */
.mobile-menu-btn { display: none; }
.mobile-menu-btn svg .bar1,
.mobile-menu-btn svg .bar2 {
  transition: transform .22s cubic-bezier(.16,1,.3,1), opacity .15s;
  transform-origin: center;
  transform-box: fill-box;
}
.mobile-menu-btn.open svg .bar1 {
  transform: rotate(45deg) translate(0px, 6px);
}
.mobile-menu-btn.open svg .bar2 {
  transform: rotate(-45deg) translate(0px, -6px);
}

/* Backdrop */
.mobile-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 18;
  background: rgba(0,0,0,.18);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  animation: fadeIn .2s ease;
}
.mobile-backdrop.active { display: block; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s, background .15s, border-color .15s, color .15s;
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--eu-blue);
  color: oklch(0.98 0.02 86);
  border-color: var(--eu-blue);
}
.btn-primary:hover { background: var(--eu-blue-deep); }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-secondary:hover { border-color: var(--ink); }
.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  padding: 10px 12px;
}
.btn-ghost:hover { color: var(--ink); }
.btn-gold {
  background: var(--eu-gold);
  color: var(--eu-blue-deep);
  border-color: var(--eu-gold);
}
.btn-gold:hover { background: var(--eu-gold-deep); }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Icon button ---------- */
.icon-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.icon-btn:hover {
  background: var(--paper-warm);
  color: var(--ink);
  border-color: var(--line-strong);
}

/* ---------- Hero ---------- */
.hero {
  padding: calc(72px * var(--density-sp)) 0 calc(56px * var(--density-sp));
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 64px;
  align-items: end;
}
.hero-headline {
  font-size: clamp(48px, 6.4vw, 92px);
}
.hero-headline em {
  font-style: italic;
  color: var(--eu-blue);
}
.hero-headline .gold-mark {
  background: linear-gradient(transparent 62%, var(--eu-gold) 62%, var(--eu-gold) 94%, transparent 94%);
  padding: 0 4px;
}
.hero-lead {
  margin-top: 28px;
  max-width: 56ch;
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.hero-actions {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .2s, transform .2s;
}
.hero-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.hero-card .kicker { display: flex; justify-content: space-between; align-items: center; }
.hero-card h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.hero-card p { margin: 0; font-size: 13.5px; color: var(--ink-mute); line-height: 1.55; }
.hero-card.featured {
  background: var(--eu-blue);
  color: oklch(0.95 0.02 86);
  border-color: var(--eu-blue);
}
.hero-card.featured h4 { color: oklch(0.97 0.03 86); }
.hero-card.featured p { color: oklch(0.85 0.04 86); }
.hero-card.featured .kicker .eyebrow { color: var(--eu-gold); }

.hero-bg-num {
  position: absolute;
  top: 40px;
  right: -40px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 360px;
  color: var(--eu-blue-pale);
  z-index: 0;
  font-weight: 300;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  opacity: 0.55;
}
.hero > .container { position: relative; z-index: 1; }

/* ---------- Marquee strip ---------- */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-warm);
  overflow: hidden;
  padding: 14px 0;
}
.strip-track {
  display: flex;
  gap: 48px;
  align-items: center;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.strip-track span { display: inline-flex; gap: 12px; align-items: center; }
.strip-track .star { color: var(--eu-gold); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Section helpers ---------- */
.section {
  padding: calc(88px * var(--density-sp)) 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 48px;
}
.section-head h2 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 18ch;
  text-wrap: balance;
}
.section-head .head-link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--eu-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.section-head .head-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Three pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pillar {
  position: relative;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper-card);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 280px;
  transition: border-color .2s, transform .2s, background .2s;
  cursor: pointer;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.pillar:hover { border-color: var(--eu-blue); transform: translateY(-3px); }
.pillar .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 64px;
  line-height: 1;
  color: var(--eu-blue-pale);
  position: absolute;
  right: 24px;
  top: 18px;
  font-weight: 300;
}
.pillar .num-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.pillar h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.pillar p { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.6; }
.pillar .pillar-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--eu-blue);
  font-weight: 500;
}

/* ---------- News grid ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
  transition: transform .25s;
  text-decoration: none;
  color: inherit;
}
.news-card:hover { transform: translateY(-3px); }
.news-thumb {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  background-color: var(--paper-warm);
  background-image:
    repeating-linear-gradient(135deg,
      transparent 0 14px,
      color-mix(in oklab, var(--eu-blue) 7%, transparent) 14px 15px);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.news-thumb.thumb-blue { background-color: var(--eu-blue); }
.news-thumb.thumb-blue::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(135deg,
      transparent 0 14px,
      color-mix(in oklab, var(--eu-gold) 30%, transparent) 14px 15px);
}
.news-thumb.thumb-gold { background-color: var(--eu-gold-pale); }
.news-thumb.thumb-gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(135deg,
      transparent 0 14px,
      color-mix(in oklab, var(--eu-blue) 18%, transparent) 14px 15px);
}
.news-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.news-thumb .ph-label {
  position: absolute;
  bottom: 12px; left: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  background: color-mix(in oklab, var(--paper) 80%, transparent);
  padding: 4px 8px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  z-index: 2;
}
.news-thumb.thumb-blue .ph-label {
  color: oklch(0.95 0.04 86);
  background: color-mix(in oklab, var(--eu-blue-deep) 65%, transparent);
}
.news-meta {
  display: flex;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  align-items: center;
}
.news-meta .cat {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--eu-blue-pale);
  color: var(--eu-blue);
  letter-spacing: 0.1em;
}
.news-meta .cat.gold { background: var(--eu-gold-pale); color: var(--eu-gold-deep); }
.news-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-wrap: balance;
}
.news-card:hover h3 { color: var(--eu-blue); }
.news-card p { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

/* ---------- Events list ---------- */
.events {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.event {
  display: grid;
  grid-template-columns: 140px 1fr auto auto;
  gap: 32px;
  align-items: center;
  padding: 28px 8px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background .15s, padding .15s;
  text-decoration: none;
  color: inherit;
}
.event:hover {
  background: var(--paper-warm);
  padding-left: 20px;
  padding-right: 20px;
}
.event-date {
  display: flex;
  flex-direction: column;
  align-items: start;
}
.event-date .day {
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 400;
}
.event-date .mo {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 6px;
}
.event-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-wrap: balance;
}
.event-title small {
  display: block;
  margin-top: 6px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 13.5px;
  color: var(--ink-mute);
  letter-spacing: 0;
}
.event-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
}
.event-arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  transition: background .15s, color .15s, transform .15s;
  flex-shrink: 0;
}
.event:hover .event-arrow {
  background: var(--eu-blue);
  color: oklch(0.97 0.03 86);
  border-color: var(--eu-blue);
  transform: rotate(-45deg);
}

/* ---------- Newsletter band ---------- */
.newsletter {
  background: var(--eu-blue);
  color: oklch(0.95 0.03 86);
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--eu-gold) 1.2px, transparent 1.4px);
  background-size: 28px 28px;
  opacity: 0.15;
  pointer-events: none;
}
.newsletter .container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 88px;
  padding-bottom: 88px;
  position: relative;
}
.newsletter h2 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4vw, 52px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: oklch(0.97 0.03 86);
  text-wrap: balance;
}
.newsletter .eyebrow { color: var(--eu-gold); }
.newsletter .eyebrow::before { background: var(--eu-gold); }
.newsletter p { margin-top: 18px; color: oklch(0.85 0.03 86); max-width: 50ch; }

.news-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: oklch(0.99 0.005 80);
  color: var(--ink);
  border-radius: var(--r-lg);
  padding: 32px;
}
.news-form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.news-form .field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.news-form input,
.news-form select,
.news-form textarea {
  height: 46px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  border-radius: var(--r-sm);
  padding: 0 14px;
  font: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color .15s;
  width: 100%;
}
.news-form textarea {
  height: auto;
  min-height: 140px;
  padding: 14px;
  resize: vertical;
}
.news-form input:focus,
.news-form select:focus,
.news-form textarea:focus { border-color: var(--eu-blue); }
.news-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.news-form .consent {
  display: flex;
  gap: 10px;
  align-items: start;
  font-size: 12.5px;
  color: var(--ink-mute);
  line-height: 1.5;
}
.news-form .consent input {
  width: 18px; height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}
.news-form .success {
  background: var(--eu-blue-pale);
  border-radius: var(--r-md);
  padding: 14px 16px;
  font-size: 13.5px;
  color: var(--eu-blue-deep);
  display: flex;
  gap: 10px;
  align-items: center;
}

/* ---------- Publications ---------- */
.pubs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.pub {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px;
  background: var(--paper-card);
  cursor: pointer;
  transition: transform .2s, border-color .2s;
  text-decoration: none;
  color: inherit;
}
.pub:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.pub-cover {
  aspect-ratio: 3 / 4;
  border-radius: var(--r-md);
  background: var(--paper-warm);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.pub-cover .bigletter {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 100px;
  font-weight: 300;
  color: var(--eu-blue);
  letter-spacing: -0.03em;
}
.pub-cover.v2 { background: var(--eu-blue); }
.pub-cover.v2 .bigletter { color: var(--eu-gold); }
.pub-cover.v3 { background: var(--eu-gold-pale); }
.pub-cover.v3 .bigletter { color: var(--eu-blue-deep); }
.pub-cover.v4 { background: var(--eu-blue-pale); }
.pub-cover.v4 .bigletter { color: var(--eu-blue-deep); }
.pub-cover .stamp {
  position: absolute;
  bottom: 12px;
  left: 12px; right: 12px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex;
  justify-content: space-between;
}
.pub-cover.v2 .stamp { color: oklch(0.88 0.05 86); }
.pub h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.pub small {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ---------- About teaser ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.about-img {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  background: var(--eu-blue);
  position: relative;
  overflow: hidden;
}
.about-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 30%, var(--eu-gold) 0, transparent 38%),
    repeating-linear-gradient(45deg, transparent 0 18px, color-mix(in oklab, var(--eu-gold) 18%, transparent) 18px 19px);
  opacity: 0.65;
}
.about-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.about-img .ph-label {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: oklch(0.97 0.04 86);
  background: color-mix(in oklab, var(--eu-blue-deep) 65%, transparent);
  padding: 4px 8px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  z-index: 2;
}
.about-copy h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 3.6vw, 52px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 14px 0 0;
  text-wrap: balance;
}
.about-copy .lede {
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 56ch;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.stat .n {
  font-family: var(--font-display);
  font-size: 56px;
  letter-spacing: -0.03em;
  line-height: 1;
  font-weight: 400;
  color: var(--eu-blue);
}
.stat .l {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  line-height: 1.4;
}

/* ---------- Contact strip ---------- */
.contact-band {
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 72px 0;
}
.contact-grid h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.01em;
  margin: 14px 0 18px;
  line-height: 1.1;
}
.contact-grid p { margin: 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; }
.contact-block h4 {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.contact-block .v {
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 6px;
}
.contact-block .vsmall { font-size: 13.5px; color: var(--ink-mute); }
.contact-hours-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--line);
  padding: 7px 0;
  font-size: 13.5px;
}
.contact-hours-row span:last-child {
  font-family: var(--font-mono);
  color: var(--ink-soft);
  font-size: 12.5px;
}
.contact-hours-row.closed span:last-child { color: var(--ink-mute); }

/* ---------- Footer ---------- */
.footer {
  background: var(--eu-blue-deep);
  color: oklch(0.85 0.03 86);
  padding: 72px 0 36px;
}
.footer a { color: oklch(0.92 0.03 86); }
.footer a:hover { color: var(--eu-gold); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid color-mix(in oklab, oklch(0.95 0.03 86) 20%, transparent);
}
.footer-brand p {
  margin: 14px 0 0;
  font-size: 13.5px;
  max-width: 38ch;
  color: oklch(0.78 0.03 86);
  line-height: 1.6;
}
.footer-col h5 {
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--eu-gold);
  font-weight: 500;
}
.footer-col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
.footer-col ul li a { display: inline-flex; align-items: center; gap: 6px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 36px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: oklch(0.68 0.03 86);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom .funded { display: flex; gap: 12px; align-items: center; }
.funded-mark {
  width: 32px; height: 22px;
  border-radius: 3px;
  background: var(--eu-blue);
  border: 1px solid var(--eu-gold);
  position: relative;
}
.funded-mark::after {
  content: "★";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--eu-gold);
  font-size: 11px;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 80px 0 48px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 5.4vw, 80px);
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 16px 0 0;
  max-width: 18ch;
  text-wrap: balance;
}
.page-hero .lead {
  margin-top: 24px;
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 60ch;
}
.breadcrumb {
  display: inline-flex;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  align-items: center;
}
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { opacity: 0.5; }

/* ---------- News archive filters ---------- */
.news-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.filter-chip {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  background: transparent;
  cursor: pointer;
  color: var(--ink-soft);
  transition: all .15s;
  font-family: inherit;
}
.filter-chip:hover { border-color: var(--ink); color: var(--ink); }
.filter-chip.active {
  background: var(--eu-blue);
  color: oklch(0.97 0.03 86);
  border-color: var(--eu-blue);
}

/* ---------- Page content (WP body) ---------- */
.page-content {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.page-content h2, .page-content h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 2em 0 .6em;
}
.page-content p { margin: 0 0 1.4em; }
.page-content a { color: var(--eu-blue); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Page transition ---------- */
.page-wrap {
  animation: pageIn .4s cubic-bezier(.16,1,.3,1);
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Custom logo ---------- */
.brand--logo img {
  height: 48px;
  width: auto;
  display: block;
}
.brand--logo .custom-logo-link {
  display: flex;
  align-items: center;
}

/* ---------- Pro polish ---------- */
html { scroll-behavior: smooth; }

*:focus-visible {
  outline: 2px solid var(--eu-gold);
  outline-offset: 3px;
  border-radius: 3px;
}

.btn {
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.btn-primary:hover {
  box-shadow: 0 4px 12px rgba(27,58,138,.25);
}
.btn-gold:hover {
  box-shadow: 0 4px 12px rgba(250,204,21,.35);
}

.pillar:hover {
  background: color-mix(in oklab, var(--eu-blue-pale) 40%, var(--paper-card));
}

.news-card:hover h3 {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.hero-card {
  cursor: default;
}
.hero-card.featured {
  box-shadow: 0 8px 32px rgba(27,58,138,.22);
}

/* Smoother event row */
.event {
  transition: background .2s, padding-left .2s, padding-right .2s;
}

/* Footer link hover */
.footer-col ul li a {
  transition: color .15s, padding-left .15s;
}
.footer-col ul li a:hover {
  color: var(--eu-gold);
  padding-left: 4px;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .container { padding: 0 20px; }

  .hero-grid,
  .about,
  .pillars,
  .news-grid,
  .pubs,
  .contact-grid,
  .footer-grid,
  .newsletter .container { grid-template-columns: 1fr !important; gap: 32px; }

  .section-head { flex-direction: column; align-items: start; }
  .event { grid-template-columns: 100px 1fr auto; gap: 16px; }
  .event-tag { display: none; }
  .hero-bg-num { display: none; }

  .nav { display: none; }
  .mobile-menu-btn { display: grid !important; }

  .utility-r { display: none; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }

  /* Mobile header */
  .header { position: sticky; }
  .header-inner { height: 60px; gap: 16px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-mark span { font-size: 17px; }
  .brand-mark::after { inset: 5px; }
  .brand-name b { font-size: 16px; }
  .brand-name small { font-size: 9px; }
  .brand { gap: 10px; }
  .brand--logo img { height: 36px; }

  /* Hide "Javite se" + search on mobile, show only hamburger */
  .header-right .btn,
  .header-right #search-toggle { display: none; }
  .header-right { gap: 8px; }
}

@media (max-width: 640px) {
  .hero-headline { font-size: clamp(36px, 9vw, 56px); }
  .news-form .row { grid-template-columns: 1fr; }
  .newsletter .container { padding-top: 56px; padding-bottom: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; }

  .section { padding: calc(56px * var(--density-sp)) 0; }
  .contact-grid { padding: 48px 0; }

  /* Single col events on tiny screens */
  .event { grid-template-columns: 80px 1fr auto; gap: 12px; }
  .event-date .day { font-size: 40px; }

  /* Stack contact page 2-col on mobile */
  [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }

  /* Calendar mobile */
  .cal-cell { min-height: 60px; padding: 6px 4px; }
  .cal-wd { font-size: 9.5px; padding: 8px 2px; }
  .cal-ev-chip { display: none; }
  .cal-cell.cal-has-events::after {
    content: "";
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--eu-blue);
    display: block;
    margin: 2px auto 0;
  }
  .ev-badge-day { font-size: 36px; }
  .ev-badge-month { font-size: 16px; }
}

/* ---------- Calendar ---------- */
.cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.cal-month-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.02em;
  margin: 0;
  text-align: center;
  flex: 1;
}
.cal-month-title span {
  font-size: 0.6em;
  color: var(--ink-mute);
  font-style: italic;
  margin-left: 8px;
}
.cal-nav-btn {
  width: 44px; height: 44px;
  padding: 0;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}
.cal-grid {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 56px;
}
.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: var(--paper-warm);
  border-bottom: 1px solid var(--line);
}
.cal-wd {
  padding: 12px 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: center;
}
.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.cal-cell {
  min-height: 100px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 10px 8px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cal-cell:nth-child(7n) { border-right: none; }
.cal-cell.cal-empty { background: var(--paper-warm); opacity: 0.6; }
.cal-cell.cal-past { opacity: 0.5; }
.cal-cell.cal-today { background: var(--eu-blue-pale); }
.cal-cell.cal-today .cal-day-num {
  background: var(--eu-blue);
  color: oklch(0.97 0.03 86);
  border-radius: 50%;
}
.cal-day-num {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
  color: var(--ink-soft);
  width: 26px; height: 26px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.cal-ev-chip {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: oklch(0.97 0.03 86);
  background: var(--eu-blue);
  border-radius: 4px;
  padding: 3px 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  transition: background .15s;
  line-height: 1.4;
}
.cal-ev-chip:hover { background: var(--eu-blue-deep); }
.cal-list-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -0.02em;
  margin: 0 0 32px;
}
.cal-list-title .eyebrow { display: block; margin-bottom: 10px; }
.cal-empty-msg { color: var(--ink-mute); font-style: italic; padding: 40px 0; }

/* ---------- Event date badge (single događanje) ---------- */
.ev-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: var(--eu-blue);
  color: oklch(0.97 0.03 86);
  border-radius: var(--r-md);
  padding: 16px 24px;
}
.ev-badge-day {
  font-family: var(--font-display);
  font-size: 52px;
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 400;
  border-right: 1px solid color-mix(in oklab, oklch(0.97 0.03 86) 30%, transparent);
  padding-right: 18px;
}
.ev-badge-meta { display: flex; flex-direction: column; gap: 4px; }
.ev-badge-month {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.01em;
}
.ev-badge-time,
.ev-badge-end {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: oklch(0.85 0.04 86);
}

/* ---------- EU Kviz ---------- */
.eu-quiz {
  background: var(--eu-blue);
  color: oklch(0.95 0.03 86);
  position: relative;
  overflow: hidden;
}
.eu-quiz::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--eu-gold) 1.2px, transparent 1.4px);
  background-size: 28px 28px;
  opacity: 0.15;
  pointer-events: none;
}
.eu-quiz .container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
  padding-top: 88px;
  padding-bottom: 88px;
  position: relative;
}
.eu-quiz .eyebrow { color: var(--eu-gold); }
.eu-quiz .eyebrow::before { background: var(--eu-gold); }
.eu-quiz h2 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.1;
  color: oklch(0.97 0.03 86);
  text-wrap: balance;
}
.eu-quiz > .container > div > p {
  margin-top: 18px;
  color: oklch(0.82 0.03 86);
  max-width: 44ch;
}

/* Card */
.quiz-card,
.quiz-end {
  background: oklch(1 0 0 / 0.07);
  border: 1px solid oklch(1 0 0 / 0.16);
  border-radius: var(--r-xl);
  padding: 36px;
}
.quiz-end {
  padding: 48px 36px;
  text-align: center;
}

/* Top row: stars + progress */
.quiz-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.quiz-stars { display: flex; gap: 6px; }
.qs {
  font-size: 22px;
  color: oklch(1 0 0 / 0.22);
  transition: color 0.22s, transform 0.22s;
  display: inline-block;
  line-height: 1;
}
.qs.active {
  color: var(--eu-gold);
  transform: scale(1.2);
}
.quiz-prog {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: oklch(1 0 0 / 0.45);
}

/* Question */
.quiz-q {
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 400;
  line-height: 1.4;
  color: oklch(0.97 0.02 86);
  margin-bottom: 22px;
  min-height: 2.8em;
}

/* Options */
.quiz-opts { display: flex; flex-direction: column; gap: 9px; }
.quiz-opt {
  background: oklch(1 0 0 / 0.06);
  border: 1px solid oklch(1 0 0 / 0.16);
  border-radius: var(--r-md);
  color: oklch(0.94 0.02 86);
  padding: 13px 17px;
  font-size: 14.5px;
  text-align: left;
  cursor: pointer;
  transition: background 0.13s, border-color 0.13s, transform 0.1s;
  line-height: 1.4;
}
.quiz-opt:hover:not(:disabled) {
  background: oklch(1 0 0 / 0.13);
  border-color: oklch(1 0 0 / 0.3);
  transform: translateX(3px);
}
.quiz-opt:disabled { cursor: default; }
.quiz-opt.correct {
  background: oklch(0.42 0.14 145 / 0.45);
  border-color: oklch(0.62 0.18 145);
  color: oklch(0.94 0.05 145);
}
.quiz-opt.wrong {
  background: oklch(0.40 0.17 25 / 0.45);
  border-color: oklch(0.58 0.2 25);
  color: oklch(0.94 0.05 25);
}

/* End screen */
.quiz-end-stars {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 34px;
  margin-bottom: 20px;
}
.quiz-end h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 400;
  color: oklch(0.97 0.03 86);
  margin: 0 0 12px;
}
.quiz-end p {
  color: oklch(0.83 0.025 86);
  max-width: 40ch;
  margin: 0 auto 28px;
}

/* Responsive */
@media (max-width: 960px) {
  .eu-quiz .container { grid-template-columns: 1fr !important; gap: 32px; }
}
@media (max-width: 640px) {
  .eu-quiz .container { padding-top: 56px; padding-bottom: 56px; }
  .quiz-card, .quiz-end { padding: 24px 18px; }
}
