/* Martinismus w Czechach — archiwum ezoteryczne */

:root {
  --bg-deep: #0a0a0a;
  --bg-graphite: #141414;
  --gold: #dbc474;
  --gold-dim: rgba(219, 196, 116, 0.55);
  /*--gold-dim: rgba(212, 175, 55, 0.55);*/
  --text-muted: #c0c0c0;
  --text-body: #b8b8b8;
  --font-display: "Times New Roman", Times, serif;
  --font-body: "Spectral", Georgia, serif;
  --max-content: 1100px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-body);
  background: linear-gradient(165deg, var(--bg-deep) 0%, #0f0f12 40%, var(--bg-graphite) 100%);
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: text-shadow 0.2s ease, color 0.2s ease;
}

a:hover {
  color: #e8c85a;
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.35);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.97), rgba(10, 10, 10, 0.88));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gold-dim);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 100;
  color: var(--gold);
  letter-spacing: 0.12em;
  line-height: 1;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.logo img {
  max-height: 60px;
}

.nav-main {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  justify-content: flex-end;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-main a {
  color: var(--text-muted);
}

.nav-main a:hover {
  color: var(--gold);
}

main {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.8vw, 55px);
  font-weight: 100;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  text-align: center;
  color: var(--gold);
  margin: 0 0 0.75rem;
  text-shadow: 0 0 24px rgba(212, 175, 55, 0.15);
}

.section-kicker {
  text-align: center;
  font-style: italic;
  color: var(--gold-dim);
  font-size: 1rem;
  margin: 0 0 2.5rem;
}

.hero-centered {
  text-align: center;
  padding: 1rem 0 3rem;
}

/* Trójkąt emblematów — wspólna szerokość; bez --split: jedna siatka 2 rzędy; --split: osobny rząd portretów (wyśrodkowanie w pionie) */
.hero-emblem-triangle {
  width: 100%;
  max-width: 38em;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  box-sizing: border-box;
}

.hero-emblem-triangle:not(.hero-emblem-triangle--split) {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  align-items: start;
  justify-items: center;
  column-gap: clamp(0.75rem, 4%, 2.5rem);
  row-gap: 0;
}

.hero-emblem-triangle--split {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto auto;
  align-items: start;
  justify-items: center;
  column-gap: clamp(0.75rem, 4%, 2.5rem);
  row-gap: 0;
}

.hero-emblem-triangle .hero-emblem__cell {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-emblem-triangle .hero-emblem__cell--apex {
  grid-column: 1 / -1;
  grid-row: 1;
}

.hero-emblem-triangle:not(.hero-emblem-triangle--split) .hero-emblem__cell--left {
  grid-column: 1;
  grid-row: 2;
  justify-self: center;
}

.hero-emblem-triangle:not(.hero-emblem-triangle--split) .hero-emblem__cell--center {
  grid-column: 2;
  grid-row: 2;
  justify-self: center;
  align-self: center;
}

.hero-emblem-triangle:not(.hero-emblem-triangle--split) .hero-emblem__cell--right {
  grid-column: 3;
  grid-row: 2;
  justify-self: center;
}

.hero-emblem-triangle--split .hero-emblem__portraits-row {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  justify-items: center;
  column-gap: clamp(0.45rem, 2.4vw, 1.25rem);
  width: 100%;
}

.hero-emblem-triangle--split .hero-emblem__captions-row {
  grid-column: 1 / -1;
  grid-row: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(0.45rem, 2.4vw, 1.25rem);
  width: 100%;
  margin-top: 0.65rem;
  align-items: start;
}

.hero-emblem-triangle--split .hero-emblem__caption-cluster {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-self: center;
  width: 100%;
}

.hero-emblem-triangle--split .hero-emblem__caption-cluster--left {
  grid-column: 1;
}

.hero-emblem-triangle--split .hero-emblem__caption-cluster--right {
  grid-column: 3;
}

.hero-emblem-triangle figcaption,
.hero-emblem-caption-label,
.hero-rc figcaption {
  font-family: var(--font-display);
  font-size: clamp(1rem, 3.2vw, 1.4rem);
  font-weight: 100;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  line-height: 1.35;
}

.hero-emblem-triangle figcaption,
.hero-rc figcaption {
  margin-top: 0.65rem;
}

.hero-emblem-caption-label {
  margin: 0;
  line-height: 1.2;
}

.hero-emblem__captions-row .circle-title {
  margin: 0.08rem 0 0;
  line-height: 1.2;
}

.hero-rc {
  margin: -3rem auto;
  max-width: 38em;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-rc__img {
  width: clamp(112px, 25.6vw, 208px);
  height: auto;
  display: block;
}

.hero-emblem-triangle .omb-apex {
  width: clamp(120px, 17.6vw, 224px);
  height: auto;
  display: block;
}

.hero-emblem-triangle .emblem-base-left,
.hero-emblem-triangle .emblem-base-center,
.hero-emblem-triangle .emblem-base-right {
  width: clamp(84px, 14vw, 170px);
  height: auto;
  display: block;
  max-width: 100%;
}


.hero-emblem__cell--center > a {
  display: block;
  margin: 0 auto;
}

@media (max-width: 480px) {
  .hero-emblem-triangle:not(.hero-emblem-triangle--split) {
    column-gap: clamp(0.75rem, 4vw, 2rem);
    row-gap: 0;
  }

  .hero-emblem-triangle--split .hero-emblem__portraits-row,
  .hero-emblem-triangle--split .hero-emblem__captions-row {
    column-gap: clamp(0.35rem, 1.8vw, 0.8rem);
  }

  .hero-emblem-triangle .omb-apex {
    width: clamp(104px, 32vw, 176px);
  }

  .hero-emblem-triangle .emblem-base-left,
  .hero-emblem-triangle .emblem-base-center,
  .hero-emblem-triangle .emblem-base-right {
    width: clamp(68px, 24vw, 118px);
  }

}

.seal-wrap {
  margin: 0 auto 2rem;
  width: min(220px, 48vw);
  aspect-ratio: 1;
  filter: drop-shadow(0 0 28px rgba(212, 175, 55, 0.25));
}

.seal-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}

.circle-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 100;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.35;
}

h1.circle-title {
  font-size: 1.6rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.8vw, 55px);
  font-weight: 100;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
  line-height: 1.35;
}

.hero-quote {
  font-style: italic;
  color: var(--gold-dim);
  font-size: 1rem;
  max-width: 40em;
  margin: 0 auto 0rem;
}

.prose {
  text-align: justify;
  hyphens: auto;
  max-width: 38em;
  margin: 0 auto 2rem;
  color: var(--text-muted);
}

.prose p {
  margin: 0 0 1em;
}

.btn-outline {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.85rem 1.75rem;
  border: 1px solid var(--gold);
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-outline:hover {
  color: var(--bg-deep);
  background: var(--gold);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.35);
}

.frame-corners {
  position: relative;
  padding: 2rem 1.75rem;
  margin: 2rem 0;
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.frame-corners::before,
.frame-corners::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--gold);
  border-style: solid;
  pointer-events: none;
}

.frame-corners::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.frame-corners::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}

/* Formularz kontaktowy (kontakt.html) */
.contact-intro {
  max-width: 38em;
  margin-bottom: 1.5rem;
}

.contact-form {
  max-width: 38em;
  margin: 0 auto;
  padding-top: 0.25rem;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem 1.5rem;
}

@media (min-width: 540px) {
  .contact-form__grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-form__field--full {
    grid-column: 1 / -1;
  }
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.contact-form label {
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.45;
  color: var(--text-muted);
  background: rgba(6, 6, 8, 0.92);
  border: 1px solid rgba(212, 175, 55, 0.32);
  padding: 0.65rem 0.9rem;
  border-radius: 2px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form select {
  cursor: pointer;
  appearance: none;
  background-color: rgba(6, 6, 8, 0.92);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1.5L7 6.5 13 1.5' fill='none' stroke='%23dbc474' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.25rem;
}

.contact-form textarea {
  min-height: 9.5rem;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(192, 192, 192, 0.38);
}

.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover {
  border-color: rgba(212, 175, 55, 0.48);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.22), 0 0 18px rgba(212, 175, 55, 0.08);
}

.contact-form__actions {
  margin-top: 1.35rem;
  text-align: center;
}

.contact-form__anti-spam {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form .cf-turnstile {
  margin-top: 1.2rem;
  display: flex;
  justify-content: center;
}

.contact-form__gdpr {
  margin: 1rem 0 0.55rem;
  font-size: 0.88rem;
  color: var(--gold-dim);
  line-height: 1.5;
}

.contact-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.contact-form__consent input[type="checkbox"] {
  margin-top: 0.18rem;
  accent-color: var(--gold);
}

.contact-form__consent label {
  font-family: var(--font-body);
  font-size: 0.93rem;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: var(--text-muted);
  line-height: 1.45;
}

.contact-form__status {
  margin: 1rem 0 0;
  text-align: center;
  min-height: 1.2em;
  font-size: 0.92rem;
}

.contact-form__status.is-pending {
  color: var(--gold-dim);
}

.contact-form__status.is-success {
  color: #95d39f;
}

.contact-form__status.is-error {
  color: #d89393;
}

.contact-form__hint {
  font-size: 0.82rem;
  color: var(--gold-dim);
  margin: 1.35rem 0 0;
  line-height: 1.55;
  max-width: 36em;
}

/* Banner zgody na cookies */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.25s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(8, 8, 10, 0.96);
  border: 1px solid rgba(219, 196, 116, 0.42);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.45);
}

.cookie-banner__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.cookie-banner__text a {
  color: var(--gold);
}

.cookie-banner__accept {
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--text-muted);
  padding: 0.55rem 1rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.cookie-banner__accept:hover {
  background: var(--gold);
  color: var(--bg-deep);
}

@media (max-width: 760px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

.site-footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem;
  border-top: 1px solid var(--gold-dim);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

/* Mistrzowie — tło biblioteki */
.page-masters {
  position: relative;
  min-height: 100vh;
}

.page-masters::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(10, 10, 10, 0.82), rgba(10, 10, 10, 0.9)),
    url("https://images.unsplash.com/photo-1507842217343-583bb7270b66?w=1920&q=80") center / cover no-repeat;
  filter: saturate(0.35) contrast(1.05);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.master-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem;
  background: rgba(12, 12, 14, 0.72);
  border: 2px solid var(--gold-dim);
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.12);
  outline: 2px solid rgba(212, 175, 55, 0.5);
  outline-offset: 4px;
  border-radius: 10px;
}

.master-portrait {
  text-align: center;
}

.master-portrait img,
.master-portrait .portrait-placeholder {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-dim);
  display: block;
  margin: 0 auto 0.75rem;
  filter: sepia(0.45) contrast(1.05);
  outline: 2px solid rgba(212, 175, 55, 0.5);
  outline-offset: 4px;
}

.portrait-placeholder {
  background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--gold);
}

.master-portrait .name-small {
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.35;
}

.master-body h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.35rem;
  line-height: 1.3;
}

.master-body .role {
  font-size: 0.9rem;
  color: var(--gold-dim);
  font-style: italic;
  margin: 0 0 1rem;
}

.master-body p {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .nav-main {
    justify-content: center;
  }

  .master-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .master-body {
    text-align: left;
  }

  .master-body h2,
  .master-body .role {
    text-align: center;
  }
}

/* Sekcja Martynizm — wspólny układ podmenu i treści */
.martynizm-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.martynizm-sidenav {
  border: 1px solid rgba(219, 196, 116, 0.35);
  background: rgba(9, 9, 11, 0.65);
  box-shadow: inset 0 0 0 1px rgba(219, 196, 116, 0.14);
  padding: 1rem;
}

.martynizm-sidenav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.martynizm-sidenav li + li {
  margin-top: 0.4rem;
}

.martynizm-sidenav a {
  display: block;
  padding: 0.45rem 0.55rem;
  border-left: 2px solid transparent;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.martynizm-sidenav a[aria-current="page"],
.martynizm-sidenav a:hover {
  color: var(--gold);
  border-left-color: var(--gold);
  background: rgba(219, 196, 116, 0.08);
}

.martynizm-content {
  text-align: left;
}

.martynizm-subtitle {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 100;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.martynizm-panels {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.martynizm-panel {
  border: 1px solid rgba(219, 196, 116, 0.28);
  background: rgba(12, 12, 15, 0.62);
  padding: 1rem 1.15rem;
}

.martynizm-panel h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 100;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.martynizm-panel p {
  margin: 0;
  color: var(--text-muted);
}

.martynizm-panel p + p {
  margin-top: 0.75rem;
}

.martynizm-panel .study-list {
  margin: 0.65rem 0 0;
  color: var(--text-muted);
}

.martynizm-panel .study-list + p {
  margin-top: 0.75rem;
}

@media (max-width: 820px) {
  .martynizm-layout {
    grid-template-columns: 1fr;
  }
}

/* Sekcja Martynizm — wspólne reguły treści */
.martynizm-content.prose {
  max-width: none;
  margin: 0;
}

/* Poznanie */
.study-page {
  max-width: 54rem;
  margin: 0 auto;
}

.study-intro {
  margin-bottom: 1.5rem;
}

.study-subtitle {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 100;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: left;
}

.study-lead {
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.95;
  color: #d9d3c4;
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.1rem 1.25rem 1.1rem 1.4rem;
  border-left: 1px solid rgba(219, 196, 116, 0.42);
  background: linear-gradient(90deg, rgba(219, 196, 116, 0.08), rgba(219, 196, 116, 0.02));
  box-shadow: inset 0 0 0 1px rgba(219, 196, 116, 0.05);
}

.study-lead::first-letter {
  float: left;
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 0.9;
  padding-right: 0.35rem;
  padding-top: 0.12rem;
  color: var(--gold);
}

.study-section + .study-section {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(219, 196, 116, 0.18);
}

.study-heading {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  font-weight: 100;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: left;
}

.study-page p {
  margin: 0 0 1rem;
}

.study-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.study-list li + li {
  margin-top: 0.75rem;
}

.study-books {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.study-book {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(219, 196, 116, 0.28);
  background: rgba(12, 12, 15, 0.62);
  box-shadow: inset 0 0 0 1px rgba(219, 196, 116, 0.08);
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 1rem;
  align-items: start;
}

.study-book__meta {
  min-width: 0;
}

.study-book__cover-frame {
  width: 92px;
  aspect-ratio: 2 / 3;
  border: 1px solid rgba(219, 196, 116, 0.42);
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: rgba(219, 196, 116, 0.75);
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(219, 196, 116, 0.12);
}

.study-book__label {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 100;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.study-book h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 100;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.study-book p {
  margin: 0;
  color: var(--text-muted);
}

/* Droga / Transmutacja */
.droga-content.prose {
  max-width: 38em;
  margin: 0 auto;
}

.transmutation-page {
  max-width: 54rem;
  margin: 0 auto;
}

.transmutation-page.prose {
  max-width: none;
  margin: 0 auto;
}

.transmutation-subtitle {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 100;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: left;
}

.transmutation-page p {
  margin: 0 0 1rem;
}

.transmutation-quote {
  margin: 1rem 0 1.2rem;
  padding: 1rem 1.2rem;
  border-left: 2px solid rgba(219, 196, 116, 0.45);
  background: rgba(219, 196, 116, 0.07);
  color: #d9d3c4;
  font-style: italic;
  line-height: 1.85;
}

.transmutation-section + .transmutation-section {
  margin-top: 1.9rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(219, 196, 116, 0.18);
}

.transmutation-heading {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 100;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.transmutation-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.transmutation-list li + li {
  margin-top: 0.8rem;
}

.transmutation-closing {
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(219, 196, 116, 0.22);
}

/* Służba */
.service-quote {
  max-width: 52rem;
  margin: 0 auto 1.25rem;
  padding: 1rem 1.2rem;
  border-left: 2px solid rgba(219, 196, 116, 0.45);
  background: rgba(219, 196, 116, 0.07);
  color: #d9d3c4;
  font-style: italic;
}

.service-lead {
  max-width: 52rem;
  margin: 0 auto 2rem;
  color: var(--text-muted);
}

.service-masters-grid {
  grid-template-columns: repeat(2, minmax(300px, 1fr));
}

.service-central-master {
  max-width: 720px;
  margin: 0 auto 2rem;
}

.service-central-master .master-card {
  grid-template-columns: 1fr;
  text-align: center;
}

.service-central-master__portrait {
  width: 224px;
  height: 224px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 2px solid var(--gold-dim);
  outline: 2px solid rgba(212, 175, 55, 0.5);
  outline-offset: 6px;
  background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold);
  overflow: hidden;
}

.service-central-master__portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 50%;
}

.service-central-master .master-body {
  text-align: center;
}

@media (max-width: 760px) {
  .service-masters-grid {
    grid-template-columns: 1fr;
  }

  .service-central-master__portrait {
    width: 180px;
    height: 180px;
    font-size: 2rem;
  }
}

.page-athanor::before {
  background:
    linear-gradient(rgba(10, 10, 10, 0.84), rgba(10, 10, 10, 0.9)),
    url("./Athanor.png") center / cover no-repeat;
}

.page-droga::before {
  background:
    linear-gradient(rgba(10, 10, 10, 0.84), rgba(10, 10, 10, 0.9)),
    url("./droga.png") center / cover no-repeat;
}

/* Indywidualne tła podstron wg nazwy pliku */
.page-brama::before {
  background:
    linear-gradient(rgba(10, 10, 10, 0.84), rgba(10, 10, 10, 0.9)),
    url("./brama.png") center / cover no-repeat;
}

.page-bon-pasteur::before {
  background:
    linear-gradient(rgba(10, 10, 10, 0.84), rgba(10, 10, 10, 0.9)),
    url("./bon_pasteur.png") center / cover no-repeat;
}

.page-archeusz::before {
  background:
    linear-gradient(rgba(10, 10, 10, 0.84), rgba(10, 10, 10, 0.9)),
    url("./archeusz.png") center / cover no-repeat;
}

.page-sluzba::before {
  background:
    linear-gradient(rgba(10, 10, 10, 0.84), rgba(10, 10, 10, 0.9)),
    url("./sluzba.png") center / cover no-repeat;
}

.page-tradycja::before {
  background:
    linear-gradient(rgba(10, 10, 10, 0.84), rgba(10, 10, 10, 0.9)),
    url("./historia.png") center / cover no-repeat;
}

.page-kontakt::before {
  background:
    linear-gradient(rgba(10, 10, 10, 0.84), rgba(10, 10, 10, 0.9)),
    url("./kontakt.png") center / cover no-repeat;
}

.page-martynizm::before {
  background:
    linear-gradient(rgba(10, 10, 10, 0.84), rgba(10, 10, 10, 0.9)),
    url("./martynizm.png") center / cover no-repeat;
}

.page-omb::before {
  background:
    linear-gradient(rgba(10, 10, 10, 0.84), rgba(10, 10, 10, 0.9)),
    url("./omb.png") center / cover no-repeat;
}

.page-polska::before {
  background:
    linear-gradient(rgba(10, 10, 10, 0.84), rgba(10, 10, 10, 0.9)),
    url("./polska.png") center / cover no-repeat;
}

.page-poznanie::before {
  background:
    linear-gradient(rgba(10, 10, 10, 0.84), rgba(10, 10, 10, 0.9)),
    url("./poznanie.png") center / cover no-repeat;
}

.page-prywatnosc::before {
  background:
    linear-gradient(rgba(10, 10, 10, 0.84), rgba(10, 10, 10, 0.9)),
    url("./prywatnosc.png") center / cover no-repeat;
}

.page-pragnienie::before {
  background:
    linear-gradient(rgba(10, 10, 10, 0.84), rgba(10, 10, 10, 0.9)),
    url("./pragnienie.png") center / cover no-repeat;
}

.page-reintegracja::before {
  background:
    linear-gradient(rgba(10, 10, 10, 0.84), rgba(10, 10, 10, 0.9)),
    url("./reintegracja.png") center / cover no-repeat;
}

.page-sluzba::before {
  background:
    linear-gradient(rgba(10, 10, 10, 0.84), rgba(10, 10, 10, 0.9)),
    url("./sluzba.png") center / cover no-repeat;
}

