/* =========================================================
   Ivan Barasnevicius · site
   Mobile-first · escuro, editorial, quente
   ========================================================= */

:root {
  --bg: #0a0908;
  --bg-2: #100e0c;
  --panel: #14110f;
  --panel-2: #1a1613;
  --line: #2a2420;
  --line-soft: color-mix(in srgb, var(--text) 8%, transparent);
  --text: #f1ebe2;
  --muted: #a39a8f;
  --dim: #6f675e;
  --accent: #c8976a;
  --accent-2: #e2b98f;
  --accent-deep: #8a5d3b;
  --glow: color-mix(in srgb, var(--accent) 18%, transparent);
  --paper: #ece4d6;
  --paper-2: #e3d9c8;
  --ink: #1d1712;
  --ink-soft: #5d5247;
  --on-accent: #160f09;

  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --max: 1240px;
  --pad: clamp(16px, 4.4vw, 56px);
  --sec: clamp(88px, 12vw, 160px);
  --r: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
html:not(.reduced) { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
em { font-style: italic; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }
.ico { width: 1em; height: 1em; flex: none; }
section { position: relative; }

/* ---------- overlays ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--accent-deep), var(--accent-2)); }

.grain {
  position: fixed; inset: -50%; z-index: 55; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -5%); }
  60% { transform: translate(-6%, -2%); }
  80% { transform: translate(5%, 4%); }
}

.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 70; mix-blend-mode: difference; }
  .cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
  .cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #f5e3cf; }
  .cursor-ring {
    width: 38px; height: 38px; margin: -19px 0 0 -19px;
    border: 1px solid color-mix(in srgb, var(--text) 55%, transparent);
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s;
  }
  .cursor.is-hover .cursor-ring { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: color-mix(in srgb, var(--text) 90%, transparent); border-color: transparent; }
  .cursor.is-down .cursor-ring { width: 26px; height: 26px; margin: -13px 0 0 -13px; }
}

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 12px 18px; border-radius: 999px; background: var(--text); color: var(--ink); font-size: .9rem; font-weight: 500; transition: opacity .35s, transform .5s var(--ease); max-width: calc(100% - 32px); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- type ---------- */
.kicker, .eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 22px;
  font-family: var(--f-mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent);
}
.kicker i { font-style: normal; color: var(--dim); }
.kicker i::after { content: ""; display: inline-block; width: 28px; height: 1px; margin-left: 12px; vertical-align: middle; background: var(--line); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 50%, transparent); } 70% { box-shadow: 0 0 0 12px color-mix(in srgb, var(--accent) 0%, transparent); } 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 0%, transparent); } }

.h2 {
  margin: 0;
  font-family: var(--f-display); font-weight: 340; font-variation-settings: "opsz" 144;
  font-size: clamp(2.3rem, 6.4vw, 4.6rem); line-height: 1.02; letter-spacing: -.025em;
  text-wrap: balance;
}
.h2 em, .hero-title em, .contact-title em { font-weight: 300; color: var(--accent-2); }
.h2-xl { font-size: clamp(2.8rem, 9vw, 6.6rem); }
.lead { font-family: var(--f-display); font-weight: 330; font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.45; letter-spacing: -.01em; margin: 0; }

[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
[data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 55ms + var(--d, 0s)); }
[data-split].is-in .w > span { transform: none; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), border-color .4s, transform .4s var(--ease);
}
.btn .ico { font-size: 1.1em; transition: transform .4s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover::before { transform: none; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary::before { background: var(--accent-2); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); background: rgba(255, 255, 255, .02); }
.btn-ghost::before { background: var(--text); }
.btn-ghost:hover { color: var(--on-accent); border-color: var(--text); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink::before { background: var(--accent-deep); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 500; position: relative; }
.link-arrow::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform-origin: right; transform: scaleX(0); transition: transform .5s var(--ease); }
.link-arrow:hover::after { transform-origin: left; transform: scaleX(1); }
.link-arrow .ico { transition: transform .4s var(--ease); }
.link-arrow:hover .ico { transform: translate(2px, -2px); }

.pill { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); font-size: .86rem; font-weight: 500; transition: background .3s, color .3s, border-color .3s; }
.pill:hover { background: var(--text); color: var(--on-accent); border-color: var(--text); }
.pill-solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pill-solid:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: var(--paper); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, border-color .4s, transform .5s var(--ease); border-bottom: 1px solid transparent; }
.site-header.is-solid { background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); border-color: var(--line-soft); }
.site-header.is-hidden { transform: translateY(-100%); }
.nav { height: 72px; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; position: relative; z-index: 2; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--accent-deep); font-family: var(--f-display); font-style: italic; font-size: .95rem; color: var(--accent-2); transition: transform .6s var(--ease), background .4s; }
.brand:hover .brand-mark { transform: rotate(-12deg); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.brand-name { font-family: var(--f-display); font-size: 1.12rem; font-weight: 420; letter-spacing: -.01em; }

.links {
  position: fixed; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  padding: 100px var(--pad) 40px;
  background: var(--bg);
  clip-path: circle(0 at calc(100% - 38px) 36px);
  transition: clip-path .8s var(--ease-io);
  visibility: hidden;
}
.links.open { clip-path: circle(150% at calc(100% - 38px) 36px); visibility: visible; }
.links a { display: flex; align-items: baseline; gap: 16px; padding: 8px 0; font-family: var(--f-display); font-weight: 330; font-size: clamp(2.2rem, 10vw, 3.4rem); line-height: 1.1; letter-spacing: -.02em; border-bottom: 1px solid var(--line-soft); opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .6s var(--ease), color .3s; }
.links a i { font-family: var(--f-mono); font-style: normal; font-size: .75rem; color: var(--accent); letter-spacing: .1em; }
.links.open a { opacity: 1; transform: none; }
.links.open a:nth-child(1) { transition-delay: .25s; }
.links.open a:nth-child(2) { transition-delay: .3s; }
.links.open a:nth-child(3) { transition-delay: .35s; }
.links.open a:nth-child(4) { transition-delay: .4s; }
.links.open a:nth-child(5) { transition-delay: .45s; }
.links.open a:nth-child(6) { transition-delay: .5s; }
.nav-cta { display: none; }
.menu-toggle { position: relative; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-content: center; gap: 6px; }
.menu-toggle span { display: block; width: 18px; height: 1.5px; background: var(--text); transition: transform .5s var(--ease); }
.menu-toggle.open span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle.open span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
body.menu-open { overflow: hidden; }
/* com o menu aberto o cabeçalho não pode ter vidro fosco nem deslocamento: os dois prendem o menu ao tamanho do cabeçalho */
body.menu-open .site-header { transform: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: transparent; border-color: transparent; }
.links { height: 100vh; height: 100dvh; overflow-y: auto; overscroll-behavior: contain; }
@media (min-width: 1024px) { .links { height: auto; overflow: visible; } }

@media (min-width: 1024px) {
  .menu-toggle { display: none; }
  .links { position: static; inset: auto; flex-direction: row; gap: 2px; padding: 4px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line-soft); border-radius: 999px; clip-path: none; visibility: visible; transition: none; }
  .links a { opacity: 1; transform: none; font-family: var(--f-body); font-size: .88rem; font-weight: 500; letter-spacing: 0; padding: 8px 15px; border: 0; border-radius: 999px; color: var(--muted); transition: color .3s, background .3s; }
  .links a i { display: none; }
  .links a:hover { color: var(--text); }
  .links a.is-current { color: var(--on-accent); background: var(--accent); }
  .nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: .88rem; font-weight: 600; transition: background .3s, color .3s, border-color .3s; }
  .nav-cta:hover { background: var(--text); color: var(--on-accent); border-color: var(--text); }
  .brand { margin-right: 0; flex: 1; }
  .nav > .nav-cta { flex: none; margin-left: auto; }
}

/* =========================================================
   HERO (mantido)
   ========================================================= */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; padding-top: 72px; overflow: hidden; isolation: isolate; }
.strings { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; mix-blend-mode: screen; }
.spotlight { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(600px circle at var(--mx, 70%) var(--my, 40%), color-mix(in srgb, var(--accent) 13%, transparent), transparent 60%); }
.hero-grid { position: relative; z-index: 2; flex: 1; display: grid; grid-template-rows: auto auto; gap: 8px; padding-block: 18px 34px; }
.hero-photo { order: -1; position: relative; margin: 0 calc(-1 * var(--pad)); height: 58svh; min-height: 360px; max-height: 560px; }
.hero-photo-inner { position: absolute; inset: 0; overflow: hidden; clip-path: inset(100% 0 0 0); animation: unclip 1.6s var(--ease) .15s forwards; -webkit-mask-image: linear-gradient(180deg, #000 52%, transparent 97%); mask-image: linear-gradient(180deg, #000 52%, transparent 97%); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transform: scale(1.18); animation: kenburns 2.4s var(--ease) .15s forwards; }
.hero-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 70% at 50% 30%, transparent 50%, color-mix(in srgb, var(--bg) 55%, transparent)); }
.spotlight { opacity: 0; }
@media (max-width: 899px) { .hero { touch-action: pan-y pinch-zoom; } }
.hero-cap { position: absolute; left: var(--pad); right: var(--pad); top: 14px; z-index: 2; display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); opacity: 0; animation: fadeUp .9s var(--ease) 1.3s forwards; }
@keyframes unclip { to { clip-path: inset(0 0 0 0); } }
@keyframes kenburns { to { transform: scale(1.02); } }
.hero-copy { position: relative; margin-top: -120px; }
.hero-title { margin: 0 0 22px; font-family: var(--f-display); font-weight: 320; font-variation-settings: "opsz" 144; font-size: clamp(3.1rem, 13.5vw, 8.4rem); line-height: .94; letter-spacing: -.04em; }
.hero-role { margin: 0 0 30px; color: var(--muted); font-size: clamp(.95rem, 1.4vw, 1.08rem); letter-spacing: .01em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-in { opacity: 0; animation: fadeUp 1s var(--ease) var(--d, 0s) forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.sound-toggle { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; font-size: .84rem; color: var(--dim); transition: color .3s; text-align: left; }
.sound-toggle:hover { color: var(--muted); }
.sound-toggle b { color: var(--accent); font-weight: 500; }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; width: 18px; height: 14px; }
.eq i { flex: 1; height: 30%; background: var(--accent); border-radius: 1px; }
.sound-toggle[aria-pressed="true"] { color: var(--muted); }
.sound-toggle[aria-pressed="true"] .eq i, .song.is-playing .eq i, .player.is-live .np .eq i { animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.3s !important; }
.eq i:nth-child(3) { animation-delay: -.6s !important; }
.eq i:nth-child(4) { animation-delay: -.15s !important; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.marquee { position: relative; z-index: 2; border-block: 1px solid var(--line-soft); padding: 18px 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track span { font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: clamp(1.4rem, 3vw, 2.2rem); color: var(--muted); white-space: nowrap; }
.marquee-track b { color: var(--accent); font-size: .9rem; font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; grid-template-rows: 1fr; align-items: center; gap: 40px; padding-block: 36px 48px; }
  .hero-photo { order: 0; margin: 0; height: min(70svh, 720px); max-height: none; border-radius: 240px 240px 22px 22px; }
  .hero-photo-inner { border-radius: inherit; -webkit-mask-image: none; mask-image: none; }
  .spotlight { opacity: 1; }
  .hero-photo::after { border-radius: inherit; background: linear-gradient(180deg, transparent 55%, color-mix(in srgb, var(--bg) 75%, transparent)), radial-gradient(120% 80% at 50% 30%, transparent 55%, color-mix(in srgb, var(--bg) 50%, transparent)); }
  .hero-cap { top: auto; bottom: 22px; left: 26px; right: 26px; }
  .hero-copy { margin-top: 0; }
  .hero-title { font-size: clamp(4.4rem, 8.2vw, 8.6rem); }
}

/* =========================================================
   RELEASE · manifesto (texto que acende com a rolagem)
   ========================================================= */
.manifesto { height: 230vh; }
@media (max-width: 899px) { .manifesto { height: 250vh; height: 250svh; } }
.manifesto-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; padding-top: 56px; }
.manifesto-text {
  margin: 0; max-width: 30ch;
  font-family: var(--f-display); font-weight: 320; font-variation-settings: "opsz" 72;
  font-size: clamp(1.32rem, 3.05vw, 2.7rem); line-height: 1.3; letter-spacing: -.018em;
}
@media (max-width: 380px), (max-height: 620px) and (max-width: 899px) {
  .manifesto-text { font-size: 1.1rem; line-height: 1.32; }
  .manifesto .kicker { margin-bottom: 14px; }
}
.manifesto-text .sw { color: color-mix(in srgb, var(--text) 17%, transparent); transition: color .35s ease; }
.manifesto-text .sw.lit { color: var(--text); }
.manifesto-text .sw.key.lit { color: var(--accent-2); font-style: italic; }
@media (min-width: 900px) { .manifesto-text { max-width: 34ch; } }

/* =========================================================
   RELEASE · linha do tempo
   ========================================================= */
.timeline { padding-block: 40px 20px; }
.timeline-head { margin-bottom: 44px; }
.timeline-head .h2 { max-width: 16ch; }
.tl-progress { display: none; }
.tl-track { list-style: none; margin: 0 auto; padding: 0; width: min(100% - 2 * var(--pad), var(--max)); position: relative; }
.tl-track::before { content: ""; position: absolute; left: 6px; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 38px 40px; }
.tl-dot { position: absolute; left: 0; top: 14px; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 1px solid var(--accent-deep); transition: background .5s, box-shadow .5s, transform .5s var(--ease); }
.tl-year { display: block; font-family: var(--f-display); font-weight: 300; font-size: clamp(2.6rem, 11vw, 3.6rem); line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--accent-2) 55%, transparent); transition: color .6s, -webkit-text-stroke-color .6s; }
.tl-year small { font-size: .45em; letter-spacing: -.02em; }
.tl-item p { margin: 12px 0 0; color: var(--muted); max-width: 34ch; transition: color .5s; }
.tl-item p em { color: var(--text); }
.tl-item.is-on .tl-year { color: var(--accent-2); -webkit-text-stroke-color: transparent; }
.tl-item.is-on .tl-dot { background: var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 15%, transparent); transform: scale(1.1); }
.tl-item.is-on p { color: #d6cdc2; }
.tl-item.is-future .tl-dot { border-style: dashed; }

@media (min-width: 900px) {
  .timeline { height: var(--tl-h, 420vh); padding: 0; }
  .timeline-sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
  .timeline-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 7vh; }
  .tl-progress { display: block; width: 220px; height: 1px; background: var(--line); margin-bottom: 18px; flex: none; }
  .tl-progress span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--tp, 0)); }
  .tl-viewport { overflow: visible; }
  .tl-track { display: flex; width: max-content; margin: 0; padding-left: max(var(--pad), calc((100vw - var(--max)) / 2)); padding-right: 30vw; transform: translate3d(var(--tx, 0), 0, 0); will-change: transform; }
  .tl-track::before { left: 0; right: 0; top: 152px; bottom: auto; width: auto; height: 1px; }
  .tl-item { width: 330px; padding: 0 48px 0 0; flex: none; }
  .tl-item:nth-child(2) { width: 430px; }
  .tl-year { font-size: 7.2rem; height: 128px; display: flex; align-items: flex-end; }
  .tl-year small { font-size: .3em; margin-left: 4px; margin-bottom: 18px; }
  .tl-dot { position: relative; display: block; left: auto; top: auto; margin: 18px 0 22px; }
  .tl-item p { margin: 0; font-size: 1.02rem; }
}

/* =========================================================
   RELEASE · texto completo
   ========================================================= */
.press { padding-block: 40px 0; }
.press-card { position: relative; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(160deg, var(--panel-2), var(--panel) 60%); padding: clamp(22px, 4vw, 48px); }
.press-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.press-top .kicker { margin-bottom: 10px; }
.press-top h3 { margin: 0; font-family: var(--f-display); font-weight: 340; font-size: clamp(1.8rem, 3.6vw, 2.8rem); letter-spacing: -.02em; line-height: 1; }
.press-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.press-body { position: relative; max-height: 190px; overflow: hidden; transition: max-height .9s var(--ease); }
.press-body::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(transparent, var(--panel)); pointer-events: none; transition: opacity .6s; }
.press-card.is-open .press-body::after { opacity: 0; }
.press-inner { color: var(--muted); }
.press-inner p { margin: 0 0 18px; break-inside: avoid; }
.press-inner p:first-child::first-letter { float: left; font-family: var(--f-display); font-size: 4.2em; line-height: .82; padding: 6px 10px 0 0; color: var(--accent-2); }
.press-inner em { color: var(--text); }
@media (min-width: 900px) { .press-inner { columns: 2; column-gap: 56px; } }
.press-toggle { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-weight: 600; color: var(--accent); }
.press-toggle .ico { width: 30px; height: 30px; padding: 7px; border-radius: 50%; border: 1px solid var(--line); transition: transform .5s var(--ease); }
.press-card.is-open .press-toggle .ico { transform: rotate(45deg); }

/* =========================================================
   PROJETOS (player mantido + faixas)
   ========================================================= */
.projects { padding-block: var(--sec); background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 30%, var(--bg-2) 70%, var(--bg) 100%); }
.section-head { display: grid; gap: 26px; margin-bottom: clamp(48px, 7vw, 88px); }
.section-intro { margin: 0; color: var(--muted); max-width: 62ch; }
@media (min-width: 900px) {
  .section-head { grid-template-columns: 1.1fr .9fr; align-items: end; gap: 64px; }
  .section-head.single { grid-template-columns: 1fr; }
  .section-head.single .h2 { max-width: 18ch; }
}
.studio { display: grid; gap: 28px; }
.player { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.player-top { display: flex; align-items: center; gap: 14px; padding: 4px 4px 14px; }
.vinyl { position: relative; width: 52px; height: 52px; flex: none; border-radius: 50%; background: repeating-radial-gradient(circle, #151210 0 2px, #0b0a09 2px 4px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 6px 18px rgba(0, 0, 0, .6); animation: spin 4s linear infinite; animation-play-state: paused; }
.vinyl::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 30deg, transparent 0 15%, rgba(255, 255, 255, .09) 20%, transparent 25% 65%, rgba(255, 255, 255, .06) 70%, transparent 75%); }
.vinyl-label { position: absolute; inset: 32%; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-family: var(--f-display); font-style: italic; font-size: .5rem; z-index: 1; }
.player.is-spinning .vinyl, .player.is-live .vinyl { animation-play-state: running; }
@keyframes spin { to { transform: rotate(360deg); } }
.player-meta { display: grid; min-width: 0; flex: 1; }
.player-now { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.player-title { font-family: var(--f-display); font-weight: 400; font-size: 1.12rem; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .3s; }
.player-num { font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: 2rem; color: var(--dim); line-height: 1; }
.player-screen { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #050505; }
.player-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-poster { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: hidden; }
.player-poster[hidden], .song[hidden], .preview-end[hidden], .player-frame[hidden] { display: none; }
.preview-end { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 20px; text-align: center; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: fadeUp .5s var(--ease); }
.preview-end p { margin: 0; font-family: var(--f-display); font-size: clamp(1.1rem, 2.4vw, 1.5rem); font-weight: 340; }
.pe-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pe-actions button { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; transition: background .3s, color .3s, border-color .3s; }
.pe-actions .pe-full { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.pe-actions .pe-full:hover { background: var(--accent-2); }
.pe-actions .pe-next:hover { background: var(--text); color: var(--ink); border-color: var(--text); }
.pe-yt { font-size: .82rem; color: var(--muted); }
.pe-yt:hover { color: var(--accent); }
.pv { display: flex; align-items: center; gap: 12px; height: 0; overflow: hidden; opacity: 0; transition: height .4s var(--ease), opacity .4s, margin .4s; }
.pv.is-on { height: 18px; opacity: 1; margin-top: 12px; }
.pv-track { position: relative; flex: 1; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.pv-fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--accent-deep), var(--accent-2)); transform-origin: left; transform: scaleX(0); transition: transform .2s linear; }
.pv-time { font-family: var(--f-mono); font-size: .68rem; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.song.is-playing .song-btn { background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 13%, transparent) var(--pp, 0%), transparent var(--pp, 0%)); }
.poster-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.36); transition: transform 1.2s var(--ease), opacity .4s, filter .6s; filter: saturate(.85) brightness(.75); }
.player-poster:hover .poster-img { transform: scale(1.42); filter: saturate(1) brightness(.85); }
.player-poster::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, transparent 30%, rgba(0, 0, 0, .55)); }
.poster-play { position: absolute; left: 50%; top: 50%; z-index: 2; display: grid; place-items: center; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 1.6rem; box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 50%, transparent); animation: playPulse 2.4s infinite; transition: transform .5s var(--ease), background .3s; }
.poster-play .ico { margin-left: 4px; }
.player-poster:hover .poster-play { transform: scale(1.08); background: var(--accent-2); }
@keyframes playPulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent); } 70% { box-shadow: 0 0 0 22px color-mix(in srgb, var(--accent) 0%, transparent); } 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 0%, transparent); } }
.poster-hint { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 2; text-align: center; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: color-mix(in srgb, var(--text) 80%, transparent); }
.player.is-switching .poster-img, .player.is-switching .player-title, .player.is-switching .np { opacity: 0; }
.player-info { display: flex; align-items: center; gap: 14px; padding: 14px 4px 4px; }
.np { flex: 1; min-width: 0; display: grid; transition: opacity .3s; }
.np-title { font-family: var(--f-display); font-weight: 400; font-size: 1.15rem; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-sub { font-size: .82rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-ctrl { display: flex; gap: 6px; }
.ctrl { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); color: var(--muted); font-size: .9rem; transition: color .3s, border-color .3s, background .3s; }
.ctrl:hover { color: var(--text); border-color: var(--muted); }
.player-link { margin: 14px 6px 4px; font-size: .92rem; }

.tracklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.track { border-bottom: 1px solid var(--line); position: relative; }
.track::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.track.is-active::before { transform: scaleX(1); }
.track-btn { width: 100%; display: grid; grid-template-columns: 44px 1fr; align-items: start; gap: 10px; padding: 24px 0; text-align: left; }
.track-n { font-family: var(--f-mono); font-size: .76rem; color: var(--dim); padding-top: .55em; transition: color .3s; }
.track-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.track-title { font-family: var(--f-display); font-weight: 360; font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.15; letter-spacing: -.015em; transition: color .3s, transform .5s var(--ease); }
.track-play { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); color: var(--muted); font-size: .9rem; transition: background .3s, color .3s, border-color .3s; }
.track-btn:hover .track-title { transform: translateX(6px); }
.track-btn:hover .track-play { border-color: var(--accent); color: var(--accent); }
.track.is-active .track-n { color: var(--accent); }
.track.is-active .track-play { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.track-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); padding-left: 54px; }
.track.is-active .track-body { grid-template-rows: 1fr; }
.track-inner { min-height: 0; overflow: hidden; }
.track-inner > p { margin: 0 0 18px; color: var(--muted); font-size: .96rem; }
.track-inner > p em { color: var(--text); }
.track-inner .player-col { margin: 6px 0 18px; }

.songs { padding-bottom: 26px; }
.album-chips { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 12px; margin-bottom: 4px; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); }
.album-chips::-webkit-scrollbar { display: none; }
.achip { flex: none; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-family: var(--f-display); font-style: italic; font-size: .82rem; color: var(--muted); white-space: nowrap; transition: background .3s, color .3s, border-color .3s; }
.achip:hover { color: var(--text); border-color: var(--muted); }
.achip.is-on { background: var(--text); color: var(--ink); border-color: var(--text); }
.song-list { list-style: none; margin: 0; padding: 0; max-height: 340px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line) transparent; border-top: 1px solid var(--line-soft); }
.song { border-bottom: 1px solid var(--line-soft); }
.song-btn { width: 100%; display: grid; grid-template-columns: 22px 64px 1fr auto; align-items: center; gap: 12px; padding: 9px 4px; text-align: left; border-radius: 8px; transition: background .25s; }
.song-btn:hover { background: rgba(255, 255, 255, .035); }
.song-i { font-family: var(--f-mono); font-size: .7rem; color: var(--dim); text-align: right; }
.song-thumb { position: relative; width: 64px; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: #000; }
.song-thumb img { width: 100%; height: 100%; object-fit: cover; }
.song-thumb .eq { position: absolute; inset: 0; margin: auto; width: 16px; height: 12px; opacity: 0; transition: opacity .3s; }
.song-txt { min-width: 0; display: grid; }
.song-t { font-size: .92rem; font-weight: 500; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.song-a { font-size: .74rem; color: var(--dim); font-style: italic; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.song-d { font-family: var(--f-mono); font-size: .7rem; color: var(--dim); }
.song.is-current .song-t { color: var(--accent-2); }
.song.is-current .song-i { color: var(--accent); }
.song.is-current .song-thumb::after { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--bg) 55%, transparent); }
.song.is-current .song-thumb .eq { opacity: 1; z-index: 1; }
.song-more { display: block; padding: 12px 4px 0; font-size: .82rem; color: var(--dim); }
@media (min-width: 1024px) {
  .studio { grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: start; }
  .player-col { position: sticky; top: 100px; }
  .player { padding: 18px; }
}
@media (max-width: 480px) {
  .track-body { padding-left: 0; }
  .track-btn { grid-template-columns: 34px 1fr; }
  .song-btn { grid-template-columns: 18px 56px 1fr auto; gap: 10px; }
  .song-thumb { width: 56px; }
}

/* =========================================================
   COLABORAÇÕES · créditos
   ========================================================= */
.credits { padding-block: var(--sec) 40px; overflow: hidden; }
.credits-grid { display: grid; gap: 40px; align-items: center; }
.credits-photo { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 999px 999px 24px 24px; overflow: hidden; background: #000; max-width: 460px; }
.credits-photo img { width: 100%; height: 116%; margin-top: -8%; object-fit: cover; object-position: 50% 20%; filter: grayscale(.4) contrast(1.05); transition: filter 1s; will-change: transform; }
.credits-photo:hover img, .credits-photo.is-center img { filter: none; }
.credits-photo figcaption { position: absolute; left: 0; right: 0; bottom: 20px; text-align: center; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text); z-index: 1; }
.credits-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .75)); }
.credits-copy .h2 { margin-bottom: 26px; max-width: 14ch; }
.credits-copy > p { color: var(--muted); max-width: 52ch; margin: 0; }
@media (min-width: 900px) { .credits-grid { grid-template-columns: .8fr 1.2fr; gap: 88px; } }

.names { margin-top: clamp(56px, 8vw, 100px); }
.names-label { margin-bottom: 18px; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.names-row { overflow: hidden; border-top: 1px solid var(--line-soft); padding: 10px 0; }
.names-row:last-child { border-bottom: 1px solid var(--line-soft); }
.names-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee var(--dur, 46s) linear infinite; }
.names-row.is-rev .names-track { animation-direction: reverse; }
.names-row:hover .names-track { animation-play-state: paused; }
.names-track span { font-family: var(--f-display); font-weight: 300; font-size: clamp(2.2rem, 6.5vw, 5.4rem); line-height: 1.1; letter-spacing: -.03em; color: color-mix(in srgb, var(--text) 22%, transparent); white-space: nowrap; transition: color .4s; }
.names-track span:hover { color: var(--accent-2); font-style: italic; }
.names-track b { font-family: var(--f-display); font-weight: 200; font-size: clamp(1.6rem, 4vw, 3.2rem); color: var(--accent-deep); }

/* =========================================================
   PRODUÇÃO · sessão de gravação (DAW)
   ========================================================= */
.production { padding-block: var(--sec); }
.production-head { display: grid; gap: 28px; margin-bottom: clamp(40px, 6vw, 72px); }
.production-text p { color: var(--muted); max-width: 56ch; margin: 0 0 18px; }
.production-text .note { padding-left: 18px; border-left: 2px solid var(--accent); color: var(--text); }
@media (min-width: 1024px) { .production-head { grid-template-columns: 1fr 1fr; align-items: end; gap: 72px; } }

.daw { --pl: 12px; --pr: 12px; border: 1px solid var(--line); border-radius: 18px; background: #0d0b0a; overflow: hidden; box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .03); }
.daw-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--panel) 80%, var(--bg)); font-family: var(--f-mono); font-size: .72rem; color: var(--muted); }
.daw-transport { display: flex; align-items: center; gap: 10px; }
.tp { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; border: 1px solid var(--line); color: var(--muted); font-size: .7rem; }
.tp-rec::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #c9483a; box-shadow: 0 0 10px rgba(201, 72, 58, .8); animation: rec 1.4s steps(2) infinite; }
@keyframes rec { 50% { opacity: .25; } }
.daw-time { padding: 4px 10px; border-radius: 6px; background: color-mix(in srgb, var(--bg) 70%, #000); color: var(--accent-2); font-size: .8rem; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.daw-name { display: none; }
.daw-bpm { color: var(--dim); }
.daw-body { position: relative; padding-bottom: 10px; }
.daw-ruler { display: flex; margin: 0 var(--pr) 0 var(--pl); height: 30px; border-bottom: 1px solid var(--line-soft); font-family: var(--f-mono); font-size: .62rem; color: var(--dim); }
.daw-ruler span { flex: 1; padding: 8px 0 0 4px; border-left: 1px solid var(--line-soft); }
.daw-ruler span:nth-child(even) { color: transparent; }
.daw-lanes { list-style: none; margin: 0; padding: 0; }
.lane { border-bottom: 1px solid var(--line-soft); }
.lane-head { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px var(--pr) 0 var(--pl); }
.lane-n { font-family: var(--f-mono); font-size: .68rem; color: var(--dim); transition: color .4s; }
.lane-name { font-size: .88rem; color: var(--muted); transition: color .4s; }
.lane-track { position: relative; height: 46px; margin: 6px var(--pr) 10px var(--pl); background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 12.5%); border-radius: 6px; }
.clip { position: absolute; top: 5px; bottom: 5px; left: calc(var(--s) * 100%); width: calc((var(--e) - var(--s)) * 100%); border-radius: 6px; border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); background: color-mix(in srgb, var(--c) 14%, transparent); overflow: hidden; transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease), background .5s, box-shadow .5s, border-color .5s; }
.daw.is-in .clip { transform: scaleX(1); }
.lane:nth-child(2) .clip { transition-delay: .08s; }
.lane:nth-child(3) .clip { transition-delay: .16s; }
.lane:nth-child(4) .clip { transition-delay: .24s; }
.lane:nth-child(5) .clip { transition-delay: .32s; }
.lane:nth-child(6) .clip { transition-delay: .4s; }
.clip::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 9px; background: color-mix(in srgb, var(--c) 50%, transparent); }
.clip-wave { position: absolute; left: 6px; right: 6px; top: 12px; bottom: 4px; display: flex; align-items: center; gap: 2px; }
.clip-wave i { flex: 1; min-width: 1px; height: var(--h); background: color-mix(in srgb, var(--c) 70%, transparent); border-radius: 1px; transform-origin: center; }
.lane.is-on .clip { background: color-mix(in srgb, var(--c) 32%, transparent); border-color: var(--c); box-shadow: 0 0 28px -6px var(--c); }
.lane.is-on .clip-wave i { background: var(--c); animation: wv var(--t, .8s) ease-in-out infinite alternate; }
.lane.is-on .lane-n { color: var(--accent); }
.lane.is-on .lane-name, .lane.is-done .lane-name { color: var(--text); }
@keyframes wv { from { transform: scaleY(.45); } to { transform: scaleY(1.1); } }
.playhead { position: absolute; top: 0; bottom: 0; left: calc(var(--pl) + var(--p, 0) * (100% - var(--pl) - var(--pr))); width: 1px; background: var(--accent-2); box-shadow: 0 0 12px color-mix(in srgb, var(--accent-2) 80%, transparent); pointer-events: none; }
.playhead span { position: absolute; top: 0; left: -6px; width: 13px; height: 12px; background: var(--accent-2); clip-path: polygon(0 0, 100% 0, 50% 100%); }
@media (min-width: 768px) {
  .daw { --pl: 260px; --pr: 0px; }
  .daw-name { display: inline; color: var(--dim); }
  .lane { display: grid; grid-template-columns: var(--pl) 1fr; align-items: center; }
  .lane-head { padding: 0 18px; height: 100%; border-right: 1px solid var(--line-soft); }
  .lane-track { margin: 0; height: 64px; border-radius: 0; }
  .lane-name { font-size: .95rem; }
  .daw-ruler span:nth-child(even) { color: var(--dim); }
}

/* =========================================================
   PESQUISA · papel
   ========================================================= */
.research {
  margin-inline: clamp(8px, 1.4vw, 20px);
  border-radius: clamp(22px, 3vw, 44px);
  padding-block: var(--sec);
  background: var(--paper);
  background-image: radial-gradient(color-mix(in srgb, var(--ink) 5%, transparent) 1px, transparent 1px);
  background-size: 22px 22px;
  color: var(--ink);
  overflow: hidden;
}
.research .kicker { color: var(--accent-deep); }
.research .kicker i { color: #9a8d7f; }
.research .kicker i::after { background: color-mix(in srgb, var(--ink) 20%, transparent); }
.research .h2 em { color: var(--accent-deep); }
.research ::selection { background: var(--ink); color: var(--paper); }

.shelf { display: grid; gap: 64px; margin-bottom: clamp(72px, 10vw, 120px); }
.book { display: grid; gap: 34px; justify-items: start; }
.book3d {
  --w: 180px; --d: 26px;
  position: relative; display: block; width: var(--w); height: calc(var(--w) * var(--ratio));
  margin-left: 30px;
  transform-style: preserve-3d;
  transform: perspective(1500px) rotateY(var(--ry, -30deg)) rotateX(var(--rx, 6deg)) translateY(var(--ty, 0px));
  transition: transform .9s var(--ease);
}
.book3d:hover { --ry: -6deg; --rx: 2deg; --ty: -6px; }
.book3d.is-tracking { transition: transform .18s ease-out; }
.book3d.is-scroll { transition: transform .25s ease-out; }
.book3d > span { position: absolute; backface-visibility: hidden; }
.b-front { inset: 0; transform: translateZ(calc(var(--d) / 2)); border-radius: 2px 6px 6px 2px; overflow: hidden; box-shadow: inset 4px 0 8px rgba(0, 0, 0, .25); }
.b-front img { width: 100%; height: 100%; object-fit: cover; }
.b-front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .25), rgba(255, 255, 255, .18) 3%, transparent 8%, transparent 85%, rgba(255, 255, 255, .08)); }
.b-back { inset: 0; transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); background: var(--spine); border-radius: 6px 2px 2px 6px; }
.b-spine { top: 0; bottom: 0; left: calc(50% - var(--d) / 2); width: var(--d); transform: rotateY(-90deg) translateZ(calc(var(--w) / 2)); background: var(--spine); display: flex; align-items: center; justify-content: space-between; writing-mode: vertical-rl; padding: 12px 0; color: var(--spine-ink); font-family: var(--f-body); }
.b-spine i { font-style: normal; font-size: .55rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.b-spine b { font-family: var(--f-display); font-size: .8rem; font-weight: 600; }
.b-pages { top: 3px; bottom: 3px; left: calc(50% - var(--d) / 2); width: calc(var(--d) - 2px); transform: rotateY(90deg) translateZ(calc(var(--w) / 2 - 2px)); background: repeating-linear-gradient(90deg, #f6f1e7 0 1px, #ddd4c4 1px 2px); }
.book::after { content: ""; display: block; width: 230px; height: 18px; margin: -26px 0 0 10px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--ink) 35%, transparent), transparent); filter: blur(4px); order: 0; }
.book .book3d { order: -1; }
.book-meta { order: 1; }
.book-meta small, .thesis-copy small { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); }
.book-meta h3 { margin: 10px 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; letter-spacing: -.02em; }
.book-meta p { margin: 0 0 20px; color: var(--ink-soft); max-width: 40ch; }
.book-links { display: flex; flex-wrap: wrap; gap: 8px; }
.research .pill { border-color: color-mix(in srgb, var(--ink) 20%, transparent); }
.research .pill:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.research .pill-solid:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
@media (min-width: 768px) {
  .shelf { grid-template-columns: 1fr 1fr; gap: 40px; }
  .book3d { --w: 210px; --d: 30px; }
}

.thesis { display: grid; gap: 48px; align-items: center; margin-bottom: clamp(72px, 10vw, 128px); }
.thesis-sheet {
  position: relative; justify-self: center; width: min(78vw, 340px); aspect-ratio: 210 / 297;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; text-align: center;
  padding: 11% 10%;
  background: #fbf8f2; color: var(--ink);
  box-shadow: 0 1px 1px rgba(0, 0, 0, .06), 0 30px 60px -20px color-mix(in srgb, var(--ink) 45%, transparent);
  transform: rotate(-3deg);
  transition: transform .8s var(--ease);
}
.thesis-sheet { transform: rotate(var(--rot, -3deg)) translateY(var(--ty, 0px)) scale(var(--sc, 1)); cursor: pointer; }
.thesis-sheet.is-in { transform: rotate(var(--rot, -3deg)) translateY(var(--ty, 0px)) scale(var(--sc, 1)); }
.thesis-sheet:hover, .thesis-sheet.is-lift { --rot: 0deg; --ty: -6px; --fan: 1.8; }
.thesis-sheet.is-scroll { transition: transform .25s ease-out; }
.thesis-sheet::before, .thesis-sheet::after { content: ""; position: absolute; inset: 0; z-index: -1; background: #f3eee4; box-shadow: 0 20px 40px -20px color-mix(in srgb, var(--ink) 35%, transparent); }
.thesis-sheet::before { transform: rotate(calc(5deg * var(--fan, 1))) translate(calc(10px * var(--fan, 1)), 4px); transition: transform .6s var(--ease); }
.thesis-sheet::after { transform: rotate(calc(2deg * var(--fan, 1))) translate(calc(4px * var(--fan, 1)), 2px); background: #f7f3eb; transition: transform .6s var(--ease); }
.ts-inst { font-family: var(--f-body); font-size: clamp(.5rem, 1.6vw, .62rem); letter-spacing: .16em; text-transform: uppercase; line-height: 1.8; color: var(--ink-soft); }
.ts-author { font-family: var(--f-display); font-size: clamp(.8rem, 2.4vw, .95rem); letter-spacing: .08em; text-transform: uppercase; }
.ts-title { font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: clamp(1.25rem, 4.6vw, 1.75rem); line-height: 1.15; }
.ts-foot { font-family: var(--f-body); font-size: clamp(.5rem, 1.6vw, .62rem); letter-spacing: .16em; text-transform: uppercase; line-height: 1.8; color: var(--ink-soft); }
.thesis-copy h3 { margin: 12px 0 14px; font-family: var(--f-display); font-weight: 340; font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -.02em; max-width: 18ch; }
.thesis-copy h3 em { color: var(--accent-deep); }
.thesis-copy p { margin: 0 0 28px; color: var(--ink-soft); max-width: 44ch; }
@media (min-width: 900px) { .thesis { grid-template-columns: .9fr 1.1fr; gap: 88px; } }

.toc { max-width: 980px; }
.toc-head { display: flex; align-items: baseline; gap: 18px; padding-bottom: 18px; border-bottom: 2px solid var(--ink); margin-bottom: 8px; }
.toc-head span { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-deep); }
.toc-head h3 { margin: 0; font-family: var(--f-display); font-weight: 340; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.02em; line-height: 1; }
.toc-chapter { padding-top: 30px; }
.toc-chapter h4 { display: flex; align-items: baseline; gap: 14px; margin: 0 0 8px; font-family: var(--f-display); font-weight: 500; font-size: 1.05rem; letter-spacing: -.005em; }
.toc-chapter h4 i { font-weight: 300; font-size: 1.5rem; color: var(--accent-deep); min-width: 28px; }
.toc-chapter ol { list-style: none; margin: 0; padding: 0; }
.toc-chapter a { position: relative; display: flex; align-items: baseline; gap: 10px; padding: 12px 0 12px 0; transition: color .3s, padding .5s var(--ease); }
.toc-t { font-family: var(--f-display); font-weight: 350; font-size: clamp(1.02rem, 1.7vw, 1.22rem); line-height: 1.38; max-width: 82%; }
.toc-dots { flex: 1; min-width: 18px; height: 1px; border-bottom: 2px dotted color-mix(in srgb, var(--ink) 30%, transparent); transform: translateY(-5px); transition: border-color .3s; }
.toc-n { font-family: var(--f-mono); font-size: .78rem; color: var(--ink-soft); }
.toc-chapter a::before { content: "↗"; position: absolute; left: -2px; top: 13px; opacity: 0; color: var(--accent-deep); transform: translateX(-8px); transition: opacity .3s, transform .5s var(--ease); }
.toc-chapter a:hover { color: var(--accent-deep); padding-left: 26px; }
.toc-chapter a:hover::before { opacity: 1; transform: none; }
.toc-chapter a:hover .toc-dots { border-color: var(--accent-deep); }
@media (min-width: 900px) { .toc-chapter { display: grid; grid-template-columns: 260px 1fr; gap: 24px; } .toc-chapter h4 { padding-top: 12px; } }

/* =========================================================
   AULAS
   ========================================================= */
.teaching { padding-bottom: var(--sec); }
.teach-cover { position: relative; height: 92svh; min-height: 540px; max-height: 920px; display: flex; align-items: flex-end; overflow: hidden; margin-top: var(--sec); }
.teach-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; transform: scale(var(--z, 1.2)); will-change: transform; }
.teach-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 10%, transparent) 30%, color-mix(in srgb, var(--bg) 25%, transparent) 60%, var(--bg) 100%); }
.teach-cover-copy { position: relative; z-index: 1; padding-bottom: clamp(30px, 6vw, 72px); }
.teach-cover-copy .h2 { max-width: 13ch; }
.teach-intro { display: grid; gap: 40px; padding-block: clamp(48px, 7vw, 88px); border-bottom: 1px solid var(--line-soft); }
.teach-intro .lead { color: color-mix(in srgb, var(--text) 85%, var(--muted)); }
.rotator { align-self: end; font-family: var(--f-display); font-weight: 300; font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1.2; letter-spacing: -.03em; display: flex; flex-wrap: wrap; gap: 0 .3em; }
.rot-label { color: var(--dim); }
.rot-window { display: inline-block; height: 1.2em; overflow: hidden; }
.rot-list { display: flex; flex-direction: column; animation: rot 16s var(--ease-io) infinite; }
.rot-list span { height: 1.2em; font-style: italic; color: var(--accent-2); white-space: nowrap; }
@keyframes rot {
  0%, 10% { transform: translateY(0); }
  12.5%, 22.5% { transform: translateY(-1.2em); }
  25%, 35% { transform: translateY(-2.4em); }
  37.5%, 47.5% { transform: translateY(-3.6em); }
  50%, 60% { transform: translateY(-4.8em); }
  62.5%, 72.5% { transform: translateY(-6em); }
  75%, 85% { transform: translateY(-7.2em); }
  87.5%, 97.5% { transform: translateY(-8.4em); }
  100% { transform: translateY(-9.6em); }
}
@media (min-width: 900px) { .teach-intro { grid-template-columns: 1.3fr .7fr; gap: 72px; } }

.pillars-title { margin: clamp(48px, 7vw, 80px) 0 28px; font-family: var(--f-display); font-weight: 360; font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.2; letter-spacing: -.015em; max-width: 30ch; }
.pillars { display: grid; gap: 14px; }
.pillar { position: relative; padding: 28px 24px 30px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.pillar::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%); opacity: 0; transition: opacity .5s; }
.pillar:hover::before, .pillar.is-center::before { opacity: 1; }
.pillar-n { position: absolute; right: 22px; top: 20px; font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: 2.6rem; line-height: 1; color: color-mix(in srgb, var(--text) 10%, transparent); }
.pillar-ico { width: 46px; height: 46px; fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 26px; }
.pillar h4 { margin: 0 0 12px; font-family: var(--f-display); font-weight: 400; font-size: 1.4rem; letter-spacing: -.01em; }
.pillar p { margin: 0; color: var(--muted); font-size: .95rem; }
.tools { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tools li { padding: 5px 11px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 8%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent); color: var(--accent-2); font-size: .78rem; }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, 1fr); } .pillar { padding: 34px 30px 36px; } }
.teach-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* =========================================================
   CONTATO
   ========================================================= */
.contact { padding-block: var(--sec); background: radial-gradient(80% 60% at 50% 0%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 70%); border-top: 1px solid var(--line-soft); }
.contact-title { margin: 0 0 clamp(40px, 6vw, 72px); font-family: var(--f-display); font-weight: 300; font-variation-settings: "opsz" 144; font-size: clamp(3rem, 11vw, 9rem); line-height: .95; letter-spacing: -.045em; max-width: 12ch; }
.composer { display: grid; gap: 36px; margin-bottom: clamp(56px, 8vw, 96px); }
.composer .lead { color: var(--muted); max-width: 34ch; margin-bottom: 28px; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.topic { padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: .95rem; color: var(--muted); transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.topic:hover { color: var(--text); border-color: var(--muted); }
.topic.is-on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.topic:active { transform: scale(.96); }
.chat { width: 100%; max-width: 440px; border-radius: 26px; border: 1px solid var(--line); background: var(--panel); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); justify-self: start; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #171311; }
.chat-avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-family: var(--f-display); font-style: italic; font-size: .9rem; }
.chat-id { display: grid; line-height: 1.25; }
.chat-id strong { font-weight: 600; font-size: .95rem; }
.chat-id small { font-size: .74rem; color: var(--muted); }
.chat-body { min-height: 150px; padding: 26px 18px; display: flex; align-items: flex-end; justify-content: flex-end; background-color: #0f0d0c; background-image: radial-gradient(color-mix(in srgb, var(--text) 4%, transparent) 1px, transparent 1px); background-size: 16px 16px; }
.bubble { position: relative; margin: 0; max-width: 88%; padding: 10px 14px 8px; border-radius: 16px 16px 4px 16px; background: color-mix(in srgb, var(--accent-deep) 45%, var(--panel)); color: var(--text); font-size: .96rem; line-height: 1.45; transform-origin: bottom right; }
.bubble small { display: block; text-align: right; margin-top: 2px; font-size: .68rem; color: var(--accent-2); opacity: .8; }
.bubble.pop { animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.92); } to { opacity: 1; transform: none; } }
.chat-send { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; padding: 18px; background: var(--accent); color: var(--on-accent); font-weight: 600; transition: background .3s; }
.chat-send .ico { font-size: 1.2rem; }
.chat-send:hover { background: var(--accent-2); }
@media (min-width: 900px) { .composer { grid-template-columns: 1fr 440px; align-items: end; gap: 72px; } }

.contact-grid { display: grid; gap: 22px; }
.socials, .map-wrap { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.socials { padding: 22px 22px 18px; }
.panel-title { margin: 0 0 8px; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.social-row { position: relative; display: grid; grid-template-columns: 26px 1fr auto 18px; align-items: center; gap: 14px; padding: 16px 6px; border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: color .4s, padding .5s var(--ease); }
.social-row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); border-radius: 10px; }
.social-row:hover { color: var(--on-accent); padding-inline: 14px; }
.social-row:hover::before { transform: scaleY(1); }
.social-row > .ico:first-child { font-size: 1.3rem; }
.social-row strong { font-family: var(--f-display); font-weight: 400; font-size: 1.3rem; }
.social-row span { font-size: .8rem; opacity: .7; }
.s-arrow { transition: transform .4s var(--ease); }
.social-row:hover .s-arrow { transform: translate(2px, -2px); }
.partners { margin-top: 18px; }
.partners strong { font-family: var(--f-mono); font-weight: 400; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.partners p { margin: 6px 0 0; font-family: var(--f-display); font-size: 1.15rem; font-weight: 360; }
.partners p span { color: var(--accent); margin: 0 6px; }
.map-wrap { padding: 10px; display: flex; flex-direction: column; }
.map-frame { position: relative; flex: 1; min-height: 320px; border-radius: 12px; overflow: hidden; background: #111; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.88) sepia(.18); transition: filter .6s; }
.map-frame:hover iframe { filter: none; }
.map-card { position: absolute; left: 12px; bottom: 12px; display: grid; padding: 12px 16px; border-radius: 12px; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(8px); border: 1px solid var(--line); pointer-events: none; }
.map-card strong { font-family: var(--f-display); font-weight: 500; font-size: 1.05rem; }
.map-card span { font-size: .8rem; color: var(--muted); }
.map-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 10px 6px; font-size: .88rem; color: var(--muted); }
.map-actions > span { display: inline-flex; align-items: center; gap: 8px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .9fr 1.1fr; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); padding: 40px 0 28px; overflow: hidden; }
.footer-big { font-family: var(--f-display); font-weight: 300; font-style: italic; font-size: clamp(3rem, 15vw, 14rem); line-height: .9; letter-spacing: -.05em; white-space: nowrap; margin-bottom: 30px; user-select: none; }
.footer-big span { color: transparent; -webkit-text-stroke: 1px var(--line); background: linear-gradient(90deg, var(--accent-2), var(--accent-deep)) no-repeat; background-size: var(--fill, 0%) 100%; -webkit-background-clip: text; background-clip: text; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: .86rem; color: var(--muted); padding-bottom: 20px; border-bottom: 1px solid var(--line-soft); }
.footer-row p { margin: 0; }
.to-top { display: inline-flex; align-items: center; gap: 6px; color: var(--text); }
.to-top:hover { color: var(--accent); }
.footer-credit { margin: 18px 0 0; font-size: .75rem; opacity: .6; }
.footer-credit a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 480px) {
  .btn { min-height: 50px; padding: 0 20px; font-size: .9rem; }
  .hero-actions .btn, .teach-cta .btn { flex: 1 1 auto; }
  .social-row { grid-template-columns: 24px 1fr 18px; }
  .social-row span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .reveal, [data-split] .w > span { opacity: 1 !important; transform: none !important; }
  .grain { display: none; }
  .manifesto { height: auto; }
  .manifesto-sticky { position: static; height: auto; padding-block: var(--sec); }
  .manifesto-text .sw { color: var(--text); }
}

/* =========================================================
   PAINEL: ajustes que o conteúdo editável precisa
   ========================================================= */
/* tamanho dos títulos (geral × por seção) */
.h2 { font-size: calc(clamp(2.3rem, 6.4vw, 4.6rem) * var(--ts-g, 1) * var(--ts, 1)); }
.h2-xl { font-size: calc(clamp(2.8rem, 9vw, 6.6rem) * var(--ts-g, 1) * var(--ts, 1)); }
.hero-title { font-size: calc(clamp(3.1rem, 13.5vw, 8.4rem) * var(--ts-g, 1) * var(--ts, 1)); }
.contact-title { font-size: calc(clamp(3rem, 11vw, 9rem) * var(--ts-g, 1) * var(--ts, 1)); }
.manifesto-text { font-size: calc(clamp(1.32rem, 3.05vw, 2.7rem) * var(--ts, 1)); }
@media (min-width: 900px) { .hero-title { font-size: calc(clamp(4.4rem, 8.2vw, 8.6rem) * var(--ts-g, 1) * var(--ts, 1)); } }
@media (max-width: 380px), (max-height: 620px) and (max-width: 899px) { .manifesto-text { font-size: calc(1.1rem * var(--ts, 1)); } }

/* menu com qualquer quantidade de itens */
.links.open a { transition-delay: var(--nd, .25s); }
.lane .clip { transition-delay: var(--ld, 0s); }
@media (min-width: 900px) { .tl-item:nth-child(2) { width: 330px; } .tl-item.is-long { width: 430px; } }

/* logo em imagem */
.brand-logo { display: block; width: auto; max-width: 220px; object-fit: contain; }

/* links dentro de textos */
.txt-link { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.txt-link:hover { color: var(--accent); }

/* variações sem foto */
.hero.no-photo .hero-copy { margin-top: 0; padding-top: 12vh; }
@media (min-width: 900px) { .hero.no-photo .hero-grid { grid-template-columns: 1fr; } }
.credits-grid.no-photo { grid-template-columns: 1fr !important; }
.credits-grid.no-photo .credits-copy { max-width: 760px; }
.teach-cover.no-photo { min-height: 0; padding-top: var(--sec); }
.contact-grid.no-map { grid-template-columns: 1fr !important; }
@media (min-width: 900px) { .shelf.is-single { grid-template-columns: 1fr; max-width: 640px; } }
.b-blank { display: grid; place-items: center; width: 100%; height: 100%; padding: 14px; background: var(--spine); color: var(--spine-ink); font-family: var(--f-display); font-size: 1.1rem; text-align: center; line-height: 1.2; }

/* ---------- seções livres ---------- */
.gx { padding-block: var(--sec); border-top: 1px solid var(--line-soft); }
.gx .h2 { margin-bottom: 26px; max-width: 20ch; }
.gx-body { color: var(--muted); max-width: 64ch; font-size: 1.05rem; }
.gx-body p { margin: 0 0 1em; }
.gx-body em { color: var(--text); }
.gx-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.gx-grid { display: grid; gap: 44px; align-items: center; }
.gx-figure { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--panel); }
.gx-figure img { width: 100%; height: auto; }
@media (min-width: 900px) {
  .gx-grid.has-img { grid-template-columns: 1.05fr .95fr; gap: 80px; }
  .gx-grid.img-left .gx-figure { order: -1; }
}
.gx-paper { background: var(--paper); color: var(--ink); border-top: 0; }
.gx-paper .gx-body { color: var(--ink-soft); }
.gx-paper .gx-body em, .gx-paper .h2 em { color: var(--accent-deep); }
.gx-paper .kicker { color: var(--accent-deep); }
.gx-paper .btn-ghost { color: var(--ink); border-color: color-mix(in srgb, var(--ink) 25%, transparent); }

.gx-photos { display: grid; gap: 14px; margin-top: 40px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) {
  .gx-photos.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .gx-photos.cols-4 { grid-template-columns: repeat(4, 1fr); }
}
.gx-photo { margin: 0; }
.gx-zoom { display: block; width: 100%; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--panel); cursor: zoom-in; }
.gx-zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gx-zoom:hover img { transform: scale(1.04); }
.gx-photo figcaption, .gx-video figcaption { margin-top: 10px; font-size: .86rem; color: var(--muted); }
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; background: color-mix(in srgb, var(--bg) 94%, transparent); opacity: 0; transition: opacity .3s; cursor: zoom-out; }
.lightbox.is-on { opacity: 1; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 10px; }

.gx-vgrid { display: grid; gap: 22px; margin-top: 40px; }
@media (min-width: 900px) { .gx-vgrid { grid-template-columns: 1fr 1fr; } .gx-vgrid.is-one { grid-template-columns: 1fr; max-width: 980px; } }
.gx-video { margin: 0; }
.gx-yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; }
.gx-yt img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .4s, transform 1s var(--ease); }
.gx-yt:hover img { opacity: 1; transform: scale(1.03); }
.gx-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
