:root {
  --orange: #F19A4D;
  --orange-dark: #E08A3C;
  --navy: #0F1327;
  --ink: #1B1B1E;
  --grey-bg: #F4F4F4;
  --grey-logo: #9AA0AC;
  --white: #FFFFFF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

.container { width: min(1180px, 92%); margin: 0 auto; }
.container.narrow { width: min(780px, 92%); }

h1, h2 { font-weight: 700; line-height: 1.25; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 1rem; }
.accent { color: var(--orange); }
.light { color: var(--white); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8em 1.8em;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); box-shadow: 0 8px 20px rgba(241, 154, 77, 0.35); }
.btn-ghost { color: var(--ink); border: 2px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--white); color: var(--orange-dark); margin-top: 1.5rem; }
.btn-light:hover { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 0.6rem 0;
}
.nav-inner { display: flex; align-items: center; gap: 2rem; }
.nav-logo img { height: 42px; width: auto; display: block; }
.nav-links { display: flex; gap: 1.8rem; margin-left: auto; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--orange-dark); }
.nav-cta { padding: 0.55em 1.4em; font-size: 0.9rem; }

/* Hero */
.hero { padding: 3rem 0 4rem; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 2rem; }
.hero h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
.hero-copy p { margin: 1.2rem 0 1.8rem; font-size: 1.1rem; color: #555; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-art { position: relative; min-height: 420px; }
.hero-art .art { position: absolute; filter: drop-shadow(0 12px 24px rgba(15, 19, 39, 0.08)); }
.art-meeting { width: 38%; top: 0; left: 31%; }
.art-idea { width: 46%; right: 0; bottom: 2%; }
.art-flag { width: 33%; left: 5%; bottom: 0; }

/* Stats */
.stats { background: var(--orange); color: var(--white); padding: 3.5rem 0; }
.stats-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2.25rem; }
.stats-lede { font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 600; max-width: 30ch; }
.stats-row { display: flex; justify-content: center; flex-wrap: wrap; }
.stat { text-align: center; padding: 0 2.5rem; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, 0.4); }
.stat-num { display: block; font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 800; line-height: 1.1; }
.stat-label { font-weight: 500; opacity: 0.95; }

/* About */
.about { padding: 5.5rem 0; text-align: center; }
.about p { font-size: clamp(1.05rem, 2vw, 1.25rem); }

/* Panels (solid colors with tilted edges, like the source site) */
.panel { padding: 8rem 0; }
.panel-dark {
  background-color: var(--navy);
  clip-path: polygon(0 3.5rem, 100% 0, 100% calc(100% - 3.5rem), 0 100%);
}
.panel-light {
  background-color: var(--white);
  clip-path: polygon(0 0, 100% 3.5rem, 100% 100%, 0 100%);
}
.panel .narrow { text-align: center; margin-bottom: 3rem; }
.panel p { margin-top: 0.5rem; }

/* Galleries */
.gallery { columns: 3; column-gap: 1.2rem; }
.gallery figure { break-inside: avoid; margin: 0 0 1.2rem; border-radius: 14px; overflow: hidden; background: rgba(255, 255, 255, 0.06); }
.panel-light .gallery figure { background: var(--white); box-shadow: 0 10px 30px rgba(15, 19, 39, 0.08); }
.panel-dark .gallery figure { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.gallery img { display: block; width: 100%; transition: transform 0.4s ease; }
.gallery figure:hover img { transform: scale(1.04); }

/* Partners */
.partners { padding: 5.5rem 0; background: var(--grey-bg); }
.partners h2 { text-align: center; margin-top: 4.5rem; }
.partners h2:first-child { margin-top: 0; }
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 2rem 1.5rem;
  align-items: center;
  justify-items: center;
  margin-bottom: 2rem;
}
.logo-grid img {
  width: 150px;
  height: 52px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.65;
  transition: opacity 0.2s ease;
}
.logo-grid img:hover { opacity: 1; }

/* CTA */
.cta { background: var(--orange); padding: 5.5rem 0; text-align: center; }
.cta p { opacity: 0.95; font-size: 1.1rem; }

/* Footer */
.footer { background: var(--navy); color: var(--white); padding: 3rem 0; }
.footer-inner { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.footer img { height: 40px; width: auto; }
.footer-links { display: flex; gap: 1.5rem; margin-left: auto; }
.footer-links a { color: rgba(255, 255, 255, 0.85); text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: var(--orange); }
.footer p { width: 100%; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 1.5rem; }

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

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { min-height: 300px; width: 100%; max-width: 480px; margin: 0 auto; }
  .art-meeting { width: 42%; top: 0; left: 29%; }
  .art-flag { width: 36%; left: 0; bottom: 0; }
  .art-idea { width: 48%; right: 0; bottom: 0; }
  .gallery { columns: 2; }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .stats-row { flex-direction: column; gap: 2rem; }
  .stat + .stat { border-left: 0; }
}
@media (max-width: 560px) {
  .gallery { columns: 1; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { margin: 0 auto; }
}
