/* Decorative ribbon artwork: scoped to About, Roadmap and FAQ.
   The images add atmosphere; headings, navigation and diagrams stay in HTML. */
.editorial-art {
  position: relative;
  pointer-events: none;
  user-select: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 82%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 82%, transparent);
}
.editorial-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #0a0a0a, transparent 10%, transparent 92%, #0a0a0a);
}
.editorial-art img { display: block; width: 100%; height: auto; }

/* About: an open composition that grows from small attempts into a sculpture. */
.about-page .about-main { padding: 1.5rem 0 5rem; }
.about-page .about-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-start;
  min-height: 580px;
  max-width: 1120px;
}
.about-page .about-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  max-width: 1030px;
  aspect-ratio: 1672 / 941;
  margin: auto;
}
.about-page .about-heading { max-width: 47%; padding: 3.5rem 0 0 1.5rem; }
.about-page .about-heading .brand-page-mark { width: 64px; height: 64px; margin-bottom: 1.4rem; }
.about-page .about-heading h1 {
  font-size: clamp(2.5rem, 4.8vw, 3.8rem);
  line-height: 1.12;
  letter-spacing: -.04em;
}
.about-page .about-heading h1 span { display: block; }
.about-page .about-body > h3:first-child { margin-top: 0; }

/* Roadmap: keep the text over the image's quiet side and the topics below it. */
.roadmap-page .rm-shell { padding-top: 1.5rem; }
.roadmap-page .rm-visual-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 560px;
  margin-bottom: 1rem;
}
.roadmap-page .rm-art { position: absolute; inset: 0 -1.5rem; z-index: -1; }
.roadmap-page .rm-art img { height: 100%; object-fit: cover; }
.roadmap-page .rm-art::after {
  background: linear-gradient(to right, #0a0a0a 0%, rgba(10, 10, 10, .95) 26%, rgba(10, 10, 10, .68) 42%, transparent 64%, transparent 95%, #0a0a0a);
}
.roadmap-page .rm-hero-copy { width: 49%; padding: 1.5rem 0; }
.roadmap-page .rm-hero-copy h1 { font-size: clamp(2.6rem, 4.6vw, 3.8rem); }
.roadmap-page .rm-hero-copy .rm-lead { font-size: 1rem; }
.roadmap-page .rm-directions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0 1.5rem;
  max-width: none;
  padding: 0 0 1.5rem;
  margin-bottom: 1.5rem;
  border-left: 0;
  border-bottom: 1px solid var(--rm-line);
}
.roadmap-page .rm-directions-label { grid-column: 1 / -1; margin-bottom: .5rem; }
.roadmap-page .rm-directions a {
  position: relative;
  flex-direction: column;
  align-items: flex-start;
  gap: .7rem;
  padding: .8rem 0;
}
.roadmap-page .rm-directions a + a { border-top: 0; }
.roadmap-page .rm-directions svg { width: 30px; height: 30px; }
.roadmap-page .rm-directions strong { font-size: .875rem; }
.roadmap-page .rm-directions small { font-size: .75rem; }
.roadmap-page .rm-directions a > span:last-child { position: absolute; top: 1rem; right: 0; }
.roadmap-page .rm-directions a:focus-visible { outline: 2px solid var(--rm-blue); outline-offset: 5px; border-radius: 3px; }

/* FAQ: a small decorative counterpoint, with questions kept close to the title. */
.faq-page .faq-main { padding: 1.5rem 0 4rem; }
.faq-page .faq-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1.5rem;
}
.faq-page .faq-hero h1 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.14;
  letter-spacing: -.035em;
  margin: 0;
}
.faq-page .faq-topics { margin-top: 0; }

@media (max-width: 900px) {
  .about-page .about-hero { min-height: 480px; }
  .about-page .about-heading { padding-left: 0; }
  .roadmap-page .rm-visual-hero { min-height: 500px; }
  .roadmap-page .rm-hero-copy { width: 56%; }
  .roadmap-page .rm-art::after {
    background: linear-gradient(to right, #0a0a0a, rgba(10, 10, 10, .95) 30%, rgba(10, 10, 10, .8) 53%, transparent 77%, transparent 95%, #0a0a0a);
  }
  .roadmap-page .rm-directions { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem 1.5rem; }
}

@media (max-width: 700px) {
  .about-page .about-main { padding-top: 2rem; padding-bottom: 3rem; }
  .about-page .about-hero { display: flex; flex-direction: column; min-height: 0; margin-bottom: 1rem; }
  .about-page .about-heading { order: -1; max-width: 100%; padding: 0; }
  .about-page .about-heading .brand-page-mark { width: 48px; height: 48px; margin-bottom: 1rem; }
  .about-page .about-heading h1 { font-size: clamp(2.2rem, 8vw, 3rem); }
  .about-page .about-heading h1 span { display: inline; }
  .about-page .about-art { position: relative; inset: auto; width: 100%; max-width: none; margin-top: 1rem; }
  .about-page .about-art img { height: auto; }
  .roadmap-page .rm-shell { padding-top: 2rem; }
  .roadmap-page .rm-visual-hero { flex-direction: column; align-items: stretch; min-height: 0; gap: 0; margin-bottom: 1.5rem; }
  .roadmap-page .rm-hero-copy { order: -1; width: 100%; padding: 0; }
  .roadmap-page .rm-hero-copy h1 { font-size: clamp(2.4rem, 8vw, 3.3rem); }
  .roadmap-page .rm-art { position: relative; inset: auto; width: 100%; margin-top: 1rem; }
  .roadmap-page .rm-art img { height: auto; }
  .roadmap-page .rm-art::after { background: linear-gradient(to right, #0a0a0a, transparent 8%, transparent 94%, #0a0a0a); }
  .roadmap-page .rm-directions { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
}

@media (max-width: 600px) {
  .faq-page .faq-main { padding-top: 1.5rem; }
  .faq-page .faq-hero { grid-template-columns: minmax(0, 1fr) 120px; gap: .5rem; margin-bottom: 2rem; }
  .faq-page .faq-hero h1 { font-size: clamp(1.55rem, 5.8vw, 2rem); letter-spacing: -.025em; }
}

@media (max-width: 380px) {
  .faq-page .faq-hero { grid-template-columns: minmax(0, 1fr) 92px; }
  .roadmap-page .rm-directions { gap: .5rem 1rem; }
}
