/* Cyber Outreach Alliance - Swiss minimal. See DESIGN.md before changing tokens. */

:root {
  --paper: #fbfcfb;
  --ink: #182b26;
  --pine: #1d6a54;
  --marigold: #efb63c;
  --slate: #55655f;
  --rule-soft: #d8e0dc;

  --font: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
}

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

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

a:hover {
  color: var(--ink);
}

a:focus-visible {
  outline: 3px solid var(--marigold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Header */

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem var(--gutter);
}

.wordmark {
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.mark {
  translate: 0 1px;
}

.header-contact {
  font-size: 0.9375rem;
  color: var(--slate);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  overflow-wrap: anywhere;
}

@media (max-width: 40rem) {
  .header-contact {
    display: none;
  }
}

/* Hero */

.hero {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  margin-top: clamp(1.5rem, 6vh, 3.75rem);
  padding: clamp(4rem, 12vh, 7.5rem) var(--gutter);
}

.hero h1 {
  font-weight: 500;
  font-size: clamp(2.625rem, 8vw, 7.5rem);
  line-height: 1.0;
  letter-spacing: -0.045em;
  max-width: 20ch;
  text-wrap: balance;
}

.mission-row {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-top: 3rem;
}

.dash {
  flex: none;
  width: 2.75rem;
  height: 1px;
  background: var(--ink);
}

@media (max-width: 40rem) {
  .dash {
    display: none;
  }
}

.mission {
  font-size: clamp(1.0625rem, 1.8vw, 1.1875rem);
  color: var(--slate);
  max-width: 36rem;
}

/* Contact */

.contact {
  padding: clamp(4.5rem, 14vh, 8rem) var(--gutter);
  flex-grow: 1;
}

.contact h2 {
  font-weight: 500;
  font-size: clamp(1.625rem, 3.6vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 24ch;
  text-wrap: balance;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
}

.dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--marigold);
}

.contact-link {
  font-weight: 700;
  font-size: clamp(1.125rem, 2.2vw, 1.625rem);
  border-bottom: 2px solid var(--pine);
  padding: 0.5rem 0 3px;
  overflow-wrap: anywhere;
  min-width: 0;
}

.contact-link:hover {
  border-color: var(--ink);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--rule-soft);
  padding: 1.5rem var(--gutter) 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--slate);
}
