@import url("https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap");

.cs {
  --cs-ink: #172033;
  --cs-cream: #f4efe6;
  --cs-paper: #fffdfb;
  --cs-navy: #142033;
  --cs-muted: #5c6573;
  --cs-line: rgba(23, 32, 51, 0.12);
  --cs-serif: "Instrument Serif", Georgia, "Iowan Old Style", Palatino, serif;
  --cs-sans: "Instrument Sans", "Segoe UI", sans-serif;
  color: var(--cs-ink);
  font-family: var(--cs-sans);
  max-width: 100%;
  min-width: 0;
}

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

/* :where keeps these resets from beating the type scale. The live
   markdown stylesheet is more specific than a single class. */
.cs :where(h1, h2, h3) {
  font-family: var(--cs-serif);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.08;
  border: 0;
  padding: 0;
  margin: 0;
  color: inherit;
}

.cs :where(p) {
  margin: 0;
}

.markdown-body .cs img,
.cs :where(img) {
  background: transparent;
  background-color: transparent;
  border: 0;
  box-shadow: none;
}

/* Live pages wrap this in .markdown-body, which adds heading borders,
   24px top margins, and a 16px paragraph rhythm. Beat that here. */
.markdown-body .cs :is(h1, h2, h3) {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: 400;
}

.markdown-body .cs .cs-kicker {
  margin: 0 0 14px;
  font-size: 12px;
}

.markdown-body .cs .cs-lede {
  margin: 16px 0 0;
  font-size: 17px;
}

.markdown-body .cs .cs-section h2,
.markdown-body .cs .cs-band h2,
.markdown-body .cs .cs-close h2,
.markdown-body .cs .cs-strip h2,
.markdown-body .cs .cs-support h2 {
  margin: 0 0 12px;
}

.markdown-body .cs .cs-section-intro {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.55;
}

.markdown-body .cs .cs-story h3 {
  margin: 8px 0 16px;
}

.markdown-body .cs .cs-story .cs-prose p {
  margin: 0 0 16px;
}

.markdown-body .cs .cs-story .cs-prose p:last-child {
  margin-bottom: 0;
}

.cs-kicker {
  margin: 0 0 14px;
  font-family: var(--cs-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8d6b3a;
}

/* The live site styles every header as a flex row. This card must stay a stack. */
header.cs-hero,
.cs-hero {
  display: block;
  grid-area: auto;
  width: 100%;
  background:
    radial-gradient(900px 420px at 100% 0%, rgba(255, 214, 150, 0.16), transparent 55%),
    var(--cs-navy);
  color: #f7f3ea;
  border-radius: 28px;
  padding: 56px 40px;
  overflow: hidden;
}

.cs-hero .cs-kicker {
  color: #e2c48a;
}

.cs-hero h1 {
  max-width: 12em;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.05;
  text-wrap: balance;
}

/* Markdown sets every h1/h2 to black. These two sit on navy. */
.markdown-body .cs header.cs-hero h1,
.markdown-body .cs .cs-hero h1,
header.cs-hero h1,
.cs-hero h1,
.markdown-body .cs .cs-close h2,
.cs .cs-close h2,
.cs-close h2 {
  color: #f7f3ea !important;
}

.cs-lede {
  max-width: 38em;
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(247, 243, 234, 0.82);
}

.cs-section {
  margin-top: 64px;
}

.cs-section h2,
.cs-band h2,
.cs-strip h2,
.cs-support h2,
.cs-close h2,
.cs-story h3 {
  text-wrap: balance;
}

.cs-section h2 {
  font-size: clamp(32px, 3.2vw, 46px);
  max-width: 16em;
  line-height: 1.08;
  margin-bottom: 12px;
}

.cs-section-intro {
  max-width: 40rem;
  color: var(--cs-muted);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 28px;
  text-wrap: balance;
}

.cs :where(ul, ol),
.cs-logos {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cs-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 240px));
  align-items: center;
  justify-content: center;
  justify-items: center;
  gap: 28px 36px;
  padding: 8px 0 4px;
  max-width: 100%;
}

.markdown-body .cs-logos,
.markdown-body .cs .cs-logos {
  margin: 0;
  padding: 0;
}

.markdown-body .cs-logos li,
.markdown-body .cs .cs-logos li {
  word-wrap: normal;
  overflow-wrap: normal;
}

.cs-logos li {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.cs-logos img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.cs-logos li.is-mark img {
  height: 64px;
  max-height: 72px;
  max-width: 88px;
}

.cs-monogram {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: var(--cs-navy);
  color: #f7f3ea;
  font-family: var(--cs-serif);
  font-size: 26px;
  line-height: 1;
}

.cs-logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.cs-logo-lockup .cs-monogram {
  width: 40px;
  height: 40px;
  font-size: 24px;
  flex: none;
}

.cs-logo-word {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  color: var(--cs-ink);
}

.cs-logo-word strong {
  font-family: var(--cs-serif);
  font-weight: 400;
  font-size: 16px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.cs-logo-word span {
  font-size: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--cs-muted);
  white-space: nowrap;
}

.cs-logos .cs-logo-lockup {
  max-width: 100%;
}

.cs-on-navy .cs-logos img {
  filter: none;
}

.cs-on-navy .cs-monogram,
.cs-hero .cs-monogram {
  background: rgba(247, 243, 234, 0.12);
  color: #f7f3ea;
  border: 1px solid rgba(247, 243, 234, 0.28);
}

.cs-hero .cs-logo-word,
.cs-hero .cs-logo-word strong {
  color: #f7f3ea;
}

.cs-hero .cs-logo-word span {
  color: rgba(247, 243, 234, 0.7);
}

.cs-logo-panel {
  background: var(--cs-cream);
  border-radius: 20px;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
}

.cs-logo-panel .cs-logo-lockup {
  flex-direction: column;
  gap: 14px;
  text-align: center;
}

.cs-logo-panel img {
  max-height: 92px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.cs-logo-panel .cs-monogram {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  font-size: 44px;
}

.cs-logo-panel .cs-logo-word strong {
  font-size: 28px;
}

.cs-logo-panel .cs-logo-word span {
  font-size: 12px;
}

.cs-stars {
  width: 118px;
  height: auto;
  display: block;
  margin: 14px 0 16px;
}

.cs-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 16px;
}

.cs-featured .cs-card:first-child {
  grid-row: span 2;
}

.cs-card {
  background: var(--cs-paper);
  border: 1px solid var(--cs-line);
  border-radius: 22px;
  padding: 22px;
  margin: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 18px 40px rgba(20, 32, 51, 0.05);
}

.cs-featured .cs-card:first-child {
  padding: 26px;
}

.cs-card-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}

.cs-featured .cs-card:first-child .cs-card-photo {
  width: 100%;
  height: auto;
  max-height: 320px;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
}

.cs-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.cs-card-top img.cs-logo {
  height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.cs-card-top img.cs-logo.is-mark {
  height: 64px;
  max-height: 72px;
  max-width: 88px;
}

.cs-card blockquote {
  margin: 0;
  padding: 0;
  border: 0;
}

.cs-card blockquote p,
.cs-story blockquote p {
  font-family: var(--cs-serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.32;
  letter-spacing: -0.02em;
  color: var(--cs-ink);
  text-wrap: balance;
}

.cs-featured .cs-card:first-child blockquote p {
  font-size: clamp(26px, 2.4vw, 34px);
}

.cs-who {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-style: normal;
}

.cs-who strong {
  font-family: var(--cs-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.cs-who span {
  color: var(--cs-muted);
  font-size: 14px;
  line-height: 1.4;
}

.cs-story {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: start;
  padding: clamp(36px, 5vw, 64px) 0;
  border-top: 1px solid var(--cs-line);
  min-width: 0;
}

.cs-story.is-nophoto {
  grid-template-columns: minmax(0, 1fr);
}

.cs-story-media {
  min-width: 0;
  position: sticky;
  top: 24px;
}

.cs-story-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.cs-story-photo.is-wide {
  aspect-ratio: 4 / 3;
}

.cs-story-body {
  min-width: 0;
}

.cs-story-body .cs-logo {
  height: 42px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.cs-story-body .cs-logo.is-mark {
  height: 72px;
  max-height: 80px;
  max-width: 96px;
}

.cs-story h3 {
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.15;
  margin: 8px 0 16px;
  max-width: 20em;
}

.cs-story .cs-prose p {
  font-family: var(--cs-sans);
  font-style: normal;
  font-size: 17px;
  line-height: 1.7;
  color: #2a3340;
  max-width: 66ch;
  margin: 0 0 16px;
}

.cs-story .cs-prose p:last-child {
  margin-bottom: 0;
}

.cs-story .cs-who {
  margin-top: 22px;
}

.cs-band,
.cs-strip,
.cs-support {
  margin: 56px auto;
  max-width: 1120px;
  width: 100%;
}

.cs :where(blockquote) {
  margin: 0;
  padding: 0;
  border: 0;
}

.cs-band {
  background: var(--cs-cream);
  border-radius: 28px;
  padding: clamp(28px, 4vw, 48px) clamp(18px, 4vw, 40px);
}

.cs-inner {
  width: min(1040px, 100%);
  margin-left: auto;
  margin-right: auto;
  min-width: 0;
}

.cs-band h2,
.cs-strip h2,
.cs-support h2 {
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.1;
  max-width: 16em;
}

.cs-band .cs-logos {
  margin: 22px 0 26px;
}

.cs-pull {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin: 0;
  min-width: 0;
}

.cs-pull .cs-card-photo {
  width: 92px;
  height: 92px;
}

.cs-pull blockquote {
  margin: 0;
  padding: 0;
  border: 0;
}

.cs-pull blockquote p {
  font-family: var(--cs-serif);
  font-style: italic;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.markdown-body .cs .cs-pull blockquote p,
.cs-pull blockquote p {
  margin: 0;
}

.markdown-body .cs .cs-pull .cs-who,
.cs-pull .cs-who {
  margin-top: 14px;
}

.cs-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--cs-navy);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(23, 32, 51, 0.35);
  line-height: 1.3;
}

.cs-link:hover {
  color: var(--cs-navy);
  border-bottom-color: var(--cs-navy);
}

.cs-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.cs-close {
  margin-top: 64px;
  background: var(--cs-navy);
  color: #f7f3ea;
  border-radius: 24px;
  padding: 28px 28px 22px;
  display: grid;
  gap: 16px;
}

.cs-close h2 {
  font-size: clamp(32px, 3vw, 42px);
  line-height: 1.08;
  max-width: 12em;
  text-wrap: balance;
}

.cs-close-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}

.markdown-body .cs a.cs-btn,
.cs a.cs-btn,
.cs a.cs-btn:link,
.cs a.cs-btn:visited,
.markdown-body .cs a.cs-btn:link,
.markdown-body .cs a.cs-btn:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f9b8e 0%, #3dce7c 100%);
  background-color: #14a37a;
  color: #ffffff;
  font-family: var(--cs-sans);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 8px 18px rgba(15, 155, 142, 0.28);
}

.markdown-body .cs a.cs-btn:hover,
.markdown-body .cs a.cs-btn:focus,
.markdown-body .cs a.cs-btn:active,
.cs a.cs-btn:hover,
.cs a.cs-btn:focus,
.cs a.cs-btn:active {
  background: linear-gradient(135deg, #0c8a7e 0%, #34c472 100%);
  color: #ffffff;
  text-decoration: none;
}

.markdown-body .cs a.cs-quiet,
.cs a.cs-quiet,
.cs a.cs-quiet:link,
.cs a.cs-quiet:visited,
.markdown-body .cs a.cs-quiet:link,
.markdown-body .cs a.cs-quiet:visited {
  display: inline;
  width: auto;
  margin: 4px 0 0;
  padding: 2px 0;
  background: transparent;
  color: rgba(247, 243, 234, 0.82);
  font-family: var(--cs-sans);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.3;
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-align: center;
  box-shadow: none;
}

.markdown-body .cs a.cs-quiet:hover,
.markdown-body .cs a.cs-quiet:focus,
.cs a.cs-quiet:hover,
.cs a.cs-quiet:focus {
  color: #ffffff;
  text-decoration: underline;
  background: transparent;
}

.cs-close p {
  max-width: 36rem;
  color: rgba(247, 243, 234, 0.78);
  margin-top: 10px;
  line-height: 1.5;
}

.cs-close .cs-link {
  color: #f7f3ea;
  border-bottom-color: rgba(247, 243, 234, 0.5);
  margin: 0;
}

.cs-close .cs-link:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.cs-page {
  padding: 28px 0 72px;
}

@media (max-width: 840px) {
  .cs-page {
    padding: 12px 0 56px;
  }

  header.cs-hero,
  .cs-hero {
    padding: 36px 28px 40px;
    border-radius: 22px;
  }

  .cs-hero h1 {
    max-width: none;
    font-size: clamp(34px, 8.8vw, 40px);
  }

  .cs-lede {
    font-size: 17px;
    margin-top: 16px;
  }

  .cs-section {
    margin-top: 56px;
  }

  .cs-section h2,
  .cs-band h2,
  .cs-strip h2,
  .cs-support h2,
  .cs-close h2 {
    max-width: none;
    font-size: 32px;
  }

  .cs-story h3 {
    max-width: none;
    font-size: 28px;
  }

  .cs-section-intro {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .cs-featured,
  .cs-story,
  .cs-pair {
    grid-template-columns: 1fr;
  }

  .cs-pull {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
  }

  .cs-pull .cs-card-photo {
    width: 64px;
    height: 64px;
  }

  .cs-pull blockquote p {
    font-size: 22px;
  }

  .cs-featured .cs-card:first-child {
    grid-row: auto;
  }

  .cs-story {
    gap: 20px;
    padding: 48px 0;
  }

  .cs-story-media {
    position: static;
  }

  .cs-story-photo,
  .cs-story-photo.is-wide {
    aspect-ratio: 3 / 2;
    max-height: 280px;
  }

  .cs-featured .cs-card:first-child .cs-card-photo {
    max-height: 220px;
    aspect-ratio: 3 / 2;
  }

  .cs-card blockquote p {
    font-size: 22px;
  }

  .cs-featured .cs-card:first-child blockquote p {
    font-size: 26px;
  }

  .cs-logos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 16px;
    align-items: stretch;
    justify-items: center;
    padding: 4px 0 0;
  }

  .cs-logos li {
    width: 100%;
    min-height: 72px;
    padding: 6px 4px;
  }

  .cs-logos li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc(50% - 8px);
    max-width: 190px;
    justify-self: center;
  }

  .cs-logos img {
    height: 40px;
    max-height: 40px;
    width: auto;
    max-width: 100%;
  }

  .cs-logos li.is-mark img {
    height: 56px;
    max-height: 56px;
  }

  .cs-logos li.is-wide img {
    height: auto;
    max-height: 30px;
    width: auto;
    max-width: 100%;
  }

  .cs-logos .cs-logo-lockup {
    gap: 8px;
    min-height: 40px;
  }

  .cs-logos .cs-monogram,
  .cs-logos .cs-logo-lockup .cs-monogram {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 24px;
  }

  .cs-logos .cs-logo-word strong {
    font-size: 15px;
  }

  .cs-logos .cs-logo-word span {
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .cs-band,
  .cs-strip,
  .cs-support {
    margin: 48px auto;
  }

  .cs-band {
    padding: 32px 22px;
    border-radius: 22px;
  }

  .cs-close {
    margin-top: 56px;
    padding: 24px 20px 18px;
    gap: 14px;
    border-radius: 22px;
  }

  .cs-close-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .markdown-body .cs a.cs-btn,
  .cs a.cs-btn {
    width: 100%;
  }

  .markdown-body .cs a.cs-quiet,
  .markdown-body .cs a.cs-quiet:link,
  .markdown-body .cs a.cs-quiet:visited,
  .cs a.cs-quiet,
  .cs a.cs-quiet:link,
  .cs a.cs-quiet:visited {
    display: block;
    width: max-content;
    max-width: 100%;
    align-self: center;
    margin: 4px auto 0;
    text-align: center;
  }

  .cs-card {
    padding: 22px 20px;
    border-radius: 18px;
    gap: 14px;
  }

  .cs-logo-panel {
    min-height: 200px;
  }
}

.markdown-body .cs .cs-close p {
  margin: 8px 0 0;
}
