:root {
  --bg: #020202;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.76);
  --muted-strong: rgba(255, 255, 255, 0.88);
  --red: #e1271b;
  --blue: #165bc4;
  --shadow: 0 28px 72px rgba(0, 0, 0, 0.28);
  --shadow-soft: 0 18px 44px rgba(0, 0, 0, 0.18);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --content-width: min(1120px, calc(100vw - 2rem));
  --section-pad: clamp(1.55rem, 3vw, 2.35rem);
  --copy-max: 43.75rem;
  --font-family-base: "Poppins", sans-serif;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;
  --tracking-tight: -0.052em;
  --tracking-section: -0.028em;
  --tracking-body: -0.012em;
  --display-size: clamp(3.05rem, 8vw, 5.8rem);
  --section-size: clamp(1.95rem, 3.8vw, 3rem);
  --card-title-size: clamp(1.3rem, 2.1vw, 1.7rem);
  --body-size: 1rem;
  --body-size-lg: 1.05rem;
  --body-line: 1.78;
  --body-line-lg: 1.82;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-family-base);
  color: var(--text);
  line-height: 1.5;
  letter-spacing: var(--tracking-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(circle at top left, rgba(22, 91, 196, 0.14), transparent 36%),
    radial-gradient(circle at top right, rgba(225, 39, 27, 0.12), transparent 32%),
    linear-gradient(180deg, #000000 0%, #050506 46%, #000000 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: radial-gradient(circle at center, black 26%, transparent 88%);
  -webkit-mask-image: radial-gradient(circle at center, black 26%, transparent 88%);
  opacity: 0.1;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.12) 0.6px, transparent 0.6px),
    radial-gradient(rgba(255, 255, 255, 0.08) 0.5px, transparent 0.5px);
  background-position: 0 0, 2px 2px;
  background-size: 6px 6px, 8px 8px;
  opacity: 0.028;
  mix-blend-mode: soft-light;
}

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

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.92);
  outline-offset: 3px;
}

h1,
h2,
p,
li,
a,
span,
strong {
  font-family: inherit;
}

p {
  margin: 0;
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  z-index: 0;
  width: clamp(150px, 19vw, 250px);
  aspect-ratio: 1;
  pointer-events: none;
  background: url("assets/brand/project-square-outline.png") center / contain no-repeat;
  opacity: 0.08;
}

.page-shell::before {
  top: 10rem;
  left: -3rem;
  transform: rotate(-10deg);
}

.page-shell::after {
  right: -2rem;
  bottom: 4rem;
  transform: rotate(12deg);
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
  width: var(--content-width);
  margin-inline: auto;
}

.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  padding: 1.2rem 0 0;
  text-align: center;
}

.site-header__project {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-transform: uppercase;
  font-weight: var(--weight-bold);
  min-width: 0;
  padding-top: 0;
}

.site-header__project-label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  font-weight: var(--weight-semibold);
  color: rgba(255, 255, 255, 0.65);
}

.site-header__project-sub {
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  font-weight: var(--weight-bold);
}

.site-header__certification {
  display: block;
  width: clamp(156px, 15vw, 214px);
  opacity: 0.94;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.site-header__certification:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.site-header__certification img {
  width: 100%;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.24));
}

.site-header__organizer {
  display: block;
  width: clamp(360px, 36vw, 560px);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.site-header__organizer:hover {
  opacity: 0.96;
  transform: translateY(-2px);
}

.site-header__organizer img {
  width: 100%;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.28));
}

main {
  display: grid;
  gap: clamp(2.5rem, 4vw, 3.4rem);
  padding: 3.35rem 0 4.75rem;
}

.panel {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.022));
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px) saturate(112%);
  -webkit-backdrop-filter: blur(18px) saturate(112%);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 2rem;
  min-height: clamp(640px, 82vh, 760px);
  padding: var(--section-pad);
}

.hero__copy {
  display: grid;
  align-content: start;
  gap: 1.2rem;
  min-width: 0;
  animation: hero-content-in 0.52s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__intro {
  display: grid;
  gap: 0.55rem;
  max-width: min(var(--copy-max), 100%);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 0.45rem;
}

.hero__stat {
  display: grid;
  gap: 0.35rem;
  padding: 1.05rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022)),
    linear-gradient(135deg, rgba(22, 91, 196, 0.085), rgba(225, 39, 27, 0.065));
  box-shadow:
    var(--shadow-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.hero__stat-number {
  font-size: clamp(2.35rem, 5.8vw, 3.95rem);
  font-weight: var(--weight-extrabold);
  line-height: 0.88;
  letter-spacing: var(--tracking-tight);
}

.hero__stat-label {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.83rem;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.type-overline {
  font-weight: var(--weight-semibold);
  letter-spacing: 0.24em;
}

.type-display {
  margin: 0;
  max-width: 9ch;
  font-size: var(--display-size);
  font-weight: var(--weight-extrabold);
  line-height: 0.9;
  letter-spacing: var(--tracking-tight);
  text-wrap: balance;
}

.hero__headline-break {
  display: none;
}

.type-section {
  margin: 0;
  font-size: var(--section-size);
  font-weight: var(--weight-bold);
  line-height: 1.03;
  letter-spacing: var(--tracking-section);
  text-wrap: balance;
}

.type-body {
  font-size: var(--body-size);
  font-weight: var(--weight-regular);
  line-height: var(--body-line);
  letter-spacing: var(--tracking-body);
  text-wrap: pretty;
}

.type-body--lead {
  font-size: var(--body-size-lg);
  font-weight: var(--weight-medium);
  line-height: var(--body-line-lg);
}

.hero__message {
  display: grid;
  gap: 0.85rem;
  max-width: min(var(--copy-max), 100%);
}

.hero__message-line {
  max-width: 16ch;
}

.hero__message-line--accent {
  color: #ffffff;
}

.hero__reveal {
  max-width: min(var(--copy-max), 100%);
  color: rgba(255, 255, 255, 0.84);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.35rem;
}

.progress-panel {
  display: grid;
  gap: 1.5rem;
  padding: var(--section-pad);
}

.progress-panel__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1.5rem;
}

.progress-panel__copy {
  display: grid;
  gap: 0.9rem;
  min-width: 0;
}

.progress-panel__copy .type-section {
  max-width: 18ch;
}

.progress-panel__copy .type-body {
  max-width: min(var(--copy-max), 100%);
  color: var(--muted);
}

.progress-panel__viewer {
  align-self: center;
}

.progress-panel__body {
  display: grid;
  gap: 1rem;
  padding: 1.15rem 1.2rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.042), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at right top, rgba(22, 91, 196, 0.1), transparent 38%),
    radial-gradient(circle at left bottom, rgba(225, 39, 27, 0.085), transparent 35%);
  box-shadow:
    var(--shadow-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.progress-panel__meta {
  display: grid;
  gap: 0.8rem;
  min-width: 0;
}

.progress-panel__label {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.76rem;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.progress-panel__numbers {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.progress-panel__count {
  margin: 0;
  font-size: clamp(1.2rem, 2.8vw, 1.75rem);
  font-weight: var(--weight-semibold);
  line-height: 1.2;
  letter-spacing: var(--tracking-section);
}

.progress-panel__percent {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: var(--weight-extrabold);
  line-height: 0.92;
  letter-spacing: var(--tracking-tight);
  white-space: nowrap;
}

.progress-panel__support {
  max-width: min(var(--copy-max), 100%);
  color: rgba(255, 255, 255, 0.78);
}

.progress-panel__noscript {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  font-weight: var(--weight-medium);
  line-height: 1.65;
}

.progress-meter {
  width: 100%;
}

.progress-meter__track {
  position: relative;
  width: 100%;
  height: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 8px 18px rgba(0, 0, 0, 0.28);
}

.progress-meter__track::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 24px 100%;
  opacity: 0.45;
  pointer-events: none;
}

.progress-meter__fill {
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0)),
    linear-gradient(90deg, var(--blue) 0%, #2f83ff 36%, #ffffff 52%, #ff7064 66%, var(--red) 100%);
  box-shadow:
    0 0 24px rgba(22, 91, 196, 0.22),
    0 0 28px rgba(225, 39, 27, 0.18);
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 12rem;
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: var(--weight-semibold);
  line-height: 1.2;
  letter-spacing: 0.015em;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
  transition:
    transform 0.18s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.button:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
}

.button--ghost:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.button--primary {
  color: #000000;
  background: linear-gradient(
    90deg,
    var(--blue),
    #2b7bff 46%,
    #ffffff 50%,
    #ff6a5e 54%,
    var(--red)
  );
}

.button--ghost {
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
}

.hero__art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100%;
  animation: hero-content-in 0.58s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__logo-frame {
  position: relative;
  overflow: visible;
  display: grid;
  place-items: center;
  width: min(100%, 520px);
  padding: clamp(0.9rem, 2vw, 1.2rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: linear-gradient(
    135deg,
    rgba(22, 91, 196, 0.16),
    rgba(255, 255, 255, 0.022) 42%,
    rgba(225, 39, 27, 0.14)
  );
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.hero__logo {
  position: relative;
  z-index: 2;
  width: 100%;
  filter: drop-shadow(0 22px 50px rgba(0, 0, 0, 0.45));
}

.hero__motif {
  position: absolute;
  z-index: 1;
  right: clamp(-18px, -2vw, -10px);
  bottom: clamp(-20px, -2vw, -10px);
  width: clamp(58px, 12%, 92px);
  opacity: 0.48;
  pointer-events: none;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.26));
  animation: float-stamp 14s ease-in-out infinite;
}

.story-panel {
  display: grid;
  gap: 0.95rem;
  padding: var(--section-pad);
}

.story-panel .type-section {
  max-width: 20ch;
}

.story-panel .type-body {
  max-width: min(var(--copy-max), 100%);
  color: rgba(255, 255, 255, 0.8);
}

.community-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.4rem;
  padding: var(--section-pad);
}

.community-cta__copy {
  display: grid;
  gap: 0.72rem;
  min-width: 0;
}

.community-cta__actions {
  display: grid;
  justify-items: end;
  gap: 0.85rem;
}

.community-cta .type-section {
  max-width: 14ch;
}

.community-cta .type-body {
  max-width: min(42rem, 100%);
  color: rgba(255, 255, 255, 0.8);
}

.community-cta__button {
  justify-self: end;
}

.community-cta__links {
  display: grid;
  justify-items: end;
  gap: 0.4rem;
}

.community-cta__link {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  font-weight: var(--weight-medium);
  line-height: 1.45;
  letter-spacing: 0.01em;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.28);
  text-underline-offset: 0.18em;
  transition:
    color 0.22s ease,
    text-decoration-color 0.22s ease;
}

.community-cta__link:hover {
  color: rgba(255, 255, 255, 0.92);
  text-decoration-color: rgba(255, 255, 255, 0.62);
}

.site-footer {
  padding: 0 0 2.2rem;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.96rem;
  font-weight: var(--weight-medium);
  line-height: 1.6;
}

.site-footer__mark {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.site-footer__mark:hover {
  color: rgba(255, 255, 255, 0.9);
}

.site-footer__mark img {
  width: 42px;
}

@keyframes hero-content-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-stamp {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-7deg);
  }

  50% {
    transform: translate3d(12px, -10px, 0) rotate(-3deg);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 1rem;
    min-height: auto;
    padding: clamp(1.25rem, 2.8vw, 1.5rem);
  }

  main {
    gap: 1.35rem;
    padding-top: 1.75rem;
    padding-bottom: 3rem;
  }

  .hero__copy {
    order: 1;
    gap: 0.78rem;
  }

  .hero__art {
    order: 2;
    justify-items: center;
    min-height: auto;
    padding-top: 0;
  }

  .progress-panel__header {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 0.95rem;
  }

  .progress-panel,
  .story-panel,
  .community-cta {
    gap: 0.95rem;
    padding: clamp(1.25rem, 2.8vw, 1.5rem);
  }

  .progress-panel__copy {
    gap: 0.55rem;
  }

  .progress-panel__body {
    gap: 0.65rem;
    padding: 0.9rem 0.95rem;
  }

  .progress-panel__meta {
    gap: 0.42rem;
  }

  .progress-panel__numbers {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }

  .progress-panel__percent {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
  }

  .story-panel {
    gap: 0.7rem;
  }

  .story-panel .type-section {
    max-width: 16ch;
  }

  .community-cta {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .community-cta__copy {
    gap: 0.58rem;
  }

  .community-cta__actions,
  .community-cta__links {
    justify-items: start;
  }

  .community-cta__button {
    justify-self: start;
  }

  .hero__intro {
    order: 1;
    gap: 0.38rem;
  }

  .hero__stats {
    order: 2;
    grid-template-columns: 1fr;
    gap: 0.68rem;
    margin-bottom: 0;
  }

  .hero__message {
    order: 3;
    gap: 0.5rem;
  }

  .hero__actions {
    order: 4;
    display: grid;
    gap: 0.55rem;
    margin-top: 0.12rem;
  }

  .hero__actions .button {
    min-width: 0;
    padding: 0.8rem 1rem;
  }

  .hero__logo-frame {
    width: min(56vw, 232px);
    padding: 0.48rem;
    border-radius: 22px;
  }

  .hero__motif {
    width: 52px;
    right: -10px;
    bottom: -12px;
    opacity: 0.42;
  }

  .type-display {
    max-width: 7.2ch;
    font-size: clamp(2.55rem, 8vw, 3.9rem);
    line-height: 0.92;
  }

  .hero__headline-break {
    display: block;
  }

  .site-header {
    align-items: center;
    gap: 0.6rem;
    padding-top: 1rem;
  }

  .site-header__project {
    align-items: center;
    padding-top: 0;
    text-align: center;
  }

  .site-header__certification {
    width: min(196px, 42vw);
  }

  .site-header__organizer {
    width: min(360px, 78vw);
  }
}

@media (max-width: 720px) {
  body::before {
    background-size: 56px 56px;
  }

  main {
    padding-top: 1.65rem;
  }

  .type-display {
    max-width: 7.2ch;
    line-height: 0.94;
  }

  .hero__message-line {
    max-width: none;
  }

  .button {
    width: 100%;
  }

  .progress-panel__viewer {
    width: 100%;
  }

  .community-cta__button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .page-shell::before,
  .page-shell::after {
    width: 120px;
    opacity: 0.06;
  }

  .site-header__organizer {
    width: min(86vw, 320px);
  }

  .site-header__certification {
    width: min(176px, 48vw);
  }

  .panel {
    border-radius: 22px;
  }

  .hero {
    padding: 1.25rem;
  }

  .hero__stat {
    padding: 0.88rem 0.95rem;
  }

  .hero__stats {
    gap: 0.65rem;
  }

  .hero__stat-number {
    font-size: clamp(2rem, 10vw, 2.85rem);
  }

  .hero__logo-frame {
    width: min(64vw, 208px);
  }

  .hero__motif {
    width: 44px;
    right: -8px;
    bottom: -10px;
  }

  .progress-panel__header {
    gap: 0.8rem;
  }

  .progress-panel__copy {
    gap: 0.55rem;
  }

  .progress-panel__body {
    padding: 0.88rem 0.95rem;
    border-radius: 22px;
  }

  .progress-panel__meta,
  .progress-panel__numbers {
    gap: 0.18rem;
  }

  .progress-panel__percent {
    font-size: clamp(1.75rem, 9vw, 2.2rem);
  }

  .progress-meter__track {
    height: 16px;
  }

  .type-section {
    font-size: clamp(1.6rem, 7vw, 2.15rem);
  }

  .type-body,
  .type-body--lead {
    font-size: 0.98rem;
    line-height: 1.72;
  }

  .hero__reveal {
    max-width: none;
  }

  .hero__actions {
    gap: 0.55rem;
  }

  .hero__actions .button {
    padding: 0.74rem 0.92rem;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
