/* Brandmomentum base */

:root {
  --paper: #FBF6F0;
  --shell: #F2E7DC;
  --ink: #2A211C;
  --ember: #C8582E;
  --stone: #8A7A6E;
  --deep: #201915;
  --onDeep: #F6EFE8;
  --line: rgba(138, 122, 110, .35);
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.72;
}

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

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ember);
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.04;
  margin: 0 0 .7em;
  text-transform: none;
}

h1 {
  font-size: clamp(2.35rem, 5.2vw, 4.1rem);
  letter-spacing: -.02em;
  line-height: 1.04;
}

h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  letter-spacing: -.015em;
}

h3 {
  font-size: 1.22rem;
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.28;
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 1.1em;
  padding-left: 1.2em;
}

figure {
  margin: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--shell);
  border-radius: 2px;
  overflow: hidden;
}

th,
td {
  text-align: left;
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: .95rem;
}

th {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--stone);
  background: rgba(138, 122, 110, .08);
}

.inset {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

@media (min-width: 1200px) {
  .inset {
    padding: 0 40px;
  }
}

.band {
  width: 100%;
  position: relative;
}

.band--paper {
  background: var(--paper);
  color: var(--ink);
}

.band--shell {
  background: var(--shell);
  color: var(--ink);
}

.band--deep {
  background: var(--deep);
  color: var(--onDeep);
}

.band--deep a {
  color: var(--onDeep);
}

.band--deep a:hover {
  color: #ffffff;
}

.band--photo {
  min-height: 72vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--onDeep);
}

.band--photo .inset {
  position: relative;
  z-index: 1;
  width: 100%;
}

.band__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(32, 25, 21, .88) 0%, rgba(32, 25, 21, .72) 45%, rgba(32, 25, 21, .42) 100%);
  pointer-events: none;
}

@media (max-width: 860px) {
  .band__veil {
    background: linear-gradient(90deg, rgba(32, 25, 21, .86) 0%, rgba(32, 25, 21, .82) 55%, rgba(32, 25, 21, .78) 100%);
  }

  .band--photo {
    min-height: 64vh;
  }
}

.band--paper,
.band--shell,
.band--deep {
  padding: clamp(56px, 8vw, 104px) 0;
}

.band--photo .masthead {
  padding: clamp(72px, 10vh, 120px) 0;
  max-width: 860px;
}

.band--lined {
  min-height: 72vh;
  display: flex;
  align-items: center;
  background-color: var(--deep);
  background-image:
    linear-gradient(rgba(246, 239, 232, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 239, 232, .07) 1px, transparent 1px);
  background-size: 52px 52px;
}

.masthead {
  max-width: 860px;
}

.split-71 {
  display: grid;
  grid-template-columns: .71fr 1.29fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

@media (max-width: 860px) {
  .split-71 {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (min-width: 861px) {
  .split-71 > nav,
  .keypoints {
    position: sticky;
    top: 96px;
  }
}

.label-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--stone);
  font-family: var(--font-body);
  font-weight: 500;
}

.label-strip::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--ember);
  flex: 0 0 26px;
}

.band--deep .label-strip,
.band--photo .label-strip {
  color: rgba(246, 239, 232, .72);
}

.lede {
  font-size: 1.2rem;
  line-height: 1.62;
  font-weight: 500;
  color: var(--ink);
  max-width: 42rem;
}

.band--deep .lede,
.band--photo .lede {
  color: var(--onDeep);
}

.note-small {
  font-size: .875rem;
  line-height: 1.6;
  color: var(--stone);
}

.band--deep .note-small {
  color: rgba(246, 239, 232, .7);
}

/* sticky pill navigation */
.pillnav-slot {
  position: sticky;
  top: 14px;
  z-index: 60;
  padding-top: 6px;
}

.pillnav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(251, 246, 240, .92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 12px 10px 20px;
  box-shadow: 0 10px 28px rgba(42, 33, 28, .10);
  gap: 16px;
}

.pillnav.is-condensed {
  background: rgba(251, 246, 240, .98);
  padding: 7px 10px 7px 16px;
}

.pillnav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -.02em;
  flex: 0 0 auto;
}

.pillnav__brand:hover {
  color: var(--ink);
}

.pillnav__brand svg {
  width: 22px;
  height: 22px;
  display: block;
}

.pillnav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pillnav__links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .92rem;
  color: var(--ink);
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 999px;
}

.pillnav__links a:hover {
  color: var(--ink);
  background: rgba(242, 231, 220, .7);
}

.pillnav__links a.is-active {
  background: var(--shell);
}

.pillnav__links .act {
  margin-left: 8px;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: .88rem;
}

.pillnav__links a.act--solid {
  color: var(--onDeep);
  background: var(--deep);
  border-color: var(--deep);
}

.pillnav__links a.act--solid:hover,
.pillnav__links a.act--solid:focus {
  background: var(--ember);
  color: #FFF6F1;
  border-color: var(--ember);
}

.pillnav__burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.pillnav__burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
}

@media (max-width: 879px) {
  .pillnav {
    flex-wrap: wrap;
    border-radius: 28px;
  }

  .pillnav.is-open {
    border-radius: 22px;
  }

  .pillnav__burger {
    display: flex;
  }

  .pillnav__links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 8px 12px;
    gap: 4px;
  }

  .pillnav.is-open .pillnav__links {
    display: flex;
  }

  .pillnav__links .act {
    margin-left: 0;
    text-align: center;
    justify-content: center;
  }
}

.act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: -.01em;
  text-decoration: none;
  border-radius: 3px;
  padding: 12px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.act--solid {
  background: var(--deep);
  color: var(--onDeep);
  border-color: var(--deep);
}

.act--solid:hover,
.act--solid:focus {
  background: var(--ember);
  color: #FFF6F1;
  border-color: var(--ember);
}

.act--line {
  background: transparent;
  color: var(--ink);
  border-color: var(--stone);
}

.act--line:hover,
.act--line:focus {
  background: var(--shell);
  color: var(--ink);
  border-color: var(--ember);
}

.act--onDeep {
  background: var(--onDeep);
  color: var(--deep);
  border-color: var(--onDeep);
}

.act--onDeep:hover,
.act--onDeep:focus {
  background: #ffffff;
  color: var(--deep);
  border-color: #ffffff;
}

.band--deep .act--line,
.band--photo .act--line {
  color: var(--onDeep);
  border-color: rgba(246, 239, 232, .55);
}

.band--deep .act--line:hover,
.band--deep .act--line:focus,
.band--photo .act--line:hover,
.band--photo .act--line:focus {
  background: rgba(246, 239, 232, .14);
  color: var(--onDeep);
  border-color: #FFF6F1;
}

.masthead__body .act {
  margin-right: 10px;
  margin-top: 8px;
}

.panel-card,
.note-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 26px 24px;
}

.panel-card h3,
.note-card h3 {
  margin-bottom: .55em;
}

.band--deep .panel-card,
.band--deep .note-card {
  background: rgba(246, 239, 232, .06);
  border-color: rgba(246, 239, 232, .16);
  color: var(--onDeep);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.phase-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.phase-row:last-child {
  border-bottom: 1px solid var(--line);
}

.phase-row__tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .92rem;
  color: var(--ember);
  letter-spacing: -.01em;
}

.phase-row h3 {
  margin-bottom: .4em;
}

@media (max-width: 700px) {
  .phase-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.dispatch-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.dispatch-row:last-of-type {
  border-bottom: 1px solid var(--line);
}

.dispatch-row__meta {
  font-size: .875rem;
  line-height: 1.6;
  color: var(--stone);
}

.dispatch-row h3 {
  margin-bottom: .45em;
}

.dispatch-row h3 a {
  text-decoration: none;
}

.dispatch-row h3 a:hover {
  color: var(--ember);
}

@media (max-width: 700px) {
  .dispatch-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.figure-block {
  margin: 2rem 0;
}

.figure-block img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: 2px;
}

.figure-block figcaption {
  margin-top: .7rem;
}

.pullquote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
  line-height: 1.28;
  letter-spacing: -.02em;
  margin: 0 0 1.1em;
  padding-left: 22px;
  border-left: 3px solid var(--ember);
  max-width: 38rem;
}

.keypoints {
  background: var(--shell);
  border-radius: 2px;
  padding: 22px 22px 18px;
  border: 1px solid var(--line);
}

.band--paper .keypoints {
  background: var(--shell);
}

.keypoints h3 {
  margin-bottom: .8em;
}

.keypoints ol,
.keypoints ul {
  margin: 0;
  padding-left: 1.1em;
}

.keypoints li {
  margin-bottom: .65em;
  font-size: .95rem;
}

.keypoints a {
  display: inline-block;
  margin-top: .35em;
}

.qa-list {
  display: grid;
  gap: 10px;
}

.qa-item {
  background: var(--shell);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 4px 18px 4px;
  color: var(--ink);
}

.band--deep .qa-item {
  background: rgba(246, 239, 232, .06);
  border-color: rgba(246, 239, 232, .16);
  color: var(--onDeep);
}

.qa-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  padding: 14px 0;
  list-style: none;
}

.qa-item summary::-webkit-details-marker {
  display: none;
}

.qa-item summary::before {
  content: "+";
  color: var(--ember);
  font-weight: 700;
  margin-right: 10px;
}

.qa-item[open] summary::before {
  content: "–";
}

.qa-item p {
  padding-bottom: 14px;
}

.band--deep .qa-item p {
  color: rgba(246, 239, 232, .88);
}

.factbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.factbar__cell {
  padding: 28px 22px;
  border-right: 1px solid var(--line);
}

.factbar__cell:last-child {
  border-right: 0;
}

.factbar__cell strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: .35em;
  letter-spacing: -.015em;
}

@media (max-width: 860px) {
  .factbar {
    grid-template-columns: 1fr 1fr;
  }

  .factbar__cell:nth-child(2) {
    border-right: 0;
  }

  .factbar__cell:nth-child(1),
  .factbar__cell:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .factbar {
    grid-template-columns: 1fr;
  }

  .factbar__cell {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .factbar__cell:last-child {
    border-bottom: 0;
  }
}

.signoff h2 {
  color: var(--onDeep);
}

.signoff-form {
  display: grid;
  gap: 14px;
  position: relative;
}

.field {
  display: grid;
  gap: 6px;
}

.field__label {
  font-size: .875rem;
  font-weight: 500;
  color: var(--ink);
}

.band--deep .field__label {
  color: var(--onDeep);
}

.field input,
.field textarea,
.field select {
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(138, 122, 110, .45);
  border-radius: 2px;
  padding: 10px 12px;
  width: 100%;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field--check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.field--check input {
  width: auto;
  margin-top: 5px;
}

.field--check .field__label {
  font-weight: 400;
  line-height: 1.5;
}

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

.signoff .note-small {
  margin-top: 12px;
}

.sitefoot {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid rgba(246, 239, 232, .16);
}

.sitefoot__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}

.sitefoot h3 {
  color: var(--onDeep);
  margin-bottom: .7em;
}

.sitefoot p,
.sitefoot li,
.sitefoot a {
  color: rgba(246, 239, 232, .82);
  font-size: .95rem;
}

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

.sitefoot li {
  margin-bottom: .4em;
}

.sitefoot a {
  text-decoration: none;
}

.sitefoot a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.sitefoot__legal {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(246, 239, 232, .16);
  font-size: .875rem;
  line-height: 1.6;
  color: rgba(246, 239, 232, .7);
}

.cookie-bar {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 80;
  max-width: 880px;
  margin: 0 auto;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: 0 10px 28px rgba(42, 33, 28, .10);
  padding: 16px 18px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.cookie-bar[hidden] {
  display: none;
}

.cookie-bar p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.5;
}

.cookie-bar__acts {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.cookie-bar .act {
  font-size: .88rem;
  padding: 9px 16px;
}

@media (max-width: 700px) {
  .cookie-bar {
    flex-direction: column;
    align-items: stretch;
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
}

.crumbs {
  font-size: .875rem;
  color: var(--stone);
  margin: 0 0 18px;
}

.crumbs a {
  color: var(--stone);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--ember);
}

.band--photo .crumbs,
.band--photo .crumbs a {
  color: rgba(246, 239, 232, .78);
}

.numbered {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: bm;
}

.numbered li {
  counter-increment: bm;
  position: relative;
  padding-left: 52px;
  margin-bottom: 1.25em;
}

.numbered li::before {
  content: counter(bm);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  color: var(--ember);
}

.q-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: q;
}

.q-list li {
  counter-increment: q;
  padding: 18px 0 18px 52px;
  position: relative;
  border-top: 1px solid var(--line);
  font-size: 1.05rem;
  font-weight: 500;
}

.q-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.q-list li::before {
  content: counter(q);
  position: absolute;
  left: 0;
  top: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--ember);
  line-height: 1;
}

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

.stand-list li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.stand-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.note-card--ok {
  border-left: 3px solid #2F6B4F;
}

.note-card--err {
  border-left: 3px solid var(--ember);
}

.map-frame {
  width: 100%;
  height: 420px;
  border: 1px solid var(--stone);
  border-radius: 2px;
  display: block;
}

.article-body h2,
.article-body h3 {
  margin-top: 1.4em;
}

.article-body p {
  max-width: 42rem;
}

.toc a {
  display: block;
  text-decoration: none;
  color: var(--ink);
  font-size: .95rem;
  margin-bottom: .55em;
}

.toc a:hover {
  color: var(--ember);
}

.lift-in {
  opacity: 1;
  transform: none;
  transition: opacity .5s ease, transform .5s ease;
}

html:not(.no-js) .lift-in {
  opacity: 0;
  transform: translateY(14px);
}

html:not(.no-js) .lift-in.shown,
.lift-in.shown {
  opacity: 1;
  transform: none;
}

.no-js .lift-in {
  opacity: 1 !important;
  transform: none !important;
}

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

  .lift-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none;
  }
}

@media (max-width: 879px) {
  .pillnav__links .act {
    text-align: center;
  }
}
