:root {
  --paper: #f3eee3;
  --paper-bright: #fffaf0;
  --ink: #181713;
  --muted: #6e685e;
  --line: #d9cfbb;
  --night: #11100d;
  --night-soft: #1a1813;
  --gold: #bd8427;
  --gold-bright: #e8b95e;
  --gold-wash: #eee0bf;
  --teal: #4f9899;
  --coral: #b76355;
  --shadow: rgba(31, 25, 14, 0.18);
  --page-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  margin: 0;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

.skip-link {
  background: var(--paper-bright);
  left: 16px;
  padding: 10px 14px;
  position: fixed;
  top: -80px;
  z-index: 100;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  align-items: center;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  margin: 0 auto;
  max-width: var(--page-width);
  padding: 18px 28px;
  position: relative;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 11px;
  text-decoration: none;
}

.brand-mark {
  align-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  display: inline-flex;
  flex: 0 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-text strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.main-navigation {
  align-items: center;
  display: flex;
  gap: clamp(18px, 3vw, 38px);
  justify-content: flex-end;
}

.main-navigation a {
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
}

.main-navigation a:hover,
.main-navigation a:focus-visible {
  color: var(--ink);
}

.main-navigation a.is-current {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 7px;
}

.menu-toggle {
  background: transparent;
  border: 0;
  color: var(--ink);
  display: none;
}

.hero {
  background:
    radial-gradient(circle at 79% 34%, rgba(210, 156, 62, 0.17), transparent 25%),
    var(--paper);
  display: grid;
  gap: clamp(40px, 7vw, 96px);
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.92fr);
  margin: 0 auto;
  max-width: var(--page-width);
  min-height: 680px;
  overflow: hidden;
  padding: clamp(62px, 9vw, 116px) clamp(28px, 6vw, 76px) 82px;
}

.hero-copy {
  align-self: center;
  max-width: 720px;
}

.eyebrow,
.section-number {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

h1 {
  font-size: clamp(3rem, 6.3vw, 6rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin: 0;
  max-width: 11ch;
}

h2 {
  font-size: clamp(2.15rem, 4vw, 4.3rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
}

h3 {
  font-size: 1.55rem;
  margin: 0;
}

.hero-lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.65;
  margin: 30px 0 0;
  max-width: 59ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  display: inline-flex;
  gap: 9px;
  justify-content: center;
  min-height: 48px;
  padding: 12px 19px;
  text-decoration: none;
}

.button-primary {
  background: var(--ink);
  color: var(--paper-bright);
}

.button-secondary {
  background: transparent;
  border-color: var(--line);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.text-link {
  display: inline-flex;
  gap: 8px;
  margin-top: auto;
  text-decoration-color: var(--gold);
  text-underline-offset: 5px;
}

.text-link-light {
  color: #f7efdf;
}

.hero-visual {
  align-self: center;
  display: grid;
  min-height: 500px;
  place-items: center;
  position: relative;
}

.book-frame {
  background: var(--night);
  box-shadow: 0 34px 80px var(--shadow);
  margin: 0;
  max-width: 298px;
  padding: 11px 11px 0;
  position: relative;
  transform: rotate(2deg);
  z-index: 4;
}

.book-frame img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: top;
}

.book-frame figcaption {
  color: rgba(255, 250, 240, 0.66);
  font-size: 0.68rem;
  letter-spacing: 0.11em;
  padding: 11px 4px 13px;
  text-align: center;
  text-transform: uppercase;
}

.orbit {
  border: 1px solid rgba(189, 132, 39, 0.45);
  border-radius: 50%;
  position: absolute;
}

.orbit-one {
  height: 390px;
  width: 390px;
}

.orbit-two {
  height: 270px;
  transform: translate(44px, -62px);
  width: 270px;
}

.orbit-three {
  background: radial-gradient(circle, rgba(232, 185, 94, 0.2), transparent 66%);
  height: 470px;
  transform: translate(-42px, 38px);
  width: 470px;
}

.intro-section,
.paths-section,
.materials-section,
.site-footer {
  margin: 0 auto;
  max-width: var(--page-width);
}

.intro-section {
  background: var(--night);
  color: #f7efdf;
  padding: clamp(62px, 8vw, 100px) clamp(28px, 6vw, 76px);
}

.intro-grid {
  display: grid;
  gap: clamp(32px, 7vw, 94px);
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.76fr);
}

.intro-grid h2 {
  margin: 0;
  max-width: 13ch;
}

.intro-grid p {
  color: rgba(247, 239, 223, 0.7);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0 0 18px;
}

.author-strip {
  align-items: center;
  background: var(--gold-wash);
  display: grid;
  gap: clamp(24px, 4vw, 54px);
  grid-template-columns: auto 1fr auto;
  margin: 0 auto;
  max-width: var(--page-width);
  padding: 38px clamp(28px, 6vw, 76px);
}

.author-strip h2 {
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  margin: 0;
}

.author-strip p:not(.section-number) {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0;
  max-width: 64ch;
}

.author-monogram {
  align-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  display: flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  height: 78px;
  justify-content: center;
  width: 78px;
}

.paths-section {
  background: var(--paper-bright);
  padding: clamp(62px, 8vw, 100px) clamp(28px, 6vw, 76px);
}

.materials-section {
  background: var(--paper);
  padding: clamp(62px, 8vw, 100px) clamp(28px, 6vw, 76px);
}

.materials-section .section-heading h2 {
  max-width: 14ch;
}

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

.material {
  background: var(--paper-bright);
  border: 1px solid var(--line);
  display: flex;
  min-height: 300px;
  overflow: hidden;
}

.material-main {
  background: var(--night-soft);
  color: #f7efdf;
  grid-column: 1 / -1;
  min-height: 410px;
}

.material-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(24px, 4vw, 46px);
}

.material-copy .text-link {
  align-self: flex-start;
}

.material h3 {
  font-size: clamp(1.8rem, 3.3vw, 3.2rem);
  margin: 0;
  max-width: 14ch;
}

.material p:not(.material-type) {
  color: var(--muted);
  line-height: 1.65;
  max-width: 54ch;
}

.material-main p:not(.material-type) {
  color: rgba(247, 239, 223, 0.68);
}

.material-type {
  font-size: 0.7rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.material-type {
  color: var(--gold);
  margin: 0 0 18px;
}

.material-visual {
  flex: 0 0 46%;
  min-height: 410px;
  position: relative;
}

.material-circles {
  background: radial-gradient(circle, rgba(232, 185, 94, 0.2), transparent 61%);
}

.material-circles span {
  border: 1px solid rgba(232, 185, 94, 0.58);
  border-radius: 50%;
  height: 180px;
  left: 50%;
  position: absolute;
  top: 50%;
  width: 180px;
}

.material-circles span:nth-child(1) {
  transform: translate(-77%, -69%);
}

.material-circles span:nth-child(2) {
  transform: translate(-23%, -69%);
}

.material-circles span:nth-child(3) {
  transform: translate(-50%, -22%);
}

.material-circles strong {
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.8rem;
  font-weight: 400;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -40%);
}

.section-heading {
  align-items: end;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin: 0;
}

.section-heading > p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 8px;
  max-width: 42ch;
}

.paths-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.path {
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  grid-column: span 2;
  min-height: 280px;
  padding: 23px;
}

.path:nth-child(n+4) {
  border-top: 1px solid var(--line);
  grid-column: span 3;
}

.path-featured {
  background: var(--gold-wash);
}

.path-index {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  margin-bottom: 56px;
}

.path p {
  color: var(--muted);
  line-height: 1.6;
}

.path a {
  font-size: 0.8rem;
  margin-top: auto;
}

.path a {
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

.site-footer {
  align-items: center;
  background: var(--night);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: #f7efdf;
  display: flex;
  justify-content: space-between;
  padding: 26px clamp(28px, 6vw, 76px);
}

.footer-navigation {
  display: flex;
  gap: 24px;
}

.footer-navigation a {
  color: rgba(247, 239, 223, 0.62);
  font-size: 0.82rem;
  text-decoration: none;
}

.footer-navigation a:hover,
.footer-navigation a:focus-visible {
  color: #f7efdf;
}

/* Podstrony informacyjne */

.subpage main {
  margin: 0 auto;
  max-width: var(--page-width);
}

.subpage .site-header,
.subpage .site-footer {
  max-width: var(--page-width);
}

.article-hero,
.author-hero {
  background:
    radial-gradient(circle at 78% 22%, rgba(210, 156, 62, 0.15), transparent 28%),
    var(--paper);
  display: grid;
  gap: clamp(42px, 8vw, 110px);
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  min-height: 610px;
  padding: clamp(72px, 10vw, 128px) clamp(28px, 7vw, 90px);
}

.article-hero > div:first-child,
.author-hero > div:last-child {
  align-self: center;
}

.article-hero h1,
.author-hero h1 {
  font-size: clamp(3rem, 7.3vw, 7rem);
  margin: 0;
  max-width: 11ch;
}

.article-lead {
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 1.7;
  max-width: 64ch;
}

.article-aside {
  align-self: end;
  border-left: 1px solid var(--gold);
  margin-bottom: 18px;
  padding: 8px 0 8px 26px;
}

.article-aside p:last-child {
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.5;
}

.aside-label,
.idea-kind {
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reading-section {
  display: grid;
  gap: clamp(40px, 8vw, 110px);
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  padding: clamp(66px, 9vw, 112px) clamp(28px, 7vw, 90px);
}

.reading-dark {
  background: var(--night);
  color: #f7efdf;
}

.reading-heading h2 {
  margin: 0;
  max-width: 13ch;
}

.reading-copy {
  align-self: end;
}

.reading-copy p,
.open-theory p {
  color: rgba(247, 239, 223, 0.7);
  font-size: 1.03rem;
  line-height: 1.8;
}

.principles-section,
.glossary-section,
.source-basis {
  background: var(--paper-bright);
  padding: clamp(66px, 9vw, 112px) clamp(28px, 7vw, 90px);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.principles-grid article {
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  min-height: 280px;
  padding: 28px;
}

.principles-grid article > span,
.idea-number {
  color: var(--gold);
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  margin-bottom: 60px;
}

.principles-grid p,
.diagram-section p,
.author-story-copy p,
.source-basis > p:last-child,
.idea-content > p {
  color: var(--muted);
  line-height: 1.75;
}

.diagram-section {
  align-items: center;
  background: var(--paper);
  display: grid;
  gap: clamp(46px, 9vw, 120px);
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.1fr);
  padding: clamp(66px, 9vw, 112px) clamp(28px, 7vw, 90px);
}

.diagram-section h2 {
  margin-top: 0;
  max-width: 13ch;
}

.structure-diagram {
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  max-width: 490px;
  position: relative;
  width: 100%;
}

.diagram-circle {
  align-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  height: 52%;
  justify-content: center;
  position: absolute;
  width: 52%;
}

.diagram-circle b {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  position: absolute;
}

.diagram-a {
  left: 7%;
  top: 8%;
}

.diagram-a b {
  left: 11%;
  top: 26%;
}

.diagram-b {
  right: 7%;
  top: 8%;
}

.diagram-b b {
  right: 5%;
  top: 26%;
}

.diagram-r {
  bottom: 7%;
  left: 24%;
}

.diagram-r b {
  bottom: 12%;
}

.diagram-center {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 400;
  left: 50%;
  position: absolute;
  top: 48%;
  transform: translate(-50%, -50%);
}

.glossary-list {
  margin: 0;
}

.glossary-list > div {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(160px, 0.42fr) 1fr;
  padding: 22px 0;
}

.glossary-list dt {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
}

.glossary-list dd {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.context-note {
  background: var(--gold-wash);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(160px, 0.3fr) 1fr;
  padding: 38px clamp(28px, 7vw, 90px);
}

.context-note strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 400;
}

.context-note p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.next-pages {
  background: var(--paper);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.next-pages a {
  border-right: 1px solid var(--line);
  display: grid;
  gap: 8px;
  min-height: 190px;
  padding: 34px clamp(28px, 7vw, 70px);
  position: relative;
  text-decoration: none;
}

.next-pages small {
  color: var(--gold);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.next-pages strong {
  align-self: end;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 2.5vw, 2.2rem);
  font-weight: 400;
  max-width: 18ch;
}

.next-pages a > span {
  bottom: 34px;
  position: absolute;
  right: 34px;
}

.author-hero {
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
}

.author-hero h1 {
  font-size: clamp(3rem, 6.2vw, 6.4rem);
  max-width: 13ch;
}

.author-hero h1 span {
  color: var(--gold-dark);
  display: block;
  font-size: 0.44em;
  line-height: 1.18;
  margin-top: 0.24em;
}

.author-portrait {
  align-self: center;
  justify-self: center;
  margin: 0;
  max-width: 410px;
  position: relative;
  width: 100%;
}

.author-portrait::after {
  border: 1px solid var(--gold);
  border-radius: 50%;
  content: "";
  inset: -14px;
  pointer-events: none;
  position: absolute;
}

.author-portrait img {
  aspect-ratio: 1;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  object-position: center 35%;
  width: 100%;
}

.author-biography {
  background: var(--paper-bright);
  padding: clamp(68px, 9vw, 118px) clamp(28px, 7vw, 90px);
}

.author-biography-copy {
  margin: 0 auto;
  max-width: 900px;
}

.author-biography-copy p {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.85;
  margin: 0 0 1.75em;
}

.author-biography-copy p:first-child {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.7vw, 2.35rem);
  line-height: 1.45;
}

.author-biography-copy p:last-child {
  margin-bottom: 0;
}

.author-large-mark {
  align-items: center;
  align-self: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  display: flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 9vw, 8rem);
  height: clamp(230px, 31vw, 390px);
  justify-content: center;
  width: clamp(230px, 31vw, 390px);
}

.author-story,
.open-theory {
  display: grid;
  gap: clamp(42px, 9vw, 120px);
  grid-template-columns: minmax(0, 0.82fr) minmax(300px, 1.18fr);
  padding: clamp(66px, 9vw, 112px) clamp(28px, 7vw, 90px);
}

.author-story {
  background: var(--paper-bright);
}

.author-story h2,
.open-theory h2,
.source-basis h2 {
  margin-top: 0;
  max-width: 13ch;
}

.book-quote {
  background: var(--gold-wash);
  margin: 0;
  padding: clamp(66px, 9vw, 112px) clamp(28px, 10vw, 140px);
  text-align: center;
}

.book-quote p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.5vw, 4.6rem);
  line-height: 1.15;
  margin: 0 auto;
  max-width: 22ch;
}

.book-quote cite {
  color: var(--muted);
  display: block;
  font-size: 0.75rem;
  font-style: normal;
  letter-spacing: 0.1em;
  margin-top: 30px;
  text-transform: uppercase;
}

.open-theory {
  background: var(--night-soft);
  color: #f7efdf;
}

.source-basis > p:last-child {
  max-width: 76ch;
}

.ideas-hero {
  align-items: center;
}

.idea-index {
  border-top: 1px solid var(--line);
}

.idea-index a {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 14px;
  grid-template-columns: auto 1fr;
  padding: 13px 0;
  text-decoration: none;
}

.idea-index span {
  color: var(--gold);
  font-size: 0.7rem;
}

.idea-article {
  background: var(--paper-bright);
}

.idea-section {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: clamp(30px, 6vw, 82px);
  grid-template-columns: minmax(70px, 0.22fr) 1fr;
  padding: clamp(58px, 8vw, 94px) clamp(28px, 7vw, 90px);
  scroll-margin-top: 24px;
}

.idea-number {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  margin: 0;
}

.idea-content {
  max-width: 850px;
}

.idea-content h2 {
  margin: 0 0 24px;
  max-width: 16ch;
}

.example-box {
  background: var(--paper);
  border-left: 2px solid var(--gold);
  margin-top: 28px;
  padding: 22px 26px;
}

.example-box strong {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.example-box p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0;
}

@media (max-width: 880px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    align-items: center;
    cursor: pointer;
    display: flex;
    gap: 10px;
    min-height: 44px;
    padding: 6px;
  }

  .menu-toggle-lines,
  .menu-toggle-lines::before,
  .menu-toggle-lines::after {
    background: currentColor;
    display: block;
    height: 1px;
    position: relative;
    width: 22px;
  }

  .menu-toggle-lines::before,
  .menu-toggle-lines::after {
    content: "";
    position: absolute;
  }

  .menu-toggle-lines::before {
    top: -6px;
  }

  .menu-toggle-lines::after {
    top: 6px;
  }

  .main-navigation {
    align-items: flex-start;
    background: var(--paper-bright);
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    gap: 0;
    grid-column: 1 / -1;
    left: 0;
    padding: 12px 28px 24px;
    position: absolute;
    right: 0;
    top: 100%;
  }

  .main-navigation.is-open {
    display: flex;
  }

  .main-navigation a {
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
    width: 100%;
  }

  .hero,
  .intro-grid,
  .article-hero,
  .author-hero,
  .reading-section,
  .diagram-section,
  .author-story,
  .open-theory {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-visual {
    min-height: 520px;
  }

  .intro-grid h2 {
    max-width: 16ch;
  }

  .author-strip {
    grid-template-columns: auto 1fr;
  }

  .author-strip .button {
    grid-column: 2;
    justify-self: start;
  }

  .article-hero,
  .author-hero {
    min-height: 0;
  }

  .article-aside {
    align-self: auto;
  }

  .author-large-mark {
    justify-self: start;
  }

  .author-portrait {
    justify-self: start;
    max-width: 330px;
  }

  .structure-diagram {
    max-width: 430px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .paths-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .path,
  .path:nth-child(n+4) {
    border-top: 1px solid var(--line);
    grid-column: span 1;
  }

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

  .material-main {
    flex-direction: column;
  }

  .material-visual {
    flex-basis: auto;
    min-height: 360px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand-text small,
  .menu-toggle-label {
    display: none;
  }

  .hero {
    padding: 56px 18px 64px;
  }

  h1 {
    font-size: clamp(2.8rem, 15vw, 4.6rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 450px;
  }

  .book-frame {
    max-width: 240px;
  }

  .orbit-one {
    height: 310px;
    width: 310px;
  }

  .orbit-two {
    height: 220px;
    width: 220px;
  }

  .orbit-three {
    height: 360px;
    width: 360px;
  }

  .intro-section,
  .paths-section,
  .materials-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .paths-grid {
    grid-template-columns: 1fr;
  }

  .path,
  .path:last-child {
    grid-column: auto;
    min-height: 235px;
  }

  .materials-grid {
    grid-template-columns: 1fr;
  }

  .material-main {
    grid-column: auto;
  }

  .material {
    min-height: 270px;
  }

  .material-visual {
    min-height: 310px;
  }

  .material-circles span {
    height: 132px;
    width: 132px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding: 24px 18px;
  }

  .author-strip {
    align-items: start;
    grid-template-columns: 1fr;
    padding-left: 18px;
    padding-right: 18px;
  }

  .author-strip .button {
    grid-column: auto;
  }

  .author-monogram {
    height: 66px;
    width: 66px;
  }

  .footer-navigation {
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .article-hero,
  .author-hero,
  .reading-section,
  .principles-section,
  .diagram-section,
  .glossary-section,
  .author-story,
  .open-theory,
  .source-basis,
  .idea-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .article-hero h1,
  .author-hero h1 {
    font-size: clamp(2.8rem, 15vw, 4.7rem);
  }

  .principles-grid,
  .next-pages {
    grid-template-columns: 1fr;
  }

  .principles-grid article {
    min-height: 240px;
  }

  .diagram-section {
    gap: 32px;
  }

  .structure-diagram {
    max-width: 330px;
  }

  .diagram-circle b {
    font-size: 0.76rem;
  }

  .glossary-list > div,
  .context-note,
  .idea-section {
    grid-template-columns: 1fr;
  }

  .glossary-list > div {
    gap: 8px;
  }

  .context-note {
    padding-left: 18px;
    padding-right: 18px;
  }

  .next-pages a {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    min-height: 170px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .author-large-mark {
    height: 210px;
    width: 210px;
  }

  .author-portrait {
    max-width: 250px;
  }

  .author-portrait::after {
    inset: -9px;
  }

  .idea-number {
    margin-bottom: 0;
  }

}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
