@import url("/eras/mindcode/mindcode.css");

:root {
  --black: #050706;
  --charcoal: #0b100d;
  --steel: #758078;
  --ice: #d8ffe2;
  --cyan: #56f27c;
  --white: #f1f4f2;
  --line: rgb(86 242 124 / 22%);
}

body { background: var(--black); }
.site-header { background: rgb(5 7 6 / 90%); }
.era-hero { justify-items: end; background: var(--black); }
.era-hero::after { display: none; }
.era-hero__video { position: absolute; z-index: -4; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 38% center; }
.era-hero__shade { position: absolute; z-index: -3; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgb(5 7 6 / 5%) 0%, rgb(5 7 6 / 7%) 31%, rgb(5 7 6 / 28%) 48%, rgb(5 7 6 / 82%) 69%, rgb(5 7 6 / 97%) 100%); }
.era-hero__grid { opacity: .35; background: linear-gradient(90deg, transparent calc(25% - 1px), rgb(86 242 124 / 8%) 25%, transparent calc(25% + 1px) calc(75% - 1px), rgb(86 242 124 / 8%) 75%, transparent calc(75% + 1px)), repeating-linear-gradient(0deg, transparent 0 5rem, rgb(86 242 124 / 4%) 5rem calc(5rem + 1px)); }
.era-hero__signal { opacity: .16; background: repeating-linear-gradient(0deg, transparent 0 3px, rgb(86 242 124 / 8%) 3px 4px); }
.era-hero__content { width: min(47rem, 49vw); padding-top: 2rem; }
.era-hero__status { margin: 0 0 clamp(2rem, 5vh, 4.5rem); color: var(--cyan); }
.era-hero__artist { margin-bottom: 1.25rem; }
.era-hero h1 { font-size: clamp(5rem, 9.8vw, 10.5rem); line-height: .7; text-wrap: nowrap; }
.era-hero__continuum, .section-heading p, .album__data, .album-art > p, .album-record__continuum, .story__index, .era-files__eyebrow, .era-files__counter, .comics__app-note { color: rgb(86 242 124 / 48%); }
.era-hero__support { margin: clamp(1.6rem, 3vh, 2.5rem) 0 0; color: rgb(241 244 242 / 72%); font-size: clamp(.76rem, 1vw, .95rem); letter-spacing: .1em; line-height: 1.65; }
.era-hero__support p { margin: 0; }
.era-hero__continuum { position: static; margin: 1.3rem 0 0; font-size: .52rem; letter-spacing: .22em; }
.era-hero__actions { display: flex; gap: .75rem; margin-top: clamp(1.8rem, 4vh, 3rem); }
.era-hero__button { display: flex; min-width: min(13.5rem, 42%); min-height: 3.75rem; align-items: center; justify-content: space-between; border: 1px solid rgb(86 242 124 / 58%); padding: .9rem 1.1rem; color: var(--white); background: rgb(5 7 6 / 35%); font-size: .58rem; font-weight: 600; letter-spacing: .19em; text-decoration: none; backdrop-filter: blur(5px); transition: transform 180ms ease, color 180ms ease, background-color 180ms ease, box-shadow 180ms ease; }
.era-hero__button--primary { color: #061009; background: var(--cyan); }
.era-hero__button:hover, .era-hero__button:focus-visible { transform: translateY(-2px); color: #061009; background: var(--cyan); box-shadow: 0 0 1.5rem rgb(86 242 124 / 14%); outline: none; }
.archive, .album, .story, .era-files, .comics { background-color: #080b09; }
.archive-file { background: #080b09; }
.archive-file__visual { background-image: url("/assets/images/new-child/newchild-archive-bg.webp"); background-size: auto 134%; background-position: 16% 62%; background-repeat: no-repeat; }
.archive-file__visual::after { background: linear-gradient(90deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 55%), linear-gradient(180deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.12) 45%, rgba(0,0,0,0.70) 100%); }
.archive-file__body strong { text-shadow: 0 2px 10px rgba(0,0,0,0.9); }
.album-art__placeholder { display: grid; width: 100%; aspect-ratio: 1; place-items: center; background: radial-gradient(circle, rgb(86 242 124 / 12%), transparent 34%), repeating-linear-gradient(0deg, transparent 0 3px, rgb(86 242 124 / 5%) 3px 4px), #080b09; }
.album-art__placeholder span, .empty-state span { color: var(--cyan); font-size: .55rem; letter-spacing: .22em; }
.empty-state { position: relative; display: grid; min-height: clamp(17rem, 30vw, 28rem); place-items: center; border: 1px solid var(--line); padding: 2rem; text-align: center; background: linear-gradient(145deg, rgb(86 242 124 / 5%), transparent 55%); }
.empty-state::before, .empty-state::after { position: absolute; width: 2.5rem; height: 2.5rem; content: ""; }
.empty-state::before { top: .65rem; left: .65rem; border-top: 1px solid var(--cyan); border-left: 1px solid var(--cyan); }
.empty-state::after { right: .65rem; bottom: .65rem; border-right: 1px solid var(--cyan); border-bottom: 1px solid var(--cyan); }
.empty-state p { max-width: 32rem; margin: 1rem auto 0; color: rgb(241 244 242 / 48%); font-size: .72rem; letter-spacing: .08em; line-height: 1.7; }
.placeholder-section { border-top: 1px solid var(--line); padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 5vw, 6rem) 3rem; }
.placeholder-section__header { display: grid; max-width: 96rem; grid-template-columns: .42fr 1.58fr auto; align-items: end; margin: 0 auto clamp(2rem, 5vw, 5rem); border-bottom: 1px solid var(--cyan); padding-bottom: clamp(1.5rem, 3vw, 3rem); }
.placeholder-section__header > p { margin: 0 0 .4rem; color: var(--cyan); font-size: .54rem; letter-spacing: .22em; }
.placeholder-section__header h2 { margin: 0; font: 500 clamp(4.6rem, 9.5vw, 9.5rem)/.67 "Bahnschrift Condensed", "DIN Condensed", "Arial Narrow", sans-serif; letter-spacing: -.055em; }
.placeholder-section__header small { color: rgb(241 244 242 / 38%); font-size: .48rem; letter-spacing: .18em; }
.placeholder-section .empty-state { max-width: 96rem; margin: auto; }
.story-entry { max-width: 96rem; margin: auto; }
.story-entry__header { display: grid; grid-template-columns: minmax(8rem, .42fr) 1.58fr auto; align-items: end; border-bottom: 1px solid var(--cyan); padding-bottom: clamp(1.5rem, 3vw, 3rem); }
.story-entry__file, .story-entry__subject { margin: 0 0 .4rem; font-size: .54rem; font-weight: 600; letter-spacing: .22em; }
.story-entry__file { color: var(--cyan); }
.story-entry__subject { color: rgb(241 244 242 / 48%); }
.story-entry h2 { margin: 0; font: 500 clamp(4.6rem, 9.5vw, 9.5rem)/.67 "Bahnschrift Condensed", "DIN Condensed", "Arial Narrow", sans-serif; letter-spacing: -.055em; }
.story-entry__body { position: relative; max-width: 52rem; margin: clamp(3rem, 6vw, 6rem) 0 0 clamp(8rem, 21vw, 25rem); border-left: 1px solid var(--line); padding: clamp(1.5rem, 3vw, 3rem) 0 clamp(1rem, 2vw, 2rem) clamp(1.5rem, 4vw, 4rem); }
.story-entry__body::before { position: absolute; top: 0; left: -1px; width: 1px; height: clamp(3rem, 7vw, 7rem); content: ""; background: var(--cyan); }
.story-entry__body p { max-width: 46rem; margin: 0; color: rgb(241 244 242 / 78%); font-family: "Aptos", "Gill Sans", sans-serif; font-size: clamp(1rem, 1.25vw, 1.16rem); letter-spacing: .025em; line-height: 1.9; }
.story-entry__body p + p { margin-top: 1.4em; }
.era-switcher__current { box-shadow: inset 0 -2px var(--cyan); background: rgb(86 242 124 / 6%); }
.era-switcher__current::after { color: var(--cyan); content: "CURRENT ERA"; font-size: .43rem; letter-spacing: .18em; }

/* Transmission 02 lyric archive */
#lyrics { --file-accent: var(--cyan); }
#lyrics .lyric-card { border-color: rgb(86 242 124 / 24%); border-left-color: var(--cyan); background: linear-gradient(155deg, rgb(86 242 124 / 10%), transparent 58%), #0a0e0c; box-shadow: inset 1px 0 rgb(86 242 124 / 36%); }
#lyrics .lyric-card::before { color: rgb(86 242 124 / 4%); }
#lyrics .lyric-card__number, #lyrics .lyric-card__action { color: var(--cyan); }
#lyrics .lyric-card__action { border-top-color: rgb(86 242 124 / 22%); }
#lyrics .lyric-card:hover, #lyrics .lyric-card:focus-visible { border-color: var(--cyan); box-shadow: inset 1px 0 var(--cyan), 0 0 1.75rem rgb(86 242 124 / 10%); outline: none; }
.archive-dossier { --file-accent: var(--cyan); background: #080b09; }
.archive-dossier::after { background: repeating-linear-gradient(0deg, transparent 0 3px, rgb(86 242 124 / 5%) 3px 4px); }
.lyric-dossier__header { background: linear-gradient(145deg, rgb(86 242 124 / 12%), transparent 65%); }
.archive-dossier__scroll { scrollbar-color: var(--cyan) transparent; }

/* Era 02 featured simulation */
.featured-simulation { display: grid; max-width: 96rem; min-height: clamp(28rem, 50vw, 43rem); grid-template-columns: minmax(18rem, .85fr) minmax(22rem, 1.15fr); margin: auto; border: 1px solid var(--line); background: #070a08; }
.featured-simulation__visual { position: relative; min-height: 24rem; overflow: hidden; border-right: 1px solid var(--line); background: #0a100c; }
.featured-simulation__visual::before { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 3px, rgb(86 242 124 / 5%) 3px 4px); content: ""; }
.featured-simulation__image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.featured-simulation__status { position: absolute; right: 1.5rem; bottom: 1.5rem; color: var(--cyan); font-size: .5rem; letter-spacing: .22em; }
.featured-simulation__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 6vw, 7rem); }
.featured-simulation__eyebrow { margin: 0 0 1.5rem; color: var(--cyan); font-size: .56rem; letter-spacing: .24em; }
.featured-simulation h3 { margin: 0; color: var(--white); font: 500 clamp(3.5rem, 6.8vw, 7rem)/.78 "Bahnschrift Condensed", "DIN Condensed", "Arial Narrow", sans-serif; letter-spacing: -.045em; }
.featured-simulation__brief { max-width: 37rem; margin: clamp(2rem, 4vw, 3.5rem) 0; color: rgb(241 244 242 / 68%); font-family: "Aptos", "Gill Sans", sans-serif; font-size: clamp(.95rem, 1.2vw, 1.12rem); line-height: 1.75; }
.featured-simulation__cta { display: flex; width: min(100%, 22rem); min-height: 4.2rem; align-items: center; justify-content: space-between; border: 1px solid var(--cyan); padding: 1rem 1.25rem; color: #061009; background: var(--cyan); font-size: .6rem; font-weight: 700; letter-spacing: .2em; text-decoration: none; transition: transform 180ms ease, background-color 180ms ease, color 180ms ease; }
.featured-simulation__cta:hover, .featured-simulation__cta:focus-visible { color: var(--cyan); background: transparent; outline: none; transform: translateY(-2px); }

@media (max-width: 850px) {
  .era-hero { align-items: end; padding-bottom: 5.5rem; }
  .era-hero__video { object-position: 35% center; }
  .era-hero__shade { background: linear-gradient(180deg, rgb(5 7 6 / 3%) 0%, rgb(5 7 6 / 8%) 34%, rgb(5 7 6 / 74%) 63%, rgb(5 7 6 / 98%) 100%), linear-gradient(90deg, transparent 0 45%, rgb(5 7 6 / 38%) 100%); }
  .era-hero__content { width: min(39rem, 88vw); }
  .era-hero__status { margin-bottom: 1.8rem; }
  .era-hero h1 { font-size: clamp(4.8rem, 18vw, 8.5rem); }
  .era-hero__continuum { max-width: none; }
}

@media (max-width: 700px) {
  .placeholder-section__header { display: block; }
  .placeholder-section__header h2 { margin: 1rem 0; font-size: clamp(4.2rem, 22vw, 6.5rem); }
  .story-entry__header { display: block; }
  .story-entry h2 { margin: 1rem 0; font-size: clamp(4.2rem, 22vw, 6.5rem); }
  .story-entry__body { margin-left: 0; }
  .featured-simulation { grid-template-columns: 1fr; }
  .featured-simulation__visual { min-height: 18rem; border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 540px) {
  .era-hero { min-height: 46rem; padding: 7rem 1.5rem 3.8rem; }
  .era-hero__video { object-position: 36% center; }
  .era-hero__content { width: 100%; padding-top: 0; }
  .era-hero__status { font-size: .5rem; letter-spacing: .17em; }
  .era-hero h1 { font-size: clamp(4.5rem, 23vw, 6.7rem); }
  .era-hero__support { font-size: .7rem; }
  .era-hero__actions { display: grid; grid-template-columns: 1fr; }
  .era-hero__button { width: 100%; min-width: 0; min-height: 3.5rem; }
  .story-entry__body { padding-left: 1.25rem; }
  .story-entry__body p { font-size: 1rem; line-height: 1.75; }
}

@media (prefers-reduced-motion: reduce) {
  .era-hero__video { display: none; }
  .era-hero { background: linear-gradient(115deg, #050706 0 48%, #0d1510 100%); }
  .era-hero__button { transition: none; }
  .featured-simulation__cta { transition: none; }
}

.listen-menu { min-width: min(13.5rem, 42%); align-self: flex-start; }
.listen-menu > summary { width: 100%; min-width: 0; list-style: none; cursor: pointer; }
.listen-menu > summary::-webkit-details-marker { display: none; }
.listen-menu__panel { display: grid; gap: .5rem; margin: .5rem 0 0; padding: 0; list-style: none; }
.listen-menu__panel a { width: 100%; min-width: 0; }
@media (max-width: 540px) { .listen-menu { min-width: 0; } }
