:root {
  --ink: #111827;
  --muted: #5b6472;
  --soft: #f5f7fb;
  --soft-strong: #eaf0f8;
  --line: #d8e0ea;
  --surface: #ffffff;
  --accent: #dca738;
  --accent-soft: #fff6dd;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(216, 224, 234, 0.78);
  padding: 0.8rem max(1rem, calc((100vw - var(--max)) / 2));
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

[id] {
  scroll-margin-top: 5.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  display: block;
  width: 12rem;
  height: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.9rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a {
  text-decoration: none;
}

.site-nav .nav-emphasis {
  color: var(--ink);
  font-weight: 800;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  outline: none;
}

.hero-section,
.section,
.site-footer {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  min-height: calc(100vh - 4.5rem);
  padding: clamp(3rem, 8vw, 7rem) 0;
}

.hero-copy h1 {
  max-width: 34rem;
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.18;
}

.lead {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.eyebrow,
.meta {
  margin: 0 0 0.85rem;
  color: #8b650c;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0.82rem 1.1rem;
  font-weight: 760;
  text-decoration: none;
}

.button.primary {
  color: #ffffff;
  background: var(--ink);
}

.button.secondary {
  color: var(--ink);
  background: #ffffff;
}

.button:hover,
.button:focus-visible {
  box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.12);
  outline: none;
}

.hero-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--soft);
}

.hero-panel h2,
.section h2,
.section h3,
.card h3 {
  margin: 0;
  letter-spacing: 0;
}

.hero-panel h2 {
  font-size: 1.35rem;
}

.hero-panel p,
.section p,
.card p,
.project-list p,
.media-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.section {
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.band {
  width: 100%;
  max-width: none;
  padding-right: max(1rem, calc((100vw - var(--max)) / 2));
  padding-left: max(1rem, calc((100vw - var(--max)) / 2));
  background: var(--soft);
}

.section-heading {
  max-width: 45rem;
  margin-bottom: clamp(1.5rem, 4vw, 2.7rem);
}

.section-heading h2 {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  line-height: 1.04;
}

.cards,
.split,
.principles-grid,
.steps,
.media-grid {
  display: grid;
  gap: 1rem;
}

.two-columns,
.split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.announcements-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.principles-grid article,
.steps article,
.project-list article,
.media-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.2rem;
  background: #ffffff;
}

.news-card {
  border-color: #ead08a;
  background: var(--accent-soft);
}

.event-card {
  border-color: #cdd9e8;
}

.status-note {
  display: inline-flex;
  margin-bottom: 0.75rem;
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  color: #8b650c;
  background: var(--accent-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag-block {
  margin-top: 2rem;
}

.tag-list,
.role-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li,
.role-list li {
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  background: var(--accent-soft);
}

.principles-grid,
.steps,
.media-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.steps span {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--ink);
  font-weight: 800;
}

.faq {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}

.faq summary {
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 760;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.wide-text {
  max-width: 52rem;
  font-size: 1.12rem;
}

.question-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1.2rem, 4vw, 2rem);
  background: var(--soft);
}

.question-panel p {
  max-width: 44rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.65;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.7rem;
}

.contact-grid a,
.contact-grid span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.75rem 0.9rem;
  background: #ffffff;
  text-align: center;
  text-decoration: none;
}

.social-link {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.social-link svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
}

.social-link:hover,
.social-link:focus-visible {
  border-color: currentColor;
  box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.1);
  outline: none;
  transform: translateY(-1px);
}

.whatsapp {
  color: #128c7e;
}

.telegram {
  color: #229ed9;
}

.x-twitter {
  color: #111111;
}

.facebook {
  color: #1877f2;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  color: var(--muted);
}

.join-main {
  width: min(100% - 2rem, 880px);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 5rem) 0;
}

.join-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1.2rem, 4vw, 2.4rem);
  background: var(--soft);
}

.join-card h1 {
  margin: 1rem 0 0;
  font-size: clamp(1.9rem, 4.5vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0;
}

.join-card .lead {
  margin-bottom: 1.5rem;
}

.join-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0;
  padding-left: 1.4rem;
}

.join-list li {
  border-top: 1px solid var(--line);
  padding-left: 0.25rem;
  padding-top: 0.75rem;
  color: var(--muted);
}

.small-note {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-section,
  .two-columns,
  .split,
  .principles-grid,
  .steps,
  .media-grid,
  .announcements-grid,
  .faq-grid,
  .project-list,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 10rem;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero-actions,
  .cta-row {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
