:root {
  --navy: #13294B;
  --navy-deep: #0B1B33;
  --navy-soft: #1F3E6E;
  --gold: #E0A33A;
  --gold-soft: #F7D998;
  --terra: #C8553D;
  --mint: #2E8B74;
  --cream: #FAF7F2;
  --tint: #F1EEE7;
  --ink: #1A2233;
  --muted: #5B6578;
  --line: #E3DED3;
  --radius: 18px;
  --shadow: 0 18px 40px -18px rgba(11, 27, 51, .35);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h2 { font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 2.5rem); color: var(--navy); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--terra); margin-bottom: .7em; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.5em; border-radius: 999px; font-weight: 600; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s, color .2s; border: 2px solid transparent; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--gold); color: var(--navy-deep); box-shadow: 0 10px 24px -10px rgba(224, 163, 58, .8); }
.btn--primary:hover { background: #ECB656; }
.btn--ghost { border-color: rgba(250, 247, 242, .5); color: var(--cream); }
.btn--ghost:hover { background: rgba(250, 247, 242, .1); }
.btn--ghost-light { border-color: rgba(250, 247, 242, .5); color: var(--cream); }
.btn--ghost-light:hover { background: rgba(250, 247, 242, .1); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav.scrolled { background: rgba(11, 27, 51, .92); backdrop-filter: blur(10px); box-shadow: 0 6px 24px -12px rgba(0,0,0,.5); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: .6em; text-decoration: none; color: var(--cream); font-weight: 700; letter-spacing: .02em; }
.nav__links { display: flex; gap: 1.8em; }
.nav__links a { color: rgba(250, 247, 242, .82); text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--gold); transition: width .25s; }
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: .6em; }
.lang { background: transparent; color: var(--cream); border: 1.5px solid rgba(250, 247, 242, .5); border-radius: 999px; padding: .35em .85em; font: 600 .8rem var(--sans); cursor: pointer; }
.lang:hover { border-color: var(--gold); color: var(--gold); }
.menu { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu span { display: block; width: 22px; height: 2px; background: var(--cream); margin: 5px 0; transition: transform .25s, opacity .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: var(--cream); background: radial-gradient(1200px 600px at 80% 20%, #1F3E6E 0%, var(--navy) 45%, var(--navy-deep) 100%); padding: 120px 0 0; }
.hero__pattern { position: absolute; inset: 0; background: url("assets/img/zellige.svg") repeat; background-size: 96px; opacity: .09; pointer-events: none; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 40px; }
.hero__text { padding-bottom: 90px; }
.hero h1 { font-family: var(--serif); font-size: clamp(2.8rem, 7vw, 5rem); letter-spacing: -.01em; margin-bottom: .15em; }
.hero h1 span { color: var(--gold); }
.hero__role { font-size: clamp(1.1rem, 2.2vw, 1.4rem); font-weight: 600; margin-bottom: 1em; }
.hero__lead { font-size: 1.08rem; color: rgba(250, 247, 242, .8); max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8em; }
.hero__photo { position: relative; align-self: end; justify-self: center; width: min(440px, 100%); }
.hero__photo img { position: relative; z-index: 2; width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.35)); }
.hero__ring { position: absolute; z-index: 1; left: 8%; right: 8%; top: 8%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 30% 30%, var(--gold) 0%, #C98A1E 60%, #9A6512 100%); opacity: .92; }
.hero__ring::after { content: ""; position: absolute; inset: -18px; border-radius: 50%; border: 1.5px dashed rgba(224, 163, 58, .55); animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.badge { position: absolute; z-index: 3; display: flex; align-items: center; gap: .6em; background: rgba(250, 247, 242, .96); color: var(--navy); padding: .65em 1em; border-radius: 14px; box-shadow: var(--shadow); font-size: .82rem; line-height: 1.25; max-width: 210px; }
.badge strong { font-family: var(--serif); font-size: 1.5rem; color: var(--terra); }
.badge--a { left: -6%; top: 38%; }
.badge--b { right: -4%; bottom: 16%; }

/* ---------- Stats ---------- */
.stats { background: var(--navy-deep); color: var(--cream); padding: 34px 0; border-top: 1px solid rgba(224, 163, 58, .25); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat strong { display: block; font-family: var(--serif); font-size: 2.4rem; color: var(--gold); line-height: 1.1; }
.stat strong::after { content: "+"; }
.stat:last-child strong::after { content: ""; }
.stat span { font-size: .9rem; color: rgba(250, 247, 242, .75); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--tint { background: var(--tint); }
.section__head { max-width: 640px; margin-bottom: 44px; }

.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.about__img { width: 100%; height: auto; border-radius: 28px; box-shadow: var(--shadow); aspect-ratio: 1; object-fit: cover; outline: 10px solid #fff; }
.tags { list-style: none; padding: 0; margin: 1.4em 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { background: #fff; border: 1px solid var(--line); color: var(--navy); padding: .4em .9em; border-radius: 999px; font-size: .86rem; font-weight: 500; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border-radius: var(--radius); padding: 18px 18px 26px; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card img { width: 100%; height: auto; border-radius: 12px; margin-bottom: 18px; }
.card h3 { color: var(--navy); padding-inline: 6px; }
.card p { color: var(--muted); font-size: .95rem; padding-inline: 6px; margin: 0; }

.timeline { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 2px solid var(--line); max-width: 780px; }
.timeline li { position: relative; padding: 0 0 38px 22px; }
.timeline li::before { content: ""; position: absolute; left: -38px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--cream); border: 3px solid var(--gold); }
.timeline li:first-child::before { background: var(--gold); box-shadow: 0 0 0 6px rgba(224, 163, 58, .22); }
.timeline__date { font-size: .82rem; font-weight: 700; color: var(--terra); text-transform: uppercase; letter-spacing: .06em; }
.timeline h3 { margin: .3em 0 .15em; color: var(--navy); font-size: 1.2rem; }
.timeline__org { font-weight: 600; color: var(--mint); margin-bottom: .5em; }
.timeline p:last-child { color: var(--muted); margin: 0; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.list { list-style: none; padding: 0; margin: 0; }
.list li { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 12px; padding: 14px 18px; margin-bottom: 12px; }
.list strong { display: block; color: var(--navy); }
.list span { color: var(--muted); font-size: .92rem; }
.langs__title { margin-top: 1.6em; color: var(--navy); }
.langs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.langs span { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; display: flex; justify-content: space-between; gap: 8px; }
.langs b { color: var(--navy); }
.langs i { font-style: normal; color: var(--mint); font-weight: 600; font-size: .9rem; }

/* ---------- Contact ---------- */
.contact { position: relative; overflow: hidden; background: var(--navy); color: var(--cream); padding: 110px 0; text-align: center; }
.contact__inner { position: relative; max-width: 680px; }
.contact h2 { color: var(--cream); }
.contact p { color: rgba(250, 247, 242, .8); font-size: 1.05rem; }
.contact__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
.contact__cv { margin-top: 1.6em; display: flex; justify-content: center; gap: 24px; }
.contact__cv a { color: var(--gold); font-weight: 600; text-decoration: none; }
.contact__cv a:hover { text-decoration: underline; }

.footer { background: var(--navy-deep); color: rgba(250, 247, 242, .6); text-align: center; padding: 22px 0; font-size: .88rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__ring::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav__links { position: fixed; inset: 68px 0 auto; flex-direction: column; gap: 0; background: rgba(11, 27, 51, .97); padding: 8px 16px 16px; transform: translateY(-120%); transition: transform .3s; }
  .nav__links a { padding: 14px 4px; border-bottom: 1px solid rgba(250, 247, 242, .08); }
  .nav.open .nav__links { transform: none; }
  .nav.open { background: rgba(11, 27, 51, .97); }
  .menu { display: block; }
  .nav.open .menu span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .menu span:nth-child(2) { opacity: 0; }
  .nav.open .menu span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding-top: 100px; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__text { padding-bottom: 10px; }
  .hero__lead { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero__photo { width: min(340px, 88%); }
  .badge { font-size: .74rem; max-width: 170px; }
  .badge--a { left: -10%; }
  .badge--b { right: -10%; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .about, .two-col { grid-template-columns: 1fr; gap: 36px; }
  .about__img { max-width: 320px; margin-inline: auto; }
  .cards { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .section { padding: 72px 0; }
}
@media (max-width: 420px) {
  .badge { display: none; }
  .langs { grid-template-columns: 1fr; }
}
