body.story-page {
  background: var(--about-sand);
  color: var(--earth);
  min-width: 0;
  max-width: 100%;
}

.story-page * {
  box-sizing: border-box;
}

.story-page h1,
.story-page h2,
.story-page h3,
.story-page p,
.story-page li,
.story-page summary,
.story-page a {
  max-width: 100%;
  overflow-wrap: break-word;
}

.story-page .site-header {
  background: var(--about-sand);
  padding: 24px clamp(22px, 5vw, 72px) 0;
  max-width: 100%;
}

.story-page .main-nav {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(16px, 3vw, 38px);
  color: rgba(64, 55, 46, 0.74);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.35;
  min-width: 0;
}

.story-page .main-nav a {
  padding: 4px 0;
}

.story-page .nav-subgroup {
  display: grid;
  gap: 3px;
  color: rgba(64, 55, 46, 0.56);
  font-size: 13px;
}

.story-shell {
  width: min(1120px, calc(100% - 56px));
  margin: 0 auto;
  padding: 78px 0 116px;
}

.story-reading-shell {
  width: min(760px, calc(100% - 56px));
}

.story-hero {
  max-width: 820px;
  padding: 22px 0 76px;
}

.story-hero-mark {
  display: flex;
  align-items: flex-start;
  gap: clamp(18px, 2.4vw, 30px);
}

.story-hero-mark img {
  flex: 0 0 auto;
  width: clamp(42px, 4.4vw, 58px);
  height: auto;
  margin-top: clamp(3px, 0.7vw, 8px);
  opacity: 0.82;
}

.story-kicker,
.story-label,
.prototype-note,
.practice-method,
.practice-method-description,
.sources-body small {
  font-family: Arial, Helvetica, sans-serif;
}

.story-kicker,
.story-label {
  margin: 0 0 16px;
  color: rgba(64, 55, 46, 0.56);
  font-size: 13px;
  line-height: 1.45;
}

.story-hero h1,
.territory-header h1,
.reflection-header h1 {
  margin: 0;
  color: var(--earth);
  font-weight: 400;
  letter-spacing: 0;
  white-space: normal;
}

.story-hero h1 {
  font-size: clamp(44px, 5vw, 70px);
  line-height: 1.04;
}

.story-subtitle {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--earth-muted);
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.58;
}

.story-prototype-copy {
  max-width: 660px;
  margin: 38px 0 0;
  color: rgba(64, 55, 46, 0.72);
  font-size: 18px;
  line-height: 1.72;
}

.story-dev-only {
  display: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.story-section-heading {
  margin-bottom: 34px;
}

.story-section-heading h2,
.story-section h2,
.sources-block summary {
  margin: 0;
  color: var(--earth);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.18;
  font-weight: 400;
}

.story-home .story-map-section {
  max-width: 980px;
}

.story-home .story-section-heading {
  margin-bottom: 4px;
}

.territory-field {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(42px, auto);
  column-gap: clamp(24px, 5vw, 72px);
  row-gap: clamp(18px, 3vw, 42px);
  min-height: 285px;
  padding: clamp(28px, 3.6vw, 46px) 0 clamp(12px, 2.4vw, 28px);
}

.territory-area {
  min-height: 150px;
  padding: 18px 0 22px;
  color: inherit;
}

.territory-area h3 {
  margin: 0;
}

.territory-title-link {
  display: inline-block;
  margin: -14px 0 0 -16px;
  padding: 14px 16px;
  color: var(--earth);
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.territory-title-link:hover,
.territory-title-link:focus-visible {
  color: rgba(64, 55, 46, 0.74);
  transform: translateY(-1px);
  outline: none;
}

.territory-title-link:focus-visible,
.story-page a:focus-visible,
.practice-card summary:focus-visible,
.sources-block summary:focus-visible {
  box-shadow: 0 0 0 2px rgba(64, 55, 46, 0.22);
}

.territory-area h3 {
  display: block;
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.12;
  font-weight: 400;
}

.territory-area p {
  display: block;
  max-width: 420px;
  margin: 10px 0 0;
  color: var(--earth-muted);
  font-size: 17px;
  line-height: 1.6;
}

.territory-area-presence {
  grid-column: 1 / span 5;
  grid-row: 1 / span 3;
}

.territory-area-pattern {
  grid-column: 7 / span 5;
  grid-row: 2 / span 4;
}

.story-back {
  margin: 0 0 54px;
}

.story-lower-back {
  margin: 92px 0 0;
  padding-top: 28px;
  border-top: 1px solid rgba(64, 55, 46, 0.12);
}

.story-back a,
.story-lower-back a,
.story-entry h2 a,
.practice-page-link a,
.related-list a,
.go-item a {
  color: inherit;
  text-decoration: none;
}

.story-back a,
.story-lower-back a,
.practice-page-link a,
.related-list a {
  color: rgba(64, 55, 46, 0.72);
  font-size: 18px;
  line-height: 1.6;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
}

.territory-header {
  max-width: 760px;
  margin-bottom: 86px;
}

.territory-theme-link {
  display: inline-flex;
  min-height: 44px;
  margin-top: 28px;
  align-items: center;
  color: rgba(64, 55, 46, 0.76);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-color: rgba(64, 55, 46, 0.34);
  text-underline-offset: 0.2em;
}

.territory-theme-link:hover {
  color: #241f1a;
  text-decoration-color: currentColor;
}

.territory-header h1,
.reflection-header h1 {
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.08;
}

.story-context,
.prototype-note {
  margin-top: 28px;
}

.story-context p,
.prototype-note {
  color: var(--earth-muted);
  font-size: 19px;
  line-height: 1.7;
}

.prototype-note {
  padding: 18px 0;
  border-top: 1px solid rgba(64, 55, 46, 0.12);
  border-bottom: 1px solid rgba(64, 55, 46, 0.12);
  font-size: 14px;
}

.story-entry-list {
  display: grid;
  gap: 34px;
}

.story-entry {
  max-width: 760px;
  padding: 0;
}

.story-territory-page .territory-header {
  margin-bottom: 58px;
}

.story-territory-page .story-entry-list {
  width: min(1400px, calc(100vw - 40px));
  margin-left: calc((100% - min(1400px, calc(100vw - 40px))) / 2);
  row-gap: clamp(34px, 4vw, 52px);
  max-width: none;
}

.story-territory-page .story-entry-list:has(.story-entry:nth-of-type(4)) {
  row-gap: clamp(30px, 3.4vw, 44px);
}

.story-territory-page .story-section-heading {
  margin: 0;
}

.story-territory-page .story-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  max-width: none;
}

.story-territory-page .story-entry h2 {
  width: max-content;
  max-width: min(720px, 100%);
  font-size: clamp(27px, 2.7vw, 34px);
  overflow-wrap: normal;
}

.story-territory-page .story-entry h2 a {
  display: inline;
  width: auto;
  max-width: none;
  overflow-wrap: normal;
}

.story-territory-page .story-entry:nth-of-type(odd) h2 {
  grid-column: 1;
  justify-self: end;
  text-align: right;
}

.story-territory-page .story-entry:nth-of-type(even) h2 {
  grid-column: 2;
  justify-self: start;
  text-align: left;
}

.story-entry h2 {
  margin: 0;
  color: var(--earth);
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.18;
  font-weight: 400;
}

.story-entry h2 a {
  display: inline-block;
  margin: -12px 0 0 -12px;
  padding: 12px;
  transition: color 160ms ease, transform 160ms ease;
}

.story-entry h2 a:hover,
.story-entry h2 a:focus-visible {
  color: rgba(64, 55, 46, 0.74);
  transform: translateY(-1px);
  outline: none;
}

.reflection-header {
  margin-bottom: 56px;
}

.reflection-header .story-label a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.story-body {
  color: var(--earth);
  font-size: 20px;
  line-height: 1.78;
}

.story-body p,
.story-body ul,
.story-body blockquote {
  margin: 0;
}

.story-body p + p,
.story-body p + ul,
.story-body ul + p,
.story-body blockquote + p,
.story-body p + blockquote {
  margin-top: 24px;
}

.story-body h2,
.story-body h3,
.story-body h4 {
  margin: 58px 0 24px;
  color: var(--earth);
  font-weight: 400;
  line-height: 1.24;
}

.story-body h2 {
  font-size: 30px;
}

.story-body h3,
.story-body h4 {
  font-size: 25px;
}

.story-body ul {
  padding-left: 26px;
}

.story-body li + li {
  margin-top: 8px;
}

.story-body blockquote {
  padding: 8px 0 8px 24px;
  border-left: 1px solid rgba(64, 55, 46, 0.28);
  color: rgba(64, 55, 46, 0.76);
}

.reflection-pause {
  width: 72px;
  height: 1px;
  margin: 78px 0 78px;
  background: rgba(64, 55, 46, 0.22);
}

.story-section {
  margin-top: 92px;
}

.practice-card {
  border-top: 1px solid rgba(64, 55, 46, 0.14);
}

.practice-card:last-child {
  border-bottom: 1px solid rgba(64, 55, 46, 0.14);
}

.practice-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
}

.practice-card summary::-webkit-details-marker {
  display: none;
}

.practice-card summary strong {
  display: block;
  color: var(--earth);
  font-size: 24px;
  line-height: 1.28;
  font-weight: 400;
}

.practice-disclosure-indicator {
  position: relative;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 4px;
}

.practice-disclosure-indicator::before,
.practice-disclosure-indicator::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 4px;
  width: 14px;
  height: 1px;
  background: rgba(64, 55, 46, 0.58);
}

.practice-disclosure-indicator::after {
  transform: rotate(90deg);
  transition: transform 160ms ease;
}

.practice-card[open] .practice-disclosure-indicator::after {
  transform: rotate(0deg);
}

.practice-card-body {
  padding: 4px 0 34px;
}

.practice-card-body .story-body,
.practice-card-body p,
.practice-card-body ul {
  color: var(--earth-muted);
  font-size: 18px;
  line-height: 1.72;
}

.practice-page-link {
  margin-top: 32px;
}

.practice-method,
.practice-method-description {
  margin: 20px 0 0;
  color: rgba(64, 55, 46, 0.62);
  font-size: 14px;
  line-height: 1.55;
}

.practice-method-description {
  margin-top: 8px;
}

.go-further {
  padding-top: 8px;
}

.go-list,
.related-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.go-item {
  border-top: 1px solid rgba(64, 55, 46, 0.12);
}

.go-item:last-child {
  border-bottom: 1px solid rgba(64, 55, 46, 0.12);
}

.go-item a {
  display: block;
  padding: 24px 0 26px;
}

.go-copy {
  min-width: 0;
}

.go-copy strong {
  display: block;
  color: var(--earth);
  font-size: 23px;
  line-height: 1.28;
  font-weight: 400;
}

.go-copy span:last-child:not(.story-label) {
  display: block;
  max-width: 620px;
  margin-top: 12px;
  color: var(--earth-muted);
  font-size: 17px;
  line-height: 1.6;
}

.sources-block {
  margin-top: 96px;
  padding-top: 24px;
  border-top: 1px solid rgba(64, 55, 46, 0.16);
}

.sources-block summary {
  cursor: pointer;
  font-size: 24px;
  list-style: none;
}

.sources-block summary::-webkit-details-marker {
  display: none;
}

.sources-body {
  margin-top: 28px;
  color: rgba(64, 55, 46, 0.68);
  font-size: 16px;
  line-height: 1.72;
}

.sources-body h2,
.sources-body h3,
.sources-body h4 {
  margin: 34px 0 14px;
  color: var(--earth);
  font-weight: 400;
  line-height: 1.28;
}

.sources-body h2 { font-size: 24px; }
.sources-body h3 { font-size: 22px; }
.sources-body h4 { font-size: 19px; }

.sources-body p,
.sources-body blockquote {
  margin: 0;
}

.sources-body p + p,
.sources-body p + blockquote,
.sources-body blockquote + p {
  margin-top: 18px;
}

.sources-body blockquote {
  padding-left: 18px;
  border-left: 1px solid rgba(64, 55, 46, 0.24);
}

.sources-body ul {
  display: grid;
  gap: 18px;
  margin: 24px 0 0;
  padding-left: 20px;
}

.sources-body small {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.55;
}

.related-reflections {
  padding-top: 16px;
}

.related-list {
  display: grid;
  gap: 14px;
}

.story-footer {
  background: var(--about-sand);
  color: rgba(64, 55, 46, 0.56);
}

@media (max-width: 820px) {
  .story-page .main-nav {
    flex-wrap: wrap;
    gap: 8px 16px;
    max-width: calc(100vw - 36px);
    margin: 0 auto;
  }

  .story-page .main-nav a {
    font-size: 13px;
  }

  .story-page .nav-subgroup {
    display: contents;
  }

  .story-shell,
  .story-reading-shell {
    width: min(720px, calc(100% - 40px));
    padding: 58px 0 86px;
  }

  .story-hero {
    padding-bottom: 58px;
  }

  .story-hero-mark {
    gap: 16px;
  }

  .story-hero-mark img {
    width: 38px;
    margin-top: 0;
  }

  .story-hero h1,
  .territory-header h1,
  .reflection-header h1 {
    font-size: 34px;
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  .story-territory-page .territory-header {
    margin-bottom: 50px;
  }

  .story-territory-page .story-entry-list {
    width: auto;
    margin-left: 0;
    row-gap: 34px;
    max-width: 720px;
  }

  .story-territory-page .story-entry-list:has(.story-entry:nth-of-type(4)) {
    row-gap: 29px;
  }

  .story-territory-page .story-entry {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .story-territory-page .story-entry h2 {
    max-width: min(351px, 100%);
  }

  .territory-field {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    min-height: 0;
    gap: 28px 24px;
    padding: 24px 0 16px;
  }

  .territory-area-presence {
    grid-column: 1 / span 5;
    grid-row: auto;
  }

  .territory-area-pattern {
    grid-column: 4 / span 5;
    grid-row: auto;
  }

  .territory-area {
    min-height: 0;
    padding: 12px 0 18px;
  }

  .story-body {
    font-size: 18px;
    line-height: 1.72;
    overflow-wrap: anywhere;
  }

  .story-body h2 {
    font-size: 26px;
  }

  .practice-card summary {
    align-items: flex-start;
    min-height: 78px;
  }
}

@media (max-width: 480px) {
  .story-shell,
  .story-reading-shell {
    width: min(340px, calc(100% - 32px));
  }

  .story-hero h1,
  .territory-header h1,
  .reflection-header h1 {
    font-size: 31px;
  }

  .story-hero-mark {
    display: block;
  }

  .story-hero-mark img {
    display: block;
    width: 32px;
    margin: 0 0 18px;
  }

  .territory-field {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-top: 22px;
  }

  .territory-area-presence,
  .territory-area-pattern {
    grid-column: auto;
  }

  .territory-area h3 {
    font-size: 31px;
  }

  .territory-area p {
    max-width: 100%;
    font-size: 16px;
    margin-top: 8px;
  }

  .story-territory-page .territory-header {
    margin-bottom: 44px;
  }

  .story-territory-page .story-entry-list {
    width: auto;
    margin-left: 0;
    row-gap: 28px;
    max-width: 100%;
  }

  .story-territory-page .story-entry-list:has(.story-entry:nth-of-type(4)) {
    row-gap: 24px;
  }

  .story-territory-page .story-entry {
    display: block;
    max-width: 100%;
  }

  .story-territory-page .story-entry:nth-of-type(even) {
    padding-left: 20px;
  }

  .story-territory-page .story-entry h2 {
    width: auto;
    max-width: 100%;
    font-size: clamp(27px, 8vw, 32px);
  }

  .story-territory-page .story-entry h2 a {
    display: inline;
    width: auto;
    max-width: none;
  }

  .story-territory-page .story-entry:nth-of-type(n) h2 {
    grid-column: auto;
    justify-self: auto;
    text-align: left;
  }

  .practice-card summary {
    gap: 16px;
  }
}
