


body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.root {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
}

.wrap {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
}

main {
  display: flex;
  flex-direction: column;
  gap: 2em;
  flex: 1 1 auto;
}

.mwrap {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.cnt {
  display: flex;
  flex-direction: column;
}

section {
  flex: 1 1 auto;
}

.cont {
  width: 72em;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5em;
  padding-right: 1.5em;
}

.cont-nr {
  width: 52em;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5em;
  padding-right: 1.5em;
}


.cnt > section:nth-child(odd) {
  padding: 3em 0 5em;
  background: var(--c-bg);
}

.cnt > section:nth-child(even) {
  padding: 5em 0 3em;
  background: var(--c-bg-2);
}


.cnt > section:nth-child(even) .vapr,
.cnt > section:nth-child(even) .faac-i,
.cnt > section:nth-child(even) .prgr-c,
.cnt > section:nth-child(even) .pagr,
.cnt > section:nth-child(even) .ctbl,
.cnt > section:nth-child(even) .co-side,
.cnt > section:nth-child(even) .crt,
.cnt > section:nth-child(even) .crt-empty {
  background: var(--c-bg-3);
}


.shgr .rail {
  margin-bottom: 2.4em;
}

.prgr .cont {
  max-width: 100%;
}

.fegr .sh {
  max-width: 44em;
}

.como .frm {
  max-width: 34em;
}

.faac .sh {
  max-width: 44em;
}

.content {
  padding-left: 10%;
  padding-right: 5%;
}


.cnt > section.heun {
  padding: 9em 1em;
}

.heun-in {
  max-width: 100%;
}

.heun h1 {
  line-height: 1.05;
  max-width: 16ch;
  margin-bottom: 0.32em;
}

.heun p {
  font-size: 1.25em;
  opacity: 0.8;
  max-width: 34em;
  line-height: 1.55;
}

.heun-k {
  margin-bottom: 1.6em;
}

.heun-cta {
  margin-top: 2.6em;
  display: flex;
  gap: 1.4em;
  align-items: center;
  flex-wrap: wrap;
}

.heun-note {
  margin-top: 2.2em;
  font-size: 0.9375em;
  color: var(--c-ink-3);
  letter-spacing: 0.02em;
}


.sh {
  max-width: 40em;
  margin-bottom: 2.4em;
}

.sh h2 {
  margin-bottom: 0.4em;
}

.sh p {
  color: var(--c-ink-2);
  font-size: 1.09em;
}


.sdiv {
  height: 1.5em;
  background: var(--c-bg-3);
  -webkit-mask: linear-gradient(135deg, #000 25%, transparent 0) -1em 0/2em 2em repeat-x;
  mask: linear-gradient(135deg, #000 25%, transparent 0) -1em 0/2em 2em repeat-x;
}


.zz {
  display: flex;
  flex-direction: column;
  gap: 3.4em;
}

.zz-r {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.6em;
  align-items: center;
}

.zz-r:nth-child(odd) .zz-c {
  order: 1;
}

.zz-r:nth-child(odd) .zz-m {
  order: 2;
}

.zz-r:nth-child(even) .zz-c {
  order: 2;
}

.zz-r:nth-child(even) .zz-m {
  order: 1;
}

.zz-c h3 {
  margin-bottom: 0.55em;
}

.zz-c p {
  color: var(--c-ink-2);
}

.zz-m {
  aspect-ratio: 1;
  border-radius: 0.9em;
  overflow: hidden;
  background: var(--c-bg-3);
}

.zz-m img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


.rv {
  opacity: 0;
  transform: translateY(1.875em);
  transition: all 0.6s ease;
}

.rv.on {
  opacity: 1;
  transform: translateY(0);
}


.pgh {
  padding: 4.4em 0 2.2em;
  border-bottom: 1px solid var(--c-hair);
}

.pgh h1 {
  font-size: 3.2em;
  max-width: 20ch;
  margin-bottom: 0.3em;
}

.pgh p {
  color: var(--c-ink-2);
  max-width: 46em;
  font-size: 1.09em;
}

.crumbs {
  display: flex;
  gap: 0.5em;
  flex-wrap: wrap;
  font-size: 0.875em;
  color: var(--c-ink-3);
  margin-bottom: 1.4em;
}

.crumbs a:hover {
  color: var(--c-accent);
}

.crumbs span {
  color: var(--c-ink-3);
}


.prose h2 {
  font-size: 1.618em;
  margin-top: 2em;
  margin-bottom: 0.5em;
}

.prose h3 {
  font-size: 1.18em;
  margin-top: 1.5em;
  margin-bottom: 0.4em;
}

.prose p {
  color: var(--c-ink-2);
  margin-bottom: 1em;
}

.prose ul {
  margin-bottom: 1.2em;
  padding-left: 1.2em;
}

.prose li {
  color: var(--c-ink-2);
  line-height: 1.66;
  margin-bottom: 0.45em;
  list-style: disc;
}

.prose a {
  color: var(--c-head);
  border-bottom: 1px solid var(--c-head);
}

.prose strong {
  color: var(--c-ink);
}


@media (max-width: 1024px) {
  .cont {
    width: 100%;
  }

  .content {
    padding-left: 4%;
    padding-right: 4%;
  }

  .cnt > section.heun {
    padding: 6em 1em;
  }

  .zz-r {
    gap: 2em;
  }
}

@media (max-width: 768px) {
  .cnt > section:nth-child(odd) {
    padding: 2.4em 0 3.2em;
  }

  .cnt > section:nth-child(even) {
    padding: 3.2em 0 2.4em;
  }

  .cnt > section.heun {
    padding: 3.6em 1em 3em;
  }

  .content {
    padding-left: 0;
    padding-right: 0;
  }

  .zz-r {
    grid-template-columns: 1fr;
  }

  .zz-r:nth-child(odd) .zz-m,
  .zz-r:nth-child(even) .zz-m {
    order: 0;
  }

  .zz-r:nth-child(odd) .zz-c,
  .zz-r:nth-child(even) .zz-c {
    order: 1;
  }

  .pgh {
    padding: 2.6em 0 1.6em;
  }

  .pgh h1 {
    font-size: 2.2em;
  }

  .sh {
    margin-bottom: 1.6em;
  }

  
  .rail {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1em;
    padding-bottom: 0.8em;
  }

  .rail > * {
    min-width: 82vw;
    scroll-snap-align: start;
  }
}

/* hero-photo-layer: generated background, kept behind the copy */
section.heun { position: relative; isolation: isolate; }
section.heun::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url('/public/media/hero-copper-mist.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.28;
  pointer-events: none;
}
