@font-face {
  font-family: "Manrope";
  src: url("./assets/manrope-variable.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #050505;
  --foreground: #f4f4f4;
  --secondary: #b0b0b0;
  --muted: #929292;
  --rule: #252525;
  --button-hover: #dcdcdc;
  --radius: 5px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  font-family: "Manrope", sans-serif;
  font-synthesis: none;
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scrollbar-color: #555 var(--background);
  scrollbar-width: thin;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
::selection { color: var(--background); background: var(--foreground); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--background); }
::-webkit-scrollbar-thumb { background: #555; border: 2px solid var(--background); border-radius: 8px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; text-underline-offset: 5px; }
a:focus-visible { outline: 2px solid var(--foreground); outline-offset: 6px; border-radius: var(--radius); }
h1, h2, h3, p { margin: 0; }
h1, h2 { text-wrap: balance; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }
.page-shell { width: min(100% - 112px, 1248px); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 20; padding: 12px 18px; background: var(--foreground); color: var(--background); border-radius: var(--radius); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-header { min-height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { width: 82px; display: block; padding-block: 8px; }
.brand img { width: 100%; height: auto; }
.text-link { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; min-height: 44px; }
.text-link:hover { text-decoration: underline; }
.icon { flex: 0 0 auto; max-width: none; }
.icon-light { filter: invert(1); }

.hero { display: grid; grid-template-columns: 1.4fr 1fr; align-items: end; column-gap: 68px; padding: 145px 0 150px; }
h1 { font-size: clamp(64px, 7.6vw, 96px); line-height: 1.08; font-weight: 350; letter-spacing: -.04em; }
h1 span { display: block; white-space: nowrap; }
.noise-line { color: var(--muted); }
.focus-line { animation: settle-focus 900ms var(--ease-out) both; }
.hero-invitation { max-width: 410px; padding-bottom: 6px; }
.hero-description { color: var(--secondary); font-size: 19px; line-height: 1.65; letter-spacing: -.01em; margin-bottom: 28px; }
.join-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 58px; padding: 16px 19px; border-radius: var(--radius); background: var(--foreground); color: var(--background); font-size: 14px; font-weight: 650; line-height: 1.4; white-space: nowrap; transition: background-color 180ms var(--ease-out); }
.join-button:hover { background: var(--button-hover); }
.join-button:active { background: #c6c6c6; }
.join-button:focus-visible { outline-offset: 5px; }
.button-arrow { margin-left: 8px; transition: transform 200ms var(--ease-out); }
.join-button:hover .button-arrow { transform: translate(2px, -2px); }
.join-note { font-size: 12px; line-height: 1.7; color: var(--muted); margin-top: 16px; }

.section-grid { display: grid; grid-template-columns: 1.4fr 1fr; column-gap: 68px; border-top: 1px solid var(--rule); }
h2 { font-size: clamp(34px, 3.5vw, 44px); line-height: 1.24; letter-spacing: -.035em; font-weight: 350; }
.secondary-heading { color: var(--muted); }
.story { padding-block: 108px; }
.story-copy { color: var(--secondary); font-size: 16px; line-height: 1.85; max-width: 44ch; }
.story-copy p + p { margin-top: 24px; }
.together { padding-block: 104px 100px; }
.activities { max-width: 410px; }
.activity + .activity { margin-top: 34px; padding-top: 34px; border-top: 1px solid var(--rule); }
h3 { font-size: 21px; line-height: 1.4; letter-spacing: -.025em; font-weight: 450; margin-bottom: 12px; }
.activity p { font-size: 15px; line-height: 1.8; color: var(--secondary); max-width: 43ch; }

.closing { border-top: 1px solid var(--rule); padding: 130px 0 118px; text-align: center; }
.closing h2 { font-size: clamp(40px, 4.8vw, 60px); line-height: 1.2; letter-spacing: -.035em; }
.closing > p { color: var(--secondary); font-size: 16px; line-height: 1.8; margin-top: 25px; }
.closing .join-button { margin-top: 30px; }
.closing .closing-note { font-size: 12px; color: var(--muted); margin-top: 17px; }
.site-footer { border-top: 1px solid var(--rule); min-height: 136px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 24px; }
.footer-logo { width: 64px; height: auto; }
.site-footer p { font-size: 12px; color: var(--muted); text-align: center; }
.footer-join { font-size: 12px; justify-self: end; }
.mobile-join { display: none; }

@keyframes settle-focus {
  from { opacity: .65; filter: blur(1.5px); }
  to { opacity: 1; filter: blur(0); }
}

@media (min-width: 1600px) {
  .hero { padding-top: 170px; padding-bottom: 180px; }
}

@media (max-width: 1023px) {
  .page-shell { width: calc(100% - 80px); }
  .hero, .section-grid { column-gap: 40px; grid-template-columns: 1.2fr 1fr; }
  .hero { padding: 120px 0; }
  h1 { font-size: clamp(56px, 7.8vw, 78px); }
  .hero-description { font-size: 17px; }
  .join-button { font-size: 13px; padding-inline: 15px; gap: 9px; }
  .button-arrow { margin-left: 2px; }
  h2 { font-size: 34px; }
  .story, .together { padding-block: 88px; }
  .join-note { max-width: 30ch; }
}

@media (max-width: 767px) {
  .page-shell { width: calc(100% - 48px); }
  .site-header { min-height: 100px; }
  .brand { width: 69px; }
  .header-join { font-size: 13px; }
  .hero, .section-grid { grid-template-columns: 1fr; }
  .hero { padding: 61px 0 80px; gap: 30px; }
  h1 { font-size: clamp(56px, 11.4vw, 80px); line-height: 1.08; }
  .hero-invitation { padding-bottom: 0; max-width: 440px; }
  .hero-description { font-size: 17px; max-width: 36ch; line-height: 1.7; margin-bottom: 25px; }
  .join-button { font-size: 13px; min-height: 56px; padding-inline: 18px; gap: 11px; }
  .button-arrow { margin-left: 8px; }
  .join-note { max-width: none; font-size: 11px; margin-top: 14px; }
  .story, .together { padding-block: 64px; gap: 32px; }
  h2 { font-size: clamp(31px, 6.8vw, 40px); }
  .story-copy { font-size: 15px; line-height: 1.85; max-width: 46ch; }
  .story-copy p + p { margin-top: 20px; }
  .activities { max-width: 100%; }
  .activity + .activity { margin-top: 27px; padding-top: 27px; }
  h3 { font-size: 20px; margin-bottom: 10px; }
  .activity p { font-size: 14px; max-width: 48ch; }
  .closing { padding: 76px 0 71px; text-align: left; }
  .closing h2 { font-size: clamp(32px, 7.4vw, 46px); line-height: 1.27; }
  .closing > p { font-size: 15px; max-width: 36ch; margin-top: 22px; }
  .desktop-break { display: none; }
  .closing .join-button { margin-top: 26px; }
  .site-footer { min-height: 156px; grid-template-columns: 1fr auto; row-gap: 6px; padding-block: 26px 34px; }
  .footer-logo { width: 53px; grid-row: span 2; }
  .site-footer p { text-align: right; align-self: end; }
  .footer-join { align-self: start; min-height: 44px; }
  .mobile-join { display: block; position: fixed; z-index: 10; inset: auto 0 0; padding: 12px 24px max(12px, env(safe-area-inset-bottom)); background: var(--background); border-top: 1px solid var(--rule); }
  .mobile-join .join-button { width: 100%; }
  .mobile-join .button-arrow { margin-left: auto; }
}

@media (max-width: 359px) {
  .page-shell { width: calc(100% - 36px); }
  .hero { padding-top: 45px; }
  h1 { font-size: 52px; }
  .hero-description { font-size: 16px; }
  .join-button { font-size: 12px; gap: 8px; padding-inline: 13px; }
  .join-button .button-arrow { margin-left: 3px; }
  .mobile-join { padding-inline: 18px; }
  .mobile-join .button-arrow { margin-left: auto; }
  .join-note { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .focus-line { animation: none; }
  .join-button, .button-arrow { transition: none; }
  .join-button:hover .button-arrow { transform: none; }
}
