:root {
  --ink: #1e2a27;
  --forest: #244d3f;
  --sage: #c9d5c4;
  --cream: #f4f0e7;
  --clay: #b85e3c;
  --paper: #fffdf8;
  --line: #b8b7af;
  --max: 1460px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font:
    16px/1.6 Arial,
    sans-serif;
  overflow-x: hidden;
}
a {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
.top {
  max-width: var(--max);
  height: 88px;
  margin: auto;
  padding: 0 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand,
.footbrand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  line-height: 1;
}
.mark {
  background: #fff;
  border: 1px solid var(--line);
  padding: 5px;
}
.mark img {
  object-fit: contain;
}
.brand small {
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--forest);
}
.top nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.top nav a {
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
}
.top nav .quote {
  background: var(--forest);
  color: #fff;
  padding: 12px 17px;
}
.menu {
  display: none;
}
.routebar {
  background: var(--ink);
  color: #fff;
  display: flex;
  justify-content: center;
  gap: 0;
}
.routebar span,
.routebar a {
  padding: 10px 28px;
  border-right: 1px solid #5a6561;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-decoration: none;
}
.routebar span {
  color: #a9c7ba;
}
.homecover {
  max-width: var(--max);
  min-height: 720px;
  margin: auto;
  position: relative;
  background: #ddd;
  overflow: hidden;
}
.homecover > img {
  width: 100%;
  height: 720px;
  object-fit: cover;
}
.covercopy {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(690px, 60%);
  background: rgba(255, 253, 248, 0.95);
  padding: 58px 64px;
}
.covercopy > span,
.usecases header span,
.decisionband > div span,
.twoway span,
.homeform > div > span,
.libraryhead > span,
.articlehead > div > span,
.trusthead > span,
.contacthead > span {
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: bold;
  color: var(--forest);
}
h1,
h2,
h3 {
  font-family: Georgia, serif;
}
.covercopy h1 {
  font-size: clamp(48px, 5vw, 72px);
  line-height: 0.98;
  margin: 18px 0;
}
.covercopy p {
  font-size: 18px;
}
.covercopy > div {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}
.covercopy a {
  padding: 12px 16px;
  border: 1px solid;
  text-decoration: none;
  font-weight: bold;
}
.covercopy a:first-child {
  background: var(--clay);
  color: #fff;
  border-color: var(--clay);
}
.usecases {
  max-width: var(--max);
  margin: auto;
  padding: 100px 34px;
  display: grid;
  grid-template-columns: 1.15fr repeat(3, 1fr);
}
.usecases header {
  padding-right: 40px;
}
.usecases h2,
.decisionband h2,
.twoway h2,
.homeform h2 {
  font-size: 42px;
  line-height: 1.05;
  margin: 12px 0;
}
.usecases > a {
  padding: 30px;
  border-left: 1px solid;
  text-decoration: none;
}
.usecases > a > b {
  font-size: 32px;
  color: var(--clay);
}
.usecases h3 {
  font-size: 25px;
}
.decisionband {
  background: var(--forest);
  color: #fff;
  padding: 80px max(34px, calc((100vw - 1460px) / 2 + 34px));
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
}
.decisionband > div {
  padding-right: 45px;
}
.decisionband > div span {
  color: #b7d4c7;
}
.decisionband > a {
  padding: 26px;
  border-left: 1px solid #719083;
  text-decoration: none;
}
.decisionband small {
  display: block;
  color: #b7d4c7;
}
.decisionband b {
  display: block;
  font: 24px Georgia;
  margin-top: 50px;
}
.twoway {
  max-width: var(--max);
  margin: auto;
  padding: 100px 34px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
}
.twoway img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
}
.twoway > div {
  background: var(--paper);
  padding: 58px;
  margin-left: -70px;
}
.twoway a {
  font-weight: bold;
}
.homeform {
  max-width: var(--max);
  margin: auto;
  padding: 30px 34px 110px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: start;
}
.homeform > div {
  padding-top: 30px;
}
.rfq {
  background: var(--paper);
  border: 1px solid var(--ink);
  border-top: 6px solid var(--clay);
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
  align-content: start;
  grid-auto-rows: max-content;
}
.rfq label {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  font-weight: bold;
  min-width: 0;
}
.rfq input,
.rfq select,
.rfq textarea {
  width: 100%;
  min-width: 0;
  padding: 11px;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
}
.formstep {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid;
  padding-top: 8px;
}
.formstep span {
  background: var(--forest);
  color: #fff;
  width: 25px;
  height: 25px;
  text-align: center;
}
.consent,
.rfq button,
.status {
  grid-column: 1/-1;
}
.consent {
  display: block !important;
  font-weight: normal !important;
}
.consent input {
  width: auto;
  margin-right: 7px;
}
.rfq button {
  background: var(--clay);
  color: #fff;
  border: 0;
  padding: 14px;
  font-weight: bold;
}
.status {
  margin: 0;
  font-size: 12px;
}
.crumbs {
  max-width: var(--max);
  margin: auto;
  padding: 18px 34px;
  display: flex;
  gap: 8px;
  font-size: 12px;
}
.crumbs a {
  text-decoration: none;
}
.articlehead {
  max-width: 1180px;
  margin: 45px auto 70px;
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 70px;
  align-items: end;
}
.articlehead h1,
.libraryhead h1,
.trusthead h1,
.contacthead h1 {
  font-size: clamp(48px, 6vw, 78px);
  line-height: 0.98;
  margin: 15px 0;
}
.articlehead > div > p {
  font-size: 20px;
  max-width: 760px;
}
.articlehead aside {
  background: var(--sage);
  padding: 25px;
}
.articlehead aside > b {
  font-size: 11px;
  letter-spacing: 0.14em;
}
.articlehead dl {
  margin-bottom: 0;
}
.articlehead dt {
  font-size: 10px;
  font-weight: bold;
  color: var(--forest);
  margin-top: 15px;
}
.articlehead dd {
  margin: 2px 0;
}
.articlelayout {
  max-width: 1060px;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 820px) 70px;
  gap: 70px;
}
.articlelayout article section {
  display: grid;
  grid-template-columns: 50px 1fr;
  margin-bottom: 60px;
  scroll-margin-top: 20px;
}
.articlelayout section > span {
  font: bold 12px Arial;
  color: var(--clay);
  padding-top: 9px;
}
.articlelayout section h2,
.articlelayout section p,
.checkline {
  grid-column: 2;
}
.articlelayout h2 {
  font-size: 35px;
  line-height: 1.1;
  margin: 0 0 15px;
}
.articlelayout p {
  font-size: 17px;
}
.checkline {
  background: var(--sage);
  padding: 20px;
}
.checkline p {
  margin: 5px 0;
}
.chapters {
  position: sticky;
  top: 20px;
  height: max-content;
  display: flex;
  flex-direction: column;
  border-top: 2px solid;
}
.chapters b {
  font-size: 9px;
  padding: 10px 0;
}
.chapters a {
  text-decoration: none;
  border-bottom: 1px solid;
  padding: 7px 0;
  text-align: center;
}
.source {
  background: var(--paper);
  border-left: 5px solid var(--forest);
  padding: 18px;
}
.related {
  max-width: var(--max);
  margin: 90px auto;
  padding: 0 34px 100px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.related h2 {
  grid-column: 1/-1;
  font-size: 38px;
}
.related a {
  border-top: 2px solid;
  padding: 25px 25px 25px 0;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  min-height: 190px;
  margin-right: 25px;
}
.related small {
  color: var(--forest);
}
.related b {
  font: 22px Georgia;
  margin-top: 10px;
}
.related span {
  margin-top: auto;
}
.page {
  max-width: var(--max);
  margin: auto;
  padding-bottom: 100px;
}
.libraryhead,
.trusthead,
.contacthead {
  padding: 65px 34px;
  max-width: 1100px;
}
.libraryhead p,
.trusthead p,
.contacthead p {
  font-size: 20px;
}
.library {
  padding: 0 34px;
}
.library section {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  border-top: 2px solid;
  margin-top: 38px;
}
.library section > header {
  padding: 20px 20px 20px 0;
}
.library header small {
  color: var(--clay);
  font-weight: bold;
}
.library header h2 {
  font-size: 26px;
}
.library section > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.library section a {
  min-width: 0;
  padding: 24px;
  border-left: 1px solid;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  overflow-wrap: anywhere;
}
.library section a p {
  font-size: 13px;
}
.library section a span {
  margin-top: auto;
}
.trustprose {
  max-width: 850px;
  margin-left: 34px;
}
.trustprose h2 {
  font-size: 31px;
  margin-top: 45px;
}
.trustprose p {
  font-size: 18px;
}
.contactpage {
  padding: 0 34px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(540px, 1.2fr);
  gap: 70px;
  align-items: start;
}
.contactpage article h2 {
  font-size: 25px;
  margin-top: 0;
}
.contactpage article h2 ~ h2 {
  margin-top: 34px;
}
.contactpage .rfq {
  align-self: start;
}
.notfound {
  max-width: 900px;
  margin: 100px auto;
  min-height: 50vh;
  padding: 30px;
}
.notfound h1 {
  font-size: 60px;
}
footer {
  background: var(--ink);
  color: #fff;
}
.foot {
  max-width: var(--max);
  margin: auto;
  padding: 55px 34px;
  display: grid;
  grid-template-columns: 1.3fr 0.6fr 1fr;
  gap: 60px;
}
.foot a {
  display: block;
  text-decoration: none;
  margin: 7px 0;
}
.footbrand {
  font-size: 18px;
}
.footbrand img {
  background: #fff;
  padding: 4px;
}
.entities {
  font-size: 12px;
}
.legal {
  text-align: center;
  border-top: 1px solid #59615e;
  padding: 16px;
  font-size: 11px;
}
.contactdock {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: flex;
}
.contactdock a {
  padding: 12px 15px;
  background: var(--clay);
  color: #fff;
  border: 1px solid var(--ink);
  text-decoration: none;
  font-weight: bold;
}
.contactdock a:last-child {
  background: #fff;
  color: var(--ink);
}
@media (max-width: 920px) {
  body {
    padding-bottom: 60px;
  }
  .top {
    height: 70px;
    padding: 0 20px;
  }
  .menu {
    display: block;
    background: none;
    border: 1px solid;
    padding: 8px 11px;
  }
  .top nav {
    display: none;
    position: absolute;
    z-index: 40;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
  }
  .top nav.open {
    display: flex;
  }
  .routebar {
    overflow: auto;
    justify-content: flex-start;
  }
  .routebar span,
  .routebar a {
    white-space: nowrap;
    padding: 9px 18px;
  }
  .homecover,
  .homecover > img {
    height: 650px;
    min-height: 650px;
  }
  .covercopy {
    width: 78%;
    padding: 40px;
  }
  .usecases {
    padding: 70px 20px;
    grid-template-columns: 1fr 1fr;
  }
  .usecases header {
    grid-column: 1/-1;
  }
  .usecases > a {
    border-top: 1px solid;
  }
  .decisionband {
    padding: 65px 20px;
    grid-template-columns: 1fr 1fr;
  }
  .decisionband > div {
    grid-column: 1/-1;
  }
  .twoway {
    padding: 70px 20px;
    grid-template-columns: 1fr;
  }
  .twoway > div {
    margin: -40px 25px 0;
  }
  .homeform {
    padding: 20px 20px 80px;
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .articlehead {
    margin: 35px 20px 55px;
    grid-template-columns: 1fr;
  }
  .articlehead aside {
    max-width: 620px;
  }
  .articlelayout {
    margin: 0 20px;
    grid-template-columns: 1fr;
  }
  .chapters {
    position: static;
    order: -1;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
  }
  .chapters b {
    grid-column: 1/-1;
  }
  .related {
    padding: 0 20px 80px;
    grid-template-columns: 1fr 1fr;
  }
  .library {
    padding: 0 20px;
  }
  .library section {
    grid-template-columns: 1fr;
  }
  .library section > div {
    grid-template-columns: 1fr 1fr;
  }
  .library section > header {
    padding-bottom: 5px;
  }
  .contactpage {
    padding: 0 20px;
    grid-template-columns: 1fr;
  }
  .trustprose {
    margin: 0;
    padding: 0 20px;
  }
  .foot {
    padding: 45px 20px;
    grid-template-columns: 1fr 1fr;
  }
  .entities {
    grid-column: 1/-1;
  }
  .contactdock {
    left: 0;
    right: 0;
    bottom: 0;
  }
  .contactdock a {
    width: 50%;
    text-align: center;
  }
}
@media (max-width: 560px) {
  .brand small {
    display: none;
  }
  .homecover,
  .homecover > img {
    height: 600px;
    min-height: 600px;
  }
  .covercopy {
    width: 100%;
    padding: 30px 20px;
  }
  .covercopy h1 {
    font-size: 42px;
  }
  .covercopy > div {
    flex-direction: column;
  }
  .usecases,
  .decisionband,
  .related {
    grid-template-columns: 1fr;
  }
  .usecases header,
  .decisionband > div {
    grid-column: 1;
  }
  .twoway > div {
    margin: -25px 10px 0;
    padding: 30px;
  }
  .rfq {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .rfq label,
  .formstep,
  .consent,
  .rfq button,
  .status {
    grid-column: 1;
  }
  .articlehead h1,
  .libraryhead h1,
  .trusthead h1,
  .contacthead h1 {
    font-size: 42px;
  }
  .articlelayout article section {
    grid-template-columns: 36px 1fr;
  }
  .articlelayout h2 {
    font-size: 29px;
  }
  .chapters {
    grid-template-columns: repeat(4, 1fr);
  }
  .library section > div {
    grid-template-columns: 1fr;
  }
  .foot {
    grid-template-columns: 1fr;
  }
  .entities {
    grid-column: 1;
  }
  .notfound h1 {
    font-size: 44px;
  }
}
