/* dyonisio.dev — Editorial Graphic Poster Layout + Kinetic Motion */

:root {
  --paper: #f2f2ef;
  --paper-alt: #e9e9e5;
  --paper-card: #ffffff;
  --ink: #0c0c0c;
  --muted: #4b4b48;
  --black: #0a0a0a;
  --white: #f7f7f5;
  --red: #d11414;
  --red-dark: #a80f0f;
  --red-on-black: #ff4d4d;
  --grid-line: rgba(12, 12, 12, 0.058);

  --font-display: "Unbounded", "Arial Black", sans-serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  background-color: var(--paper);
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  background-position: top center;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, figure, ul, ol, dl, dt, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
::selection { background: var(--red); color: var(--white); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -120px;
  background: var(--black);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  text-decoration: none;
  z-index: 200;
}
.skip-link:focus { top: 1rem; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: var(--red);
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 120;
  pointer-events: none;
}

.container {
  width: min(1240px, 100%);
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 2.25rem);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.65rem 1.45rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid transparent;
  transition: transform 150ms var(--ease-out), background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.btn:active { transform: scale(0.96); }
.btn--sm { min-height: 2.5rem; padding: 0.45rem 1rem; font-size: 0.875rem; }
.btn--black { background: var(--black); color: var(--white); border-color: var(--black); }
.btn--red { background: var(--red); color: var(--white); border-color: var(--red); }
.btn--light { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(247, 247, 245, 0.45); }
@media (hover: hover) and (pointer: fine) {
  .btn--black:hover { background: var(--red); border-color: var(--red); }
  .btn--red:hover { background: var(--red-dark); border-color: var(--red-dark); }
  .btn--light:hover { background: var(--red); color: var(--white); border-color: var(--red); }
  .btn--outline:hover { background: var(--black); color: var(--white); border-color: var(--black); }
  .btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.1); }
}

/* ---------- Top Navigation ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(242, 242, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(12, 12, 12, 0.08);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}
.topbar__brand {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.topbar__nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.25rem);
}
.topbar__nav a {
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  position: relative;
}
.topbar__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .topbar__nav a:hover::after { transform: scaleX(1); }
}
.topbar__socials {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.topbar__pill {
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.45rem 0.95rem;
  border: 1.5px solid var(--ink);
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.topbar__pill--solid {
  background: var(--black);
  color: var(--white);
}
@media (hover: hover) and (pointer: fine) {
  .topbar__pill:hover { background: var(--red); border-color: var(--red); color: var(--white); }
}
.topbar__menu {
  display: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  padding: 0.5rem 0.25rem;
}

.drawer {
  position: fixed;
  inset: 0;
  background: var(--black);
  color: var(--white);
  z-index: 150;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 2.5rem;
}
.drawer[hidden] { display: none; }
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
}
.drawer__links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.drawer__links a {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 8vw, 2.75rem);
  font-weight: 900;
  text-decoration: none;
}
.drawer__foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* ---------- SECTION 1: HERO (PORTF[FACE]LIO) ---------- */
.hero {
  padding-top: clamp(2.5rem, 6vw, 4.75rem);
  padding-bottom: clamp(2.25rem, 4.5vw, 3.75rem);
}
.hero__wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__meta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: clamp(0.72rem, 1.3vw, 1.05rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}
.hero__title {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.02em;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 9.6vw, 7.6rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--black);
  user-select: none;
}
.hero__part { display: inline-block; }
.hero__avatar-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.18em;
  height: 1.18em;
  flex: 0 0 auto;
  margin-inline: -0.02em;
}
.hero__avatar {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: contrast(1.12);
  will-change: transform;
}
.hero__arrow {
  position: absolute;
  bottom: -0.62em;
  left: 46%;
  width: 0.42em;
  height: 0.62em;
  pointer-events: none;
}

.hero__ornaments {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-top: clamp(2.6rem, 5vw, 4.25rem);
  color: var(--black);
}
.ornament { display: block; will-change: transform; }

.hero__sub {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  max-width: 660px;
}
.hero__tagline {
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  color: var(--muted);
  line-height: 1.55;
}
.hero__tagline strong { color: var(--ink); font-weight: 800; }
.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* ---------- SECTION 2: 3-COLUMN EDITORIAL POSTER ---------- */
.poster {
  padding-top: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(4.5rem, 7vw, 6.5rem);
}
.poster__grid {
  display: grid;
  grid-template-columns: 3.3fr 4.9fr 3.8fr;
  gap: clamp(1.75rem, 3.2vw, 3rem);
  align-items: start;
}

/* Red Vector Selection Box (exact reference detail) */
.select-box {
  position: relative;
  border: 2px solid var(--red);
  padding: 10px;
  background: rgba(255, 255, 255, 0.55);
  transition: transform 280ms var(--ease-out);
}
.select-box__handle {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--paper-card);
  border: 2px solid var(--red);
  z-index: 3;
}
.select-box__handle--tl { top: -6px; left: -6px; }
.select-box__handle--tc { top: -6px; left: 50%; transform: translateX(-50%); }
.select-box__handle--tr { top: -6px; right: -6px; }
.select-box__handle--ml { top: 50%; left: -6px; transform: translateY(-50%); }
.select-box__handle--mr { top: 50%; right: -6px; transform: translateY(-50%); }
.select-box__handle--bl { bottom: -6px; left: -6px; }
.select-box__handle--bc { bottom: -6px; left: 50%; transform: translateX(-50%); }
.select-box__handle--br { bottom: -6px; right: -6px; }

.select-box__media {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--paper-alt);
}
.select-box__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  transition: transform 500ms var(--ease-expo);
}
@media (hover: hover) and (pointer: fine) {
  .select-box:hover .select-box__media img { transform: scale(1.04); }
}
.select-box__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--red);
}

/* Center column: HELLO + EDUCATION */
.poster__display {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.4vw, 3.6rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 1.15rem;
}
.poster__intro-lead {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
}
.poster__text {
  font-size: 1rem;
  line-height: 1.62;
  color: var(--muted);
  margin-bottom: 0.85rem;
}
.poster__text strong { color: var(--ink); font-weight: 700; }

.poster__block { margin-top: 2rem; }
.poster__block--flush { margin-top: 0; }
.poster__subhead {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.edu-list { display: flex; flex-direction: column; gap: 1rem; }
.edu-item {
  padding-left: 0.9rem;
  border-left: 3px solid var(--black);
}
.edu-item__degree { font-weight: 800; font-size: 0.96rem; color: var(--ink); line-height: 1.35; }
.edu-item__meta { font-size: 0.88rem; font-weight: 600; color: var(--muted); margin-top: 0.15rem; }
.edu-item__note { font-size: 0.84rem; color: var(--muted); margin-top: 0.25rem; line-height: 1.45; }

/* Right column: 3x2 Iconic Skills Tiles + Experience */
.skill-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.skill-tile {
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  border: 2px solid transparent;
  transition: transform 220ms var(--ease-expo), border-color 180ms ease;
}
.skill-tile__code {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 900;
  line-height: 1;
}
.skill-tile__label {
  font-size: 0.8125rem;
  font-weight: 700;
  opacity: 0.92;
}
.skill-tile--unity { background: #121214; color: #ffffff; }
.skill-tile--csharp { background: #0d1f4b; color: #56b2ff; }
.skill-tile--xr { background: #3b0a0d; color: #ff4757; }
.skill-tile--web { background: #14224a; color: #7cc4ff; }
.skill-tile--cloud { background: #2c1406; color: #ff9a2e; }
.skill-tile--git { background: #211524; color: #ff7a66; }

.skill-tile.is-selected {
  border-color: var(--red);
  transform: translateY(-3px);
}
@media (hover: hover) and (pointer: fine) {
  .skill-tile:hover { transform: translateY(-4px) rotate(-1.5deg); }
}
.skill-detail {
  margin-top: 0.75rem;
  padding: 0.6rem 0.85rem;
  background: var(--black);
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.4;
}

.exp-list { display: flex; flex-direction: column; gap: 1rem; }
.exp-item__date {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 0.01em;
}
.exp-item__role { font-weight: 800; font-size: 0.96rem; color: var(--ink); margin-top: 0.1rem; }
.exp-item__company { font-size: 0.86rem; color: var(--muted); }

/* ---------- SECTION 3: TORN-PAPER BLACK BAND (CENTERPIECE) ---------- */
.torn-band {
  position: relative;
  margin-top: clamp(2rem, 5vw, 4rem);
  overflow: visible;
}
.torn-edge {
  display: block;
  width: 100%;
  height: clamp(28px, 4.2vw, 60px);
  position: relative;
}
.torn-edge--top { margin-bottom: -1px; z-index: 2; }
.torn-edge--bottom { margin-top: -1px; z-index: 6; }

.torn-band__stage {
  position: relative;
  background: var(--black);
  color: var(--white);
  min-height: clamp(280px, 38vw, 460px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-block: clamp(3rem, 7vw, 6.5rem);
  z-index: 1;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  width: max-content;
  will-change: transform;
  animation: marquee-scroll 26s linear infinite;
}
.marquee__item {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8.8vw, 7.6rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: var(--white);
}
.marquee__svg {
  width: clamp(2rem, 4.6vw, 4.25rem);
  height: clamp(2rem, 4.6vw, 4.25rem);
  flex: 0 0 auto;
  color: var(--white);
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.torn-band__cutout {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(260px, 40vw, 560px);
  z-index: 4;
  pointer-events: none;
  will-change: transform;
}
.torn-band__cutout img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- SECTION 4: WEB EM PRODUÇÃO (POLAROID PRINTS) ---------- */
.work-web {
  padding-top: clamp(4.5rem, 8vw, 7.5rem);
  padding-bottom: clamp(4rem, 7vw, 6rem);
}
.section-center {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}
.section-display {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.4vw, 3.6rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.section-subtitle {
  margin-top: 0.75rem;
  font-size: clamp(0.98rem, 1.3vw, 1.12rem);
  color: var(--muted);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 4.5vw, 4rem);
}
.stat-pill {
  background: var(--paper-card);
  border: 2px solid var(--black);
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.stat-pill__num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  font-weight: 900;
  color: var(--red);
  line-height: 1;
}
.stat-pill__label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
}

.polaroid-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: stretch;
}
.polaroid {
  background: var(--paper-card);
  border: 2px solid var(--black);
  padding: 14px 14px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 340ms var(--ease-expo), border-color 200ms ease;
}
.polaroid--tilt-l { transform: rotate(-1.5deg); }
.polaroid--tilt-r { transform: rotate(1.2deg); }
.polaroid--tilt-l2 { transform: rotate(-1deg); }
@media (hover: hover) and (pointer: fine) {
  .polaroid:hover {
    transform: rotate(0deg) translateY(-8px);
    border-color: var(--red);
  }
}

.polaroid__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--black);
  border: 1.5px solid rgba(12, 12, 12, 0.12);
}
.polaroid__media--petinho {
  background: #f4f1ec;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.polaroid__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease-expo);
}
.polaroid__media--petinho img { object-fit: contain; }
@media (hover: hover) and (pointer: fine) {
  .polaroid:hover .polaroid__media img { transform: scale(1.04); }
}

.polaroid__body {
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.polaroid__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.polaroid__tag { color: var(--red); letter-spacing: 0.03em; }
.polaroid__domain { color: var(--muted); }
.polaroid__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
}
.polaroid__desc {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex: 1 1 auto;
}
.polaroid__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* ---------- SECTION 5: UNITY & XR INTERACTIVE STAGE ---------- */
.work-unity {
  padding-top: clamp(3rem, 5vw, 4.5rem);
  padding-bottom: clamp(4.5rem, 7vw, 6.5rem);
}
.stage-box {
  background: var(--paper-card);
  border: 2px solid var(--black);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: start;
}
.stage-box__frame {
  position: relative;
  border: 2px solid var(--red);
  padding: 8px;
  background: var(--black);
}
.stage-box__frame video,
.stage-box__frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--black);
}
.stage-box__frame.is-contain img {
  object-fit: contain;
  background: #f4f1ec;
  padding: 1.25rem;
}
.stage-box__frame [hidden] { display: none; }
.stage-box__caption {
  margin-top: 0.65rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.stage-box__panel {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}
.stage-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.stage-tab {
  padding: 0.48rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1.5px solid rgba(12, 12, 12, 0.25);
  background: var(--paper);
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 140ms ease;
}
.stage-tab.is-active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
@media (hover: hover) and (pointer: fine) {
  .stage-tab:hover:not(.is-active) {
    border-color: var(--red);
    color: var(--red);
  }
}

.stage-box__badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 0.04em;
  margin-bottom: 0.45rem;
}
.stage-box__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}
.stage-box__desc {
  font-size: 0.96rem;
  color: var(--muted);
  line-height: 1.6;
}
.stage-specs {
  margin-top: 1.15rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.25rem;
  padding-top: 1rem;
  border-top: 1.5px solid rgba(12, 12, 12, 0.12);
}
.stage-specs dt {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.stage-specs dd {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--ink);
  margin-top: 0.15rem;
}
.stage-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* 8-Game Archive Index */
.archive {
  position: relative;
  margin-top: clamp(3rem, 5vw, 4.5rem);
}
.archive__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.archive__head .poster__subhead { margin-bottom: 0; }
.archive__hint { font-size: 0.88rem; color: var(--muted); font-weight: 600; }

.archive__list {
  border-top: 2px solid var(--black);
}
.archive__row {
  width: 100%;
  display: grid;
  grid-template-columns: 2.3fr 1.4fr 1.8fr;
  gap: 1rem;
  align-items: center;
  text-align: left;
  padding: 1rem 0.75rem;
  border-bottom: 1px solid rgba(12, 12, 12, 0.18);
  transition: background-color 180ms ease, color 180ms ease, padding-left 220ms var(--ease-out);
}
.archive__name {
  font-family: var(--font-display);
  font-size: clamp(0.98rem, 1.35vw, 1.18rem);
  font-weight: 800;
}
.archive__meta { font-size: 0.9rem; font-weight: 700; color: var(--red); }
.archive__tag { font-size: 0.9rem; color: var(--muted); text-align: right; }
@media (hover: hover) and (pointer: fine) {
  .archive__row:hover,
  .archive__row:focus-visible {
    background: var(--black);
    color: var(--white);
    padding-left: 1.25rem;
  }
  .archive__row:hover .archive__tag,
  .archive__row:focus-visible .archive__tag { color: rgba(247, 247, 245, 0.82); }
}

.archive__preview {
  display: none;
}
@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
  .archive__preview {
    display: block;
    position: absolute;
    top: 3.5rem;
    right: 2rem;
    width: 17rem;
    aspect-ratio: 16 / 10;
    border: 2px solid var(--red);
    background: var(--black);
    z-index: 10;
    pointer-events: none;
    overflow: hidden;
    clip-path: inset(100% 0 0 0);
    transition: clip-path 260ms var(--ease-expo), transform 300ms var(--ease-out);
  }
  .archive__preview.is-open { clip-path: inset(0); }
  .archive__preview img { width: 100%; height: 100%; object-fit: cover; }
}

/* ---------- SECTION 6: TORN-PAPER BLACK FOOTER ---------- */
.footer {
  margin-top: clamp(2rem, 4vw, 3.5rem);
}
.footer__body {
  background: var(--black);
  color: var(--white);
  padding-top: clamp(2.5rem, 5vw, 4.25rem);
  padding-bottom: clamp(1.75rem, 3vw, 2.5rem);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.footer__heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.8vw, 3rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
}
.footer__sub {
  color: rgba(247, 247, 245, 0.78);
  max-width: 50ch;
  margin-bottom: 1.5rem;
}
.footer__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.footer__col-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--red-on-black);
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.footer__cols ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer__cols a {
  text-decoration: none;
  color: rgba(247, 247, 245, 0.84);
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 160ms ease;
}
.footer__cols a:hover { color: var(--white); text-decoration: underline; }

.footer__wordmark {
  width: 100%;
  margin-bottom: 1.25rem;
}
.footer__wordmark svg { width: 100%; height: auto; }
.footer__wordmark text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 144px;
  fill: var(--white);
  letter-spacing: -0.03em;
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  font-size: 0.84rem;
  color: rgba(247, 247, 245, 0.65);
}
.footer__legal a { color: var(--white); }

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .polaroid--tilt-l,
  .polaroid--tilt-r,
  .polaroid--tilt-l2 { transform: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- Tablet (<= 1024px) ---------- */
@media (max-width: 1024px) {
  .poster__grid {
    grid-template-columns: 1fr 1fr;
  }
  .poster__photo-col { grid-column: 1 / span 1; }
  .poster__bio-col { grid-column: 2 / span 1; }
  .poster__meta-col {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 2rem;
    align-items: start;
  }
  .poster__meta-col .poster__block { margin-top: 0; }

  .stats-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .polaroid-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage-box { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
}

/* ---------- Mobile (<= 720px) ---------- */
@media (max-width: 720px) {
  .topbar__nav,
  .topbar__socials { display: none; }
  .topbar__menu { display: inline-flex; align-items: center; }

  .hero { padding-top: 2rem; }
  .hero__meta { font-size: 0.68rem; }
  .hero__title { font-size: clamp(2.25rem, 11.2vw, 3.6rem); }
  .hero__ornaments { margin-top: 2.35rem; }

  .poster__grid,
  .poster__meta-col {
    grid-template-columns: 1fr;
  }
  .poster__photo-col,
  .poster__bio-col,
  .poster__meta-col { grid-column: 1 / -1; }
  .select-box { max-width: 320px; margin-inline: auto; }

  .torn-band__stage { min-height: 230px; }
  .torn-band__cutout { width: min(82vw, 340px); }

  .stats-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
  .polaroid-grid { grid-template-columns: 1fr; }
  .polaroid--tilt-l,
  .polaroid--tilt-r,
  .polaroid--tilt-l2 { transform: none; }

  .stage-specs { grid-template-columns: 1fr; }
  .archive__row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
    padding-inline: 0.25rem;
  }
  .archive__tag { text-align: left; }

  .footer__cols { grid-template-columns: 1fr; }
}
