:root {
  color-scheme: light;
  --ink: #10201c;
  --muted: #60706b;
  --paper: #f7f7f1;
  --white: #ffffff;
  --line: #d8ded3;
  --green: #2f7b42;
  --lime: #91c847;
  --blue: #1f5d86;
  --gold: #c9962e;
  --shadow: 0 1.5rem 4rem rgb(25 47 37 / 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  background: var(--paper);
}

img {
  max-width: 100%;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  color: var(--white);
  transform: translateY(0);
  transition:
    transform 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.site-header-hidden {
  transform: translateY(-100%);
}

.site-header-solid {
  background: rgb(16 32 28 / 0.78);
  box-shadow: 0 1rem 2.5rem rgb(11 30 29 / 0.12);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: flex;
  align-items: center;
  width: clamp(8.5rem, 14vw, 12rem);
  min-height: 2.75rem;
}

.brand-mark img {
  display: block;
  width: 100%;
  filter: drop-shadow(0 0.65rem 1rem rgb(0 0 0 / 0.2));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 2vw, 1.5rem);
  padding: 0.52rem 0.75rem;
  border: 1px solid rgb(255 255 255 / 0.3);
  border-radius: 999px;
  background: rgb(16 32 28 / 0.45);
  backdrop-filter: blur(18px);
}

.site-nav a {
  padding: 0.45rem 0.55rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: var(--white);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  background-image: url("./assets/images/main_bg.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgb(7 24 22 / 0.88), rgb(12 48 34 / 0.72) 48%, rgb(87 142 53 / 0.48)),
    linear-gradient(180deg, rgb(6 18 18 / 0.34), rgb(6 18 18 / 0.14) 52%, var(--paper) 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 24rem);
  align-items: end;
  gap: clamp(2rem, 6vw, 6rem);
  width: min(100% - 2rem, 1180px);
  margin: 0 auto;
  padding: clamp(7rem, 15vh, 11rem) 0 clamp(3.5rem, 8vh, 6rem);
}

.hero-copy {
  max-width: 46rem;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.intro-section h2,
.org-section h2,
.agenda-section h2,
.closing-section h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 0.98;
}

.hero h1 {
  max-width: 13ch;
  font-size: 6.8rem;
}

.hero-lead {
  max-width: 39rem;
  margin: 1.35rem 0 0;
  color: rgb(255 255 255 / 0.84);
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.86rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 0.35rem;
  font-size: 0.88rem;
  font-weight: 850;
  letter-spacing: 0;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-0.12rem);
}

.button-primary {
  color: var(--ink);
  background: var(--white);
}

.button-secondary {
  color: var(--white);
  border-color: rgb(255 255 255 / 0.5);
  background: rgb(255 255 255 / 0.08);
}

.button-dark {
  color: var(--white);
  background: var(--ink);
}

.identity-panel {
  display: grid;
  justify-items: end;
  gap: 1rem;
}

.identity-box {
  display: grid;
  align-content: space-between;
  width: min(100%, 18.5rem);
  aspect-ratio: 1;
  padding: 1.25rem;
  border: 0.42rem solid var(--white);
  box-shadow: 0 1.5rem 3rem rgb(0 0 0 / 0.18);
}

.identity-box span,
.identity-box small {
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.identity-box strong {
  font-size: 3rem;
  line-height: 0.92;
  text-transform: uppercase;
}

.identity-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
  color: rgb(255 255 255 / 0.82);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.intro-section,
.org-section,
.channel-section,
.agenda-section,
.closing-section {
  width: min(100% - 2rem, 1180px);
  margin: 0 auto;
}

.intro-section {
  padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(3rem, 7vw, 5rem);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 1.1fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}

.section-kicker {
  color: var(--green);
}

.intro-section h2,
.org-section h2,
.agenda-section h2,
.closing-section h2 {
  font-size: 4.05rem;
}

.section-text {
  display: grid;
  gap: 1rem;
  color: var(--muted);
  font-size: 1.12rem;
}

.section-text p,
.agenda-copy p,
.agenda-list p,
.org-card p {
  margin: 0;
}

.section-heading {
  max-width: 55rem;
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

.channel-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  max-width: none;
  gap: 2rem;
}

.text-link {
  display: inline-flex;
  flex: 0 0 auto;
  padding-bottom: 0.18rem;
  border-bottom: 1px solid currentColor;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 850;
}

.org-section {
  padding: clamp(2rem, 6vw, 4rem) 0 clamp(4.5rem, 9vw, 8rem);
}

.org-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.org-card {
  display: grid;
  min-height: 31rem;
  align-content: start;
  gap: 1rem;
  padding: clamp(1.25rem, 2.4vw, 2rem);
  border-right: 1px solid var(--line);
  background: rgb(255 255 255 / 0.5);
  transition:
    background 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.org-card:first-child {
  border-left: 1px solid var(--line);
}

.org-card:hover {
  z-index: 2;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(-0.25rem);
}

.org-card img {
  width: 5rem;
  height: 5rem;
  object-fit: contain;
}

.org-label {
  width: fit-content;
  padding: 0.32rem 0.6rem;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.org-demos .org-label {
  background: var(--green);
}

.org-polis .org-label {
  background: var(--blue);
}

.org-cios .org-label {
  background: var(--gold);
}

.org-card h3 {
  max-width: 13ch;
  margin: 0;
  font-size: 2.12rem;
  line-height: 1;
}

.org-card p:not(.org-label) {
  color: var(--muted);
}

.org-card a {
  width: fit-content;
  margin-top: auto;
  padding-bottom: 0.18rem;
  border-bottom: 1px solid currentColor;
  font-weight: 850;
}

.channel-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--line);
}

.news-window {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(22rem, 0.85fr);
  gap: 0;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.featured-article {
  display: grid;
  grid-template-rows: minmax(18rem, 27rem) auto;
  min-height: 43rem;
  min-width: 0;
  border-right: 1px solid var(--line);
}

.article-media {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.article-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88);
}

.article-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent, rgb(16 32 28 / 0.36));
}

.featured-copy {
  display: grid;
  align-content: end;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.article-meta {
  margin: 0;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.featured-copy h3,
.article-list h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.04;
}

.featured-copy h3 {
  max-width: 16ch;
  font-size: 3.2rem;
}

.featured-copy p:not(.article-meta) {
  max-width: 38rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.featured-copy a,
.article-list a {
  width: fit-content;
  padding-bottom: 0.18rem;
  border-bottom: 1px solid currentColor;
  font-weight: 850;
}

.article-list {
  display: grid;
  min-width: 0;
  align-content: stretch;
}

.article-list article {
  display: grid;
  grid-template-columns: 5.75rem minmax(0, 1fr);
  align-content: start;
  gap: 1.05rem;
  min-height: 8.6rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line);
}

.article-list article > div {
  min-width: 0;
}

.article-list article:last-child {
  border-bottom: 0;
}

.article-list h3 {
  font-size: 1.12rem;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.article-thumb {
  display: block;
  width: 100%;
  height: 5.75rem;
  overflow: hidden;
  background: #dbead0;
}

.article-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agenda-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(18rem, 1.18fr);
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--line);
}

.agenda-copy {
  position: sticky;
  top: 7rem;
  align-self: start;
}

.agenda-copy p {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 1.04rem;
}

.agenda-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.agenda-list article {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  align-content: start;
  column-gap: 1rem;
  row-gap: 0.55rem;
  min-height: 13.5rem;
  padding: 1.35rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.agenda-list span {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
}

.agenda-list h3 {
  margin: 0 0 0.25rem;
  font-size: 1.38rem;
}

.agenda-list p {
  grid-column: 2;
  color: var(--muted);
}

.closing-section {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  border-top: 1px solid var(--line);
}

.closing-section h2 {
  max-width: 13ch;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1rem, 4vw, 3rem);
  color: rgb(255 255 255 / 0.72);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
  }

  .site-nav {
    max-width: 13rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    border-radius: 1rem;
  }

  .hero-inner,
  .section-grid,
  .news-window,
  .agenda-section {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    align-items: end;
    padding-top: 8.5rem;
  }

  .hero h1 {
    max-width: 10ch;
    font-size: 4.8rem;
  }

  .identity-panel {
    justify-items: start;
  }

  .identity-box {
    width: min(15rem, 64vw);
  }

  .identity-box strong {
    font-size: 2.35rem;
  }

  .intro-section h2,
  .org-section h2,
  .agenda-section h2,
  .closing-section h2 {
    font-size: 3.15rem;
  }

  .identity-note {
    justify-content: flex-start;
  }

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

  .org-card,
  .org-card:first-child {
    min-height: auto;
    border-right: 1px solid var(--line);
    border-left: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .org-card h3 {
    max-width: 18ch;
  }

  .channel-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .featured-article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .featured-copy h3 {
    max-width: 18ch;
    font-size: 2.55rem;
  }

  .article-list article {
    grid-template-columns: 6rem minmax(0, 1fr);
  }

  .article-thumb {
    height: 6rem;
  }

  .agenda-copy {
    position: static;
  }

  .closing-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header {
    display: grid;
    gap: 0.8rem;
    padding: 1rem;
  }

  .brand-mark {
    width: 11rem;
    min-height: 0;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 19rem);
    justify-content: flex-start;
    gap: 0.4rem;
    padding: 0.75rem;
  }

  .site-nav a {
    padding: 0.55rem 0.65rem;
    text-align: center;
  }

  .hero-inner,
  .intro-section,
  .org-section,
  .channel-section,
  .agenda-section,
  .closing-section {
    width: min(100% - 1.25rem, 1180px);
  }

  .hero h1 {
    font-size: 3.05rem;
  }

  .hero-lead {
    font-size: 0.98rem;
  }

  .intro-section h2,
  .org-section h2,
  .agenda-section h2,
  .closing-section h2 {
    font-size: 2.45rem;
  }

  .button {
    width: 100%;
  }

  .agenda-list {
    grid-template-columns: 1fr;
  }

  .featured-article {
    grid-template-rows: 14rem auto;
  }

  .featured-copy h3 {
    font-size: 1.95rem;
    line-height: 1.02;
  }

  .article-list article {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    min-height: auto;
    padding: 1rem;
  }

  .article-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .article-list h3 {
    font-size: 1.18rem;
    line-height: 1.12;
    overflow-wrap: break-word;
  }

  .agenda-list article {
    grid-template-columns: 2.25rem minmax(0, 1fr);
    gap: 0.35rem;
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}
