/* Themalefik · Covenant Null — a visual chapter */
:root {
  color-scheme: dark;
  --ink: #0b0909;
  --ivory: #efe5d5;
  --muted: #c2b5a5;
  --gold: #c9ab7c;
  --bronze: #a77b57;
  --wine: #4a1d1d;
  --line: rgba(202, 169, 121, .25);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--ink); color: var(--ivory); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid #efd19d; outline-offset: 4px; }
.skip-link { position: fixed; z-index: 10; top: .75rem; left: .75rem; padding: .8rem 1rem; background: #f0d6a9; color: #160c09; font-weight: 700; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 92px; padding: .7rem clamp(1.5rem, 5.6vw, 6rem); border-bottom: 1px solid var(--line); background: #0b0909; }
.brand { display: inline-flex; align-items: center; gap: .75rem; flex-shrink: 0; color: #f0e2cd; font-family: var(--serif); font-weight: 700; font-size: 1.15rem; letter-spacing: .1em; line-height: 1; text-decoration: none; }
.brand img { width: 51px; height: 56px; object-fit: contain; }
.brand small { display: block; margin-top: .5rem; color: #bca992; font-family: var(--sans); font-size: .5rem; font-weight: 600; letter-spacing: .2em; }
.header-right, .header-nav, .language-switch { display: flex; align-items: center; }
.header-right { gap: clamp(1.5rem, 4vw, 4.5rem); }
.header-nav { gap: clamp(1.1rem, 2.7vw, 3rem); }
.header-nav a, .footer-nav a, .back-to-top { color: #d9cbb8; font-size: .64rem; font-weight: 700; letter-spacing: .16em; line-height: 1.5; text-decoration: none; }
.header-nav a:hover, .footer-nav a:hover, .back-to-top:hover { color: #f7d6a0; }
.language-switch { gap: .1rem; color: #8f7b66; }
.language-switch button { min-width: 34px; min-height: 44px; padding: .3rem; border: 0; background: transparent; color: #b6a694; cursor: pointer; font-size: .65rem; font-weight: 700; letter-spacing: .08em; }
.language-switch button[aria-pressed="true"] { color: #f3d2a2; text-decoration: underline; text-underline-offset: .4em; }
.language-switch button:hover { color: #fff1da; }
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 80% 48%, rgba(75, 30, 25, .5), transparent 47%), linear-gradient(100deg, #0a0909 10%, #160e0d 70%, #0a0909); }
.hero::before { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 8, 8, .96), rgba(9, 8, 8, .76) 50%, rgba(9, 8, 8, .8)), url('../images/novas-artes/fundo-ruinas-inscricoes.webp') center / cover; content: ''; opacity: .56; pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); align-items: center; gap: clamp(3rem, 7vw, 8rem); width: min(100% - 11.2vw, 1390px); min-height: min(800px, calc(100svh - 92px)); margin: 0 auto; padding: 5rem 0 7rem; }
.hero-copy { max-width: 650px; }
.eyebrow { display: flex; align-items: center; gap: .8rem; margin: 0; color: #d2b68d; font-size: .65rem; font-weight: 700; letter-spacing: .2em; line-height: 1.6; }
.eyebrow-line { width: 2.6rem; height: 1px; flex: none; background: #c3a16f; }
.hero-pretitle { margin: clamp(3rem, 5vw, 5rem) 0 1.3rem; color: #c8ad8a; font-size: .65rem; font-weight: 700; letter-spacing: .19em; line-height: 1.6; }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; }
h1 { margin-bottom: 0; color: #f3e9da; font-size: clamp(5rem, 8.5vw, 9rem); font-weight: 600; letter-spacing: -.055em; line-height: .72; text-transform: uppercase; text-shadow: 0 4px 35px #000; }
h1 span { display: block; margin-top: 1.55rem; color: #d6bd9a; font-size: clamp(1.25rem, 2vw, 2rem); font-weight: 500; letter-spacing: .12em; line-height: 1.25; }
.hero-rule { display: flex; align-items: center; gap: .7rem; margin: 2.1rem 0 1.6rem; color: var(--bronze); }
.hero-rule span { width: 7.5rem; height: 1px; background: linear-gradient(90deg, #b8976c, transparent); }
.hero-rule b { font-size: .65rem; font-weight: 400; }
.hero-description { max-width: 27rem; margin-bottom: 0; color: #d1c5b7; font-size: .98rem; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.25rem 2rem; margin-top: 2.3rem; }
.primary-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 2.5rem; min-height: 55px; padding: 1rem 1.25rem; border: 1px solid #d3b387; background: #d3b387; color: #1a100e; font-size: .65rem; font-weight: 700; letter-spacing: .12em; line-height: 1.4; text-decoration: none; transition: background .2s, border-color .2s; }
.primary-link:hover { border-color: #f5dcaf; background: #f0d3a5; }
.primary-link span:last-child { font-size: 1rem; }
.text-link { display: inline-flex; align-items: center; gap: 1.4rem; min-height: 44px; border-bottom: 1px solid #987957; color: #ead5b7; font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-decoration: none; }
.text-link:hover { border-color: #f3d4a8; color: #fff2dc; }
.cover-wrap { position: relative; width: min(100%, 570px); margin: 0 0 0 auto; }
.cover-wrap::before { position: absolute; inset: -1rem 1rem 2.6rem -1rem; border: 1px solid rgba(201, 171, 124, .21); content: ''; pointer-events: none; }
.cover-art { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; aspect-ratio: 1; border: 1px solid #73543b; background: radial-gradient(ellipse at 50% 53%, rgba(84, 29, 22, .45), transparent 55%), linear-gradient(rgba(5, 4, 4, .46), rgba(5, 4, 4, .72)), url('../images/novas-artes/fundo-ruinas-inscricoes.webp') center / cover #0d0909; box-shadow: 0 25px 70px #0009; }
.cover-art::after { position: absolute; inset: .85rem; border: 1px solid rgba(202, 169, 121, .25); content: ''; pointer-events: none; }
.cover-art img { display: block; width: 95%; height: 95%; object-fit: contain; filter: drop-shadow(0 2px 20px #000); }
.cover-top, .cover-bottom { position: absolute; z-index: 1; color: #e1c49b; text-align: center; text-shadow: 0 2px 8px #000; }
.cover-top { top: 1.8rem; right: 2rem; left: 2rem; display: flex; justify-content: space-between; font-size: .55rem; font-weight: 700; letter-spacing: .2em; }
.cover-bottom { right: 1rem; bottom: 1.5rem; left: 1rem; font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 2rem); font-weight: 700; letter-spacing: .11em; line-height: 1; }
.cover-bottom small { display: block; margin-top: .45rem; font-family: var(--sans); font-size: .48rem; font-weight: 700; letter-spacing: .23em; }
.cover-wrap figcaption { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.1rem; color: #b8a58d; font-size: .53rem; font-weight: 700; letter-spacing: .16em; line-height: 1.5; }
.hero-footer { position: absolute; right: clamp(1.5rem, 5.6vw, 6rem); bottom: 1.9rem; left: clamp(1.5rem, 5.6vw, 6rem); display: flex; justify-content: space-between; gap: 1rem; color: #a99884; font-size: .53rem; font-weight: 700; letter-spacing: .18em; }
.hero-footer span:nth-child(2) { color: #b78d62; }
.chapter-strip { display: grid; grid-template-columns: 2fr 1fr 1fr; width: min(100% - 11.2vw, 1390px); margin: 0 auto; border-bottom: 1px solid var(--line); }
.chapter-strip p { display: flex; flex-direction: column; gap: .6rem; margin: 0; padding: 1.6rem 2rem 1.6rem 0; }
.chapter-strip p + p { padding-left: 2rem; border-left: 1px solid var(--line); }
.chapter-strip span, .collection-label { color: #b5a28b; font-size: .58rem; font-weight: 700; letter-spacing: .17em; line-height: 1.5; }
.chapter-strip strong { color: #e6d4ba; font-family: var(--serif); font-size: 1.05rem; font-weight: 600; letter-spacing: .08em; }
.collection { max-width: 1530px; margin: 0 auto; padding: clamp(6rem, 10vw, 10rem) clamp(1.5rem, 5.6vw, 6rem) clamp(6rem, 9vw, 9rem); }
.section-heading { display: grid; grid-template-columns: 1fr minmax(220px, 340px); align-items: end; gap: 2rem; }
.section-heading h2, .closing h2 { margin: 1.4rem 0 0; color: #f0e4d4; font-size: clamp(3.5rem, 6vw, 6rem); letter-spacing: -.045em; line-height: .95; }
h2 em { color: #c7a37a; font-weight: 400; }
.section-intro { margin-bottom: .25rem; color: var(--muted); font-size: .9rem; line-height: 1.85; }
.collection-label { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3.5rem; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.video-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3.3rem clamp(1rem, 2.2vw, 2.2rem); margin: 1.7rem 0 0; padding: 0; list-style: none; }
.video-card { min-width: 0; }
.video-frame { position: relative; overflow: hidden; border: 1px solid rgba(196, 163, 114, .35); background: #100d0c; transition: border-color .25s; }
.video-card:hover .video-frame, .video-frame:focus-within { border-color: #cbaa7a; }
.video-frame:focus-within { outline: 2px solid #efd19d; outline-offset: 3px; }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; background: #100d0c; object-fit: contain; }
.card-caption { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem 1rem; padding: 1.15rem 0 1.35rem; border-bottom: 1px solid var(--line); }
.track-number { grid-column: 1 / -1; color: #c4a37b; font-size: .6rem; font-weight: 700; letter-spacing: .16em; }
.card-caption h3 { margin: 0; color: #f0e4d3; font-size: clamp(1.3rem, 1.7vw, 1.7rem); font-weight: 600; line-height: 1.12; }
.card-mark { align-self: end; color: #b48862; font-size: .85rem; }
.closing { position: relative; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(32, 14, 14, .98), rgba(28, 12, 12, .86)), url('../images/novas-artes/fundo-ruinas-inscricoes.webp') center 48% / cover; }
.closing-inner { max-width: 1530px; margin: 0 auto; padding: clamp(4rem, 7vw, 7rem) clamp(1.5rem, 5.6vw, 6rem); }
.closing-content { display: grid; grid-template-columns: 1fr minmax(220px, 340px); align-items: end; gap: 2rem; }
.closing-content p { max-width: 20rem; margin: 0 0 1rem; color: #d1c1ae; font-size: .92rem; line-height: 1.8; }
.site-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 2rem; padding: 2.6rem clamp(1.5rem, 5.6vw, 6rem); background: #0a0808; }
.footer-brand { display: flex; flex-direction: column; gap: .5rem; }
.footer-brand strong { color: #e6d3b5; font-family: var(--serif); font-size: 1.2rem; letter-spacing: .12em; }
.footer-brand span { color: #b7a795; font-size: .55rem; letter-spacing: .16em; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.6rem; }
.back-to-top { color: #d2b990; }
@media (max-width: 1000px) {
  .hero-inner { gap: 3.5rem; }
  h1 { font-size: clamp(4.2rem, 8vw, 7rem); }
  .video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .site-header { flex-wrap: wrap; gap: .3rem 1rem; padding-top: .6rem; padding-bottom: .6rem; }
  .brand img { width: 44px; height: 48px; }
  .brand { font-size: 1rem; }
  .header-right { flex: 1; justify-content: flex-end; gap: 1rem; }
  .header-nav { gap: 1rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 3.4rem; width: auto; min-height: 0; padding: 4rem 1.5rem 6rem; }
  .hero-copy { max-width: 600px; }
  .hero-pretitle { margin-top: 3rem; }
  h1 { font-size: clamp(4.8rem, 13vw, 7.5rem); }
  .cover-wrap { width: min(100%, 500px); margin: 0 auto; }
  .cover-wrap::before { inset: -.65rem .65rem 2.3rem -.65rem; }
  .chapter-strip { width: calc(100% - 3rem); }
  .section-heading, .closing-content { grid-template-columns: 1fr; gap: 1.5rem; }
  .section-intro { max-width: 32rem; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .site-header { position: relative; padding-right: 1.25rem; padding-left: 1.25rem; }
  .header-right { flex: 1 0 100%; justify-content: space-between; border-top: 1px solid rgba(202, 169, 121, .15); }
  .header-nav { gap: 1.25rem; }
  .header-nav a { font-size: .59rem; }
  .hero-inner { padding-right: 1.25rem; padding-left: 1.25rem; }
  h1 { font-size: clamp(4.1rem, 15vw, 6rem); }
  h1 span { font-size: 1.25rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: .8rem; }
  .hero-footer { right: 1.25rem; left: 1.25rem; font-size: .47rem; }
  .hero-footer span:nth-child(2) { display: none; }
  .chapter-strip { width: calc(100% - 2.5rem); grid-template-columns: 1.5fr 1fr 1fr; }
  .chapter-strip p { padding: 1.25rem .5rem 1.25rem 0; }
  .chapter-strip p + p { padding-left: .75rem; }
  .chapter-strip span { font-size: .49rem; letter-spacing: .09em; }
  .chapter-strip strong { font-size: .86rem; letter-spacing: .03em; }
  .collection { padding-right: 1.25rem; padding-left: 1.25rem; }
  .video-grid { gap: 2.5rem 1rem; }
  .card-caption h3 { font-size: 1.24rem; }
}
@media (max-width: 390px) {
  .video-grid { grid-template-columns: 1fr; }
  .video-card { width: min(100%, 360px); margin: 0 auto; }
  .cover-top { top: 1.35rem; right: 1.4rem; left: 1.4rem; }
  .cover-bottom { bottom: 1.15rem; font-size: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Official artist channels for the forthcoming album. */
.follow-chapter { border-top: 1px solid var(--line); background: #110c0b; }
.follow-inner { max-width: 1530px; margin: 0 auto; padding: clamp(4rem, 7vw, 7rem) clamp(1.5rem, 5.6vw, 6rem); }
.follow-inner h2 { margin: 1.3rem 0; font-size: clamp(2.5rem, 4vw, 4.5rem); line-height: 1.05; }
.follow-inner > p:not(.eyebrow) { max-width: 42rem; color: var(--muted); line-height: 1.8; }
.follow-links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.follow-links a { display: inline-flex; align-items: center; min-height: 48px; padding: .8rem 1.2rem; border: 1px solid #967651; color: #e8d1ae; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-decoration: none; transition: background .2s, color .2s; }
.follow-links a:hover { background: #d3b387; color: #1a100e; }
