:root {
  --blue-900: #08265E;
  --blue-500: #3199E8;
  --white: #FFFFFF;
  --ink: #101828;
  --paper: #F8FAFC;
  --muted: #667085;
  --line: rgba(8, 38, 94, 0.15);
  --content: 960px;
  --wide: 980px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--white);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  transform: translateY(-200%);
  padding: .75rem 1rem;
  border-radius: .35rem;
  color: var(--blue-900);
  background: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.hero {
  position: relative;
  min-height: min(900px, 100svh);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background-color: var(--blue-900);
  background-image: url('assets/openproxenos-dark-background-1600x900.jpg');
  background-size: cover;
  background-position: center center;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 38, 94, .20) 0%, rgba(8, 38, 94, .10) 38%, rgba(8, 38, 94, .78) 76%, rgba(8, 38, 94, .98) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(var(--wide), calc(100% - 3rem));
  margin: 0 auto;
  padding: clamp(6rem, 17vh, 11rem) 0 clamp(3rem, 7vh, 5.5rem);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero__statement {
  max-width: none;
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 4.8rem);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 760;
  white-space: nowrap !important;
}

@media (max-width: 700px) {
  .hero__statement {
    white-space: normal;
  }
}

.hero__subhead {
  max-width: 620px;
  margin: 1.8rem 0 0;
  color: rgba(255,255,255,.82);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  line-height: 1.5;
}

.hero__cue {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-top: 2.6rem;
  color: var(--white);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
}

.hero__arrow {
  font-size: 1.15rem;
}

.manifesto {
  overflow: hidden;
}

.section {
  width: min(var(--content), calc(100% - 3rem));
  margin: 0 auto;
}

.section--wide {
  width: min(var(--wide), calc(100% - 3rem));
}

.opening {
  padding: clamp(5rem, 11vw, 9rem) 0 clamp(4.5rem, 10vw, 8rem);
}

.opening p,
.section--prose p {
  margin: 0 0 1.7em;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 1.9vw, 1.48rem);
  line-height: 1.78;
}

.opening .lead {
  max-width: 940px;
  margin-bottom: 1.45em;
  color: var(--blue-900);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2rem, 4.2vw, 4.05rem);
  line-height: 1.08;
  letter-spacing: -.045em;
  font-weight: 720;
}

.declaration {
  margin-top: 2.8rem !important;
  color: var(--blue-500);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif !important;
  font-size: clamp(2rem, 4vw, 3.5rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -.035em;
  font-weight: 780;
}

.rule {
  width: min(var(--wide), calc(100% - 3rem));
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(90deg, var(--blue-500), var(--line) 26%, transparent 100%);
}

.section--prose {
  padding: clamp(4.5rem, 10vw, 8.5rem) 0;
}

.pullquote {
  position: relative;
  width: min(920px, 100vw - 3rem);
  margin: clamp(4.5rem, 9vw, 7rem) 50% !important;
  transform: translateX(-50%);
  padding: 0 0 0 clamp(1.35rem, 3vw, 2.5rem);
  color: var(--blue-900);
  border-left: 5px solid var(--blue-500);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif !important;
  font-size: clamp(2rem, 4.6vw, 4.3rem) !important;
  line-height: 1.03 !important;
  letter-spacing: -.045em;
  font-weight: 760;
}

.band {
  color: var(--white);
  background: var(--blue-900);
}

.band__inner {
  width: min(var(--wide), calc(100% - 3rem));
  margin: 0 auto;
  padding: clamp(5rem, 11vw, 9rem) 0;
}

.band p {
  max-width: 980px;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.85rem, 4vw, 3.75rem);
  line-height: 1.12;
  letter-spacing: -.038em;
  font-weight: 650;
}

.band em {
  color: #76C2F6;
  font-style: normal;
}

.achievements {
  position: relative;
}

.achievements::before {
  content: "";
  position: absolute;
  top: 3rem;
  right: min(-20vw, -8rem);
  width: 36rem;
  height: 36rem;
  border: 1px solid rgba(49, 153, 232, .12);
  border-radius: 50%;
  box-shadow:
    0 0 0 7rem rgba(49, 153, 232, .035),
    0 0 0 14rem rgba(8, 38, 94, .018);
  pointer-events: none;
}

.declaration--dark {
  color: var(--blue-900);
  margin: clamp(4rem, 9vw, 7rem) 0 !important;
}

.closing {
  color: var(--white);
  background:
    radial-gradient(circle at 78% 18%, rgba(49, 153, 232, .32), transparent 27rem),
    var(--blue-900);
}

.closing__inner {
  width: min(var(--wide), calc(100% - 3rem));
  margin: 0 auto;
  padding: clamp(6.5rem, 14vw, 12rem) 0;
}

.closing__small {
  margin: 0 0 1rem;
  color: rgba(255,255,255,.72);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.closing__large {
  margin: 0;
  font-size: clamp(3.4rem, 8.5vw, 8rem);
  line-height: 1;
  letter-spacing: -.055em;
  font-weight: 600;
  white-space: 500;
}

@media (max-width: 700px) {
  .closing__large {
    white-space: normal;
  }
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1.5rem 2rem;
  align-items: center;
  padding: 1.4rem max(1.5rem, calc((100vw - var(--wide)) / 2));
  color: var(--muted);
  background: var(--paper);
  border-top: 1px solid rgba(16, 24, 40, .08);
  font-size: .8rem;
}

.footer p {
  margin: 0;
}

.footer strong {
  color: var(--blue-900);
}

.footer__status {
  text-align: right;
}

@media (max-width: 700px) {
  .hero {
    min-height: 82svh;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center 12%;
  }

  .hero__veil {
    background: linear-gradient(180deg, rgba(8,38,94,0) 20%, rgba(8,38,94,.18) 44%, rgba(8,38,94,.98) 72%);
  }

  .hero__content,
  .section,
  .section--wide,
  .rule,
  .band__inner,
  .closing__inner {
    width: min(100% - 2rem, var(--wide));
  }

  .opening {
    padding-top: 4.5rem;
  }

  .opening p,
  .section--prose p {
    font-size: 1.12rem;
    line-height: 1.7;
  }

  .pullquote {
    width: calc(100vw - 2rem);
  }

  .footer {
    grid-template-columns: 1fr;
    padding: 1.5rem 1rem;
  }

  .footer__status {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
