/* Databree · portfólio de motion design. Mesma linguagem do databree.com: tokens, tipos, componentes e movimento. */
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 600 700; font-display: swap; src: url(fonts/sora-latin.woff2) format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(fonts/manrope-latin.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url(fonts/jbmono-latin.woff2) format('woff2'); }

:root {
  --canvas: #071330;
  --panel: #0e1c3d;
  --panel-2: #132449;
  --accent: #1a6cf0;
  --accent-hover: #3a86ff;
  --accent-text: #4d92ff;
  --accent-muted: rgba(26, 108, 240, .18);
  --line: rgba(120, 150, 210, .16);
  --line-strong: rgba(120, 150, 210, .34);
  --text-secondary: #9aabcc;
  --text-primary: #eef3ff;
  --display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --body: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 72px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; overflow-x: clip; -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; overflow-x: clip; background: var(--canvas); color: var(--text-primary); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; animation: pagein 1.2s var(--ease-out) both; }
@keyframes pagein { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: inherit; }
:focus-visible { outline: 2px solid var(--accent-hover); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--accent); color: #fff; padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

/* ===== the environment: one fixed background layer ===== */
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background: linear-gradient(140deg, #0c1c44 0%, #071330 48%, #050d24 100%); }
.bg .glow { position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; filter: blur(60px); opacity: .35; background: radial-gradient(circle, rgba(26, 108, 240, .34), rgba(26, 108, 240, 0) 62%); animation: glowdrift 84s linear infinite; animation-delay: -31s; left: 40%; top: 10%; }
.bg .glow.two { width: 50vmax; height: 50vmax; left: -10%; top: 60%; opacity: .22; animation-duration: 110s; animation-delay: -70s; animation-direction: reverse; }
@keyframes glowdrift { 0% { transform: translate(0, 0); } 25% { transform: translate(-14vw, 10vh); } 50% { transform: translate(6vw, 22vh); } 75% { transform: translate(16vw, 6vh); } 100% { transform: translate(0, 0); } }
.bg .dust { position: absolute; inset: -10% 0; width: 100%; height: 120%; }
.bg .dust circle { fill: #9cc4ff; opacity: .28; }
.bg .dust g { animation: dustrise 92s linear infinite; }
.bg .dust g:nth-child(2) { animation-duration: 128s; animation-delay: -60s; }
.bg .dust g:nth-child(3) { animation-duration: 150s; animation-delay: -25s; }
@keyframes dustrise { from { transform: translateY(0); } to { transform: translateY(-12%); } }
body.paused *, body.paused *::before, body.paused *::after { animation-play-state: paused !important; }

/* ===== nav ===== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h); display: flex; align-items: center; transition: background .5s var(--ease), box-shadow .5s var(--ease), backdrop-filter .5s var(--ease); }
.nav.scrolled { background: rgba(7, 19, 48, .74); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-in { width: min(1180px, calc(100% - 48px)); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 1.35rem/1 var(--display); letter-spacing: -.02em; }
.brand svg { width: 30px; height: 27px; }
.brand b { color: var(--accent-text); font-weight: 700; }
.nav-links { display: flex; gap: 28px; font-size: .95rem; font-weight: 500; color: var(--text-secondary); }
.nav-links a { position: relative; padding: 6px 0; transition: color .3s var(--ease); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent-hover); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { transform: scaleX(1); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: 999px; background: var(--accent); color: #fff; font: 600 .98rem/1 var(--body); letter-spacing: .005em; transition: background .35s var(--ease), transform .5s var(--ease-out), box-shadow .5s var(--ease); box-shadow: 0 0 0 0 rgba(26, 108, 240, 0); white-space: nowrap; }
.btn:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 10px 32px -10px rgba(58, 134, 255, .6); }
.btn svg { width: 18px; height: 18px; }
.btn.wa { background: #25d366; color: #06251a; }
.btn.wa:hover { background: #3ae07c; box-shadow: 0 10px 32px -10px rgba(37, 211, 102, .65); }
.btn.ghost { background: transparent; color: var(--text-primary); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn.ghost:hover { background: rgba(120, 150, 210, .08); box-shadow: inset 0 0 0 1px rgba(120, 150, 210, .6); }
.btn.sm { padding: 10px 18px; font-size: .9rem; }
@media (pointer: coarse) { .btn { min-height: 44px; } .foot nav a, .go { min-height: 44px; display: inline-flex; align-items: center; } .cta .mail { display: inline-block; padding: 10px 0; } }
@media (max-width: 820px) { .nav-links { display: none; } }

/* ===== hero: the words and the reel ===== */
main { position: relative; z-index: 1; }
.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 40px) 0 56px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "copy art" "cards cards"; gap: 28px clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { grid-area: copy; }
.hero h1 { font: 700 clamp(2.4rem, 5.4vw, 4.6rem)/1.02 var(--display); letter-spacing: -.03em; margin-top: 18px; max-width: 11ch; }
.hero .lede { margin-top: 20px; max-width: 42ch; }
.ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; align-items: center; }
.hero-art { grid-area: art; position: relative; }
.hero-fx { position: absolute; left: -6%; top: -18%; width: 112%; height: auto; overflow: visible; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 24%); mask-image: linear-gradient(to bottom, transparent 0, #000 24%); }
.floor { fill: url(#floorGlow); }
.streak { stroke: #9ccaff; stroke-width: 2; stroke-linecap: round; opacity: 0; transform: translateY(-140px); animation: streakfall var(--dur, 6s) linear infinite; animation-delay: var(--delay, 0s); animation-play-state: paused; }
.hero.live .streak { animation-play-state: running; }
@keyframes streakfall { 0% { transform: translateY(-140px); opacity: 0; } 12% { opacity: .75; } 55% { opacity: .55; } 100% { transform: translateY(470px); opacity: 0; } }
.reel { position: relative; padding: 10px; border-radius: 20px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); box-shadow: 0 40px 80px -50px rgba(58, 134, 255, .55); }
.reel video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; background: #050d24; }
.reel-cap { position: relative; display: flex; align-items: center; gap: 12px; margin-top: 14px; font: 500 .72rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-secondary); white-space: nowrap; }
.reel-cap::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-hover); box-shadow: 0 0 0 4px rgba(58, 134, 255, .18); }
.rc-n { display: inline-block; height: 1.3em; overflow: hidden; color: var(--text-primary); letter-spacing: .06em; }
.rc-roll { display: flex; flex-direction: column; line-height: 1.3em; transition: transform .6s var(--ease-out); }
.rc-tc { margin-left: auto; font-variant-numeric: tabular-nums; }

.hero-cards { grid-area: cards; display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.fcard { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 10px 10px 16px; border-radius: 18px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); transition: transform .6s var(--ease-out), border-color .5s var(--ease), box-shadow .6s var(--ease); }
.fcard:hover { transform: translateY(-4px); border-color: rgba(120, 150, 210, .42); box-shadow: 0 30px 60px -40px rgba(58, 134, 255, .5); }
.fcard img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; margin-bottom: 8px; }
.fcard > span, .fcard > strong { padding: 0 6px; }
.pcard-eyebrow { font: 500 .68rem/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard-name { font: 700 .98rem/1.2 var(--display); letter-spacing: -.02em; color: var(--text-primary); }
.pcard-go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 4px; color: var(--accent-text); font-weight: 600; font-size: .9rem; }
.pcard-go svg { width: 16px; height: 16px; transition: transform .4s var(--ease-out); }
.fcard:hover .pcard-go svg { transform: translateX(4px); }
/* eleven cards in two full rows: six on top, five below, on a 30-column grid */
@media (min-width: 861px) { .fcard { grid-column: span 5; padding: 8px 8px 14px; } .fcard:nth-child(n + 7) { grid-column: span 6; } .fcard > span, .fcard > strong { padding: 0 3px; } .pcard-eyebrow { font-size: .62rem; letter-spacing: .02em; } }
@media (min-width: 861px) and (max-width: 960px) { .pcard-eyebrow { letter-spacing: .06em; } .pcard-name { font-size: .84rem; } }
@media (max-width: 860px) {
  .hero { min-height: 0; padding-top: calc(var(--nav-h) + 16px); }
  .hero-in { grid-template-columns: 1fr; grid-template-areas: "art" "copy" "cards"; gap: 22px; }
  .hero-fx { top: -30%; }
  .reel-cap { gap: 10px; font-size: .64rem; letter-spacing: .08em; }
  .hero-cards { grid-template-columns: 1fr; gap: 10px; margin-top: 8px; }
  .fcard { display: grid; grid-template-columns: 116px 1fr; grid-template-rows: auto auto auto; column-gap: 14px; row-gap: 3px; align-items: center; padding: 8px 12px 8px 8px; border-radius: 14px; }
  .fcard img { grid-row: 1 / 4; margin: 0; border-radius: 8px; }
  .fcard > span, .fcard > strong { padding: 0; }
  .pcard-go { margin-top: 0; font-size: .85rem; }
}

/* ===== sections ===== */
section.block, article.block { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.kick { font: 500 .74rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.kick img { display: inline-block; width: 18px; height: 18px; border-radius: 5px; margin: -4px 10px 0 0; vertical-align: middle; }
h2 { font: 700 clamp(1.8rem, 3.6vw, 3rem)/1.1 var(--display); letter-spacing: -.025em; margin-top: 16px; max-width: 22ch; }
.lede { color: var(--text-secondary); max-width: 58ch; margin-top: 16px; font-size: 1.1rem; }

/* entrances (choreographed, retire their delays) */
[data-io] .part { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
[data-io].in .part { opacity: 1; transform: none; }
[data-io] .part:nth-child(2) { transition-delay: .09s; }
[data-io] .part:nth-child(3) { transition-delay: .18s; }
[data-io] .part:nth-child(4) { transition-delay: .27s; }
[data-io] .part:nth-child(5) { transition-delay: .36s; }
[data-io] .part:nth-child(6) { transition-delay: .45s; }
[data-io].in.settled .part:nth-child(n) { transition-delay: 0s; }

/* signature: the gathering lines (dividers that draw themselves) */
.divider { position: relative; z-index: 1; width: min(1180px, calc(100% - 48px)); margin: 0 auto; height: 150px; display: block; overflow: visible; }
.divider path { fill: none; stroke: url(#lineGrad); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1; }
.divider path.l { stroke-dashoffset: calc(1 - clamp(0, var(--d, 0) * 2, 1)); }
.divider path.r { stroke-dashoffset: calc(1 - clamp(0, (var(--d, 0) - .5) * 2, 1)); }
.divider .mark path { stroke: #3a86ff; stroke-width: 14; stroke-linecap: round; stroke-dasharray: none; stroke-dashoffset: 0; filter: drop-shadow(0 0 6px rgba(58, 134, 255, .55)); }
.divider .mark { opacity: calc(clamp(0, (var(--d, 0) - .42) * 6, 1)); }
.divider.pinned { --d: 1; }

/* ===== films ===== */
.films-intro { padding-bottom: 0; }
.film-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.flip .film-grid { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
.flip .film-art { order: -1; }
.film h2 { max-width: 16ch; }
.film h2 span { display: block; color: var(--text-secondary); }
.points { list-style: none; margin-top: 26px; display: grid; gap: 16px; counter-reset: pt; }
.points li { counter-increment: pt; position: relative; padding-left: 44px; color: var(--text-secondary); line-height: 1.55; }
.points li b { color: var(--text-primary); font-weight: 600; }
.points li::before { content: "0" counter(pt); position: absolute; left: 0; top: .15em; font: 500 .78rem/1.6 var(--mono); color: var(--accent-text); letter-spacing: .06em; }
.go { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; color: var(--accent-text); font-weight: 600; }
.go svg { width: 16px; height: 16px; transition: transform .4s var(--ease-out); }
.go:hover svg { transform: translateX(4px); }
.go .back { transform: rotate(180deg); }
.go:hover .back { transform: rotate(180deg) translateX(4px); }
.panel { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: 20px; padding: 14px; box-shadow: 0 40px 80px -50px rgba(58, 134, 255, .45); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fchip { font: 500 .72rem/1 var(--mono); letter-spacing: .06em; color: var(--text-secondary); border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 11px; transition: color .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease); }
.fchip.on { color: #fff; background: var(--accent); border-color: var(--accent); }
.strip { display: flex; gap: 10px; margin-top: 14px; }
.frame { position: relative; display: block; overflow: hidden; border-radius: 12px; background: #050d24; box-shadow: inset 0 0 0 1px var(--line); transition: transform .6s var(--ease-out), box-shadow .5s var(--ease); }
.frame:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(120, 150, 210, .42), 0 24px 48px -30px rgba(58, 134, 255, .6); }
/* equal heights: widths in proportion to each cut's aspect */
.frame.wide { flex: 1.7778 1 0; aspect-ratio: 16 / 9; }
.frame.tall { flex: .5625 1 0; aspect-ratio: 9 / 16; }
.frame.square { flex: 1 1 0; aspect-ratio: 1 / 1; }
.frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* a film cut only for the feed: one 9:16 frame, sized by the viewport height so it never outgrows the screen */
.vertical .film-grid { grid-template-columns: minmax(0, 1fr) auto; }
.vertical .film-art { justify-self: center; }
.vertical .panel { width: clamp(260px, min(27vw, 46vh), 380px); }
.vertical .frame.tall { flex: 1 1 auto; }
.credit { margin: 12px 2px 0; font-size: .74rem; line-height: 1.4; color: var(--text-secondary); }
.frame::after { content: ""; position: absolute; left: 12px; bottom: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(7, 19, 48, .72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Cpath d='M14 11.5v11l9-5.5z' fill='%23eef3ff'/%3E%3C/svg%3E") center / 34px no-repeat; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .5s var(--ease-out); }
.frame:hover::after, .frame:focus-visible::after { opacity: 1; transform: none; }
/* three cuts in one row get too small: the wide one takes a row of its own */
@media (max-width: 1100px) {
  .strip.trio { flex-wrap: wrap; }
  .strip.trio .frame.wide { flex: 1 0 100%; }
}
@media (max-width: 860px) {
  .film-grid, .flip .film-grid, .vertical .film-grid { grid-template-columns: 1fr; gap: 30px; }
  .vertical .panel { width: min(100%, 340px); }
  .flip .film-art { order: 0; }
  .strip { gap: 8px; margin-top: 12px; }
  .panel { padding: 10px; border-radius: 16px; }
  .frame { border-radius: 9px; }
}

/* ===== process: the timeline and the numbers ===== */
.law { background: linear-gradient(180deg, rgba(14, 28, 61, .55), rgba(14, 28, 61, 0)); border-top: 1px solid var(--line); }
.timeline { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 44px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line-strong); }
.timeline li { position: relative; padding: 26px 18px 0 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--canvas); border: 2px solid var(--accent-hover); transform: scale(.6); transition: transform .6s var(--ease-out); }
[data-io].in .timeline li::before { transform: scale(1); }
[data-io].in .timeline li:nth-child(2)::before { transition-delay: .1s; }
[data-io].in .timeline li:nth-child(3)::before { transition-delay: .2s; }
[data-io].in .timeline li:nth-child(4)::before { transition-delay: .3s; }
[data-io].in .timeline li:nth-child(5)::before { transition-delay: .4s; }
.timeline li.now::before { background: var(--accent-hover); box-shadow: 0 0 0 6px rgba(58, 134, 255, .18); }
.timeline b { display: block; font: 700 1.15rem/1 var(--display); letter-spacing: -.02em; }
.timeline li.now b { color: var(--accent-text); }
.timeline span { display: block; margin-top: 8px; color: var(--text-secondary); font-size: .95rem; max-width: 18ch; }
.law-list { margin-top: 48px; border-top: 1px solid var(--line); }
.law-list > div { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.law-list dt { font: 700 clamp(1.3rem, 2vw, 1.7rem)/1 var(--display); letter-spacing: -.02em; color: var(--accent-text); white-space: nowrap; }
.law-list dd { color: var(--text-secondary); max-width: 64ch; line-height: 1.55; }
.law-list dd b { color: var(--text-primary); font-weight: 600; }
@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; gap: 6px; }
  .timeline::before { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .timeline li { padding: 0 0 22px 32px; }
  .timeline li:last-child { padding-bottom: 0; }
  .timeline li::before { left: 0; top: 4px; }
  .law-list > div { grid-template-columns: 1fr; gap: 6px; }
}

/* ===== studio: trust strip ===== */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; }
.trust::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: linear-gradient(90deg, rgba(58, 134, 255, 0), #3a86ff, rgba(58, 134, 255, 0)); opacity: .5; background-size: 40% 100%; background-repeat: no-repeat; background-position: -40% 0; }
.trust.live::after { animation: sweep 9s linear infinite; animation-delay: -3s; }
@keyframes sweep { from { background-position: -40% 0; } to { background-position: 140% 0; } }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 48px; }
.fact { padding: 26px clamp(14px, 2.4vw, 36px) 26px 0; border-left: 1px solid var(--line); padding-left: clamp(14px, 2.4vw, 36px); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact .n { font: 500 .74rem/1 var(--mono); color: var(--accent-text); letter-spacing: .1em; }
.fact h3 { font: 700 1.12rem/1.25 var(--display); letter-spacing: -.01em; margin-top: 14px; }
.fact p { margin-top: 10px; color: var(--text-secondary); font-size: .96rem; }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } .fact:nth-child(3) { border-left: 0; padding-left: 0; } .fact { padding-top: 20px; padding-bottom: 20px; } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } .fact { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } .fact:first-child { border-top: 0; } }

/* ===== FAQ ===== */
.faq { max-width: 760px; }
.faq .list { margin-top: 40px; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 22px 0; font: 600 1.12rem/1.35 var(--display); letter-spacing: -.01em; transition: color .3s var(--ease); }
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--accent-text); }
summary .pl { flex: none; width: 22px; height: 22px; position: relative; top: 3px; }
summary .pl::before, summary .pl::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--accent-text); transition: transform .5s var(--ease-out); }
summary .pl::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
summary .pl::after { width: 2px; height: 14px; transform: translate(-50%, -50%); }
details[open] summary .pl::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] summary .pl::before { transform: translate(-50%, -50%) rotate(180deg); }
details .a { padding: 0 0 24px; color: var(--text-secondary); max-width: 62ch; animation: fadeup .6s var(--ease-out) both; }
@keyframes fadeup { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ===== the call to action ===== */
.cta { position: relative; overflow: hidden; padding: clamp(96px, 14vw, 180px) 0; }
.cta-bars { position: absolute; right: -2%; top: 50%; width: min(44vw, 600px); transform: translateY(-50%); opacity: .6; pointer-events: none; }
.cta-bars svg { width: 100%; height: auto; overflow: visible; display: block; }
.bars .bar { fill: url(#barGrad); filter: drop-shadow(0 0 8px rgba(90, 160, 255, .9)) drop-shadow(0 0 26px rgba(26, 108, 240, .55)); }
.bars-glow .bar { fill: #3a86ff; filter: blur(22px); }
.bars-glow { opacity: .55; }
.cta.live .bars-glow { animation: barbreathe 5.5s var(--ease) infinite; animation-delay: -2s; }
@keyframes barbreathe { 0%, 100% { opacity: .5; } 50% { opacity: .85; } }
@media (max-width: 860px) { .cta-bars { width: 92%; right: -34%; opacity: .16; } }
.cta .wrap { position: relative; }
.cta h2 { max-width: 18ch; }
.cta p { margin-top: 18px; max-width: 46ch; color: #d3ddf5; font-size: 1.12rem; }
.cta .mail { color: var(--text-primary); font-weight: 500; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; transition: border-color .3s var(--ease), color .3s var(--ease); }
.cta .mail:hover { color: var(--accent-text); border-color: var(--accent-text); }
.cta .breathe { position: absolute; right: 8%; top: 50%; width: 46vmin; height: 46vmin; border-radius: 50%; filter: blur(50px); background: radial-gradient(circle, rgba(58, 134, 255, .35), rgba(58, 134, 255, 0) 65%); transform: translateY(-50%); opacity: .6; }
.cta.live .breathe { animation: breathe 6s var(--ease) infinite; animation-delay: -2.4s; }
@keyframes breathe { 0%, 100% { opacity: .45; transform: translateY(-50%) scale(1); } 50% { opacity: .8; transform: translateY(-50%) scale(1.08); } }

/* ===== footer ===== */
footer { position: relative; z-index: 1; border-top: 1px solid var(--line); padding: 40px 0 48px; color: var(--text-secondary); font-size: .95rem; }
.foot { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; }
.foot .brand { font-size: 1.15rem; color: var(--text-primary); }
.foot .brand svg { width: 24px; height: 22px; }
.foot .tagline { flex-basis: 100%; margin-top: -8px; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot nav a { transition: color .3s var(--ease); }
.foot nav a:hover { color: var(--text-primary); }
.foot .legal { flex-basis: 100%; font: 400 .8rem/1.6 var(--mono); color: rgba(154, 171, 204, .75); }

/* ===== player ===== */
.lb { position: fixed; inset: 0; z-index: 150; display: grid; grid-template-rows: auto 1fr auto; padding: 16px max(24px, calc((100% - 1180px) / 2)) 18px; background: rgba(5, 13, 36, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; transition: opacity .5s var(--ease-out); }
.lb[hidden] { display: none; }
.lb.open { opacity: 1; }
.lb-bar, .lb-nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 52px; transform: translateY(-10px); transition: transform .7s var(--ease-out); }
.lb-nav { transform: translateY(10px); }
.lb.open .lb-bar, .lb.open .lb-nav { transform: none; }
.lb-nav .go { margin-top: 0; }
.lb-t { display: flex; align-items: baseline; gap: 14px; min-width: 0; }
.lb-t b { font: 700 clamp(1.2rem, 2vw, 1.6rem)/1.1 var(--display); letter-spacing: -.02em; white-space: nowrap; }
.lb-t em { font-style: normal; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-fmt { display: flex; gap: 8px; margin-left: auto; }
.lb-fmt .fchip { cursor: pointer; }
.lb-fmt .fchip:hover { color: var(--text-primary); border-color: rgba(120, 150, 210, .6); }
.lb-fmt .fchip[aria-pressed="true"] { color: #fff; background: var(--accent); border-color: var(--accent); }
.lb-fmt .fchip:disabled { opacity: .35; cursor: default; color: var(--text-secondary); border-color: var(--line-strong); }
.lb-stage { position: relative; min-height: 0; transform: scale(.97); transition: transform .8s var(--ease-out); }
.lb.open .lb-stage { transform: none; }
.lb-stage video { position: absolute; inset: 12px 0; margin: auto; max-width: 100%; max-height: calc(100% - 24px); width: auto; height: auto; border-radius: 14px; background: #050d24; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -50px rgba(58, 134, 255, .55); }
@media (max-width: 860px) {
  .lb { padding: 10px 14px 14px; }
  .lb-bar { flex-wrap: wrap; row-gap: 8px; }
  .lb-t { flex: 1 1 100%; }
  .lb-t em { display: none; }
  .lb-fmt { margin-left: 0; }
}

/* ===== reduced motion: everything in its final state ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; transition-delay: 0s !important; }
  body { opacity: 1; }
  [data-io] .part { opacity: 1; transform: none; }
  .divider { --d: 1; }
  .cta .breathe { display: none; }
  .timeline li::before { transform: none; }
  .fcard:hover, .btn:hover, .frame:hover { transform: none; }
}
