:root {
  --bg: #f9f9f8;
  --surface: #ffffff;
  --surface-alt: #f2f0ec;
  --text: #1f1f1f;
  --muted: #555250;
  --accent: #a66a3b;
  --accent-soft: #e7d5c4;
  --line: #e7e2dd;
  --blue: #4b84b8;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.brand {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.hero {
  padding: 88px 0 54px;
}

.home-hero {
  position: relative;
  background:
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("assets/images/banner.jpg") center/cover no-repeat;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.36) 0%, rgba(0, 0, 0, 0.18) 55%, rgba(0, 0, 0, 0.24) 100%);
}

.home-hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.15;
  margin: 0 0 18px;
}

.hero p {
  max-width: 840px;
  color: var(--muted);
  font-size: 1.05rem;
}

.home-hero h1,
.home-hero p,
.home-hero .small {
  color: #fff;
}

.section-muted.feature-hero {
  position: relative;
  background:
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("assets/images/talk circle.jpg") center/cover no-repeat;
}

.feature-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.2) 55%, rgba(0, 0, 0, 0.26) 100%);
}

.feature-hero .container {
  position: relative;
  z-index: 1;
}

.feature-hero h2,
.feature-hero p,
.feature-hero li {
  color: #fff;
}

.feature-hero .lead a {
  color: #fff;
}

.feature-hero .lead a:hover {
  color: #f3e4d7;
}

.indigenous-hero {
  position: relative;
  padding: 132px 0 81px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("assets/images/firstnation.jpg") center/cover no-repeat;
}

.indigenous-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.36) 0%, rgba(0, 0, 0, 0.18) 55%, rgba(0, 0, 0, 0.26) 100%);
}

.indigenous-hero .container {
  position: relative;
  z-index: 1;
}

.indigenous-hero h1,
.indigenous-hero p,
.indigenous-hero .lead {
  color: #fff;
}

.curriculum-hero {
  position: relative;
  padding: 141px 0 86px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("assets/images/ik-banner.png") center/cover no-repeat;
}

.curriculum-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.36) 0%, rgba(0, 0, 0, 0.18) 55%, rgba(0, 0, 0, 0.24) 100%);
}

.curriculum-hero .container {
  position: relative;
  z-index: 1;
}

.curriculum-hero h1,
.curriculum-hero p,
.curriculum-hero .lead {
  color: #fff;
}

.iwok-page-hero {
  position: relative;
  background:
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("assets/images/AI.jpg") center/cover no-repeat;
}

.iwok-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.36) 0%, rgba(0, 0, 0, 0.18) 55%, rgba(0, 0, 0, 0.24) 100%);
}

.iwok-page-hero .container {
  position: relative;
  z-index: 1;
}

.iwok-page-hero h1,
.iwok-page-hero p,
.iwok-page-hero .small {
  color: #fff;
}

.solution-hero {
  position: relative;
  padding: 132px 0 81px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("assets/images/traditions.jpg") center/cover no-repeat;
}

.solution-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.36) 0%, rgba(0, 0, 0, 0.18) 55%, rgba(0, 0, 0, 0.24) 100%);
}

.solution-hero .container {
  position: relative;
  z-index: 1;
}

.solution-hero h1,
.solution-hero p,
.solution-hero .lead {
  color: #fff;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 700;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-secondary {
  border-color: var(--line);
  background: #fff;
}

section {
  padding: 52px 0;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3.3vw, 2.2rem);
}

.lead {
  color: var(--muted);
  max-width: 850px;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.why-matters-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.35fr);
  gap: 22px;
  align-items: start;
}

.why-matters-media {
  position: sticky;
  top: 100px;
}

.why-matters-content {
  display: block;
}

.why-matters-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.why-matters-grid {
  gap: 30px;
}

.deepfake-timeline-grid {
  align-items: start;
}

.why-matters-paper {
  margin-top: 30px;
}

.why-matters-paper-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
}

.hub {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}

.chip-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.9rem;
}

.timeline {
  border-left: 3px solid var(--accent-soft);
  margin-left: 8px;
  padding-left: 18px;
}

.timeline-item {
  margin-bottom: 18px;
}

.highlight {
  border-left: 4px solid var(--accent);
  padding: 16px 18px;
  background: #fff;
  border-radius: 10px;
}

.iwok-hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
  align-items: center;
}

.iwok-image {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: transparent;
}

.small {
  font-size: 0.93rem;
  color: var(--muted);
}

.footer {
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.94rem;
}

.accent-blue {
  border-left-color: var(--blue);
}

.section-muted {
  background: linear-gradient(180deg, var(--surface-alt) 0%, var(--bg) 100%);
}

.section-lead-only {
  margin-bottom: 1.25rem;
}

.prose-deep {
  font-size: 1.05rem;
}

.content-list {
  margin: 1rem 0 1.25rem;
  padding-left: 1.25rem;
  max-width: 720px;
  color: var(--text);
}

.content-list li {
  margin: 0.35rem 0;
}

.lead a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lead a:hover {
  color: #8a5630;
}

.figure-prominent {
  margin: 1.25rem 0 0;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.implementation-title {
  margin: 0;
  padding: 16px 18px 12px;
  font-size: 40px;
}

.asset-image {
  display: block;
  width: 100%;
  height: auto;
}

.figcaption {
  padding: 12px 16px;
  font-size: 0.92rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #faf9f7;
}

.video-wrap {
  margin: 1.25rem 0 1.5rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #111;
  box-shadow: var(--shadow);
}

.video-wrap video {
  display: block;
  width: 100%;
  height: auto;
}

.prose-block {
  max-width: 820px;
}

.prose-block p + p {
  margin-top: 0.85rem;
}

.prose-stack {
  display: grid;
  gap: 14px;
  margin-top: 1.25rem;
}

.prose-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.prose-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.prose-card p {
  margin: 0 0 0.65rem;
  color: var(--muted);
}

.prose-card p:last-child {
  margin-bottom: 0;
}

.prose-card a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.scenario-card {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.scenario-media {
  height: 100%;
}

.scenario-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.scenario-copy h3 {
  margin-top: 0;
}

.card-rich p {
  color: var(--muted);
}

.card-rich p + p {
  margin-top: 0.75rem;
}

.card-link-block h2 {
  margin-top: 0;
}

.card-link-image {
  display: block;
  width: 100%;
  max-width: 140px;
  height: auto;
  margin: 0 0 16px;
}

.pathway-icon {
  display: block;
  width: 72px;
  max-width: 100%;
  height: auto;
  margin: 0 0 14px;
  background: transparent;
}

.learning-system-list {
  display: grid;
  gap: 22px;
}

.learning-system-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.45fr);
  gap: 18px;
  align-items: stretch;
}

.learning-system-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.85fr);
  gap: 18px;
  align-items: start;
}

.poster-sidecar {
  display: grid;
  grid-template-columns: minmax(180px, 0.6fr) minmax(0, 1.4fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 1.5rem;
}

.poster-sidecar-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.poster-sidecar-copy h2 {
  margin-top: 0;
}

.contact-card,
.contact-sidecard {
  height: 100%;
}

.contact-form {
  display: grid;
  gap: 12px;
  margin-top: 1.25rem;
}

.form-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form label {
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
  min-height: 180px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(166, 106, 59, 0.18);
  border-color: var(--accent);
}

.form-status {
  margin-top: 1rem;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
}

.form-status-success {
  background: #eef7ee;
  color: #215c2d;
  border: 1px solid #b9d7be;
}

.card-voice p:last-child {
  margin-bottom: 0;
}

.card-voice p + p {
  margin-top: 0.65rem;
}

.footer a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-secondary:hover {
  border-color: #cfc8c1;
  background: #fafafa;
}

@media (max-width: 900px) {
  .grid-2,
  .grid-3,
  .iwok-hero,
  .contact-layout,
  .poster-sidecar {
    grid-template-columns: 1fr;
  }

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

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

  .why-matters-media {
    position: static;
  }

  .why-matters-image {
    height: auto;
  }

  .scenario-card {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 66px;
  }
}
