:root {
  --ink: #202020;
  --soft-ink: #514b46;
  --paper: #f4efe8;
  --paper-light: #fffaf4;
  --orange: #ff5a1f;
  --orange-dark: #d9430c;
  --line: rgba(32, 32, 32, 0.16);
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(32, 32, 32, 0.12);
  --radius: 1.25rem;
  --wrap: min(1180px, calc(100% - 3rem));
  --font: Aptos, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper-light);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.wrap { width: var(--wrap); margin-inline: auto; }
.section { padding: clamp(5rem, 9vw, 9rem) 0; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: .75rem 1rem;
  background: var(--ink);
  color: var(--white);
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.25rem;
  padding: 0 max(1.5rem, calc((100vw - 1180px) / 2));
  background: rgba(244, 239, 232, .92);
  border-bottom: 1px solid rgba(32, 32, 32, .09);
  backdrop-filter: blur(16px);
}

.brand img { width: 8.4rem; height: auto; }
.header-actions, .language-switch { display: flex; align-items: center; gap: .7rem; }
.language-switch { padding: .25rem; border: 1px solid var(--line); border-radius: 999px; }
.language-button {
  min-width: 2.6rem;
  border: 0;
  border-radius: 999px;
  padding: .35rem .6rem;
  color: var(--soft-ink);
  background: transparent;
  cursor: pointer;
  font-size: .78rem;
  font-weight: 800;
}
.language-button.active { color: var(--white); background: var(--ink); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: .8rem 1.35rem;
  border: 1px solid var(--orange);
  border-radius: 999px;
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 10px 28px rgba(255, 90, 31, .19);
  cursor: pointer;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover { background: var(--orange-dark); box-shadow: 0 14px 34px rgba(255, 90, 31, .27); transform: translateY(-2px); }
.button:focus-visible, .text-link:focus-visible, .language-button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(255, 90, 31, .38);
  outline-offset: 3px;
}
.button-small { min-height: 2.6rem; padding: .7rem 1rem; font-size: .85rem; }
.text-link { font-weight: 800; text-underline-offset: .3rem; text-decoration-thickness: .12rem; }

.eyebrow {
  margin: 0 0 1.2rem;
  color: var(--orange);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.035em; }
h1 { max-width: 12ch; margin-bottom: 1.7rem; font-size: clamp(3.4rem, 7.5vw, 7.8rem); line-height: .91; }
h2 { margin-bottom: 1.5rem; font-size: clamp(2.35rem, 5vw, 4.7rem); line-height: .98; }
h3 { margin-bottom: .8rem; font-size: 1.35rem; line-height: 1.1; }

.hero {
  position: relative;
  min-height: 100vh;
  padding: clamp(8.5rem, 15vh, 11rem) 0 2rem;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(244,239,232,.96) 0%, rgba(244,239,232,.92) 43%, rgba(244,239,232,.48) 73%, rgba(244,239,232,.8) 100%),
    repeating-linear-gradient(118deg, transparent 0 5.7rem, rgba(32,32,32,.055) 5.75rem 5.9rem),
    var(--paper);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -12vw -26vw 40%;
  height: 55vw;
  border: 1px solid rgba(255,90,31,.24);
  border-radius: 50%;
}
.hero-content { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.hero-lead { max-width: 45rem; margin-bottom: 2rem; color: var(--soft-ink); font-size: clamp(1.08rem, 1.5vw, 1.35rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.35rem; }
.hero-visual { position: relative; min-height: 34rem; display: grid; place-items: center; }
.hero-card { position: relative; z-index: 2; width: min(100%, 25rem); padding: 1.1rem; background: rgba(255,250,244,.82); border: 1px solid rgba(32,32,32,.12); box-shadow: var(--shadow); transform: rotate(2.3deg); backdrop-filter: blur(10px); }
.hero-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(.82) contrast(1.02); }
.hero-card p { margin: .4rem 0 1rem; font-size: 1.35rem; font-weight: 800; }
.card-index { color: var(--orange); font-size: .74rem; font-weight: 900; letter-spacing: .12em; }
.hero-orbit { position: absolute; border: 1px solid rgba(32,32,32,.18); border-radius: 50%; }
.orbit-one { width: 43rem; height: 43rem; right: -7rem; top: 6rem; }
.orbit-two { width: 31rem; height: 31rem; right: -1rem; top: 12rem; border-color: rgba(255,90,31,.4); }
.wave-label { position: absolute; z-index: 3; display: grid; place-items: center; width: 6.4rem; height: 6.4rem; padding: .8rem; border-radius: 50%; color: var(--white); background: var(--orange); box-shadow: 0 12px 30px rgba(255,90,31,.23); font-size: .75rem; font-weight: 800; line-height: 1.05; text-align: center; }
.wave-a { top: 5%; right: -2%; }
.wave-b { bottom: 5%; left: -5%; }
.wave-c { right: -12%; bottom: 24%; width: 5.4rem; height: 5.4rem; background: var(--ink); }
.event-lockup { position: relative; z-index: 2; display: flex; align-items: center; gap: 1.3rem; margin-top: clamp(3rem, 7vh, 6rem); }
.event-lockup span { color: rgba(32,32,32,.4); font-size: 1.4rem; }
.event-lockup .meids-logo { width: 8.4rem; }
.event-lockup .wascosa-logo { width: 9.2rem; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 8vw, 9rem); }
.section-heading h2 { max-width: 17ch; }
.section-heading.narrow { max-width: 55rem; margin-bottom: 3.8rem; }
.section-heading.narrow p:last-child { max-width: 47rem; color: var(--soft-ink); font-size: 1.15rem; }
.large-copy { margin-bottom: 3rem; font-size: clamp(1.3rem, 2.2vw, 2rem); line-height: 1.28; }
.impact-chain { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; counter-reset: chain; }
.impact-chain span { min-height: 7.5rem; padding: 1.25rem; border: 1px solid var(--line); background: var(--paper-light); font-weight: 800; }
.impact-chain span::before { counter-increment: chain; content: "0" counter(chain); display: block; margin-bottom: 1.4rem; color: var(--orange); font-size: .72rem; letter-spacing: .1em; }

.model { background: var(--ink); color: var(--white); }
.model .section-heading p:last-child { color: rgba(255,255,255,.68); }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(255,255,255,.19); }
.pillar { min-height: 22rem; padding: clamp(1.5rem, 3vw, 2.6rem); border-right: 1px solid rgba(255,255,255,.19); }
.pillar:last-child { border-right: 0; }
.pillar > span { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; margin-bottom: 4.4rem; border: 1px solid var(--orange); border-radius: 50%; color: var(--orange); font-size: .8rem; font-weight: 900; }
.pillar p { color: rgba(255,255,255,.68); }
.foundation { display: grid; grid-template-columns: .7fr 1.3fr; gap: 2rem; align-items: center; padding: 2.1rem clamp(1.5rem, 3vw, 2.6rem); color: var(--ink); background: var(--orange); }
.foundation strong { font-size: 1.2rem; }
.foundation p { margin: 0; }

.value { background: var(--paper); }
.value .section-heading { margin-bottom: 3.5rem; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.value-card { min-height: 23rem; padding: 2rem; border: 1px solid var(--line); background: var(--paper-light); }
.value-number { display: block; margin-bottom: 7rem; color: var(--orange); font-size: .78rem; font-weight: 900; }
.value-card p { color: var(--soft-ink); }

.questions { background: var(--paper-light); }
.questions-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(3rem, 9vw, 9rem); }
.question-list { border-top: 1px solid var(--line); }
.question-list article { display: grid; grid-template-columns: 4rem 1fr; gap: 1rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.question-list span { color: var(--orange); font-size: .75rem; font-weight: 900; }
.question-list p { max-width: 38rem; margin: 0; font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.25; }

.contact { background: var(--paper); }
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.contact-copy { position: sticky; top: 8rem; }
.contact-copy > p:not(.eyebrow) { max-width: 38rem; color: var(--soft-ink); font-size: 1.1rem; }
.contact-people { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.contact-people div { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-people span { color: var(--soft-ink); font-size: .9rem; text-align: right; }
.qr-block { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; }
.qr-block img { width: 6.5rem; padding: .45rem; background: var(--white); border: 1px solid var(--line); }
.qr-block p { max-width: 13rem; margin: 0; color: var(--soft-ink); font-size: .85rem; }
.contact-form { display: grid; gap: 1.15rem; padding: clamp(1.5rem, 4vw, 3rem); background: var(--paper-light); box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label:not(.consent) { display: grid; gap: .45rem; font-size: .82rem; font-weight: 800; }
input, select, textarea { width: 100%; border: 1px solid rgba(32,32,32,.24); border-radius: 0; padding: .9rem 1rem; color: var(--ink); background: var(--white); }
textarea { resize: vertical; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start; color: var(--soft-ink); font-size: .78rem; line-height: 1.45; }
.consent input { width: 1.05rem; height: 1.05rem; margin-top: .15rem; accent-color: var(--orange); }
.submit-button { width: 100%; border-radius: 0; }
.form-note { margin: 0; color: var(--soft-ink); font-size: .72rem; }
.form-note a { margin-left: .35rem; font-weight: 800; }
.honeypot { position: absolute !important; left: -9999px !important; }
.form-success { padding: 1rem; border-left: 4px solid var(--orange); background: rgba(255,90,31,.09); }
.form-success strong, .form-success span { display: block; }

.site-footer { padding: 2.3rem 0; color: var(--white); background: var(--ink); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; }
.footer-inner img { width: 8rem; filter: brightness(0) invert(1); }
.footer-inner p { margin: 0; color: rgba(255,255,255,.62); font-size: .82rem; }
.footer-inner div { display: flex; gap: 1.2rem; font-size: .82rem; }

.reveal { animation: fade-in .7s both; }
@keyframes fade-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  :root { --wrap: min(100% - 2rem, 48rem); }
  .hero-content, .split, .questions-layout, .contact-layout { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-copy { max-width: 46rem; }
  .hero-visual { min-height: 28rem; }
  .hero-card { width: min(76vw, 24rem); }
  .wave-c { right: 1%; }
  .pillar-grid, .value-grid { grid-template-columns: 1fr; }
  .pillar { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.19); }
  .pillar:last-child { border-bottom: 0; }
  .pillar > span, .value-number { margin-bottom: 2.5rem; }
  .foundation { grid-template-columns: 1fr; }
  .value-card { min-height: auto; }
  .contact-copy { position: static; }
}

@media (max-width: 620px) {
  .site-header { height: 4.6rem; padding-inline: 1rem; }
  .brand img { width: 6.7rem; }
  .header-actions .button { display: none; }
  h1 { font-size: clamp(3.2rem, 15vw, 5.2rem); }
  .hero { padding-top: 7.5rem; }
  .hero-visual { min-height: 25rem; }
  .wave-label { width: 5.1rem; height: 5.1rem; font-size: .63rem; }
  .wave-a { right: -1rem; }
  .wave-b { left: -.7rem; }
  .wave-c { right: -.5rem; }
  .event-lockup { flex-wrap: wrap; }
  .event-lockup .meids-logo { width: 7rem; }
  .event-lockup .wascosa-logo { width: 7.5rem; }
  .impact-chain, .field-row { grid-template-columns: 1fr; }
  .impact-chain span { min-height: 6rem; }
  .contact-people div { display: grid; }
  .contact-people span { text-align: left; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
