/* Stevza, dark theme. One accent, one radius scale, one type scale. */

:root {
--ink: #08090b;
--panel: #12151a;
--panel-2: #171b21;
--line: #262c34;
--text: #e7eaee;
--muted: #99a2ad;
--accent: #09ff00;
--accent-ink: #1a1204;

--measure: 66ch;
--radius: 6px;
--radius-lg: 12px;

/* type scale: 1.25 */
--f-xs: 0.8125rem;
--f-s: 0.9375rem;
--f-base: 1.0625rem;
--f-m: 1.3rem;
--f-l: 1.65rem;
--f-xl: 2.1rem;
--f-2xl: clamp(2.4rem, 6vw, 4.2rem);

--sp-1: 0.5rem;
--sp-2: 1rem;
--sp-3: 1.5rem;
--sp-4: 2.5rem;
--sp-5: 4rem;
--sp-6: 6rem;

--display: "Bricolage Grotesque", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
--body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after {
box-sizing: border-box;
}

html {
-webkit-text-size-adjust: 100%;
}

body {
margin: 0;
background: var(--ink);
color: var(--text);
font-family: var(--body);
font-size: var(--f-base);
line-height: 1.65;
letter-spacing: 0.005em;
}

img,
svg,
iframe {
max-width: 100%;
display: block;
}

img {
height: auto;
}

a {
color: var(--text);
text-decoration-color: rgba(10, 31, 0, 0.55);
text-underline-offset: 0.2em;
}

a:hover {
text-decoration-color: var(--accent);
}

:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 3px;
border-radius: 2px;
}

h1,
h2,
h3 {
font-family: var(--display);
font-weight: 700;
line-height: 1.1;
letter-spacing: -0.02em;
margin: 0 0 var(--sp-2);
text-wrap: balance;
}

h1 {
font-size: var(--f-xl);
}

h2 {
font-size: var(--f-l);
}

h3 {
font-size: var(--f-m);
}

p {
margin: 0 0 var(--sp-2);
}

.wrap {
width: min(1120px, 100% - 2.5rem);
margin-inline: auto;
}

.prose {
max-width: var(--measure);
}

.muted {
color: var(--muted);
}

.section {
padding-block: var(--sp-5);
border-top: 1px solid var(--line);
}

.section:first-of-type {
border-top: 0;
}

.skip {
position: absolute;
left: -9999px;
top: 0;
background: var(--accent);
color: var(--accent-ink);
padding: 0.6rem 1rem;
z-index: 100;
font-weight: 600;
}

.skip:focus {
left: 0;
}

/* ---------- header ---------- */

.masthead {
position: sticky;
top: 0;
z-index: 50;
background: rgba(8, 9, 11, 0.92);
border-bottom: 1px solid var(--line);
backdrop-filter: blur(8px);
}

.masthead__inner {
display: flex;
align-items: center;
gap: var(--sp-3);
min-height: 68px;
}

.brand {
font-family: var(--display);
font-weight: 800;
font-size: 1.25rem;
letter-spacing: 0.02em;
text-decoration: none;
display: flex;
align-items: center;
gap: 0.6rem;
}

.brand__mark {
height: 50px;
width: auto;
color: var(--text);
display: block;
}

.brand:hover .brand__mark {
color: var(--accent);
}

.nav {
margin-left: auto;
}

.nav ul {
display: flex;
gap: var(--sp-3);
list-style: none;
margin: 0;
padding: 0;
}

.nav a {
text-decoration: none;
font-size: var(--f-s);
color: var(--muted);
padding: 0.4rem 0;
border-bottom: 2px solid transparent;
}

.nav a:hover {
color: var(--text);
}

.nav a[aria-current="page"] {
color: var(--text);
border-bottom-color: var(--accent);
}

.nav-toggle {
display: none;
margin-left: auto;
background: transparent;
color: var(--text);
border: 1px solid var(--line);
border-radius: var(--radius);
padding: 0.5rem 0.75rem;
font: inherit;
font-size: var(--f-s);
cursor: pointer;
}

@media (max-width: 860px) {
.nav-toggle {
display: block;
}

.nav {
margin-left: 0;
display: none;
width: 100%;
padding-bottom: var(--sp-2);
}

.nav.is-open {
display: block;
}

.masthead__inner {
flex-wrap: wrap;
}

.nav ul {
flex-direction: column;
gap: 0;
}

.nav a {
display: block;
padding: 0.7rem 0;
border-bottom: 1px solid var(--line);
}
}

/* ---------- hero ---------- */

.hero {
padding-block: var(--sp-5) var(--sp-4);
}

.hero__grid {
display: grid;
gap: var(--sp-4);
grid-template-columns: 1fr;
align-items: end;
}

@media (min-width: 900px) {
.hero__grid {
grid-template-columns: 1.05fr 0.95fr;
}
}

.hero__kicker {
color: var(--accent);
font-size: var(--f-s);
margin: 0 0 var(--sp-1);
}

.hero__title {
font-size: var(--f-2xl);
line-height: 0.95;
letter-spacing: -0.035em;
margin: 0 0 var(--sp-2);
}

.hero__sub {
color: var(--muted);
max-width: 40ch;
}

/* ---------- buttons ---------- */

.btn {
display: inline-block;
padding: 0.7rem 1.15rem;
border-radius: var(--radius);
font-size: var(--f-s);
font-weight: 600;
text-decoration: none;
border: 1px solid var(--line);
color: var(--text);
background: var(--panel);
}

.btn:hover {
border-color: #3a434e;
}

.btn--primary {
background: var(--accent);
color: var(--accent-ink);
border-color: var(--accent);
}

.btn--primary:hover {
background: #f3b257;
}

.btn-row {
display: flex;
flex-wrap: wrap;
gap: var(--sp-1);
margin-top: var(--sp-3);
}

/* ---------- video ---------- */

.video {
position: relative;
aspect-ratio: 16 / 9;
width: 100%;
background: var(--panel);
border: 1px solid var(--line);
border-radius: var(--radius-lg);
overflow: hidden;
cursor: pointer;
padding: 0;
display: block;
color: inherit;
}

.video img {
width: 100%;
height: 100%;
object-fit: cover;
opacity: 0.75;
}

.video:hover img {
opacity: 0.9;
}

.video iframe {
width: 100%;
height: 100%;
border: 0;
}

.video__play {
position: absolute;
inset: 0;
display: grid;
place-items: center;
pointer-events: none;
}

.video__play span {
width: 62px;
height: 62px;
border-radius: 50%;
background: var(--accent);
color: var(--accent-ink);
display: grid;
place-items: center;
font-size: 1.4rem;
}

.video__label {
position: absolute;
left: 0;
right: 0;
bottom: 0;
pointer-events: none;
padding: 2.5rem 1rem 0.9rem;
background: linear-gradient(to top, rgba(8, 9, 11, 0.95), transparent);
font-size: var(--f-s);
}

/* ---------- countdown ---------- */

.countdown {
display: flex;
gap: var(--sp-2);
flex-wrap: wrap;
margin-top: var(--sp-2);
}

.countdown div {
min-width: 76px;
padding: 0.6rem 0.8rem;
background: var(--panel);
border: 1px solid var(--line);
border-radius: var(--radius);
text-align: center;
}

.countdown b {
display: block;
font-family: var(--display);
font-size: var(--f-l);
font-variant-numeric: tabular-nums;
}

.countdown small {
color: var(--muted);
font-size: var(--f-xs);
}

/* ---------- grids & cards ---------- */

.grid {
display: grid;
gap: var(--sp-3);
}

.grid--3 {
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.grid--2 {
grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}

.card {
background: var(--panel);
border: 1px solid var(--line);
border-radius: var(--radius-lg);
padding: var(--sp-3);
}

.card h3 {
margin-bottom: 0.35rem;
}

.card p:last-child {
margin-bottom: 0;
}

.release__meta {
color: var(--muted);
font-size: var(--f-s);
margin-bottom: var(--sp-1);
}

.section__head {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: var(--sp-2);
margin-bottom: var(--sp-3);
}

.section__head a {
font-size: var(--f-s);
}

/* ---------- characters ---------- */

.character {
display: grid;
gap: var(--sp-3);
padding-block: var(--sp-4);
border-top: 1px solid var(--line);
}

@media (min-width: 800px) {
.character {
grid-template-columns: 320px 1fr;
gap: var(--sp-4);
}
}

.character__portrait {
border-radius: var(--radius-lg);
border: 1px solid var(--line);
background: var(--panel-2);
aspect-ratio: 3 / 4;
object-fit: cover;
width: 100%;
}

.character__voice {
color: var(--accent);
font-size: var(--f-s);
margin: 0 0 0.35rem;
}

.tags {
display: flex;
flex-wrap: wrap;
gap: 0.4rem;
list-style: none;
padding: 0;
margin: var(--sp-2) 0 0;
}

.tags li,
.tag {
font-size: var(--f-xs);
color: var(--muted);
border: 1px solid var(--line);
border-radius: 999px;
padding: 0.2rem 0.65rem;
background: var(--panel-2);
text-decoration: none;
display: inline-block;
}

a.tag:hover,
.tag[aria-pressed="true"] {
color: var(--accent-ink);
background: var(--accent);
border-color: var(--accent);
}

/* ---------- blog ---------- */

.filters {
display: flex;
flex-wrap: wrap;
gap: 0.4rem;
align-items: center;
margin-bottom: var(--sp-3);
}

.filters button {
font: inherit;
cursor: pointer;
}

.search {
background: var(--panel);
border: 1px solid var(--line);
color: var(--text);
border-radius: var(--radius);
padding: 0.55rem 0.8rem;
font: inherit;
font-size: var(--f-s);
min-width: 240px;
}

.postlist {
list-style: none;
margin: 0;
padding: 0;
}

.postlist li {
border-top: 1px solid var(--line);
padding-block: var(--sp-3);
}

.postlist h3 {
margin-bottom: 0.25rem;
}

.postlist a {
text-decoration: none;
}

.postlist a:hover h3 {
color: var(--accent);
}

.post-meta {
color: var(--muted);
font-size: var(--f-s);
}

.post-body {
max-width: var(--measure);
}

.post-body h2 {
margin-top: var(--sp-4);
}

.post-body h3 {
margin-top: var(--sp-3);
}

.post-body img {
border-radius: var(--radius-lg);
border: 1px solid var(--line);
margin-block: var(--sp-3);
}

.post-body blockquote {
margin: var(--sp-3) 0;
padding: 0.2rem 0 0.2rem var(--sp-2);
border-left: 2px solid var(--accent);
color: var(--muted);
}

.post-body code {
background: var(--panel-2);
border: 1px solid var(--line);
border-radius: 4px;
padding: 0.1rem 0.35rem;
font-size: 0.9em;
}

.post-body pre {
background: var(--panel-2);
border: 1px solid var(--line);
border-radius: var(--radius);
padding: var(--sp-2);
overflow-x: auto;
}

.post-body pre code {
border: 0;
background: none;
padding: 0;
}

.post-body ul,
.post-body ol {
padding-left: 1.3rem;
}

.post-body li {
margin-bottom: 0.4rem;
}

.post-body hr {
border: 0;
border-top: 1px solid var(--line);
margin-block: var(--sp-4);
}

.notice {
border: 1px solid var(--line);
border-radius: var(--radius-lg);
padding: var(--sp-3);
background: var(--panel);
color: var(--muted);
}

.notice strong {
color: var(--text);
}

/* ---------- links list ---------- */

.linklist {
list-style: none;
margin: 0;
padding: 0;
display: grid;
gap: 0.6rem;
}

.linklist a {
display: flex;
justify-content: space-between;
align-items: center;
gap: var(--sp-2);
padding: 0.9rem 1.1rem;
background: var(--panel);
border: 1px solid var(--line);
border-radius: var(--radius);
text-decoration: none;
text-align: left;
}

.linklist a > span:first-child {
flex: 1;
text-align: left;
}

.linklist i {
width: 1.4rem;
margin-right: 0.35rem;
text-align: center;
}

.linklist a:hover {
border-color: var(--accent);
}

.linklist small {
color: var(--muted);
}

/* ---------- footer ---------- */

.footer {
border-top: 1px solid var(--line);
padding-block: var(--sp-4);
color: var(--muted);
font-size: var(--f-s);
margin-top: var(--sp-5);
}

.footer__grid {
display: flex;
flex-wrap: wrap;
gap: var(--sp-3) var(--sp-5);
justify-content: space-between;
}

.footer ul {
list-style: none;
margin: 0;
padding: 0;
display: grid;
gap: 0.4rem;
}

.footer a {
text-decoration: none;
}

.footer a:hover {
color: var(--text);
}

.footer .disclaimer {
max-width: 52ch;
margin-top: var(--sp-3);
font-size: var(--f-xs);
}

/* ---------- centred layout ---------- */

.wrap {
width: min(980px, 100% - 2.5rem);
}

main {
text-align: center;
}

main .prose {
margin-inline: auto;
}

.hero {
text-align: center;
}

.hero__grid {
grid-template-columns: 1fr;
justify-items: center;
}

.hero__sub {
margin-inline: auto;
}

.hero .video {
width: 100%;
max-width: 100%;
}

.btn-row {
justify-content: center;
}

.countdown {
justify-content: center;
}

.section__head {
flex-direction: column;
align-items: center;
gap: 0.4rem;
}

.card {
text-align: center;
}

.tags {
justify-content: center;
}

.filters {
justify-content: center;
}

.postlist {
text-align: center;
}

.postlist .muted {
margin-inline: auto;
}

.linklist {
max-width: 640px;
margin-inline: auto;
}

.notice {
text-align: left;
}

/* long-form reading stays left aligned, it is unreadable centred */

.post-body {
text-align: left;
margin-inline: auto;
}

.post-body ul,
.post-body ol {
text-align: left;
}

/* ---------- about ---------- */

.about {
display: grid;
gap: 2.5rem;
text-align: left;
align-items: start;
}

@media (min-width: 820px) {
.about {
grid-template-columns: 320px 1fr;
}
}

.about__portrait {
width: 100%;
border-radius: 12px;
border: 1px solid var(--line);
}

.about .prose {
margin-inline: 0;
}

@media (max-width: 819px) {
.about {
justify-items: center;
text-align: left;
}

.about__portrait {
max-width: 320px;
}
}

/* ---------- current release ---------- */

.release-feature {
width: 100%;
}

.release-feature__video {
position: relative;
width: 100%;
aspect-ratio: 16 / 9;
background: var(--panel);
border: 1px solid var(--line);
border-radius: var(--radius-lg);
overflow: hidden;
}

.release-feature__image {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
}

.release-feature__shade {
position: absolute;
inset: 0;

background:
linear-gradient(
to top,
rgba(8, 9, 11, 0.98) 0%,
rgba(8, 9, 11, 0.78) 28%,
rgba(8, 9, 11, 0.25) 58%,
rgba(8, 9, 11, 0.05) 100%
);
}

.release-feature__content {
position: absolute;
left: 0;
right: 0;
bottom: 0;
z-index: 2;

display: flex;
align-items: center;
justify-content: space-between;
gap: 2rem;

padding: clamp(1.3rem, 4vw, 3rem);

text-align: left;
}

.release-feature__text {
max-width: 650px;
}

.release-feature__text .hero__kicker {
margin-bottom: 0.45rem;
}

.release-feature__title {
margin: 0;

font-family: var(--display);
font-size: clamp(2rem, 5vw, 4rem);
font-weight: 800;

line-height: 0.98;
letter-spacing: -0.035em;

color: var(--text);

text-shadow:
0 2px 20px rgba(0, 0, 0, 0.65);
}

.release-feature__artist {
margin: 0.7rem 0 0;

color: var(--text);

font-size: var(--f-m);
font-weight: 600;
}

.release-feature__description {
max-width: 58ch;

margin: 0.7rem 0 0;

color: #c7cdd4;

font-size: var(--f-s);
line-height: 1.55;
}

.release-feature__play {
flex: 0 0 auto;

width: 74px;
height: 74px;

display: grid;
place-items: center;

padding: 0;

background: var(--accent);
color: var(--accent-ink);

border: 0;
border-radius: 50%;

cursor: pointer;
}

.release-feature__play svg {
width: 29px;
height: 29px;

fill: currentColor;

margin: 0;
}

.release-feature__play:hover {
background: #f3b257;
}

.release-feature__buttons {
margin-top: var(--sp-2);
}

.release-feature__iframe {
position: absolute;
inset: 0;

width: 100%;
height: 100%;

border: 0;
}

/* ---------- current release mobile ---------- */

@media (max-width: 700px) {
.release-feature__video {
aspect-ratio: 4 / 5;
}

.release-feature__content {
flex-direction: column;
align-items: center;
gap: 1.2rem;
padding: 1.4rem;
}

.release-feature__text {
width: 100%;
text-align: left;
}

.release-feature__title {
font-size: clamp(2rem, 10vw, 3rem);
}

.release-feature__description {
font-size: var(--f-xs);
}

.release-feature__play {
width: 60px;
height: 60px;
}

.release-feature__play svg {
width: 24px;
height: 24px;
margin: 0;
}
}

/* ---------- 404 page ---------- */

.error-page {
min-height: calc(100vh - 68px);
display: flex;
align-items: center;
justify-content: center;
}

.error-404 {
width: min(1000px, 100% - 2.5rem);
padding-block: clamp(2.5rem, 7vw, 5rem);

display: flex;
align-items: center;
justify-content: center;
}

.error-404 > a {
display: block;
width: 100%;
max-width: 850px;

text-decoration: none;
}

.error-404__image {
display: block;

width: 100%;
height: auto;

max-height: calc(100vh - 220px);

margin-inline: auto;

object-fit: contain;

border: 0;
}

.error-404 > a:hover .error-404__image {
opacity: 0.96;
}

/* ---------- 404 mobile ---------- */

@media (max-width: 600px) {
.error-page {
min-height: calc(100vh - 68px);
}

.error-404 {
width: min(100% - 1.5rem, 1000px);
padding-block: 2rem;
}

.error-404 > a {
max-width: 100%;
}

.error-404__image {
width: 100%;
max-height: calc(100vh - 180px);
}
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {

* {
  animation-duration: 0.01ms !important;
  transition-duration: 0.01ms !important;
  scroll-behavior: auto !important;
  }
  }
