:root {
  --blue: #1f5fbf;
  --blue-deep: #123a78;
  --blue-ink: #0b2350;
  --sky: #e8f0fc;
  --white: #ffffff;
  --ink: #0f1a2e;
  --muted: #51607a;
  --orange: #ff6a13;
  --orange-soft: #fff1e6;
  --radius: 22px;
  --max: 1080px;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-display: var(--font-body);
  --font-script: "Pacifico", cursive;
  --display-weight: 800;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.script { font-family: var(--font-script); font-weight: 400; }
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
h1, h2, .record-num, .card h3 { font-family: var(--font-display); font-weight: var(--display-weight); }
h2 { font-size: clamp(30px, 6vw, 46px); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 14px; }
p { margin: 0 0 14px; }
.lead { font-size: 19px; color: var(--muted); max-width: 34em; text-wrap: pretty; }
h1, h2 { text-wrap: balance; }

.topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  padding: max(14px, env(safe-area-inset-top)) 0 0;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; }
.brand { text-decoration: none; }
.topbar .brand .script { font-size: 44px; line-height: 1.2; }
.lang {
  appearance: none; -webkit-appearance: none;
  font: 700 14px/1 var(--font-body); color: #fff; cursor: pointer;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 14px;
  border: 2px solid #fff; border-radius: 0; padding: 10px 34px 10px 12px; min-height: 40px;
  box-shadow: 3px 3px 0 #0a1f4d;
}
.lang:focus-visible { outline: 3px solid #ff6a13; outline-offset: 2px; }
.lang option { color: #0a1f4d; background: #fff; }

.hero {
  position: relative;
  background: var(--blue);
  color: #fff;
  padding: calc(76px + env(safe-area-inset-top)) 0 0;
  overflow: hidden;
}
.hero-grid { display: grid; gap: 28px; align-items: end; }
.sign { display: inline-block; position: relative; border-radius: 18px; padding: 2px 26px 14px; }
.sign .script { font-size: clamp(76px, 20vw, 132px); line-height: 1.25; }
.hero-sub { font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; opacity: .85; margin: 18px 0 18px; }
.hero h1 { font-size: clamp(32px, 7vw, 54px); line-height: 1.04; letter-spacing: -.025em; margin: 0 0 14px; max-width: 12em; }
.hero .lead { color: rgba(255,255,255,.86); }
.actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 24px 0 0; max-width: 520px; }
.btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 74px; padding: 12px 8px; border-radius: 18px;
  background: #fff; color: var(--blue-deep); text-decoration: none;
  font-weight: 700; font-size: 15px; text-align: center;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn svg { width: 24px; height: 24px; }
.btn:active { transform: scale(.97); }
.btn.ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.hero-photo { margin-top: 8px; }
.hero-photo .photo { border-radius: var(--radius) var(--radius) 0 0; aspect-ratio: 4 / 5; max-height: 560px; }

.photo {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--sky); width: 100%;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo .ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--blue); text-align: center; padding: 20px;
  background: repeating-linear-gradient(135deg, rgba(31,95,191,.07) 0 14px, transparent 14px 28px), var(--sky);
  font-weight: 700; font-size: 14px; letter-spacing: .04em;
}
.photo .ph svg { width: 36px; height: 36px; opacity: .7; }
.photo.loaded .ph { display: none; }
.photo.dark { background: var(--blue-deep); }
.photo.dark .ph { color: rgba(255,255,255,.8); background: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 14px, transparent 14px 28px), var(--blue-deep); }

section { padding: 76px 0; }
.split { display: grid; gap: 32px; align-items: center; }

.tower { background: var(--orange-soft); }
.tower .eyebrow { color: var(--orange); }
.tower h2 span { color: var(--orange); }
.tower .photo { aspect-ratio: 4 / 5; }
.badge {
  display: inline-flex; align-items: baseline; gap: 6px;
  background: var(--orange); color: #fff; border-radius: 16px; padding: 10px 16px; margin-top: 8px;
  font-weight: 800; font-size: 15px;
}
.badge b { font-size: 30px; line-height: 1; }

.record { background: var(--blue-ink); color: #fff; text-align: center; overflow: hidden; }
.record .eyebrow { color: #ffb27f; }
.record-num {
  font-size: clamp(112px, 34vw, 240px); line-height: .9; letter-spacing: -.06em;
  color: var(--orange); margin: 6px 0 4px;
  font-variant-numeric: tabular-nums;
}
.record-unit { font-size: 22px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; margin-bottom: 30px; }
.record .photo { max-width: 620px; margin: 0 auto 30px; aspect-ratio: 1400 / 762; }
.record p { color: rgba(255,255,255,.78); max-width: 30em; margin: 0 auto 10px; }
.record .challenge { font-family: var(--font-script); font-size: clamp(28px, 6vw, 40px); color: #fff; margin: 18px 0 0; line-height: 1.3; }

.food .cards { display: grid; gap: 14px; margin: 28px 0 22px; }
.card { background: var(--sky); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 21px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); }
.card a { color: var(--blue); font-weight: 700; text-decoration: none; white-space: nowrap; }
.food .photo { aspect-ratio: 4 / 3; }
.note { font-weight: 700; color: var(--blue); }

.erasmus { background: var(--blue); color: #fff; }
.erasmus .eyebrow { color: rgba(255,255,255,.75); }
.erasmus .lead { color: rgba(255,255,255,.86); }
.erasmus .photo { aspect-ratio: 4 / 3; }
.flags { font-size: 24px; letter-spacing: 1px; white-space: nowrap; margin: 0 0 16px; }
.link-pill {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 8px;
  background: #fff; color: var(--blue-deep); text-decoration: none; font-weight: 700;
  padding: 14px 20px; border-radius: 999px; min-height: 48px;
}
.link-pill svg { width: 20px; height: 20px; }

.find .info { display: grid; gap: 14px; margin: 24px 0; }
.row { display: flex; gap: 14px; align-items: flex-start; }
.row .ico { flex: none; width: 44px; height: 44px; border-radius: 14px; background: var(--sky); color: var(--blue); display: grid; place-items: center; }
.row .ico svg { width: 22px; height: 22px; }
.row strong { display: block; }
.row span, .row a { color: var(--muted); }
.row a { text-decoration: none; }
.find .photo { aspect-ratio: 4 / 5; }
.find .link-pill { background: var(--blue); color: #fff; }

footer { background: var(--blue-ink); color: rgba(255,255,255,.75); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); text-align: center; font-size: 15px; }
footer .script { font-size: 40px; color: #fff; display: block; margin-bottom: 6px; }
footer .made { margin-top: 14px; color: #fff; font-weight: 700; }
footer a { color: #fff; }

@media (min-width: 820px) {
  body { font-size: 18px; }
  section { padding: 110px 0; }
  .hero { padding-top: 90px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 48px; }
  .hero-text { padding-bottom: 72px; }
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split.flip > :first-child { order: 2; }
  .food .cards { grid-template-columns: repeat(3, 1fr); }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.record .photo.loaded { aspect-ratio: auto; }
.record .photo.loaded img { height: auto; }
.odo-digit { display: inline-block; height: 1.15em; overflow: hidden; overflow: visible clip; vertical-align: top; }
.odo-strip { display: block; width: 1ch; line-height: 1.15em; word-break: break-all; text-align: center; transition-property: transform; transition-timing-function: cubic-bezier(.2, .7, .15, 1); }
.photo:not(.loaded) { background: linear-gradient(100deg, var(--sky) 40%, #f1f5fd 50%, var(--sky) 60%) 0 0 / 200% 100%; animation: shimmer 1.3s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.photo[hidden], .hero-photo:has(> .photo[hidden]) { display: none; }
.split:has(> .photo[hidden]) { grid-template-columns: 1fr; }
.hero:has(.photo[hidden]) .hero-text { padding-bottom: 56px; }
