/* Shared about-page styles — hero, narrative, scenario gallery, feature cards.
   Works with site.css tokens so it follows the light/dark theme automatically. */

.about-hero {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--ink-900);
  color: #EEF0F5;
  position: relative;
  overflow: hidden;
}

.about-hero .shell {
  position: relative;
  z-index: 1;
}

.about-hero .eyebrow {
  color: var(--accent-lift);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
}

.about-hero h1, .about-hero .about-name {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin: 0 0 0.6rem;
  line-height: 1.05;
}

.about-hero .tagline {
  color: rgba(246, 247, 249, 0.72);
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 60ch;
  margin: 0 0 1.5rem;
}

.about-hero .meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.about-hero .meta span {
  font-size: 0.75rem;   /* 0.6875rem rendered 10.88px on the scaled root: under the 11px floor */
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--on-invert-soft);   /* the hero is dark in both themes: --ink-soft measured 3.10 in light */
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.75rem;
  border-radius: 4px;
}

.about-hero .status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
}

.about-hero .status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.about-hero .status.live {
  color: #2ecc71;
}

.about-hero .status.soon {
  color: var(--accent-lift);
}

.about-hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.about-hero .actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0.85rem 1.7rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}

/* A held game (js/games-data.js avail: held): the note stands where Play now was, the way back beside it. */
.about-hero .held-note {
  flex-basis: 100%;
  margin: 0;
  color: #EEF0F5;
  font-weight: 600;
}

.about-hero .actions .btn-accent {
  background: var(--accent-deep);
  color: var(--on-accent);
}

.about-hero .hero-img {
  margin-top: 2.2rem;
  border-radius: var(--r-unit, 16px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.about-hero .hero-img img {
  display: block;
  width: 100%;
  height: auto;
}

.about-body {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: var(--paper);
}

.about-body .shell {
  max-width: var(--prose);
}

.about-body p {
  font-size: clamp(1.05rem, 2vw, 1.15rem);
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}

.about-body p + p,
.about-body p + ul,
.about-body ul + p,
.about-body p + .prax-axiom,
.about-body p + .prax-modes,
.prax-axiom + .prax-modes,
.prax-modes + p {
  margin-top: 1.1rem;
}

.prax-axiom {
  margin: 1.25rem 0 0;
}

.prax-axiom img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-unit, 12px);
}

.prax-axiom figcaption {
  margin-top: 0.7rem;
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-style: normal;
  color: var(--ink);
  line-height: 1.35;
}

.prax-modes {
  margin: 1.25rem 0 0;
}

.prax-rungs {
  display: block;
  width: 100%;
  height: auto;
  color: var(--ink);
}

.prax-cards {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.prax-cards li {
  margin: 0;
  padding: 0 0 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-unit, 12px);
  overflow: hidden;
  min-width: 0;
}

.prax-cards li.on {
  border-color: var(--accent-deep);
  box-shadow: 0 0 0 1px var(--accent-deep);
}

.prax-cards img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  margin: 0 0 0.75rem;
}

.prax-cards h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  font-style: normal;
  margin: 0 0.9rem 0.35rem;
  color: var(--ink);
}

.prax-cards p {
  margin: 0 0.9rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.prax-dims {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.prax-dims li {
  margin: 0;
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper-2);
}

.prax-dims svg {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  color: var(--accent-deep);
}

.prax-dims div {
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--ink-soft);
}

.prax-dims strong {
  display: block;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.15rem;
}

@media (max-width: 900px) {
  .prax-cards,
  .prax-dims {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .prax-cards,
  .prax-dims {
    grid-template-columns: minmax(0, 1fr);
  }
}

.about-body h2,
.about-shot h2,
.about-gallery h2,
.about-features h2 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin: 0 0 1rem;
  color: var(--ink);
}

.about-body ul {
  font-size: clamp(1.05rem, 2vw, 1.15rem);
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
  padding-left: 1.4rem;
}

.about-body li + li {
  margin-top: 0.4rem;
}

.about-shot,
.about-gallery,
.about-features {
  padding: 0 0 clamp(2.5rem, 5vw, 4rem);
  background: var(--paper);
}

.about-shot .shell,
.about-gallery .shell,
.about-features .shell {
  max-width: var(--stage);
}

.about-shot img,
.about-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-unit, 16px);
  border: none;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
}

.about-gallery .gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.about-gallery figure {
  margin: 0;
}

.about-gallery figcaption {
  margin-top: 0.6rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.about-features .feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.about-features .feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-unit, 16px);
  padding: 1.25rem 1.4rem;
}

.about-features .feature-card h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  margin: 0 0 0.45rem;
  color: var(--ink);
}

.about-features .feature-card p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.about-quote {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: var(--paper-2);
}

.about-quote .shell {
  max-width: var(--prose);
}

.about-quote blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  line-height: 1.45;
  color: var(--ink);
}

.about-quote blockquote cite {
  display: block;
  margin-top: 0.8rem;
  font-family: var(--body);
  font-size: 0.9rem;
  font-style: normal;
  color: var(--ink-soft);
}

.about-body-continue {
  padding-top: 0;
}

.about-tracks {
  padding: 0 0 clamp(2.5rem, 5vw, 4rem);
  background: var(--paper);
}

.about-tracks .shell {
  max-width: var(--prose);
}

.about-tracks .credit {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}

.track {
  margin: 0 0 0.85rem;
  padding: 0 0 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-unit, 12px);
  overflow: hidden;
}

.track img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin: 0 0 0.85rem;
}

.track h3 {
  margin: 0 1.1rem 0.4rem;
  font-family: var(--display);
  font-size: 1.15rem;
  font-style: normal;
  color: var(--ink);
}

.track p {
  margin: 0 1.1rem 0.7rem;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.track audio {
  display: block;
  width: calc(100% - 2.2rem);
  margin: 0 1.1rem;
  min-height: 40px;
}

@media (max-width: 414px) {
  .track h3,
  .track p {
    margin-left: 0.8rem;
    margin-right: 0.8rem;
  }

  .track audio {
    width: calc(100% - 1.6rem);
    margin: 0 0.8rem;
  }
}

/* Mission: copy from data/hub.yaml. */
.about-mission h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.08;
  margin: 0 0 1.2rem;
  color: var(--ink);
}
.about-mission p + p { margin-top: 1rem; }
.about-mission .btn { margin-top: 1.4rem; }
