/* African Angels Guild — landing page */

:root {
  --ink: #0e0d0b;
  --ink-soft: #17150f;
  --paper: #f6f1e7;
  --gold: #c9a24b;
  --gold-bright: #e4c375;
  --clay: #b9673f;
  --line: rgba(246, 241, 231, 0.14);
  --line-bright: rgba(246, 241, 231, 0.28);
  --text-dim: rgba(246, 241, 231, 0.62);
  --font-display: "Fraunces", serif;
  --font-mono: "Space Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.01em;
}

a {
  color: inherit;
}

/* grain overlay */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(14, 13, 11, 0.72);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo {
  height: 75px;
  width: auto;
}

.logo-footer {
  height: 50px;
  margin-bottom: 0px;
  opacity: 0.85;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: var(--line-bright);
  color: var(--paper);
  padding: 10px 20px;
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.btn-link {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--text-dim);
  border-bottom: 1px solid var(--line-bright);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.btn-link:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 20px;
}

/* hero */
.hero {
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -160px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(201, 162, 75, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1.04;
  color: var(--paper);
}

.hero-copy .accent {
  color: var(--gold-bright);
  font-style: italic;
}

.hero-lede {
  max-width: 520px;
  color: var(--text-dim);
  font-size: 15.5px;
  margin: 28px 0 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-figure {
  display: grid;
  gap: 18px;
  position: relative;
  padding-left: 20px;
}

.figure-card {
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(246,241,231,0.05), rgba(246,241,231,0.01));
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  animation: rise 0.7s ease both;
}

.card-1 { margin-left: 10px; animation-delay: 0.05s; }
.card-2 { margin-left: 40px; animation-delay: 0.18s; }
.card-3 { margin-left: 70px; animation-delay: 0.3s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.figure-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.figure-value {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--paper);
}

/* how it works */
.how {
  padding: 70px 0 100px;
  border-top: 1px solid var(--line);
}

.section-title {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 48px;
  color: var(--paper);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.step {
  padding: 32px 28px 0 0;
  border-left: 1px solid var(--line);
  padding-left: 28px;
  position: relative;
}

.step:first-child {
  border-left: none;
  padding-left: 0;
}

.step-index {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--gold);
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--paper);
}

.step p {
  color: var(--text-dim);
  font-size: 14.5px;
  margin: 0;
}

/* submission */
.submit-section {
  padding: 20px 0 120px;
  border-top: 1px solid var(--line);
}

.submit-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  padding-top: 70px;
}

.submit-intro h2 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  margin: 0 0 20px;
  color: var(--paper);
}

.submit-intro p:not(.eyebrow) {
  color: var(--text-dim);
  font-size: 14.5px;
  max-width: 320px;
}

.pitch-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.field .optional {
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.7;
}

::placeholder {
  color: var(--text-dim);
  opacity: 1;
}

input[type="text"],
input[type="email"],
input[type="url"],
select,
textarea {
  font-family: var(--font-mono);
  font-size: 14.5px;
  color: var(--paper);
  background: rgba(246, 241, 231, 0.03);
  border: 1px solid var(--line-bright);
  border-radius: 2px;
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

/* Make unselected `<select>` match standard text placeholders */
select:invalid {
  color: var(--text-dim);
}

/* Ensure dropdown options are legible with a dark background */
select option {
  color: var(--paper);
  background: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  background: rgba(246, 241, 231, 0.06);
}

textarea {
  resize: vertical;
  font-family: var(--font-mono);
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 20px) center, calc(100% - 15px) center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.file-field {
  gap: 10px;
}

.file-drop {
  position: relative;
  border: 1px dashed var(--line-bright);
  border-radius: 2px;
  padding: 26px 20px;
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.file-drop.has-file {
  border-style: solid;
  border-color: var(--gold);
  background: rgba(201, 162, 75, 0.06);
}

.file-drop input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.file-drop-text {
  font-size: 13px;
  color: var(--text-dim);
}

.btn-submit {
  width: fit-content;
  margin-top: 6px;
  position: relative;
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-status {
  font-size: 13.5px;
  min-height: 1.4em;
}

.form-status.success {
  color: #8fbf8a;
}

.form-status.error {
  color: #d98a72;
}

/* footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 64px;
}

.footer-inner p {
  color: var(--text-dim);
  font-size: 13.5px;
  max-width: 480px;
  margin: 0;
}

/* responsive */
@media (max-width: 880px) {
  .hero-grid,
  .submit-grid {
    grid-template-columns: 1fr;
  }

  .hero-figure {
    padding-left: 0;
    margin-top: 20px;
  }

  .card-1, .card-3 {
    margin-left: 0;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 28px;
  }

  .step:first-child {
    border-top: none;
    padding-top: 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .wrap {
    padding: 0 20px;
  }

  .hero {
    padding: 64px 0 56px;
  }
}