:root {
  --ink: #2a1733;
  --muted: #5c4e58;
  --plum: #3d2348;
  --plum-deep: #26162f;
  --rust: #b8431f;
  --rust-bright: #e38b42;
  --teal: #14645f;
  --paper: #f7f3ec;
  --sand: #efe6d8;
  --white: #fffcf8;
  --line: #e4d8c8;
  --wrap: 1160px;
  --header: 78px;
  --font: "Source Sans 3", "Segoe UI", sans-serif;
  --display: Syne, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 110% -8%, rgba(227, 139, 66, 0.18), transparent 42%),
    radial-gradient(ellipse at -12% 18%, rgba(61, 35, 72, 0.06), transparent 34%),
    var(--paper);
  font-family: var(--font);
  font-size: 1.075rem;
  line-height: 1.65;
}

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

a {
  color: var(--teal);
}

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

::selection {
  background: #f3cbb8;
  color: var(--plum-deep);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  background: var(--plum);
  color: var(--paper);
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
  max-width: 100%;
}

h1 {
  margin: 0;
  font-size: clamp(2.15rem, 4.4vw, 3.55rem);
}

h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3vw, 2.7rem);
}

h3 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

p {
  margin: 0;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--teal);
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(42, 23, 51, 0.08);
}

.accent-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--plum) 0%, var(--rust) 58%, var(--teal) 100%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 1rem;
}

.brand {
  display: flex;
  line-height: 0;
}

.brand img {
  width: 210px;
  height: 50px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
}

.site-nav a:hover {
  color: var(--rust);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  padding: 0;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: var(--ink);
  position: relative;
  border-radius: 2px;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  padding: 3.2rem 0 4.2rem;
}

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

.hero h1 span {
  display: block;
  margin-top: 0.25rem;
  color: var(--rust);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 650;
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  background: #0e4e4a;
}

.btn-ghost {
  background: transparent;
  color: var(--plum);
  border-color: rgba(61, 35, 72, 0.28);
}

.btn-ghost:hover {
  border-color: var(--plum);
  background: rgba(61, 35, 72, 0.04);
}

.span-rail {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 2.4rem 0 0;
  padding: 0;
  position: relative;
}

.span-rail::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 0.72rem;
  height: 2px;
  background: linear-gradient(90deg, var(--plum), var(--rust-bright), var(--teal));
}

.span-rail li {
  position: relative;
  margin: 0;
  padding: 1.85rem 0.4rem 0;
  text-align: center;
  font-weight: 650;
}

.span-rail li::before {
  content: "";
  position: absolute;
  top: 0.35rem;
  left: 50%;
  width: 0.85rem;
  height: 0.85rem;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--plum);
  z-index: 1;
}

.span-rail li:nth-child(3)::before,
.span-rail li:nth-child(4)::before {
  border-color: var(--rust);
}

.span-rail li:nth-child(5)::before {
  border-color: var(--teal);
}

.rail-index {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--rust);
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.hero-frame {
  position: relative;
  margin-top: 2.4rem;
  padding: 0 0 16px 0;
}

.hero-frame::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 0;
  top: 18px;
  bottom: 0;
  border-radius: 24px;
  background: var(--plum);
}

.hero-frame img {
  position: relative;
  z-index: 1;
  width: calc(100% - 22px);
  height: min(48vw, 440px);
  object-fit: cover;
  object-position: center 42%;
  border-radius: 24px;
}

.about,
.solutions,
.audiences,
.method {
  padding: 4.5rem 0;
}

.about {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem 3rem;
  align-items: end;
}

.about-copy p + p {
  margin-top: 1rem;
}

.pillars {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2.4rem 0 0;
  padding: 0;
  position: relative;
}

.pillars::before {
  content: "";
  position: absolute;
  top: 1.55rem;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--rust-bright), var(--plum));
}

.pillars li {
  position: relative;
  margin: 0;
  padding: 2.6rem 1.1rem 1.15rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.pillars li::before {
  content: "";
  position: absolute;
  top: 1.2rem;
  left: 1.15rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--rust);
  z-index: 1;
}

.pillar-index {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--teal);
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.pillars h3 {
  font-size: 1.15rem;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.stations {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin: 0;
  padding: 0;
  position: relative;
}

.stations::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(var(--rust-bright), var(--plum) 55%, var(--teal));
}

.station {
  width: calc(50% - 1.8rem);
  position: relative;
}

.station:nth-child(odd) {
  align-self: flex-start;
}

.station:nth-child(even) {
  align-self: flex-end;
}

.station::after {
  content: "";
  position: absolute;
  top: 1.45rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 3px solid var(--rust);
}

.station:nth-child(odd)::after {
  left: calc(100% + 1.8rem);
  transform: translateX(-50%);
}

.station:nth-child(even)::after {
  left: -1.8rem;
  transform: translateX(-50%);
}

.station:nth-child(3n)::after {
  border-color: var(--teal);
}

.station-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.2rem 1.25rem 1.3rem;
  box-shadow: 0 14px 34px rgba(42, 23, 51, 0.05);
}

.station:nth-child(odd) .station-card {
  border-top: 3px solid var(--rust);
}

.station:nth-child(even) .station-card {
  border-top: 3px solid var(--teal);
}

.station-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.station-num {
  color: var(--rust);
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.station-icon {
  width: 34px;
  height: 34px;
  color: var(--plum);
  flex: none;
}

.station-card p {
  margin-top: 0.45rem;
  color: var(--muted);
}

.audiences {
  background:
    linear-gradient(180deg, rgba(61, 35, 72, 0.04), transparent 28%),
    var(--sand);
}

.audience-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.85rem;
  margin: 0;
  padding: 0;
}

.audience {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 96px;
  margin: 0;
  padding: 1rem 1.05rem;
  background: var(--white);
  border: 1px solid rgba(42, 23, 51, 0.08);
  border-radius: 16px;
}

.audience:nth-child(1) {
  grid-column: span 4;
  grid-row: span 2;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  background: var(--plum);
  color: var(--paper);
  border-color: transparent;
  min-height: 100%;
  padding: 1.3rem 1.35rem;
}

.audience:nth-child(2),
.audience:nth-child(3) {
  grid-column: span 2;
}

.audience:nth-child(4),
.audience:nth-child(5),
.audience:nth-child(6) {
  grid-column: span 2;
}

.audience:nth-child(7) {
  grid-column: span 6;
  background: var(--plum-deep);
  color: var(--paper);
  border-color: transparent;
}

.audience-index {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--rust);
  font-size: 0.82rem;
}

.audience:nth-child(1) .audience-index,
.audience:nth-child(7) .audience-index {
  color: var(--rust-bright);
}

.audience p {
  font-weight: 650;
}

.audience:nth-child(1) p {
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 16ch;
}

.method-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem 2.5rem;
  align-items: start;
}

.method-copy h2 {
  margin-bottom: 1.25rem;
}

.method-copy p + p {
  margin-top: 1rem;
}

.method-photo {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(42, 23, 51, 0.08);
}

.method-photo img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center 30%;
}

.board {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1rem;
  margin-top: 1.8rem;
}

.board article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.15rem 1.2rem 1.25rem;
}

.board h3 {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.board ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.board li {
  position: relative;
  margin: 0;
  padding: 0.55rem 0 0.55rem 1.35rem;
  border-top: 1px solid var(--line);
}

.board li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--rust);
}

.board article:last-child li::before {
  background: var(--teal);
}

.objective {
  background: var(--plum-deep);
  color: var(--paper);
  padding: 4.4rem 0;
}

.motif {
  width: 76px;
  height: 34px;
  display: block;
  margin-bottom: 1rem;
}

.objective h2 {
  max-width: 16ch;
}

.objective p {
  max-width: 44rem;
  margin-top: 1.15rem;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.5;
  color: #f3e7da;
}

.contact {
  padding: 4.5rem 0 4.8rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  box-shadow: 0 20px 50px rgba(42, 23, 51, 0.06);
}

.contact-panel h2 {
  max-width: 16ch;
}

.contact-panel .lede {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 42rem;
}

.contact-action {
  background: var(--sand);
  border-radius: 20px;
  padding: 1.25rem 1.2rem;
}

.contact-action p {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.contact-action a {
  display: inline-block;
  max-width: 100%;
  margin-top: 0.45rem;
  color: var(--plum);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0;
  line-height: 1.3;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
  white-space: nowrap;
}

.site-footer {
  background: var(--plum-deep);
  color: #f6f1e8;
  padding: 2rem 0 2.2rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  margin: 0 0 1.1rem;
}

.footer-links a {
  color: #f6f1e8;
  font-weight: 650;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--rust-bright);
}

.footer-links span {
  color: rgba(246, 241, 232, 0.45);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 1.5rem;
  row-gap: 0.25rem;
}

.footer-legal p {
  margin: 0;
  color: #e7d7c8;
  font-size: 0.95rem;
}

.prose-page {
  padding: 3rem 0 4.5rem;
}

.prose {
  max-width: 46rem;
}

.prose h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.updated {
  margin-top: 0.7rem;
  color: var(--muted);
  font-weight: 600;
}

.prose h2 {
  margin-top: 2.1rem;
  font-size: 1.45rem;
}

.prose p,
.prose li {
  color: var(--ink);
}

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

.prose ul,
.prose ol {
  margin: 0.7rem 0 0;
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 0.4rem;
}

.prose a,
.company-card a {
  color: var(--teal);
  overflow-wrap: anywhere;
}

.company-card {
  margin-top: 1.5rem;
  padding: 1.15rem 1.2rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--rust);
  border-radius: 16px;
}

.company-card h2 {
  margin-top: 0;
}

.company-card p {
  margin-top: 0.25rem;
}

.table-wrap {
  margin-top: 1rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.basis-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 36rem;
}

.basis-table th,
.basis-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
}

.basis-table tr:last-child td {
  border-bottom: 0;
}

.basis-table th {
  background: var(--sand);
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

section[id] {
  scroll-margin-top: calc(var(--header) + 1rem);
}

@media (max-width: 900px) {
  .about-grid,
  .method-grid,
  .board,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .stations::before {
    left: 0.35rem;
    transform: none;
  }

  .station,
  .station:nth-child(odd),
  .station:nth-child(even) {
    width: auto;
    align-self: stretch;
    margin-left: 1.5rem;
  }

  .station::after,
  .station:nth-child(odd)::after,
  .station:nth-child(even)::after {
    left: -1.5rem;
    right: auto;
    transform: translateX(-50%);
  }

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

  .audience:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
    flex-direction: row;
    align-items: center;
    min-height: 0;
  }

  .audience:nth-child(1) p {
    font-size: 1.35rem;
    max-width: none;
  }

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

  .pillars::before {
    left: 1.45rem;
    right: auto;
    top: 1rem;
    bottom: 1rem;
    width: 2px;
    height: auto;
  }
}

@media (max-width: 760px) {
  h1,
  h2,
  h3 {
    text-wrap: wrap;
  }

  h1 {
    font-size: clamp(1.28rem, 6.2vw, 2.35rem);
  }

  .prose h1 {
    font-size: clamp(1.65rem, 7.4vw, 2.35rem);
  }

  h2 {
    font-size: clamp(1.22rem, 5.5vw, 2.05rem);
  }

  .board h3,
  .pillars h3,
  .station-card h3 {
    font-size: 0.95rem;
  }

  .audience:nth-child(1) p {
    font-size: 1.05rem;
  }

  .board > *,
  .contact-panel > *,
  .station,
  .audience,
  .pillars > li,
  .method-grid > *,
  .about-grid > * {
    min-width: 0;
  }

  .contact-action a {
    font-size: clamp(0.78rem, 3.2vw, 0.98rem);
  }

  .basis-table {
    min-width: 0;
  }

  .basis-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .basis-table,
  .basis-table tbody,
  .basis-table tr,
  .basis-table td {
    display: block;
    width: 100%;
  }

  .basis-table tr {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--line);
  }

  .basis-table tr:last-child {
    border-bottom: 0;
  }

  .basis-table td {
    padding: 0;
    border-bottom: 0;
  }

  .basis-table td:first-child {
    margin-bottom: 0.25rem;
    font-weight: 700;
  }

  .basis-table td:first-child::before,
  .basis-table td:last-child::before {
    display: block;
    margin-bottom: 0.15rem;
    color: var(--teal);
    font-family: var(--display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .basis-table td:first-child::before {
    content: "Purpose";
  }

  .basis-table td:last-child::before {
    content: "Basis";
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    padding: 0.4rem 1.25rem 1rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(42, 23, 51, 0.08);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    display: block;
    width: 100%;
    padding: 0.7rem 0;
  }

  .span-rail {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .span-rail::before {
    left: 0.4rem;
    right: auto;
    top: 0.35rem;
    bottom: 0.35rem;
    width: 2px;
    height: auto;
  }

  .span-rail li {
    text-align: left;
    padding: 0.15rem 0 0.15rem 1.7rem;
  }

  .span-rail li::before {
    left: 0.4rem;
    top: 0.45rem;
    transform: translateX(-50%);
  }

  .rail-index {
    display: inline;
    margin-right: 0.45rem;
  }

  .hero-frame img {
    height: 240px;
    width: calc(100% - 12px);
  }

  .hero-frame::before {
    left: 12px;
  }

  .brand img {
    width: 176px;
    height: 42px;
  }
}

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