:root {
  --gold: #c6952f;
  --gold-deep: #9c6820;
  --gold-soft: #e3bd5f;
  --red: #E1251B;
  --ink: #1a150d;
  --ink-2: #4a4437;
  --cream: #f5f1e8;
  --cream-2: #efe9dc;
  --card: #ffffff;
  --line: rgba(26, 21, 13, 0.10);
  --muted: #8a8170;
  --maxw: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --grad-gold: linear-gradient(120deg, #9c6820 0%, #e3bd5f 30%, #f6e6a6 52%, #cf9a34 74%, #8a5c1c 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(245, 241, 232, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(26, 21, 13, 0.05);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 15px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.nav__brand a { display: flex; align-items: center; }
.nav__brand img { width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.12); transition: transform 0.25s var(--ease); }
.nav__brand a:hover img { transform: scale(1.08); }
.nav__brand span { font-family: "Playfair Display", serif; font-weight: 800; font-size: 1.1rem; color: var(--ink); }
.nav__langs { display: flex; align-items: center; gap: 7px; }
.lang {
  border: 1px solid var(--line); background: transparent; padding: 3px;
  border-radius: 6px; cursor: pointer; line-height: 0; opacity: 0.55;
  transition: opacity 0.2s, box-shadow 0.2s, transform 0.2s var(--ease);
}
.lang svg { width: 26px; height: 17px; border-radius: 3px; display: block; }
.lang:hover { opacity: 1; transform: scale(1.1); }
.lang.is-active { opacity: 1; box-shadow: 0 0 0 2px var(--gold); }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 80% 20%, #fbf8f1 0%, var(--cream) 55%, var(--cream-2) 100%);
  padding: 130px 24px 80px;
}
.hero__brush {
  position: absolute; z-index: 0;
  top: 14%; left: 50%; transform: translateX(-50%) rotate(-2deg);
  width: min(1180px, 122%); height: auto; opacity: 0.96;
  filter: drop-shadow(0 14px 34px rgba(140, 96, 24, 0.22));
  pointer-events: none; user-select: none;
}
.hero__content { position: relative; z-index: 2; max-width: 900px; }

.hero__title {
  font-family: "Playfair Display", serif; font-weight: 900; margin: 0;
  line-height: 0.92; color: var(--ink);
  font-size: clamp(3rem, 11vw, 8rem); letter-spacing: -0.01em;
  text-shadow: 0 2px 0 rgba(255,255,255,0.35);
}
.hero__title .line { display: block; }
.hero__title .line--small { font-size: 0.5em; font-weight: 700; letter-spacing: 0.04em; }

.hero__year {
  font-family: "Playfair Display", serif; font-weight: 900;
  font-size: clamp(4rem, 20vw, 13rem); line-height: 0.82; margin: 4px 0 30px;
  color: var(--ink);
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.3);
}

.hero__logo-link { display: inline-block; }
.hero__logo {
  width: 118px; height: 118px; margin: 0 auto 22px; border-radius: 50%;
  background: #fff; box-shadow: 0 14px 40px rgba(26, 21, 13, 0.22);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.hero__logo-link:hover .hero__logo { transform: scale(1.05); box-shadow: 0 18px 48px rgba(26, 21, 13, 0.28); }

.hero__lead { font-size: 1.05rem; color: var(--ink-2); margin: 0; }
.hero__lead strong { color: var(--ink); font-weight: 700; }

.hero__scroll {
  display: block; width: 26px; height: 44px; margin: 40px auto 0;
  border: 2px solid rgba(26, 21, 13, 0.28); border-radius: 100px; position: relative;
}
.hero__scroll span {
  position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  background: var(--gold-deep); border-radius: 4px; animation: scroll 1.6s var(--ease) infinite;
}
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(16px); } }

/* ---------- SECTIONS ---------- */
.section { padding: 108px 0; position: relative; }
.section--intro { background: var(--cream); }
.section--sponsors { background: var(--cream-2); border-top: 1px solid var(--line); }
.section--partners { background: var(--cream); border-top: 1px solid var(--line); }

.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: 0.2em;
  font-size: 0.75rem; font-weight: 700; margin-bottom: 14px; color: var(--ink);
}
.section__title {
  font-family: "Playfair Display", serif; font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.05; margin: 0; color: var(--ink);
}
.section__head { margin-bottom: 46px; }

/* intro */
.intro { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 6vw, 80px); align-items: center; }
.intro__num {
  font-family: "Playfair Display", serif; font-weight: 900; font-size: clamp(4rem, 12vw, 9rem); line-height: 0.8;
  color: var(--ink);
}
.section__text { margin: 20px 0 0; font-size: 1.15rem; color: var(--ink-2); }

/* ---------- SPONSOR GRID ---------- */
.logo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.logo-card {
  position: relative; border: 1px solid var(--line); border-radius: 18px;
  background: var(--card); padding: 32px 24px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  box-shadow: 0 10px 30px rgba(26, 21, 13, 0.06);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.logo-card:hover { transform: scale(1.06); box-shadow: 0 22px 50px rgba(26, 21, 13, 0.16); z-index: 2; }
.logo-card__img { height: 96px; width: 100%; display: flex; align-items: center; justify-content: center; }
.logo-card__img img { max-height: 100%; max-width: 72%; width: auto; height: auto; object-fit: contain; }
.logo-card__name {
  font-family: "Playfair Display", serif; font-weight: 700; font-size: 0.98rem;
  color: var(--ink); text-align: center;
}

/* ---------- PARTNER GRID ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.partner-card--featured { grid-column: 1 / -1; justify-self: center; width: calc(50% - 11px); }
.partner-card {
  position: relative; display: flex; align-items: flex-start; gap: 26px;
  border: 1px solid var(--line); border-radius: 20px; padding: 30px; background: var(--card);
  box-shadow: 0 10px 30px rgba(26, 21, 13, 0.06);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.partner-card:hover { transform: scale(1.035); box-shadow: 0 22px 50px rgba(26, 21, 13, 0.16); z-index: 2; }
.partner-card__img {
  flex: 0 0 auto; height: 118px; width: 118px; display: flex; align-items: center; justify-content: center;
  background: var(--cream); border-radius: 16px; padding: 12px;
}
.partner-card__img img { max-height: 100%; max-width: 100%; object-fit: contain; }
.partner-card__tag {
  display: inline-block; font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--gold-deep);
  border: 1px solid rgba(198, 149, 47, 0.5); border-radius: 100px; padding: 4px 12px; margin-bottom: 12px;
}
.partner-card__body h3 {
  font-family: "Playfair Display", serif; font-weight: 800; margin: 0 0 8px; font-size: 1.5rem; color: var(--ink);
}
.partner-card__body p { margin: 0; color: var(--ink-2); font-size: 0.98rem; }

/* ---------- FOOTER ---------- */
.footer {
  position: relative; background: var(--ink); color: rgba(255,255,255,0.72);
  padding: 84px 0 54px; text-align: center;
  border-top: 4px solid transparent; border-image: var(--grad-gold) 1;
}
.footer__logo-link { display: inline-block; }
.footer__logo {
  width: 96px; height: 96px; margin: 0 auto 22px; border-radius: 50%;
  background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s var(--ease);
}
.footer__logo-link:hover .footer__logo { transform: scale(1.06); }
.footer__big {
  font-family: "Playfair Display", serif; font-weight: 900; font-size: clamp(2rem, 6vw, 3.6rem);
  line-height: 0.95; margin: 0 0 18px; color: #fff;
}
.footer__big span { color: #fff; }
.footer__org { margin: 0 0 22px; color: rgba(255,255,255,0.7); }
.footer__copy { margin: 0; font-size: 0.85rem; color: rgba(255,255,255,0.42); }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .hero__scroll span { animation: none; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 720px) {
  .section { padding: 74px 0; }
  .intro { grid-template-columns: 1fr; text-align: left; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: 1fr; }
  .partner-card--featured { width: 100%; }
  .partner-card { flex-direction: column; text-align: center; }
  .partner-card__tag { margin-inline: auto; }
  .hero__brush { top: 20%; width: 150%; }
}
@media (max-width: 440px) {
  .logo-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nav__brand span { display: none; }
  .lang svg { width: 22px; height: 15px; }
  .nav__langs { gap: 5px; }
}
