:root {
  --page-bg: #f4f8f5;
  --page-bg-alt: #edf3f0;
  --surface: #ffffff;
  --surface-soft: #f7faf8;
  --surface-ink: #203840;
  --surface-ink-2: #2f4f58;
  --line: #d8e3df;
  --line-strong: #b8cbc3;
  --text: #172c32;
  --text-soft: #50686a;
  --text-muted: #728482;
  --sage: #86a995;
  --blue: #5b8fa4;
  --sand: #d7b98f;
  --clay: #8d6158;
  --shadow: 0 22px 58px rgba(26, 52, 59, 0.12);
  --radius-card: 8px;
  --radius-ui: 14px;
  --ease: 180ms ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(32, 56, 64, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(32, 56, 64, 0.028) 1px, transparent 1px),
    linear-gradient(180deg, var(--page-bg) 0%, #eef5f1 46%, #f9fbf7 100%);
  background-size: 84px 84px, 84px 84px, auto;
  font-family: "Manrope", Arial, sans-serif;
}

body,
button,
input,
textarea,
select {
  font: inherit;
}

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

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-card);
  background: var(--surface-ink);
  color: #ffffff;
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform var(--ease);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.site-shell {
  width: min(calc(100% - 1rem), 1180px);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5.25rem;
  padding: 0.85rem 0;
  background: rgba(244, 248, 245, 0.88);
  border-bottom: 1px solid rgba(184, 203, 195, 0.62);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 0.85rem;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 3.05rem;
  height: 3.05rem;
  border-radius: 13px;
  background: var(--surface-ink);
  box-shadow: 0 10px 24px rgba(26, 52, 59, 0.16);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  display: grid;
  min-width: 0;
  gap: 0.1rem;
}

.brand-copy strong {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.1;
}

.brand-copy span {
  color: var(--text-soft);
  font-size: 0.82rem;
  line-height: 1.35;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.topnav::-webkit-scrollbar {
  display: none;
}

.topnav a {
  flex: 0 0 auto;
  min-height: 2.45rem;
  padding: 0.62rem 0.78rem;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 800;
  transition:
    background var(--ease),
    color var(--ease),
    transform var(--ease);
}

.topnav a:hover,
.topnav a:focus-visible,
.topnav a.is-active {
  background: rgba(134, 169, 149, 0.16);
  color: var(--text);
}

.topnav a:focus-visible,
.button:focus-visible,
.brand:focus-visible,
.project-card:focus-within,
.ecosystem-card:focus-visible {
  outline: 3px solid rgba(91, 143, 164, 0.48);
  outline-offset: 3px;
}

main {
  display: grid;
  gap: 3rem;
  padding: 2rem 0 4rem;
}

.hero {
  display: grid;
  gap: 1.4rem;
  min-height: auto;
  align-items: center;
  padding: 3.2rem 0 1.2rem;
}

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

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--clay);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  max-width: 100%;
  color: var(--surface-ink);
  font-size: 3.35rem;
  line-height: 0.95;
}

h2 {
  max-width: 12.5em;
  color: var(--text);
  font-size: 2.1rem;
  line-height: 1.04;
}

h3 {
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.2;
}

p {
  color: var(--text-soft);
  line-height: 1.72;
}

.hero-lede {
  margin-top: 1rem;
  color: var(--surface-ink-2);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.32;
}

.hero-text {
  max-width: 38rem;
  margin-top: 0.9rem;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.78rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1.1;
  transition:
    border-color var(--ease),
    background var(--ease),
    box-shadow var(--ease),
    color var(--ease),
    transform var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--surface-ink);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(32, 56, 64, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #14282f;
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.68);
  color: var(--surface-ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--sage);
  background: #ffffff;
}

.hero-media {
  position: relative;
  width: 31rem;
  max-width: 100%;
  min-width: 0;
  justify-self: end;
  overflow: hidden;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 1rem 1rem -1rem -1rem;
  z-index: -1;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: rgba(215, 185, 143, 0.16);
}

.hero-media img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface-soft);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.hero-facts {
  display: grid;
  gap: 0.75rem;
}

.hero-facts article,
.info-card,
.boundary-grid article,
.principles-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 34px rgba(26, 52, 59, 0.08);
}

.hero-facts article {
  display: grid;
  gap: 0.22rem;
  padding: 0.95rem;
}

.hero-facts span,
.info-card span,
.boundary-grid span,
.process-list span {
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
  text-transform: uppercase;
}

.hero-facts strong {
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.3;
}

.page-section {
  display: grid;
  gap: 1.25rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  gap: 0.55rem;
}

.section-heading-wide h2 {
  max-width: 15em;
}

.intro-grid,
.card-grid,
.split-section,
.status-layout {
  display: grid;
  gap: 1rem;
}

.intro-grid p,
.status-layout > p {
  font-size: 1.02rem;
}

.card-grid {
  align-items: stretch;
}

.info-card {
  display: grid;
  align-content: start;
  gap: 0.78rem;
  min-height: 18rem;
  padding: 1.1rem;
}

.info-card:nth-child(1) {
  border-top: 5px solid var(--blue);
}

.info-card:nth-child(2) {
  border-top: 5px solid var(--sage);
}

.info-card:nth-child(3) {
  border-top: 5px solid var(--sand);
}

.projects-section {
  gap: 1.4rem;
}

.projects-grid {
  display: grid;
  gap: 1rem;
}

.project-card {
  display: grid;
  gap: 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.project-card-featured {
  border-top: 5px solid var(--blue);
}

.project-visual {
  display: grid;
  place-items: center;
  min-height: 14rem;
  padding: 1.5rem;
  background:
    linear-gradient(135deg, rgba(32, 56, 64, 0.96), rgba(91, 143, 164, 0.9)),
    var(--surface-ink);
}

.project-visual img {
  width: min(13rem, 70%);
  height: auto;
  border-radius: var(--radius-card);
  box-shadow: 0 18px 42px rgba(13, 28, 34, 0.34);
}

.project-content {
  display: grid;
  gap: 0.85rem;
  padding: 1.2rem;
}

.project-status {
  width: fit-content;
  padding: 0.42rem 0.58rem;
  border: 1px solid rgba(141, 97, 88, 0.2);
  border-radius: var(--radius-card);
  background: rgba(215, 185, 143, 0.18);
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.project-points {
  display: grid;
  gap: 0.48rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-points li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--text-soft);
  line-height: 1.55;
}

.project-points li::before {
  content: "";
  position: absolute;
  top: 0.66rem;
  left: 0;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--blue);
}

.project-disclaimer {
  padding: 0.82rem 0.92rem;
  border-left: 4px solid var(--sand);
  border-radius: var(--radius-card);
  background: var(--surface-soft);
  color: var(--surface-ink);
  font-size: 0.94rem;
  line-height: 1.55;
}

.project-actions {
  margin-top: 0.1rem;
}

.project-page .site-shell {
  width: min(calc(100% - 1rem), 1080px);
}

.project-hero {
  display: grid;
  gap: 1.4rem;
  align-items: center;
  padding: 3rem 0 1rem;
}

.project-hero-copy {
  max-width: 42rem;
}

.project-hero-icon {
  display: grid;
  place-items: center;
  justify-self: center;
  width: min(22rem, 100%);
  aspect-ratio: 1;
  padding: 1.45rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background:
    linear-gradient(135deg, rgba(32, 56, 64, 0.98), rgba(91, 143, 164, 0.88)),
    var(--surface-ink);
  box-shadow: var(--shadow);
}

.project-hero-icon img {
  width: 86%;
  height: auto;
  border-radius: var(--radius-card);
  box-shadow: 0 20px 48px rgba(13, 28, 34, 0.32);
}

.project-feature-grid .info-card {
  min-height: 15rem;
}

.boundary-band {
  display: grid;
  gap: 1.4rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
  background:
    linear-gradient(135deg, rgba(32, 56, 64, 0.98), rgba(47, 79, 88, 0.98)),
    var(--surface-ink);
  box-shadow: var(--shadow);
}

.boundary-copy h2,
.boundary-copy p,
.boundary-grid p,
.boundary-grid span {
  color: #f8fbfb;
}

.boundary-copy .eyebrow {
  color: var(--sand);
}

.boundary-grid {
  display: grid;
  gap: 0.75rem;
}

.boundary-grid article {
  display: grid;
  gap: 0.5rem;
  padding: 1rem;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.boundary-grid p {
  color: rgba(248, 251, 251, 0.82);
}

.principles-list {
  display: grid;
  gap: 0.75rem;
}

.principles-list article {
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
}

.principles-list strong {
  color: var(--surface-ink);
  line-height: 1.25;
}

.process-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  display: grid;
  gap: 0.35rem;
  min-height: 5.25rem;
  padding: 1rem 1rem 1rem 4.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.74);
  color: var(--text-soft);
  line-height: 1.55;
  counter-increment: process;
}

.process-list li::before {
  content: counter(process);
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--surface-ink);
  color: #ffffff;
  font-weight: 900;
}

.process-list span {
  color: var(--surface-ink);
}

.closing-actions {
  margin-top: 0.25rem;
}

.ecosystem-band {
  border-radius: var(--radius-card);
  background:
    linear-gradient(135deg, rgba(32, 56, 64, 0.98), rgba(18, 33, 42, 0.98)),
    var(--surface-ink);
  box-shadow: var(--shadow);
}

.ecosystem-band::before,
.ecosystem-band::after {
  display: none;
}

.ecosystem-card,
.ecosystem-state {
  border-radius: var(--radius-card);
}

.ecosystem-kicker,
.ecosystem-state {
  letter-spacing: 0;
}

.ecosystem-intro h2 {
  color: #f8fbfb;
  letter-spacing: 0;
}

.site-footer.shared-footer {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0 0 2rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.site-footer.shared-footer p {
  color: var(--text-muted);
}

.site-footer.shared-footer a {
  color: var(--surface-ink);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 700px) {
  .site-shell {
    width: min(calc(100% - 2rem), 1180px);
  }

  h1 {
    font-size: 4.15rem;
  }

  h2 {
    font-size: 2.6rem;
  }

  .hero-facts,
  .card-grid,
  .boundary-grid,
  .project-card {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project-visual {
    min-height: 100%;
  }

  .project-content {
    grid-column: span 2;
    padding: 1.45rem;
  }

  .intro-grid,
  .split-section,
  .status-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer.shared-footer {
    flex-direction: row;
    justify-content: space-between;
    gap: 1rem;
  }
}

@media (min-width: 980px) {
  .hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(24rem, 0.92fr);
    column-gap: 2.35rem;
    row-gap: 1.3rem;
    padding-top: 1.3rem;
  }

  .hero-media {
    grid-column: 2;
    grid-row: 1;
  }

  .hero-facts {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  h1 {
    font-size: 4.9rem;
  }

  .hero-lede {
    font-size: 1.55rem;
  }

  .boundary-band {
    grid-template-columns: 0.78fr 1.22fr;
    align-items: end;
    padding: 1.45rem;
  }

  .project-hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
    gap: 2.4rem;
    padding-top: 1.5rem;
  }
}

@media (max-width: 699px) {
  html {
    scroll-padding-top: 1rem;
  }

  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
  }

  .topnav {
    width: 100%;
    flex-wrap: wrap;
    overflow: visible;
    padding-bottom: 0.15rem;
  }

  .brand-copy span {
    max-width: 18rem;
  }

  main {
    gap: 3rem;
    padding-top: 1rem;
  }

  .hero {
    min-height: auto;
    padding-top: 0.75rem;
  }

  h1 {
    font-size: 2.38rem;
  }

  h2 {
    font-size: 1.95rem;
  }

  .hero-lede {
    font-size: 1.18rem;
  }

  .button {
    width: 100%;
  }

  .hero-media {
    width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 390px) {
  h1 {
    font-size: 2.18rem;
  }

  h2 {
    font-size: 1.72rem;
  }

  .hero-facts article,
  .info-card,
  .boundary-grid article,
  .principles-list article,
  .process-list li {
    padding: 0.9rem;
  }

  .process-list li {
    padding-left: 3.7rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}
