/* CKNU brand (see README): plain white backgrounds, Oswald all-caps headings,
   plain sans-serif body text, logo never distorted. */
:root {
  --purple: #3a1a5b;
  --sage: #8db9a5;
  --periwinkle: #8186d9;
  --rose: #cb7c80;
  --gold: #e8c687;
  --teal: #214d5b;
  --slate: #67828e;
  --green: #86ac7b;
  --forest: #264027;

  --white: #ffffff;
  --text: #1f1f24;
  --muted: #555a63;
  --line: #e3e0ea;

  --heading-font: "Oswald", "Arial Narrow", Arial, sans-serif;
  --body-font: Arial, Calibri, "Helvetica Neue", Helvetica, sans-serif;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font: 17px/1.6 var(--body-font);
}

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

h1, h2, h3 {
  font-family: var(--heading-font);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--purple);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 600; }

p { margin: 0 0 1em; }

a { color: var(--purple); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--periwinkle); outline-offset: 3px; }

.container { width: min(1100px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--purple);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus { left: 8px; }

/* Buttons */
.button {
  display: inline-block;
  font-family: var(--heading-font);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  color: var(--white);
  background: var(--purple);
  border: 2px solid var(--purple);
  border-radius: 999px;
  padding: 12px 24px;
  transition: background 0.15s, color 0.15s;
}
.button:hover { background: var(--teal); border-color: var(--teal); }
.button-outline { background: var(--white); color: var(--purple); }
.button-outline:hover { background: var(--purple); color: var(--white); border-color: var(--purple); }
.button-small { padding: 8px 16px; font-size: 0.9rem; }

.text-link {
  font-family: var(--heading-font);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand-name {
  font-family: var(--heading-font);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.1;
  color: var(--purple);
}
.brand-name small { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.04em; color: var(--muted); }

.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a:not(.button) {
  font-family: var(--heading-font);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 500;
  text-decoration: none;
  color: var(--purple);
}
.site-nav a:not(.button):hover { color: var(--teal); text-decoration: underline; text-underline-offset: 6px; }

.nav-toggle {
  display: none;
  font-family: var(--heading-font);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--white);
  color: var(--purple);
  border: 2px solid var(--purple);
  border-radius: 999px;
  padding: 6px 16px;
  cursor: pointer;
}

/* Hero */
.hero { padding: 56px 0 40px; }
.hero-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.eyebrow {
  font-family: var(--heading-font);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 12px;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-art { display: flex; justify-content: center; }
.hero-art img { width: min(340px, 80%); }

/* Sections */
.section { padding: 56px 0; border-top: 1px solid var(--line); }
.section p { max-width: 42em; }

/* How it works */
.steps {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  background: var(--white);
  border: 2px solid var(--line);
  border-top: 8px solid var(--accent, var(--purple));
  border-radius: var(--radius);
  padding: 24px;
}
.step-sage { --accent: var(--sage); }
.step-gold { --accent: var(--gold); }
.step-rose { --accent: var(--rose); }
.step-number {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

/* Get involved */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.card {
  background: var(--white);
  border: 2px solid var(--line);
  border-left: 8px solid var(--periwinkle);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.card:nth-child(2) { border-left-color: var(--green); }
.card:nth-child(3) { border-left-color: var(--teal); }
.card p { flex: 1; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s;
}
.contact-card:hover { border-color: var(--purple); }
.contact-label {
  font-family: var(--heading-font);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--teal);
}
.contact-value { font-weight: 700; color: var(--purple); overflow-wrap: anywhere; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; background: var(--white); }
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.footer-inner img { width: 258px; }
.footer-inner p { margin: 0; color: var(--muted); }
.footer-inner a { color: var(--purple); }
.fine-print { font-size: 0.85rem; }

/* Phones and small tablets */
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.button) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav .button { margin-top: 12px; text-align: center; }

  .hero { padding: 36px 0 24px; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-art { order: -1; }
  .hero-art img { width: 160px; }
  .steps, .cards, .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
