:root {
  --sage: #3D5A45;
  --deep-moss: #425947;
  --moss: #5B7A60;
  --terracotta: #C4724A;
  --sand: #E6DACA;
  --sand-soft: #EFE7DA;
  --cream: #ECE3D4;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--sage);
  background: var(--sand);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- Header / hero (sage, like the deck title slides) ---------- */
header {
  position: relative;
  text-align: center;
  background: var(--sage);
  color: var(--cream);
  padding: 7rem 1.5rem 5rem;
}

.wordmark {
  font-size: 6rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--cream);
}

.dot {
  color: var(--terracotta);
}

.tagline {
  margin: 1.75rem auto 0;
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--cream);
  max-width: 540px;
  line-height: 1.6;
}

.coming-soon {
  display: inline-block;
  margin-top: 2.5rem;
  padding: 0.6rem 1.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--cream);
  border: 1px solid rgba(236, 227, 212, 0.5);
  border-radius: 999px;
}

/* recurring circle motif from the slide corners */
.corner-mark {
  position: absolute;
  right: 2.25rem;
  bottom: 2.25rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--deep-moss);
  border: 2px solid var(--terracotta);
}

/* ---------- Main (sand, like the deck content slides) ---------- */
main {
  flex: 1;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

section + section,
.across-line + .team {
  margin-top: 5rem;
}

h2 {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--terracotta);
  margin-bottom: 2.5rem;
}

/* ---------- Across line (deck "road ahead" motif) ---------- */
.across-line {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 0.5rem;
}

.across-line::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border-top: 3px dotted var(--terracotta);
}

.across-line .node {
  position: relative;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--sand);
  border: 3px solid var(--terracotta);
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 460px;
  margin: 0 auto;
}

a.card {
  text-decoration: none;
  color: inherit;
  display: block;
  text-align: center;
}

.card img {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  object-fit: cover;
  object-position: center 15%;
  border: 1px solid rgba(61, 90, 69, 0.15);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card img:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(61, 90, 69, 0.22);
}

.card h3 {
  margin-top: 1.1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--sage);
}

.card p {
  margin-top: 0.2rem;
  font-size: 0.88rem;
  color: var(--moss);
}

/* ---------- Footer (sage, mirrors hero) ---------- */
footer {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--sage);
  color: var(--cream);
  font-size: 0.9rem;
}

.fellowship {
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 0.9rem;
}

.contact-emails {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.4rem;
}

footer a {
  color: var(--terracotta);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
  color: var(--cream);
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  header {
    padding: 4.5rem 1.5rem 3.5rem;
  }

  .wordmark {
    font-size: 4rem;
  }

  .tagline {
    font-size: 1.05rem;
  }

  main {
    padding: 3.5rem 1.25rem;
  }
}
