@font-face {
  font-family: "Major Mono Display";
  src: url("../fonts/major-mono-display.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Cutive Mono";
  src: url("../fonts/cutive-mono.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --red-dark: #7e4438;
  --red-light: #d89387;
  --green-light: #466e6a;
  --green-dark: #2a4f4f;
  --gold: #deaf63;
  --paper: #fbfaf6;
  --ink: #111111;
  --line: rgba(42, 79, 79, 0.35);
  --gh-font-heading: "Major Mono Display", monospace;
  --gh-font-body: "Cutive Mono", monospace;
  font-family: "Cutive Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 38px;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.site-shell {
  overflow: clip;
  background: var(--paper);
}

.masthead {
  position: relative;
  min-height: 334px;
  padding: 18px clamp(22px, 8vw, 132px) 0;
  background: #fff;
  border-bottom: 1px solid rgba(42, 79, 79, 0.14);
}

.seal {
  display: block;
  width: 74px;
  height: 74px;
}

.masthead-seal {
  position: absolute;
  top: 56px;
  width: 126px;
  height: 126px;
}

.masthead-seal--left {
  left: clamp(28px, 9.4vw, 150px);
}

.masthead-seal--right {
  right: clamp(28px, 9.4vw, 150px);
}

.portrait-link {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  width: 285px;
  height: 285px;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translateX(-50%);
  cursor: zoom-in;
}

.portrait {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.portrait-lightbox {
  width: min(980px, calc(100% - 36px));
  max-width: none;
  max-height: calc(100dvh - 36px);
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  color: var(--paper);
  background: transparent;
}

.portrait-lightbox::backdrop {
  background: rgba(42, 79, 79, 0.9);
}

.portrait-lightbox img {
  display: block;
  width: 100%;
  max-height: calc(100dvh - 36px);
  margin: auto;
  object-fit: contain;
}

.portrait-lightbox__close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  border: 2px solid var(--green-dark);
  border-radius: 50%;
  color: var(--green-dark);
  background: var(--paper);
  font-family: "Cutive Mono", monospace;
  font-size: 24px;
  cursor: pointer;
}

.main-nav {
  position: absolute;
  bottom: 0;
  left: 50%;
  display: flex;
  gap: clamp(22px, 4vw, 64px);
  transform: translateX(-50%);
  white-space: nowrap;
}

.main-nav a {
  position: relative;
  padding: 14px 4px 13px;
  font-size: 17px;
  text-decoration: none;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: var(--green-dark);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.brand-intro {
  background: #fff;
}

.brand-lockup {
  display: grid;
  place-content: center;
  min-height: 96px;
  padding: 14px 24px;
  color: #fff;
  background: var(--red-dark);
  font-family: "Major Mono Display", monospace;
}

.brand-lockup p,
.brand-lockup h1 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 400;
  line-height: 1.12;
}

.about-copy {
  width: min(620px, calc(100% - 48px));
  margin: 0 auto;
  padding: 40px 0 44px;
  font-size: 15px;
  line-height: 1.55;
}

.eyebrow,
.status-label,
.date-label {
  margin: 0;
  color: var(--red-dark);
  font-family: "Cutive Mono", monospace;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.about-copy > h2,
.contact-copy h2,
.window-empty h2,
.app-dialog h2 {
  margin: 10px 0 20px;
  color: var(--green-dark);
  font-family: "Major Mono Display", monospace;
  font-size: clamp(27px, 3.4vw, 38px);
  font-weight: 400;
  line-height: 1.08;
}

.about-copy p:not(.eyebrow) {
  margin: 0 0 16px;
}

.about-signoff {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  left: 50%;
  width: max-content;
  max-width: calc(100vw - 48px);
  margin-top: 24px;
  transform: translateX(-50%);
}

.about-signoff span {
  padding: 9px 12px;
  color: #fff;
  background: var(--green-dark);
  font-size: 14px;
  line-height: 1.35;
}

.ecosystem-block,
.teaching-bridge {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(250px, 0.65fr);
  align-items: end;
  gap: clamp(34px, 6vw, 84px);
  width: min(1040px, calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

.ecosystem-block {
  margin-bottom: 68px;
  padding: clamp(28px, 4vw, 44px);
  border: 2px solid var(--green-light);
  border-radius: 18px;
  background: #f6f7f5;
}

.ecosystem-block h2,
.teaching-bridge h2,
.story-crosslink h2 {
  margin: 10px 0 16px;
  color: var(--green-dark);
  font-family: "Major Mono Display", monospace;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 400;
  line-height: 1.12;
}

.ecosystem-block__copy > p:last-child,
.teaching-bridge__copy > p:last-child {
  margin: 0;
  line-height: 1.6;
}

.ecosystem-actions {
  display: grid;
  align-content: end;
  gap: 4px;
}

.ecosystem-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 54px;
  padding: 10px 0;
  border-top: 1px solid var(--green-dark);
  color: var(--green-dark);
  font-family: "Cutive Mono", monospace;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.ecosystem-link:last-child {
  border-bottom: 1px solid var(--green-dark);
}

.ecosystem-link .circle-icon {
  flex: 0 0 auto;
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.ecosystem-link:hover,
.ecosystem-link:focus-visible {
  color: var(--red-dark);
}

.ecosystem-link:hover .circle-icon,
.ecosystem-link:focus-visible .circle-icon {
  border-color: var(--red-dark);
  transform: translateX(3px);
}

.section-band {
  display: grid;
  min-height: 60px;
  place-items: center;
  padding: 8px 24px;
  scroll-margin-top: 24px;
}

.section-band h1,
.section-band h2 {
  margin: 0;
  font-family: "Major Mono Display", monospace;
  font-size: clamp(27px, 3vw, 42px);
  font-weight: 400;
}

.section-band--gold {
  color: var(--red-dark);
  background: var(--gold);
}

.section-band--rose {
  color: var(--red-dark);
  background: var(--red-light);
}

.section-band--green {
  color: #fff;
  background: var(--green-light);
}

.section-band--red {
  color: #fff;
  background: var(--red-dark);
}

.card-rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 48px max(28px, calc((100vw - 1320px) / 2));
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.card-rail::-webkit-scrollbar {
  display: none;
}

.news-section {
  padding-bottom: 42px;
  background: #fff;
}

.news-card {
  display: grid;
  flex: 0 0 min(520px, 76vw);
  grid-template-columns: 168px 1fr;
  min-height: 216px;
  overflow: hidden;
  border: 1.5px solid var(--red-light);
  border-radius: 14px;
  background: #fff;
  scroll-snap-align: start;
}

.news-image {
  width: 100%;
  height: 100%;
  min-height: 216px;
  object-fit: cover;
  object-position: left top;
  border-right: 1px solid var(--red-light);
}

.news-content {
  position: relative;
  padding: 18px 66px 18px 20px;
}

.card-seal {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
}

.news-content h3 {
  margin: 12px 0 12px;
  color: var(--green-dark);
  font-family: "Major Mono Display", monospace;
  font-size: 18px;
  line-height: 1.18;
}

.news-content > p:not(.date-label) {
  margin: 0 0 18px;
  font-size: 12px;
  line-height: 1.42;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: var(--green-dark);
  background: transparent;
  font-family: "Cutive Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
}

.text-link svg {
  width: 14px;
  height: 14px;
}

.text-link:hover {
  color: var(--red-dark);
}

.rail-controls {
  display: flex;
  justify-content: space-between;
  width: min(650px, calc(100% - 48px));
  margin: 12px auto 20px;
}

.rail-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 0;
  color: var(--green-dark);
  background: transparent;
  cursor: pointer;
}

.circle-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.circle-icon svg {
  width: 22px;
  height: 22px;
}

.window-section {
  background: #fff;
}

.window-empty {
  display: grid;
  justify-items: center;
  width: min(600px, calc(100% - 48px));
  margin: 0 auto;
  padding: 68px 24px 76px;
  text-align: center;
}

.window-empty .seal {
  width: 96px;
  height: 96px;
  margin-bottom: 20px;
}

.window-empty h2 {
  margin: 12px 0 18px;
  font-size: clamp(30px, 4vw, 46px);
}

.window-empty > p:not(.status-label) {
  margin: 0 0 26px;
  line-height: 1.55;
}

.workbench-section {
  padding-bottom: 42px;
  background: #fff;
}

.workbench-intro {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 52px 0 8px;
  text-align: center;
  line-height: 1.5;
}

.workbench-rail {
  gap: 34px;
  padding-top: 38px;
  padding-bottom: 28px;
}

.app-card {
  flex: 0 0 min(620px, 76vw);
  overflow: hidden;
  border: 2px solid var(--green-light);
  border-radius: 16px;
  background: #fff;
  scroll-snap-align: start;
}

.app-screen-wrap {
  position: relative;
  height: 310px;
  overflow: hidden;
  border-bottom: 2px solid var(--green-light);
  background: #eef0ee;
}

.app-screen {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.status-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 8px 10px;
  border: 1px solid var(--red-dark);
  color: #fff;
  background: var(--red-dark);
  font-size: 11px;
}

.app-card-body {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 15px 18px;
  padding: 18px;
}

.app-icon {
  width: 58px;
  height: 58px;
  border-radius: 13px;
}

.app-card-heading {
  display: grid;
  grid-template-columns: minmax(130px, 0.7fr) minmax(190px, 1.3fr);
  align-items: baseline;
  gap: 16px;
}

.app-card h3 {
  margin: 0;
  color: var(--green-light);
  font-family: "Cutive Mono", monospace;
  font-size: 20px;
  font-weight: 700;
}

.app-card-heading p,
.app-description {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
}

.app-description,
.app-card .text-link {
  grid-column: 2;
}

.app-card .text-link {
  justify-self: end;
}

.contact-section {
  background: #fff;
}

.teaching-bridge {
  margin-top: 72px;
  margin-bottom: 72px;
  padding: clamp(34px, 5vw, 52px) clamp(4px, 2vw, 22px);
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  background: #fff;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  gap: clamp(42px, 8vw, 120px);
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  padding: 60px 0 76px;
}

.contact-copy h2 {
  margin-bottom: 22px;
  font-size: clamp(31px, 4vw, 48px);
}

.contact-copy > p:not(.eyebrow) {
  line-height: 1.55;
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--red-dark);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 28px;
  border: 2px solid var(--red-light);
  border-radius: 16px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--red-dark);
  font-family: "Cutive Mono", monospace;
  font-size: 12px;
  font-weight: 700;
}

.contact-form label:nth-of-type(3),
.contact-form label:nth-of-type(4) {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: var(--paper);
  padding: 11px 12px;
}

.contact-form textarea {
  resize: vertical;
}

.submit-button {
  display: inline-flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  border: 0;
  color: #fff;
  background: var(--green-dark);
  font-family: "Cutive Mono", monospace;
  font-weight: 700;
  cursor: pointer;
}

.app-dialog h2 {
  font-family: "Cutive Mono", monospace;
  font-weight: 700;
}

.submit-button:hover {
  background: var(--red-dark);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 28px;
  min-height: 122px;
  padding: 18px clamp(24px, 8vw, 120px);
  color: #fff;
  background: var(--green-dark);
}

.site-footer .seal {
  justify-self: center;
}

.site-footer > p {
  justify-self: end;
  margin: 0 0 2px;
  font-size: 13px;
}

.footer-wordmark {
  display: grid;
  min-width: 390px;
  text-align: center;
}

.footer-wordmark small {
  font-size: 14px;
  letter-spacing: 0.26em;
}

.top-button {
  position: fixed;
  z-index: 10;
  right: 22px;
  bottom: var(--top-button-bottom, 22px);
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  color: var(--red-dark);
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: bottom 120ms linear, opacity 180ms ease, transform 180ms ease;
  cursor: pointer;
}

.top-button--visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.top-button .circle-icon {
  border-color: var(--red-dark);
  background: var(--red-light);
}

.app-dialog {
  width: min(880px, calc(100% - 36px));
  max-height: calc(100dvh - 36px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 2px solid var(--green-dark);
  border-radius: 18px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 14px 14px 0 var(--green-dark);
}

.app-dialog::backdrop {
  background: rgba(42, 79, 79, 0.78);
}

.dialog-close {
  position: sticky;
  z-index: 2;
  top: 16px;
  float: right;
  display: grid;
  width: 42px;
  height: 42px;
  margin: 16px 16px -58px 0;
  place-items: center;
  border: 2px solid var(--green-dark);
  border-radius: 50%;
  color: var(--green-dark);
  background: var(--paper);
  cursor: pointer;
}

.dialog-hero {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  align-items: center;
  padding: 44px clamp(24px, 6vw, 64px) 36px;
  background: var(--gold);
}

.dialog-icon {
  width: 110px;
  height: 110px;
  border-radius: 25px;
}

.dialog-hero .status-label {
  color: var(--red-dark);
}

.dialog-hero h2 {
  margin: 8px 0 4px;
  color: var(--red-dark);
}

.dialog-deck {
  margin: 0;
  font-size: 17px;
}

.dialog-screen {
  display: block;
  width: calc(100% - 80px);
  max-height: 460px;
  margin: 40px auto 0;
  border: 1px solid var(--line);
  object-fit: contain;
  object-position: top;
}

.dialog-copy,
.dialog-note,
.app-dialog > .text-link {
  width: min(660px, calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

.dialog-copy {
  padding: 36px 0 14px;
  font-size: 16px;
  line-height: 1.6;
}

.dialog-note {
  padding: 20px;
  border-left: 8px solid var(--red-light);
  background: #fff;
}

.dialog-note p {
  margin-bottom: 0;
}

.app-dialog > .text-link {
  display: flex;
  width: fit-content;
  margin-top: 30px;
  margin-bottom: 48px;
}

/* Ghost-native additions */

.member-actions {
  position: absolute;
  z-index: 4;
  top: 14px;
  right: clamp(20px, 4vw, 64px);
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
}

.language-switcher {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  color: var(--green-dark);
}

.language-switcher a {
  padding: 6px 4px;
  text-decoration: none;
}

.language-switcher a.is-active {
  color: var(--red-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.language-switcher--solo {
  position: absolute;
  z-index: 4;
  top: 14px;
  right: clamp(20px, 4vw, 64px);
  font-size: 12px;
}

.member-actions__divider {
  width: 1px;
  height: 18px;
  margin: 0 2px;
  background: var(--line);
}

.member-actions a {
  padding: 6px 8px;
  color: var(--green-dark);
  text-decoration: none;
}

.member-actions__join {
  border: 1px solid var(--green-dark);
}

.member-panel {
  align-self: start;
  padding: 28px;
  border: 2px solid var(--red-light);
  border-radius: 16px;
  background: #fff;
}

.member-panel h3 {
  margin: 12px 0;
  color: var(--green-dark);
  font-size: 24px;
}

.member-panel .submit-button {
  margin-top: 18px;
  padding: 0 18px;
  text-decoration: none;
}

.newsletter-form {
  grid-template-columns: 1fr;
}

.newsletter-form__intro,
.newsletter-form label,
.newsletter-form .submit-button,
.newsletter-form .form-message {
  grid-column: 1 / -1;
}

.newsletter-form__intro p:last-child {
  margin-bottom: 0;
  line-height: 1.5;
}

.form-message {
  display: none;
  margin: 0;
  font-size: 13px;
}

.newsletter-form.success .form-message--success,
.newsletter-form.error .form-message--error {
  display: block;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
  font-size: 13px;
}

.footer-links a,
.rail-action {
  text-decoration: none;
}

.app-card-body--ghost {
  grid-template-columns: 1fr;
}

.app-card-body--ghost .app-card-heading,
.app-card-body--ghost .app-description,
.app-card-body--ghost .text-link {
  grid-column: 1;
}

.app-screen-placeholder,
.news-image--empty {
  display: grid;
  place-items: center;
  min-height: 100%;
  color: var(--green-dark);
  background: #eef0ee;
}

.archive-shell,
.post-shell {
  min-height: 60vh;
  background: var(--paper);
}

.post-back {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 34px;
}

.post-back a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.post-back .circle-icon {
  width: 34px;
  height: 34px;
  border-width: 2px;
}

.post-back a:hover,
.post-back a:focus-visible {
  color: var(--red-dark);
}

.archive-intro,
.post-hero,
.post-content,
.post-member-cta,
.post-comments {
  width: min(760px, calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

.archive-intro {
  padding: 48px 0 26px;
  line-height: 1.6;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 10px 0 70px;
}

.archive-grid .news-card {
  min-width: 0;
}

.archive-grid .app-card {
  min-width: 0;
}

.archive-empty {
  grid-column: 1 / -1;
  padding: 48px;
  border: 2px solid var(--red-light);
  text-align: center;
}

.post-hero {
  padding: 64px 0 34px;
}

.post-hero h1 {
  margin: 12px 0 18px;
  color: var(--green-dark);
  font-family: "Major Mono Display", monospace;
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 400;
  line-height: 1.04;
}

.post-deck {
  font-size: 20px;
  line-height: 1.45;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 24px;
  color: var(--red-dark);
  font-size: 12px;
}

.post-feature {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto 46px;
}

.post-feature img {
  display: block;
  width: 100%;
  max-height: 720px;
  border: 2px solid var(--green-light);
  object-fit: contain;
  background: #fff;
}

.post-feature figcaption {
  margin-top: 8px;
  font-size: 12px;
}

.post-content {
  padding-bottom: 46px;
  font-size: 17px;
  line-height: 1.72;
}

.post-content h2,
.post-content h3 {
  color: var(--green-dark);
  line-height: 1.2;
}

.post-content h2 {
  margin: 2em 0 0.7em;
  font-family: "Major Mono Display", monospace;
  font-size: 34px;
  font-weight: 400;
}

.post-content h3 {
  margin: 1.7em 0 0.5em;
  font-size: 24px;
}

.post-content img {
  max-width: 100%;
  height: auto;
}

.gh-content .kg-width-wide {
  width: min(980px, calc(100vw - 48px));
  max-width: none;
  margin-right: 50%;
  margin-left: 50%;
  transform: translateX(-50%);
}

.gh-content .kg-width-full {
  width: 100vw;
  max-width: none;
  margin-right: 50%;
  margin-left: 50%;
  transform: translateX(-50%);
}

.post-content a {
  color: var(--red-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.post-member-cta {
  margin-bottom: 50px;
  padding: 30px;
  border-left: 10px solid var(--gold);
  background: #fff;
}

.post-member-cta h2 {
  margin: 10px 0;
  color: var(--green-dark);
}

.post-member-cta .submit-button {
  width: fit-content;
  margin-top: 18px;
  padding: 0 18px;
  text-decoration: none;
}

.story-crosslink {
  width: min(760px, calc(100% - 48px));
  margin: 50px auto 0;
  padding: 26px 28px 28px;
  border: 2px solid var(--green-light);
  border-radius: 16px;
  background: #f6f7f5;
}

.story-crosslink h2 {
  font-size: clamp(23px, 3vw, 31px);
}

.story-crosslink .ecosystem-link {
  margin-top: 22px;
}

.post-comments {
  padding: 22px 0 70px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 0 24px 70px;
}

.pagination a {
  color: var(--green-dark);
}

@media (max-width: 760px) {
  .masthead {
    min-height: 270px;
    padding: 12px 16px 0;
  }

  .masthead-seal {
    top: 38px;
    width: 72px;
    height: 72px;
  }

  .masthead-seal--left {
    left: 18px;
  }

  .masthead-seal--right {
    right: 18px;
  }

  .portrait-link {
    width: 190px;
    height: 190px;
  }

  .main-nav {
    right: 12px;
    left: 12px;
    justify-content: space-between;
    gap: 0;
    transform: none;
  }

  .main-nav a {
    padding-inline: 2px;
    font-size: 11px;
  }

  .member-actions {
    right: 10px;
    gap: 3px;
    font-size: 10px;
  }

  .member-actions a,
  .language-switcher a {
    padding-inline: 3px;
  }

  .member-actions__join {
    display: none;
  }

  .brand-lockup {
    min-height: 84px;
  }

  .about-copy {
    padding: 44px 0 52px;
    font-size: 15px;
  }

  .about-signoff {
    left: auto;
    width: auto;
    max-width: none;
    transform: none;
  }

  .ecosystem-block,
  .teaching-bridge {
    grid-template-columns: 1fr;
    gap: 26px;
    width: calc(100% - 28px);
  }

  .ecosystem-block {
    margin-bottom: 52px;
    padding: 24px 20px;
  }

  .ecosystem-link {
    padding-right: 48px;
  }

  .teaching-bridge {
    margin-top: 52px;
    margin-bottom: 52px;
    padding: 34px 8px;
  }

  .story-crosslink {
    width: calc(100% - 32px);
    padding: 22px 20px 24px;
  }

  .news-card {
    flex-basis: 86vw;
    grid-template-columns: 118px 1fr;
  }

  .news-content {
    padding: 16px 16px 16px;
  }

  .card-seal {
    display: none;
  }

  .news-content h3 {
    font-size: 15px;
  }

  .news-content > p:not(.date-label) {
    font-size: 12px;
  }

  .rail-controls {
    width: calc(100% - 28px);
  }

  .rail-action {
    font-size: 11px;
  }

  .app-card {
    flex-basis: 88vw;
  }

  .app-screen-wrap {
    height: 230px;
  }

  .app-card-body {
    grid-template-columns: 48px 1fr;
  }

  .app-icon {
    width: 48px;
    height: 48px;
  }

  .app-card-heading {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 48px 0 56px;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .contact-form label {
    grid-column: 1 / -1;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 16px;
    padding: 26px 20px;
  }

  .site-footer > p {
    justify-self: center;
  }

  .footer-wordmark {
    min-width: 0;
  }

  .footer-wordmark small {
    font-size: 12px;
    letter-spacing: 0.18em;
  }

  .dialog-hero {
    grid-template-columns: 72px 1fr;
    gap: 16px;
  }

  .dialog-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
  }

  .dialog-hero h2 {
    font-size: 28px;
  }

  .dialog-screen {
    width: calc(100% - 32px);
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 760px) {
  .member-actions {
    top: 4px;
    right: 8px;
    gap: 0;
    font-size: 10px;
  }

  .member-actions a {
    padding: 5px;
  }

  .archive-grid {
    grid-template-columns: 1fr;
    width: calc(100% - 28px);
  }

  .archive-grid .news-card {
    grid-template-columns: 118px 1fr;
  }

  .post-hero,
  .post-back,
  .post-content,
  .post-member-cta,
  .post-comments {
    width: calc(100% - 32px);
  }

  .post-hero {
    padding-top: 46px;
  }

  .post-back {
    padding-top: 24px;
  }

  .post-feature {
    width: calc(100% - 20px);
  }

  .footer-links {
    flex-wrap: wrap;
  }
}
