@font-face {
  font-family: "Noto Sans Canadian Aboriginal";
  src: url("fonts/NotoSansCanadianAboriginal-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+1400-167F, U+18B0-18F5;
}

:root {
  --ink: #1c1915;
  --ink-soft: #4e493f;
  --paper: #f4f1ea;
  --white: #fffcf7;
  --line: #e4ddd0;
  --green: #1b3d28;
  --green-mid: #2f6a38;
  --cream: #f4f1ea;
  --gold: #e0b12a;
  --gold-soft: #f3e2b0;
  --gold-ink: #3a2c08;
  --red: #c4372f;
  --black: #141414;
  --spruce: #3e8f45;
}

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

html {
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.5;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  transform: translateY(-150%);
  padding: 0.45rem 0.7rem;
  background: var(--cream);
  color: var(--green);
  font-weight: 650;
}

.skip:focus {
  transform: none;
}

.band {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.band span:nth-child(1) { background: var(--black); }
.band span:nth-child(2) { background: var(--gold); }
.band span:nth-child(3) { background: var(--red); }
.band span:nth-child(4) { background: var(--spruce); }

.band span {
  flex: 1;
}

body {
  display: grid;
  grid-template-columns: 8px 1fr;
}

.layout {
  display: grid;
  grid-template-columns: minmax(280px, 400px) 1fr;
  min-height: 100vh;
}

.identity {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 48px 40px 32px;
  background: var(--green);
  color: var(--cream);
}

.logo {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.kicker {
  margin: 28px 0 0;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.72);
}

h1 {
  margin: 8px 0 0;
  font-size: clamp(2.4rem, 4vw, 3.35rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.org {
  margin: 14px 0 0;
  max-width: 16em;
  font-size: 1.05rem;
  line-height: 1.4;
  color: rgba(244, 241, 234, 0.9);
}

.syllabics {
  font-family: "Noto Sans Canadian Aboriginal", Gadugi, Euphemia, sans-serif;
  font-weight: 400;
  line-height: 1.45;
}

.identity .syllabics {
  margin: 14px 0 0;
  max-width: 12em;
  font-size: 1.45rem;
}

.lede {
  margin: 22px 0 0;
  max-width: 22em;
  color: rgba(244, 241, 234, 0.82);
}

.identity-foot {
  margin-top: auto;
  padding-top: 40px;
}

.identity-foot p {
  margin: 0 0 8px;
}

.motto {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 14px;
}

.motto-syllabics {
  font-size: 1.15rem;
}

.identity a {
  color: var(--cream);
  text-underline-offset: 0.18em;
}

.identity a:hover {
  color: var(--gold-soft);
}

.offices {
  color: rgba(244, 241, 234, 0.72);
  font-size: 0.95rem;
}

.directory {
  padding: 56px 48px 40px;
}

.directory-inner {
  max-width: 820px;
}

h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.directory-lead {
  margin: 12px 0 0;
  max-width: 38em;
  color: var(--ink-soft);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: stretch;
  gap: 16px;
  margin-top: 28px;
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 250px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(28, 25, 21, 0.04);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

a.card:hover {
  border-color: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(27, 61, 40, 0.08);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.badge::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
}

.badge-live {
  background: var(--green);
  color: var(--cream);
}

.badge-soon {
  background: var(--gold-soft);
  color: var(--gold-ink);
}

.arrow {
  width: 22px;
  height: 22px;
  color: var(--green-mid);
  transition: transform 160ms ease;
}

a.card:hover .arrow {
  transform: translateX(3px);
}

.card h3 {
  margin: 22px 0 8px;
  font-size: 1.55rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
}

.card .host {
  margin-top: auto;
  padding-top: 22px;
  color: var(--green);
  font-weight: 650;
  overflow-wrap: anywhere;
}

.return {
  margin: 28px 0 0;
}

.home-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: var(--green);
  color: var(--cream);
  font-weight: 650;
  text-decoration: none;
}

.home-link:hover {
  background: var(--green-mid);
}

@media (max-width: 860px) {
  body {
    grid-template-columns: 1fr;
    grid-template-rows: 8px 1fr;
  }

  .band {
    flex-direction: row;
    min-height: 0;
    height: 8px;
  }

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

  .identity,
  .layout {
    min-height: 0;
  }

  .identity {
    padding: 28px 20px 24px;
  }

  .identity-foot {
    margin-top: 28px;
    padding-top: 8px;
  }

  .directory {
    padding: 28px 20px 36px;
  }

  .logo {
    width: 88px;
    height: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card,
  .arrow {
    transition: none;
  }

  a.card:hover,
  a.card:hover .arrow {
    transform: none;
  }
}

@media print {
  .band,
  .skip {
    display: none;
  }

  body,
  .layout {
    display: block;
  }

  .identity {
    min-height: 0;
    background: #fff;
    color: #000;
  }

  .identity a,
  .kicker,
  .org,
  .lede,
  .offices {
    color: #000;
  }

  .card {
    break-inside: avoid;
    box-shadow: none;
  }
}
