:root {
  --cream: #f2ead8;
  --paper: #f8f1e3;
  --plum: #32152d;
  --plum-soft: #593347;
  --mustard: #d3aa35;
  --mustard-light: #e6cb74;
  --green: #325341;
  --line: rgba(50, 21, 45, 0.3);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Arial, Helvetica, sans-serif;
  --page: min(92vw, 1440px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--plum);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-color: var(--green);
}

a:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  color: var(--paper);
  background: var(--plum);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 10;
  width: var(--page);
  min-height: 88px;
  margin: 0 auto;
  padding: 1.1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.3vw, 2.1rem);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.site-header ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header nav a {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.site-header nav a[aria-current="page"] {
  border-bottom: 2px solid currentColor;
  padding-bottom: 0.22rem;
}

.poster-hero {
  position: relative;
  width: var(--page);
  min-height: min(790px, 82vh);
  margin: 0 auto;
  padding: 2.25rem 0 4rem;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto 1fr auto auto;
  isolation: isolate;
}

.plane {
  position: absolute;
  z-index: -1;
}

.plane-mustard {
  top: 15%;
  right: 20%;
  width: 26%;
  height: 50%;
  background: var(--mustard);
}

.plane-green {
  right: -4vw;
  bottom: 7%;
  width: 17%;
  height: 23%;
  background: var(--green);
}

.issue-mark,
.section-label {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.issue-mark {
  grid-column: 1 / 5;
  grid-row: 1;
}

.hero-image {
  grid-column: 8 / 12;
  grid-row: 1 / 4;
  width: 100%;
  margin: 0;
  align-self: start;
  mix-blend-mode: multiply;
}

.hero-image img {
  aspect-ratio: 1;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.02);
}

.poster-hero h1 {
  grid-column: 1 / 10;
  grid-row: 3;
  z-index: 2;
  margin: 0 0 1.3rem;
  font-family: var(--serif);
  font-size: clamp(4.2rem, 10.4vw, 10.5rem);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: -0.068em;
}

.hero-lede {
  grid-column: 2 / 7;
  grid-row: 4;
  max-width: 620px;
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  line-height: 1.5;
}

.hero-index {
  grid-column: 12;
  grid-row: 4;
  align-self: end;
  justify-self: end;
  margin: 0;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.5rem;
  writing-mode: vertical-rl;
}

.ruled-section {
  border-top: 1px solid var(--plum);
  border-bottom: 1px solid var(--plum);
}

.editorial-intro {
  width: var(--page);
  margin: 5rem auto 10rem;
  padding: 2rem 0 4rem;
  display: grid;
  grid-template-columns: 3fr 7fr 2fr;
  gap: 2rem;
}

.intro-copy {
  grid-column: 2;
}

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

h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
}

h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.5rem, 5.5vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h3 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.1;
}

.intro-copy p,
.narrow-chapter p,
.balance-copy p,
.perspective-copy p,
.depth-section p,
.color-copy p,
.cleanup-copy p,
.project-note p,
.about-definition p,
.editorial-purpose p {
  max-width: 68ch;
}

.narrow-chapter {
  width: min(88vw, 740px);
  margin: 0 auto 11rem;
}

.chapter-number {
  margin: 0 0 1rem;
  color: var(--green);
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
}

.practical-list,
.check-list {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.practical-list li,
.check-list li {
  position: relative;
  padding: 0.78rem 0 0.78rem 2rem;
  border-top: 1px solid var(--line);
}

.practical-list li::before {
  content: "↳";
  position: absolute;
  left: 0;
  color: var(--green);
}

.material-band {
  width: 100%;
  margin: 0 0 10rem;
  padding: 6rem max(4vw, calc((100vw - 1440px) / 2));
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 8vw;
  color: var(--paper);
  background: var(--plum);
}

.material-heading {
  align-self: start;
}

.material-heading .section-label {
  margin-bottom: 2rem;
  color: var(--mustard-light);
}

.material-notes article {
  padding: 0 0 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(248, 241, 227, 0.3);
}

.material-notes article:last-child {
  margin-bottom: 0;
}

.material-notes p {
  max-width: 54ch;
  margin: 0;
}

.balance-section {
  position: relative;
  width: var(--page);
  margin: 0 auto 12rem;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.balance-title {
  grid-column: 1 / 7;
}

.balance-copy {
  grid-column: 7 / 12;
  padding-top: 7rem;
}

.edge-note {
  grid-column: 9 / 13;
  margin-top: 4rem;
  padding: 1.5rem;
  border-left: 8px solid var(--mustard);
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.45;
}

.edge-note span {
  display: block;
  margin-bottom: 0.7rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.perspective-section {
  width: var(--page);
  margin: 0 auto 12rem;
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 9vw;
  align-items: end;
}

.perspective-copy .section-label {
  margin-bottom: 2rem;
}

.detail-fragment {
  position: relative;
  margin: 0;
  padding: 0 0 0 2rem;
}

.detail-fragment img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: saturate(0.62) sepia(0.08);
}

.fragment-block {
  position: absolute;
  top: -2.5rem;
  left: 0;
  width: 42%;
  height: 82%;
  background: var(--green);
}

.detail-fragment figcaption {
  position: relative;
  z-index: 2;
  width: 78%;
  margin: -1.4rem 0 0 auto;
  padding: 1rem 1.2rem;
  color: var(--plum);
  background: var(--mustard-light);
  font-size: 0.75rem;
  line-height: 1.45;
}

.depth-section {
  width: min(83vw, 960px);
  margin: 0 6vw 11rem auto;
  padding: 3rem 0 0;
  display: grid;
  grid-template-columns: 1fr 6fr;
  gap: 2rem;
  border-top: 1px solid var(--plum);
}

.color-field {
  width: 94vw;
  margin: 0 auto 11rem 0;
  padding: 6rem 8vw 6rem max(4vw, calc((100vw - 1440px) / 2));
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 7vw;
  background: var(--mustard);
}

.color-copy {
  padding-top: 4rem;
}

.cleanup-section {
  width: var(--page);
  margin: 0 auto 11rem;
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 9vw;
}

.cleanup-heading {
  padding-left: 5vw;
}

.check-list li::before {
  content: "□";
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 1.15rem;
}

.final-check {
  width: min(92vw, 1180px);
  margin: 0 0 10rem auto;
  padding: 5rem max(4vw, calc((100vw - 1440px) / 2)) 5rem 6vw;
  color: var(--paper);
  background: var(--green);
}

.final-check h2 {
  max-width: 950px;
  margin-top: 1.5rem;
}

.final-check ol {
  margin: 3rem 0 0 auto;
  padding: 0;
  max-width: 760px;
  list-style: none;
  counter-reset: final;
}

.final-check li {
  counter-increment: final;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(248, 241, 227, 0.35);
}

.final-check li::before {
  content: "0" counter(final);
  color: var(--mustard-light);
  font-family: var(--serif);
}

.project-note {
  width: min(88vw, 840px);
  margin: 0 auto 10rem;
  text-align: center;
}

.project-note .section-label {
  margin-bottom: 1.5rem;
}

.project-note p {
  margin: 0 auto 2rem;
}

.text-link {
  display: inline-block;
  font-weight: 700;
}

.site-footer {
  min-height: 390px;
  padding: 4rem 4vw 3rem;
  display: grid;
  grid-template-columns: 7fr 3fr 2fr;
  gap: 2rem;
  align-items: end;
  color: var(--paper);
  background: var(--plum);
}

.footer-name {
  align-self: end;
  font-family: var(--serif);
  font-size: clamp(4rem, 10vw, 10rem);
  line-height: 0.75;
  letter-spacing: -0.07em;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-contact {
  align-self: center;
}

.footer-contact p {
  margin: 0 0 0.45rem;
  color: var(--mustard-light);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.82rem;
}

/* Vnitřní stránky */
.inner-page,
.legal-page {
  width: 100%;
}

.inner-hero,
.legal-hero {
  position: relative;
  width: var(--page);
  margin: 0 auto 9rem;
  padding: 8rem 0 5rem;
}

.inner-hero h1,
.legal-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 1.4rem 0 2rem;
  font-family: var(--serif);
  font-size: clamp(4rem, 9vw, 9rem);
  font-weight: 400;
  line-height: 0.85;
  letter-spacing: -0.065em;
}

.inner-hero > p:last-child,
.legal-hero > p:last-child {
  max-width: 650px;
  margin: 0 0 0 auto;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}

.inner-plane {
  position: absolute;
  right: -4vw;
  bottom: 2rem;
  width: 39%;
  height: 48%;
  background: var(--mustard);
}

.about-definition {
  width: min(92vw, 1180px);
  margin: 0 auto 10rem;
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 8vw;
}

.about-topics {
  width: 92vw;
  margin: 0 0 10rem auto;
  padding: 6rem max(4vw, calc((100vw - 1440px) / 2)) 6rem 8vw;
  color: var(--paper);
  background: var(--green);
}

.about-topics h2 {
  max-width: 800px;
  margin-top: 1.5rem;
}

.topic-lines {
  width: min(100%, 760px);
  margin-left: auto;
}

.topic-lines p {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  margin: 0;
  padding: 1rem 0;
  border-top: 1px solid rgba(248, 241, 227, 0.35);
}

.topic-lines span {
  color: var(--mustard-light);
  font-family: var(--serif);
}

.editorial-purpose {
  width: min(88vw, 1020px);
  margin: 0 auto 10rem;
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 6vw;
}

.contact-panel {
  width: min(90vw, 900px);
  margin: 0 0 10rem;
  padding: 4rem 5vw 4rem max(4vw, calc((100vw - 1440px) / 2));
  background: var(--mustard);
}

.contact-panel h2 {
  margin-top: 1.5rem;
}

.contact-panel > a {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3.5vw, 3rem);
}

.legal-hero {
  margin-bottom: 5rem;
  border-bottom: 1px solid var(--plum);
}

.terms-hero::after {
  content: "";
  position: absolute;
  right: 2vw;
  bottom: -1px;
  width: 21%;
  height: 22px;
  background: var(--green);
}

.legal-layout {
  width: var(--page);
  margin: 0 auto 10rem;
  display: grid;
  grid-template-columns: 3fr 7fr 2fr;
  gap: 2rem;
}

.legal-layout aside {
  position: sticky;
  top: 2rem;
  align-self: start;
  padding-left: 1rem;
  border-left: 8px solid var(--mustard);
  font-size: 0.85rem;
}

.legal-layout aside p {
  margin: 0 0 0.25rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
}

.legal-copy {
  grid-column: 2;
}

.legal-copy section {
  padding: 0 0 2.5rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}

.legal-copy h2 {
  font-size: clamp(2rem, 3.7vw, 3.8rem);
}

.legal-copy a {
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  body {
    font-size: 16px;
  }

  .poster-hero {
    min-height: 700px;
  }

  .poster-hero h1 {
    grid-column: 1 / 11;
  }

  .hero-image {
    grid-column: 7 / 12;
  }

  .editorial-intro {
    grid-template-columns: 2fr 8fr;
  }

  .intro-copy {
    grid-column: 2;
  }

  .material-band,
  .perspective-section,
  .cleanup-section,
  .about-definition,
  .editorial-purpose {
    grid-template-columns: 1fr 1fr;
    gap: 5vw;
  }

  .balance-title {
    grid-column: 1 / 8;
  }

  .balance-copy {
    grid-column: 7 / 13;
  }

  .edge-note {
    grid-column: 7 / 13;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .footer-name {
    grid-column: 1 / -1;
  }

  .legal-layout {
    grid-template-columns: 2fr 7fr;
  }

  .legal-copy {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  :root {
    --page: 88vw;
  }

  .site-header {
    min-height: 108px;
    align-items: flex-start;
    gap: 1rem;
  }

  .site-header ul {
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
  }

  .site-header nav a {
    font-size: 0.66rem;
  }

  .poster-hero {
    min-height: 730px;
    grid-template-rows: auto 1fr auto auto;
    padding-top: 1.4rem;
  }

  .issue-mark {
    grid-column: 1 / 8;
  }

  .hero-image {
    grid-column: 6 / 13;
    grid-row: 1 / 3;
    margin-top: 3.5rem;
  }

  .plane-mustard {
    top: 20%;
    right: 32%;
    width: 50%;
    height: 34%;
  }

  .plane-green {
    right: -7vw;
    bottom: 5%;
    width: 24%;
    height: 20%;
  }

  .poster-hero h1 {
    grid-column: 1 / 13;
    font-size: clamp(4rem, 20vw, 6.5rem);
    line-height: 0.8;
  }

  .hero-lede {
    grid-column: 1 / 11;
  }

  .hero-index {
    grid-column: 12;
  }

  h2 {
    font-size: clamp(2.6rem, 13vw, 4.5rem);
  }

  .editorial-intro,
  .material-band,
  .perspective-section,
  .cleanup-section,
  .about-definition,
  .editorial-purpose,
  .color-field {
    grid-template-columns: 1fr;
  }

  .editorial-intro {
    margin-bottom: 7rem;
  }

  .intro-copy {
    grid-column: 1;
  }

  .narrow-chapter,
  .material-band,
  .balance-section,
  .perspective-section,
  .depth-section,
  .color-field,
  .cleanup-section,
  .final-check,
  .project-note,
  .about-definition,
  .about-topics,
  .editorial-purpose,
  .contact-panel {
    margin-bottom: 7rem;
  }

  .material-band {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .balance-title,
  .balance-copy,
  .edge-note {
    grid-column: 1 / 13;
  }

  .balance-copy {
    padding-top: 1rem;
  }

  .edge-note {
    margin-top: 1rem;
  }

  .perspective-copy {
    order: 2;
  }

  .detail-fragment {
    order: 1;
    margin-bottom: 3rem;
  }

  .depth-section {
    width: 88vw;
    margin-right: auto;
    grid-template-columns: 1fr;
  }

  .color-field {
    width: 94vw;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .color-copy {
    padding-top: 0;
  }

  .cleanup-heading {
    padding-left: 0;
  }

  .final-check {
    width: 94vw;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .site-footer {
    min-height: 500px;
    grid-template-columns: 1fr;
    align-content: space-between;
  }

  .footer-name {
    grid-column: 1;
    font-size: clamp(3.5rem, 19vw, 6rem);
  }

  .footer-contact {
    align-self: end;
  }

  .inner-hero,
  .legal-hero {
    padding-top: 5rem;
    margin-bottom: 6rem;
  }

  .inner-hero h1,
  .legal-hero h1 {
    font-size: clamp(3.8rem, 18vw, 6.5rem);
  }

  .inner-plane {
    right: -6vw;
    width: 62%;
    height: 36%;
  }

  .about-topics {
    width: 94vw;
  }

  .legal-layout {
    width: var(--page);
    grid-template-columns: 1fr;
  }

  .legal-layout aside {
    position: static;
  }

  .legal-copy {
    grid-column: 1;
  }
}

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