:root {
  --ch-paper: #f4f0e7;
  --ch-paper-alt: #eee8dc;
  --ch-ink: #171715;
  --ch-muted: #6f6c64;
  --ch-dark: #121816;
  --ch-dark-soft: #1b2320;
  --ch-signal: #d65328;
  --ch-line: #d2cabd;
  --ch-shell: min(1440px, calc(100vw - 40px));
  --ch-radius: 4px;
  --ch-fast: 180ms ease;
}

/* Keep article rhythm compact when an inline image is followed by a section. */
.single-post .ch-entry-content > figure.wp-block-image {
  margin-bottom: 2rem;
}

.single-post .ch-entry-content > figure.wp-block-image + h2 {
  margin-top: 2rem;
}

@media (max-width: 640px) {
  .single-post .ch-entry-content > figure.wp-block-image {
    margin-bottom: 1.5rem;
  }

  .single-post .ch-entry-content > figure.wp-block-image + h2 {
    margin-top: 1.5rem;
  }
}

html.menu-open {
  overflow: hidden;
}

body.ch-theme {
  padding-right: 0;
  padding-left: 0;
  background-color: var(--ch-paper);
  background-image:
    radial-gradient(circle at 12% 9%, rgba(94, 78, 47, 0.055), transparent 25rem),
    radial-gradient(circle at 88% 40%, rgba(60, 72, 57, 0.045), transparent 31rem);
}

.ch-header {
  min-height: 72px;
  background: rgba(244, 240, 231, 0.975);
  box-shadow: 0 1px 0 rgba(23, 23, 21, 0.08);
}

.ch-header__inner {
  min-height: 72px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(1rem, 2.5vw, 2.75rem);
}

.ch-header__inner--no-nav {
  grid-template-columns: auto 1fr;
}

.ch-header__inner--no-nav .ch-header__actions {
  justify-self: end;
}

.ch-brand__name {
  font-size: clamp(1.65rem, 2.45vw, 2.3rem);
}

.ch-brand__name b {
  color: var(--ch-signal);
}

.ch-brand__descriptor {
  color: #45443f;
  font-size: 0.52rem;
  line-height: 1.25;
}

.ch-nav {
  gap: clamp(0.95rem, 1.7vw, 1.75rem);
}

.ch-nav a {
  font-size: 0.84rem;
  font-weight: 600;
}

.ch-header__actions {
  gap: 10px;
}

.ch-search {
  width: clamp(150px, 14vw, 220px);
  height: 40px;
  padding: 0 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid var(--ch-line);
  border-radius: var(--ch-radius);
  background: rgba(255, 255, 255, 0.35);
}

.ch-search svg,
.ch-icon-button svg {
  width: 19px;
  flex: 0 0 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.ch-search input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ch-ink);
  font: 0.72rem/1.2 var(--ch-sans);
}

.ch-search input::placeholder {
  color: var(--ch-muted);
}

.ch-icon-button {
  display: none;
  border: 1px solid var(--ch-line);
  border-radius: var(--ch-radius);
}

.ch-home {
  border: 0;
}

.ch-hero {
  min-height: 620px;
  height: 68vh;
  max-height: 720px;
  grid-template-columns: minmax(440px, 0.86fr) minmax(0, 1.14fr);
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(23, 23, 21, 0.13);
  border-top: 0;
}

.ch-hero__copy {
  position: relative;
  z-index: 3;
  min-height: 0;
  padding:
    clamp(2.25rem, 3.3vw, 3.4rem)
    clamp(1.8rem, 3vw, 3rem)
    1.75rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), transparent 48%),
    var(--ch-paper);
}

.ch-hero__copy::after {
  position: absolute;
  z-index: -1;
  top: 0;
  right: -42px;
  width: 86px;
  height: 100%;
  content: "";
  background: linear-gradient(90deg, var(--ch-paper) 0 47%, transparent 100%);
  clip-path: polygon(0 0, 62% 0, 39% 14%, 68% 28%, 45% 43%, 73% 59%, 42% 75%, 64% 88%, 50% 100%, 0 100%);
}

.ch-hero h1 {
  max-width: 650px;
  font-size: clamp(3.9rem, 3.75vw, 4.5rem);
  line-height: 0.9;
}

.ch-hero__lead {
  max-width: 480px;
  font-family: var(--ch-sans);
  font-size: clamp(0.98rem, 1.15vw, 1.13rem);
  line-height: 1.45;
}

.ch-button {
  border-radius: var(--ch-radius);
  letter-spacing: 0.05em;
}

.ch-button--primary {
  border-color: var(--ch-signal);
  background: var(--ch-signal);
}

.ch-button--primary:hover {
  background: #b94320;
}

.ch-hero__visual {
  min-height: 0;
}

.ch-hero__visual::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(18, 24, 22, 0.1), transparent 36%, rgba(18, 24, 22, 0.05));
  pointer-events: none;
}

.ch-hero__visual::after {
  background: linear-gradient(180deg, transparent 56%, rgba(11, 17, 15, 0.64));
}

.ch-hero__visual img {
  object-position: 52% center;
}

.ch-hero__visual figcaption {
  top: 2rem;
  right: 2.4rem;
  max-width: 280px;
  color: #27251f;
  font-size: clamp(1.05rem, 1.55vw, 1.5rem);
  text-shadow: 0 1px 10px rgba(255, 255, 255, 0.72);
}

.ch-hero__metadata {
  position: absolute;
  z-index: 3;
  right: 1.75rem;
  bottom: 1.4rem;
  left: 1.75rem;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: #fff;
}

.ch-hero__metadata div {
  padding: 0.25rem 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.34);
}

.ch-hero__metadata dt {
  font: 700 0.55rem/1.2 var(--ch-condensed);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.78;
}

.ch-hero__metadata dd {
  margin: 0.25rem 0 0;
  font: 700 clamp(1rem, 1.7vw, 1.55rem)/1 var(--ch-serif);
}

.ch-principles {
  grid-column: 1 / -1;
  min-height: 88px;
  padding: 0.8rem clamp(1.5rem, 3vw, 3rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  background: rgba(255, 255, 255, 0.28);
}

.ch-principles > div {
  min-height: 52px;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-right: 1px solid var(--ch-line);
}

.ch-principles > div:last-child {
  border-right: 0;
}

.ch-principles svg {
  width: 31px;
  flex: 0 0 31px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.ch-principles span {
  font: 700 0.68rem/1.32 var(--ch-sans);
}

@media (max-width: 1180px) {
  .ch-search {
    display: none;
  }

  .ch-icon-button {
    display: grid;
  }

  .ch-hero {
    grid-template-columns: minmax(360px, 0.9fr) 1.1fr;
  }

  .ch-hero h1 {
    font-size: clamp(3rem, 5vw, 4.8rem);
  }
}

@media (max-width: 900px) {
  .ch-header__inner {
    grid-template-columns: 1fr auto;
  }

  .ch-nav[data-open="true"] {
    max-height: calc(100dvh - 88px);
    overflow-y: auto;
  }

  .ch-menu-toggle span {
    transition: opacity var(--ch-fast), transform var(--ch-fast);
  }

  .ch-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .ch-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .ch-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .ch-hero {
    height: auto;
    max-height: none;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .ch-hero__copy {
    min-height: 0;
    padding-bottom: 2.5rem;
  }

  .ch-hero__copy::after {
    display: none;
  }

  .ch-hero__visual {
    min-height: 500px;
  }

  .ch-principles {
    grid-template-columns: 1fr 1fr;
  }

  .ch-principles > div:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 640px) {
  :root {
    --ch-shell: 100%;
  }

  .ch-header,
  .ch-header__inner {
    min-height: 64px;
  }

  .ch-brand__name {
    font-size: 1.7rem;
  }

  .ch-icon-button {
    display: grid;
    width: 38px;
    height: 38px;
  }

  .ch-menu-toggle {
    width: 38px;
    height: 38px;
    border: 1px solid var(--ch-line);
    border-radius: var(--ch-radius);
  }

  .ch-hero {
    border-right: 0;
    border-left: 0;
  }

  .ch-hero__copy {
    padding: 2.5rem 1.15rem 2rem;
  }

  .ch-hero h1 {
    font-size: clamp(3rem, 14.1vw, 4rem);
    line-height: 0.9;
  }

  .ch-hero__lead {
    font-size: 0.98rem;
  }

  .ch-actions {
    display: grid;
  }

  .ch-hero__visual {
    min-height: 390px;
  }

  .ch-hero__visual img {
    object-position: 43% center;
  }

  .ch-hero__visual figcaption {
    top: 1.1rem;
    right: 1rem;
    max-width: 175px;
    font-size: 0.9rem;
  }

  .ch-hero__metadata {
    right: 0.7rem;
    bottom: 0.8rem;
    left: 0.7rem;
  }

  .ch-hero__metadata div {
    padding: 0.2rem 0.65rem;
  }

  .ch-principles {
    padding: 0.8rem 0.5rem;
  }

  .ch-principles > div {
    padding: 0.75rem;
    border-bottom: 1px solid var(--ch-line);
  }

  .ch-principles > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

/* Phase 3: editorial scenario cards. */
.ch-scenarios {
  padding-top: 1.5rem;
  padding-bottom: 1.75rem;
}

.ch-scenarios .ch-section__head {
  margin-bottom: 1rem;
}

.ch-scenarios .ch-section__head > div {
  display: block;
}

.ch-scenarios .ch-section__head p {
  margin-top: 0.35rem;
  font-family: var(--ch-sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.ch-card--scenario {
  display: grid;
  grid-template-rows: 190px 1fr;
  overflow: hidden;
  border: 1px solid var(--ch-line);
  border-radius: var(--ch-radius);
  background: rgba(255, 255, 255, 0.36);
  transition: border-color var(--ch-fast), transform var(--ch-fast), box-shadow var(--ch-fast);
}

.ch-card--scenario:hover {
  border-color: rgba(214, 83, 40, 0.55);
  box-shadow: 0 12px 28px rgba(23, 23, 21, 0.08);
  transform: translateY(-3px);
}

.ch-card--scenario > img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 240ms ease;
}

.ch-card--scenario:hover > img {
  transform: scale(1.025);
}

.ch-card--scenario > div {
  min-height: 132px;
  padding: 0.8rem 3.2rem 0.85rem 0.9rem;
  position: relative;
}

.ch-card--scenario span {
  margin: 0 0 0.35rem;
  padding: 0;
  border: 0;
  color: var(--ch-signal);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
}

.ch-card--scenario h3 {
  font-size: 1.18rem;
}

.ch-card--scenario p {
  font-family: var(--ch-sans);
  font-size: 0.73rem;
  line-height: 1.38;
}

.ch-card--scenario a,
.ch-card--scenario em {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
}

.ch-card--scenario a {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ch-line);
  border-radius: 50%;
  color: var(--ch-ink);
}

.ch-card--scenario em,
.ch-gear-grid span {
  color: var(--ch-muted);
  font: 700 0.52rem/1 var(--ch-condensed);
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Phase 4: field-tested editorial feature. */
.ch-field-tested {
  min-height: 310px;
  display: grid;
  grid-template-columns: minmax(440px, 1.05fr) minmax(0, 1.25fr);
  border-bottom: 1px solid var(--ch-line);
  background: var(--ch-paper-alt);
}

.ch-field-tested__intro {
  position: relative;
  min-height: 310px;
  overflow: hidden;
}

.ch-field-tested__intro::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(18, 24, 22, 0.82), rgba(18, 24, 22, 0.42) 57%, transparent 90%);
}

.ch-field-tested__intro > img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
}

.ch-field-tested__intro > div {
  position: relative;
  z-index: 2;
  max-width: 370px;
  padding: 3rem 1.8rem 2.2rem;
  color: #fff;
}

.ch-field-tested__intro h2 {
  margin: 0;
  font: 700 clamp(2rem, 3.25vw, 3.3rem)/0.95 var(--ch-serif);
  letter-spacing: -0.04em;
}

.ch-field-tested__intro > div > p:not(.ch-kicker) {
  margin: 0.75rem 0 1.3rem;
  font: 0.88rem/1.45 var(--ch-sans);
}

.ch-field-tested__intro .ch-kicker {
  color: #f4b29b;
}

.ch-gear-grid {
  padding: 1.35rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
}

.ch-gear-grid article {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--ch-line);
  border-radius: var(--ch-radius);
  background: rgba(255, 255, 255, 0.42);
}

.ch-gear-grid img {
  width: 100%;
  aspect-ratio: 1 / 0.88;
  object-fit: cover;
  filter: saturate(0.72) contrast(0.96);
}

.ch-gear-grid article > div {
  min-height: 92px;
  padding: 0.7rem;
}

.ch-gear-grid h3 {
  margin: 0;
  font: 700 0.84rem/1.1 var(--ch-serif);
}

.ch-gear-grid p {
  min-height: 2.4em;
  margin: 0.35rem 0 0.55rem;
  color: var(--ch-muted);
  font: 0.61rem/1.3 var(--ch-sans);
}

@media (max-width: 1180px) {
  .ch-card--scenario {
    grid-template-rows: 165px 1fr;
  }

  .ch-card--scenario > img {
    height: 165px;
  }

  .ch-field-tested {
    grid-template-columns: minmax(360px, 0.85fr) 1.15fr;
  }

  .ch-gear-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .ch-field-tested {
    grid-template-columns: 1fr;
  }

  .ch-field-tested__intro {
    min-height: 360px;
  }

  .ch-gear-grid {
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .ch-gear-grid article {
    scroll-snap-align: start;
  }
}

@media (max-width: 640px) {
  .ch-scenarios {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .ch-scenarios .ch-section__head p {
    display: block;
  }

  .ch-card--scenario {
    min-width: 84vw;
    grid-template-rows: 190px 1fr;
  }

  .ch-card--scenario > img {
    height: 190px;
  }

  .ch-field-tested__intro {
    min-height: 390px;
  }

  .ch-field-tested__intro::after {
    background: linear-gradient(180deg, rgba(18, 24, 22, 0.2), rgba(18, 24, 22, 0.86));
  }

  .ch-field-tested__intro > div {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 1.5rem 1.15rem;
  }

  .ch-gear-grid {
    padding: 1rem;
    grid-template-columns: repeat(4, 58vw);
  }
}

/* Phase 5: checklist and tools. */
.ch-home__lower {
  grid-template-columns: minmax(420px, 1.05fr) minmax(210px, 0.5fr) minmax(480px, 1.35fr);
  background: rgba(255, 255, 255, 0.12);
}

.ch-matrix,
.ch-field-note,
.ch-tools {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.ch-matrix table {
  font-family: var(--ch-sans);
  font-size: 0.72rem;
}

.ch-matrix tbody th {
  font-weight: 600;
}

.ch-matrix tbody td {
  color: #315f23;
  font-size: 0.84rem;
  font-weight: 800;
}

.ch-availability {
  margin-top: 0.8rem;
  display: inline-block;
  color: var(--ch-muted);
  font: 700 0.58rem/1 var(--ch-condensed);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ch-field-note {
  justify-content: flex-start;
  padding-top: 5.4rem;
  background:
    linear-gradient(155deg, transparent 50%, rgba(63, 70, 57, 0.07)),
    var(--ch-paper-alt);
}

.ch-field-note blockquote {
  font-size: clamp(1.35rem, 1.7vw, 1.8rem);
}

.ch-tools__grid {
  gap: 12px;
}

.ch-tools__grid > .ch-tool-card {
  min-height: 118px;
  padding: 1rem;
  position: relative;
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid var(--ch-line);
  background: rgba(255, 255, 255, 0.3);
  transition: border-color var(--ch-fast), background-color var(--ch-fast), transform var(--ch-fast);
}

.ch-tools__grid > a.ch-tool-card:hover {
  border-color: rgba(214, 83, 40, 0.58);
  background: rgba(255, 255, 255, 0.55);
  color: var(--ch-ink);
  transform: translateY(-2px);
}

.ch-tool-card svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.ch-tools__grid .ch-tool-card span {
  display: flex;
}

.ch-tool-card strong {
  font-size: 1rem;
}

.ch-tool-card small {
  font: 0.67rem/1.35 var(--ch-sans);
}

.ch-tool-card i {
  color: var(--ch-signal);
}

.ch-tool-card em {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  color: var(--ch-muted);
  font: 700 0.5rem/1 var(--ch-condensed);
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ch-tool-card--soon {
  color: var(--ch-ink);
}

@media (max-width: 1180px) {
  .ch-home__lower {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .ch-tools {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .ch-home__lower {
    grid-template-columns: 1fr;
  }

  .ch-home__lower > * {
    min-width: 0;
  }

  .ch-table-scroll {
    width: 100%;
    max-width: 100%;
  }

  .ch-matrix,
  .ch-field-note,
  .ch-tools {
    padding: 1.6rem 1rem;
  }

  .ch-field-note {
    padding-top: 2rem;
  }

  .ch-tools__grid > .ch-tool-card {
    min-height: 112px;
    grid-template-columns: 46px 1fr;
  }
}

/* Phase 6: editorial pre-footer. */
.ch-prefooter {
  min-height: 390px;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  color: #fff;
  background: var(--ch-dark);
}

.ch-prefooter::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 15, 14, 0.88) 0%, rgba(10, 15, 14, 0.42) 48%, rgba(10, 15, 14, 0.68) 100%),
    linear-gradient(0deg, rgba(10, 15, 14, 0.55), transparent 55%);
}

.ch-prefooter > img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  z-index: -2;
  object-fit: cover;
}

.ch-prefooter__inner {
  width: var(--ch-shell);
  margin: auto;
  padding:
    clamp(3.5rem, 7vw, 6rem)
    clamp(1.5rem, 3vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(520px, 1.15fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 8rem);
}

.ch-prefooter__copy {
  max-width: 620px;
}

.ch-prefooter h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.25rem, 4.2vw, 4.6rem);
  line-height: 0.96;
}

.ch-prefooter__copy > p {
  max-width: 560px;
  margin: 1.2rem 0 1.5rem;
  color: rgba(255, 255, 255, 0.84);
  font: 1rem/1.55 var(--ch-sans);
}

.ch-prefooter__values {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.ch-prefooter__values li {
  min-height: 118px;
  padding: 0.25rem clamp(1rem, 2.3vw, 2.2rem);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.ch-prefooter__values strong {
  color: #fff;
  font: 700 clamp(1rem, 1.3vw, 1.25rem)/1.15 var(--ch-condensed);
}

.ch-prefooter__values span {
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.72);
  font: 0.7rem/1.35 var(--ch-sans);
}

@media (max-width: 980px) {
  .ch-prefooter__inner {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 3rem;
  }
}

@media (max-width: 640px) {
  .ch-prefooter {
    min-height: 680px;
  }

  .ch-prefooter::after {
    background: linear-gradient(180deg, rgba(10, 15, 14, 0.5), rgba(10, 15, 14, 0.92) 62%);
  }

  .ch-prefooter > img {
    object-position: 63% center;
  }

  .ch-prefooter__inner {
    width: calc(100% - 32px);
    padding: 3rem 0 2.4rem;
    align-content: space-between;
  }

  .ch-prefooter h2 {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .ch-prefooter__values {
    grid-template-columns: 1fr;
  }

  .ch-prefooter__values li {
    min-height: auto;
    padding: 1rem 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
  }
}

/* Phase 7: full footer and honest newsletter presentation. */
.ch-footer {
  padding: 0 max(20px, calc((100vw - 1360px) / 2));
  border-top: 0;
  color: rgba(255, 255, 255, 0.74);
  background:
    radial-gradient(circle at 90% 85%, rgba(214, 83, 40, 0.08), transparent 32rem),
    var(--ch-dark);
}

.ch-newsletter {
  min-height: 98px;
  padding: 1.35rem 0;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.ch-newsletter svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.ch-newsletter strong {
  color: #fff;
  font: 700 1.35rem/1.1 var(--ch-serif);
}

.ch-newsletter p {
  margin: 0.3rem 0 0;
  color: rgba(255, 255, 255, 0.64);
  font: 0.72rem/1.4 var(--ch-sans);
}

.ch-newsletter > span {
  padding: 0.8rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: rgba(255, 255, 255, 0.82);
  font: 700 0.58rem/1 var(--ch-condensed);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ch-footer__grid {
  width: auto;
  min-height: auto;
  margin: 0;
  padding: clamp(2.4rem, 5vw, 4rem) 0;
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(150px, 0.7fr));
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
}

.ch-footer__about {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  column-gap: 1rem;
}

.ch-footer__brand {
  color: #fff;
  font-size: 2rem;
  line-height: 0.9;
}

.ch-footer__brand:hover {
  color: #fff;
}

.ch-footer__brand b {
  color: var(--ch-signal);
}

.ch-footer__tagline {
  color: rgba(255, 255, 255, 0.72) !important;
  font: 700 0.56rem/1.25 var(--ch-condensed) !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ch-footer__about > p:last-child {
  max-width: 310px;
  margin-top: 1.5rem;
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.62);
  font: 0.7rem/1.55 var(--ch-sans);
}

.ch-footer__column h2 {
  margin: 0 0 1rem;
  color: #fff;
  font: 700 0.8rem/1 var(--ch-sans);
}

.ch-footer__column ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
  list-style: none;
}

.ch-footer .ch-footer__column a {
  color: rgba(255, 255, 255, 0.68);
  font: 0.7rem/1.25 var(--ch-sans);
}

.ch-footer .ch-footer__column a:hover {
  color: #fff;
}

.ch-footer__empty {
  margin: 0;
  color: rgba(255, 255, 255, 0.42) !important;
  font: 0.68rem/1.4 var(--ch-sans) !important;
}

.ch-footer__bottom {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  color: rgba(255, 255, 255, 0.46);
  font: 0.6rem/1.3 var(--ch-sans);
}

.ch-footer__bottom span:last-child {
  font-family: var(--ch-serif);
  font-size: 0.78rem;
  font-style: italic;
}

@media (max-width: 980px) {
  .ch-footer__grid {
    grid-template-columns: 1.4fr repeat(2, 1fr);
  }

  .ch-footer__column:last-child {
    grid-column: 2 / -1;
  }
}

@media (max-width: 640px) {
  .ch-footer {
    padding-right: 16px;
    padding-left: 16px;
  }

  .ch-newsletter {
    grid-template-columns: 38px 1fr;
  }

  .ch-newsletter > span {
    grid-column: 2;
    justify-self: start;
  }

  .ch-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 1.5rem;
  }

  .ch-footer__about {
    grid-column: 1 / -1;
  }

  .ch-footer__column:last-child {
    grid-column: 1 / -1;
  }

  .ch-footer__bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ch-theme *,
  .ch-theme *::before,
  .ch-theme *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Release 0.4: durable topic hubs and information pages. */
.wp-site-blocks {
	padding-right: 0;
	padding-left: 0;
  overflow: clip;
}

.ch-page-shell > .wp-block-post-title {
  max-width: 1040px;
  margin: 0 auto clamp(1.5rem, 3vw, 2.5rem);
  font-size: clamp(3rem, 6vw, 6rem) !important;
  letter-spacing: -0.055em;
}

.ch-page-shell > .ch-entry-content {
  width: 100%;
  max-width: 1040px;
}

.ch-entry-content > .ch-hub {
  width: 100%;
  max-width: none !important;
}

.ch-hub,
.ch-info-page {
  color: var(--ch-ink);
  font-family: var(--ch-sans);
}

.ch-hub__lead,
.ch-info-page__lead {
  max-width: 820px;
  margin: 0 0 clamp(2.5rem, 5vw, 4.5rem);
  color: #4f4c45;
  font: clamp(1.2rem, 2.2vw, 1.8rem)/1.42 var(--ch-serif);
}

.ch-hub__section {
  margin-top: clamp(2.8rem, 6vw, 5.5rem);
}

.ch-hub__section:first-of-type {
  margin-top: 0;
}

.ch-hub__section-head {
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--ch-line);
}

.ch-hub__section h2,
.ch-info-page h2 {
  margin: 0;
  font: 700 clamp(1.8rem, 3.5vw, 3rem)/1 var(--ch-serif);
  letter-spacing: -0.035em;
}

.ch-hub__section-head p {
  margin: 0;
  color: var(--ch-muted);
  font: 700 0.62rem/1.3 var(--ch-condensed);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ch-hub-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.ch-hub-card {
  min-height: 190px;
  padding: 1.25rem;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ch-line);
  border-radius: var(--ch-radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.52), transparent 58%),
    rgba(255, 255, 255, 0.18);
}

.ch-hub-card::before {
  width: 34px;
  height: 2px;
  margin-bottom: 2.25rem;
  content: "";
  background: var(--ch-signal);
}

.ch-hub-card h3 {
  margin: 0;
  font: 700 1.24rem/1.08 var(--ch-serif);
  letter-spacing: -0.025em;
}

.ch-hub-card p {
  margin: 0.55rem 0 1.7rem;
  color: var(--ch-muted);
  font: 0.76rem/1.45 var(--ch-sans);
}

.ch-hub-status {
  margin-top: auto;
  color: var(--ch-muted);
  font: 700 0.54rem/1 var(--ch-condensed);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.ch-hub-feed__empty {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--ch-line);
  background: var(--ch-paper-alt);
}

.ch-hub-feed__empty strong {
  font: 700 1.2rem/1.1 var(--ch-serif);
}

.ch-hub-feed__empty p {
  max-width: 650px;
  margin: 0.5rem 0 0;
  color: var(--ch-muted);
  font: 0.82rem/1.5 var(--ch-sans);
}

.ch-hub-feed__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.ch-hub-post {
  overflow: hidden;
  border: 1px solid var(--ch-line);
  border-radius: var(--ch-radius);
  background: rgba(255, 255, 255, 0.28);
}

.ch-hub-post__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ch-hub-post > div {
  padding: 1rem;
}

.ch-hub-post h3 {
  margin: 0;
  font: 700 1.3rem/1.08 var(--ch-serif);
}

.ch-hub-post h3 a {
  color: var(--ch-ink);
  text-decoration: none;
}

.ch-hub-post p:last-child {
  color: var(--ch-muted);
  font: 0.75rem/1.45 var(--ch-sans);
}

.ch-info-page {
  max-width: 820px;
}

.ch-info-page__section {
  margin-top: 2.8rem;
  padding-top: 2rem;
  border-top: 1px solid var(--ch-line);
}

.ch-info-page h2 {
  margin-bottom: 1rem;
}

.ch-info-page p,
.ch-info-page li {
  font: 1rem/1.7 var(--ch-serif);
}

.ch-info-page ul {
  padding-left: 1.2rem;
}

.ch-contact-card {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--ch-line);
  background: var(--ch-paper-alt);
}

.ch-contact-card a {
  color: var(--ch-signal);
  font: 700 clamp(1.05rem, 2vw, 1.35rem)/1.2 var(--ch-sans);
}

.ch-footer__column h2 {
  margin: 0 0 1rem;
}

.ch-footer__toggle {
  width: 100%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  color: #fff;
  font: 700 0.8rem/1 var(--ch-sans);
  text-align: left;
}

.ch-footer__toggle span {
  display: none;
}

@media (max-width: 900px) {
  .ch-hub-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ch-hub-feed__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .ch-page-shell > .wp-block-post-title {
    font-size: clamp(2.8rem, 14vw, 4.2rem) !important;
  }

  .ch-page-shell > .ch-entry-content {
    width: 100%;
  }

  .ch-hub__lead,
  .ch-info-page__lead {
    font-size: 1.2rem;
  }

  .ch-hub__section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .ch-hub-grid,
  .ch-hub-feed__grid {
    grid-template-columns: 1fr;
  }

  .ch-hub-card {
    min-height: 170px;
  }

  .ch-footer__grid {
    display: block;
  }

  .ch-footer__about {
    margin-bottom: 2rem;
  }

  .ch-footer__column {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .ch-footer__column:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .ch-footer__column h2 {
    margin: 0;
  }

  .ch-footer__toggle {
    min-height: 54px;
    cursor: pointer;
  }

  .ch-footer__toggle span {
    display: block;
    font-size: 1.15rem;
    transition: transform var(--ch-fast);
  }

  .ch-footer__toggle[aria-expanded="true"] span {
    transform: rotate(180deg);
  }

  .ch-footer__column [data-footer-panel] {
    padding: 0 0 1.2rem;
  }

  .ch-footer__column [data-footer-panel][hidden] {
    display: none;
  }

  .ch-footer__bottom {
    margin-top: 1.5rem;
  }
}

@media (max-width: 768px) {
  .ch-brand__descriptor,
  .ch-header__motto,
  .ch-kicker,
  .ch-hero__facts dt,
  .ch-section__head p,
  .ch-scenarios .ch-section__head p,
  .ch-matrix header p,
  .ch-tools header p,
  .ch-section__head > a,
  .ch-text-link,
  .ch-card span,
  .ch-card--scenario p,
  .ch-card--scenario em,
  .ch-test-grid article span,
  .ch-button,
  .ch-hero__metadata dt,
  .ch-principles span,
  .ch-matrix table,
  .ch-matrix thead th,
  .ch-tools__grid small,
  .ch-tool-card em,
  .ch-footer__line,
  .ch-footer nav a,
  .ch-gear-grid p,
  .ch-gear-grid article span,
  .ch-availability,
  .ch-field-note p,
  .ch-prefooter__values span {
    font-size: 0.8rem;
  }
}
