/* Diasporahub — landing page. Built from design/project/Landing.dc.html (canvas board). */

@font-face {
  font-family: "Syne";
  src: url("fonts/syne-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Azeret Mono";
  src: url("fonts/azeret-mono-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --noite: #0D1024;
  --indigo: #151936;
  --faixa: #10132B;
  --latao: #D6AE62;
  --latao-claro: #EBCB8B;
  --marfim: #EEE9DF;
  --texto: #D9D5CC;
  --nevoa: #A7A5B9;
  --linha: rgba(238, 233, 223, 0.14);
  --linha-forte: rgba(238, 233, 223, 0.22);
  --display: "Syne", "Helvetica Neue", Arial, sans-serif;
  --corpo: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "Azeret Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--noite);
  color: var(--marfim);
  font-family: var(--corpo);
  font-size: 17px;
  line-height: 1.55;
}

a { color: var(--latao); }
a:hover { color: var(--latao-claro); }
a:focus-visible { outline: 2px solid var(--latao); outline-offset: 4px; border-radius: 2px; }

img { max-width: 100%; display: block; }
.defs { position: absolute; overflow: hidden; }
h1, h2, h3, p, figure, dl, dd, ol { margin: 0; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.kicker {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--latao);
}
.kicker--small { font-size: 12px; }
.cta-short { display: none; }

/* Multi-part labels break only between their parts, never inside one. */
.kicker span, .note span, .proverb span { white-space: nowrap; }

.note {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--nevoa);
}

.mark { display: block; }
.mark .lines { fill: none; stroke: currentColor; stroke-linecap: round; }
.mark .egg { fill: currentColor; }

.wordmark {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.wordmark span { font-weight: 400; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 32px;
  background: var(--latao);
  color: var(--noite);
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  border-radius: 999px;
}
.btn:hover { background: var(--latao-claro); color: var(--noite); }
.btn--outline {
  min-height: 44px;
  padding: 0 20px;
  background: transparent;
  border: 1px solid var(--latao);
  color: var(--latao);
  font-size: 15px;
}
.btn--outline:hover { background: transparent; color: var(--latao-claro); border-color: var(--latao-claro); }

/* NAV */
.topo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 24px;
  padding-bottom: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--marfim);
}
.brand:hover { color: var(--marfim); }
.brand .mark { color: var(--latao); flex: none; }
.brand .wordmark { font-size: 19px; }
.menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
}
.menu a:not(.btn) {
  color: var(--marfim);
  text-decoration: none;
  font-size: 15px;
  padding: 12px 0;
}
.menu a:not(.btn):hover { color: var(--latao); }

/* HERO */
.hero {
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(64px, 8vw, 112px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr));
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.hero-text { display: flex; flex-direction: column; gap: 28px; }
.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(44px, 5.6vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.lead {
  max-width: 34em;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--texto);
  text-wrap: pretty;
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.link-quiet { color: var(--marfim); font-size: 16px; text-underline-offset: 6px; padding: 12px 0; }
.hero-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  background: var(--indigo);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero-photo .seal {
  position: absolute;
  left: 0;
  bottom: 0;
  width: clamp(112px, 12vw, 168px);
  height: clamp(112px, 12vw, 168px);
  background: var(--noite);
  color: var(--latao);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-photo .seal .mark { width: 72%; height: 72%; }

/* BANDS */
.band { background: var(--faixa); border-top: 1px solid var(--linha); }
.band--closed { border-bottom: 1px solid var(--linha); }

/* SANKOFA */
.sankofa {
  padding-top: clamp(64px, 8vw, 112px);
  padding-bottom: clamp(64px, 8vw, 112px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.sankofa-mark { display: flex; justify-content: center; color: var(--latao); }
.sankofa-mark .mark { width: 100%; max-width: 360px; height: auto; }
.stack { display: flex; flex-direction: column; gap: 24px; }
.sankofa h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.proverb { font-family: var(--mono); font-size: 14px; letter-spacing: 0.04em; color: var(--nevoa); }
.body { max-width: 36em; color: var(--texto); text-wrap: pretty; }

/* SECTIONS */
.section {
  padding-top: clamp(72px, 9vw, 128px);
  padding-bottom: clamp(72px, 9vw, 128px);
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 6vw, 80px);
}
.section-head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: 24px clamp(40px, 6vw, 96px);
  align-items: end;
}
.section-head > div { display: flex; flex-direction: column; gap: 20px; }
.section-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.section-head p { max-width: 34em; font-size: 18px; color: var(--texto); text-wrap: pretty; }

.cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 40px clamp(24px, 3vw, 48px);
  padding: 0;
  list-style: none;
}
.col {
  border-top: 1px solid var(--linha-forte);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.col--latao { border-top-color: var(--latao); }
.col .num { font-family: var(--mono); font-size: 13px; color: var(--latao); }
.col h3 { font-family: var(--display); font-weight: 600; font-size: 26px; line-height: 1.15; }
.col p { color: var(--texto); }

/* FIRST EVENT */
.event {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
  gap: clamp(24px, 3vw, 40px);
  align-items: stretch;
}
.event-photo { min-height: 360px; border-radius: 4px; overflow: hidden; background: var(--indigo); }
.event-photo img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; object-position: 35% 60%; }
.event-card {
  background: var(--indigo);
  border-radius: 4px;
  padding: clamp(28px, 3.4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.event-card header { display: flex; flex-direction: column; gap: 8px; }
.event-card h3 { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 3vw, 40px); line-height: 1.05; }
.facts {
  display: grid;
  grid-template-columns: minmax(0, 8em) minmax(0, 1fr);
  gap: 14px 20px;
  font-size: 16px;
}
.facts dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--nevoa); padding-top: 3px; }
.event-card .btn { align-self: flex-start; margin-top: auto; }

/* RAÍZES */
.wide-photo { display: flex; flex-direction: column; gap: 12px; }
.wide-photo div { aspect-ratio: 21 / 9; min-height: 220px; border-radius: 4px; overflow: hidden; background: var(--indigo); }
.wide-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 35%; }
.wide-photo figcaption { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--nevoa); }
.privacy {
  border: 1px solid rgba(238, 233, 223, 0.2);
  border-radius: 4px;
  padding: 24px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  align-items: baseline;
}
.privacy p { flex: 1 1 420px; color: var(--texto); }

/* CONVITE */
.invite { background: var(--latao); color: var(--noite); }
.invite-grid {
  padding-top: clamp(72px, 9vw, 120px);
  padding-bottom: clamp(72px, 9vw, 120px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.invite .kicker { color: var(--noite); }
.invite p { max-width: 30em; font-size: 18px; color: #1F1A10; }
.soon {
  border: 1.5px solid var(--noite);
  border-radius: 6px;
  padding: clamp(28px, 3.4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.soon strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

/* FOOTER */
.rodape {
  padding-top: 48px;
  padding-bottom: 56px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px 32px;
}
.rodape .brand-row { display: flex; align-items: center; gap: 12px; color: var(--latao); }
.rodape .wordmark { font-size: 17px; color: var(--marfim); }
.rodape .side { display: flex; flex-direction: column; gap: 16px; }
.rodape small { flex-basis: 100%; font-size: 13px; color: var(--nevoa); }
.rodape .note { letter-spacing: 0.1em; }
.fine { font-size: 14px; color: var(--nevoa); max-width: 28em; }

/* PHONES — one clean header row, labels that break between phrases, roomier details. */
@media (max-width: 600px) {
  body { font-size: 16.5px; }

  .topo { flex-wrap: nowrap; padding-top: 16px; padding-bottom: 16px; gap: 12px; }
  .brand { gap: 10px; min-width: 0; }
  .brand .mark { width: 32px; height: 32px; }
  .brand .wordmark { font-size: 15px; }
  .menu { flex-wrap: nowrap; }
  .menu-link { display: none; }
  .btn--outline { min-height: 40px; padding: 0 14px; font-size: 14px; white-space: nowrap; }

  .kicker, .note { font-size: 11.5px; letter-spacing: 0.1em; line-height: 1.7; }

  .hero { padding-top: 24px; gap: 40px; }
  .hero-text { gap: 22px; }
  .hero h1 { font-size: clamp(34px, 10.7vw, 40px); line-height: 1.02; }
  .lead { font-size: 18px; line-height: 1.6; }

  .sankofa { gap: 32px; }
  .sankofa-mark .mark { max-width: 168px; }
  .sankofa h2 { font-size: 28px; line-height: 1.15; }
  .proverb { font-size: 12.5px; line-height: 1.7; letter-spacing: 0; }
  .proverb .sep { display: none; }
  .proverb .attr { display: block; }

  .section, .sankofa, .invite-grid { padding-top: 64px; padding-bottom: 64px; }
  .section { gap: 44px; }
  .section-title { font-size: 33px; line-height: 1.06; }
  .section-head p { font-size: 17px; }

  .cols { gap: 32px; }
  .col h3 { font-size: 23px; }

  .event-photo, .event-photo img { min-height: 240px; }
  .facts { grid-template-columns: max-content minmax(0, 1fr); gap: 12px 18px; }

  .privacy { padding: 20px; }
  .soon { padding: 24px; }

  .rodape { padding-top: 40px; padding-bottom: 44px; }
}

/* Smallest phones: the header button shortens so the full wordmark keeps its room. */
@media (max-width: 360px) {
  .cta-full { display: none; }
  .cta-short { display: inline; }
}
