/* Out of the Room · concept hero (fictional brand) · Fernando Camilo
   mobile first: 390 → 760 → 1180 */

:root {
  --void: #05060A;
  --deep: #080A11;
  --surface: #0C0F18;
  --line: rgba(196, 210, 255, .09);
  --line-2: rgba(196, 210, 255, .17);
  --line-3: rgba(196, 210, 255, .28);
  --text: #EAECF3;
  --text-2: #98A0B4;
  --text-3: #5C6377;
  --blue: #89B4FF;
  --blue-2: #C3D7FF;
  --warm: #FFC48A;
  --hot: #FF9F5A;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 4.6vw, 64px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--void); }
body {
  margin: 0; background: var(--void); color: var(--text);
  font: 300 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
p { margin: 0; }
::selection { background: var(--blue); color: var(--void); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 4px; }

/* ---------------- fundo: luz fria do alto, grade, poeira, grão ---------------- */
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background: var(--void); }
.bg__rays {
  position: absolute; left: 50%; top: -40vh; width: min(1300px, 170vw); height: 96vh;
  transform: translateX(-50%); transform-origin: 50% 0;
  background:
    radial-gradient(46% 40% at 50% 52%, rgba(137, 180, 255, .17), transparent 70%),
    conic-gradient(from 180deg at 50% 40%, transparent 0deg, rgba(137, 180, 255, .085) 11deg, transparent 26deg,
      transparent 334deg, rgba(137, 180, 255, .085) 349deg, transparent 360deg);
  filter: blur(26px);
}
.bg__grid {
  position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(to right, rgba(137, 180, 255, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(137, 180, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(80% 60% at 50% 0%, #000 20%, transparent 80%);
  mask-image: radial-gradient(80% 60% at 50% 0%, #000 20%, transparent 80%);
}
.bg__dust { position: absolute; inset: 0; width: 100%; height: 100%; }
.bg__grain {
  position: absolute; inset: -50%; opacity: .045;
  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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes grain {
  0% { transform: translate3d(0, 0, 0); } 20% { transform: translate3d(-7%, 4%, 0); }
  40% { transform: translate3d(5%, -6%, 0); } 60% { transform: translate3d(-3%, 8%, 0); }
  80% { transform: translate3d(8%, 2%, 0); } 100% { transform: translate3d(0, 0, 0); }
}
.glow {
  position: fixed; z-index: 1; left: 0; top: 0; pointer-events: none; border-radius: 50%;
  width: 420px; height: 420px; margin: -210px 0 0 -210px; opacity: 0;
  background: radial-gradient(circle, rgba(137, 180, 255, .085), transparent 66%);
}
.ripple {
  position: fixed; z-index: 60; pointer-events: none; width: 12px; height: 12px; margin: -6px 0 0 -6px;
  border-radius: 50%; border: 1px solid rgba(137, 180, 255, .55);
}

/* ---------------- hero ---------------- */
.hero {
  position: relative; z-index: 2; min-height: 100svh; display: flex; flex-direction: column;
  padding: 14px var(--gutter) 22px; overflow-x: clip;
}
.top {
  position: relative; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font: 400 11.5px/1 var(--mono); letter-spacing: .06em;
}
.brand { white-space: nowrap; }
.brand__name { font-weight: 400; color: var(--text); }
.brand__sub { color: var(--text-3); }
.top__apply { display: inline-block; text-decoration: none; color: var(--text-2); padding: 12px 0 12px 12px; }
.top__apply span { display: inline-block; }
.top__apply:hover { color: var(--text); }

.body {
  position: relative; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px;
  align-items: center; max-width: 1360px; width: 100%; margin: 0 auto; padding-top: 30px;
}
.copy { position: relative; z-index: 4; }

.quote { display: flex; gap: 14px; margin: 0 0 22px; max-width: 26em; color: var(--text-2); font-size: 15px; line-height: 1.45; }
.quote__bar { flex: 0 0 auto; width: 2px; margin: 3px 0; background: linear-gradient(180deg, var(--blue), rgba(137, 180, 255, .08)); transform-origin: 50% 0; }
.quote__txt { display: block; }

h1 {
  margin: 0; font-weight: 300; font-size: clamp(40px, 11.2vw, 56px); line-height: .98;
  letter-spacing: -.045em;
}
h1 .line {
  display: block; white-space: nowrap;
  /* máscara só embaixo: o quique das letras pode subir sem ser cortado */
  padding: .02em 0 .14em; margin-bottom: -.12em;
  clip-path: inset(-1.2em -1.5em 0 -1.5em);
}
h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; padding-right: .04em; }
h1 .ch { display: inline-block; will-change: transform; }
h1 em .ch { color: var(--text); }

.sub { margin: 22px 0 0; color: var(--text-2); font-size: 16.5px; line-height: 1.55; max-width: 31em; }
.sub b {
  color: var(--text); font-weight: 400;
  background: linear-gradient(90deg, rgba(137, 180, 255, .55), rgba(137, 180, 255, .55)) no-repeat 0 100% / var(--u, 100%) 1px;
  padding-bottom: 2px;
}

.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 28px; }
.btn {
  position: relative; display: inline-flex; align-items: center; min-height: 52px; padding: 0 24px;
  border-radius: 999px; background: var(--text); color: var(--void); text-decoration: none;
  font: 500 15px/1 var(--sans); letter-spacing: -.005em; overflow: hidden; isolation: isolate;
  box-shadow: 0 18px 44px -20px rgba(137, 180, 255, .75), inset 0 -1px 0 rgba(5, 6, 10, .12);
  will-change: transform; -webkit-tap-highlight-color: transparent;
}
.btn__fill {
  position: absolute; z-index: -1; left: 0; top: 0; width: 240px; height: 240px; margin: -120px 0 0 -120px;
  border-radius: 50%; background: radial-gradient(circle, #FFFFFF 0%, #D7E4FF 45%, #A9C6FF 100%); transform: scale(0);
}
.btn__in { display: inline-flex; align-items: center; gap: 12px; }
.btn__label { display: inline-block; }
.btn__arrow { display: inline-block; font-style: normal; }
.link { color: var(--text-2); font-size: 15px; text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / var(--u, 100%) 1px; padding: 10px 0 3px; }
.link:hover { color: var(--text); }
.micro { width: 100%; margin: 0; font: 400 10.5px/1.4 var(--mono); letter-spacing: .08em; color: var(--text-3); text-transform: uppercase; }

/* ---------------- o sistema ---------------- */
.sys { position: relative; z-index: 3; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; perspective: 1400px; }
.stage { position: relative; order: 2; width: 100%; aspect-ratio: 1 / 1.04; perspective: 1050px; perspective-origin: 50% 36%; touch-action: pan-y; }
.plane { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.ly { position: absolute; inset: 0; }
.ly svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ly--floor { transform: translateZ(-90px); }
.ly--top { transform: translateZ(70px); pointer-events: none; }

/* svg: tipos e traços */
.t-mono { font-family: var(--mono); }
.ring { fill: none; stroke: var(--line-3); stroke-width: 1; }
.ring-lbl { font: 400 8.5px var(--mono); letter-spacing: .32em; fill: var(--text-3); text-transform: uppercase; }
.core { fill: none; stroke: rgba(196, 210, 255, .12); stroke-width: 1; stroke-dasharray: 2 6; }
.scale { fill: none; stroke: rgba(196, 210, 255, .07); stroke-width: 1; }
.tick { stroke: rgba(196, 210, 255, .16); stroke-width: 1; }
.rt { fill: none; stroke-linecap: round; }
.rt-a { stroke: rgba(255, 196, 138, .5); stroke-width: 1.15; }
.rt-b { stroke: rgba(137, 180, 255, .72); stroke-width: 1.15; }
.arc { fill: none; stroke: rgba(137, 180, 255, .42); stroke-width: 1; stroke-linecap: round; }
.sub-ln { stroke: rgba(196, 210, 255, .16); stroke-width: 1; }
.sub-ln.is-hl { stroke: rgba(137, 180, 255, .55); }
.team.is-hl text { fill: var(--text-2); }
.team.is-hl circle { fill: var(--blue); }
.rt-a.is-hl { stroke: rgba(255, 196, 138, .95); stroke-width: 1.8; }
.rt-b.is-hl { stroke: #C3D7FF; stroke-width: 1.8; }
.fri { stroke: rgba(234, 236, 243, .5); stroke-width: 1; stroke-dasharray: 3 5; }
.dept .pill { fill: #0A0D16; stroke: var(--line-3); stroke-width: 1; }
.dept .hl { fill: none; stroke: rgba(137, 180, 255, 0); stroke-width: 6; }
.dept text, .node text { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; fill: var(--text-2); dominant-baseline: central; }
.dept .dot { fill: var(--warm); }
.dept.is-hover .pill { stroke: rgba(137, 180, 255, .8); fill: #0E1320; }
.dept.is-hover text { fill: var(--text); }
.team text { font-family: var(--mono); font-size: 9px; letter-spacing: .04em; fill: #737B90; dominant-baseline: central; text-anchor: middle; }
.team circle { fill: rgba(196, 210, 255, .5); }
.you .pill { fill: #1A1611; stroke: var(--warm); stroke-width: 1.2; }
.you text { fill: var(--warm); font-size: 11px; letter-spacing: .14em; }
.you .badge { fill: var(--warm); }
.you .badge-t { fill: #1A1208; font-size: 9.5px; letter-spacing: 0; font-weight: 500; text-anchor: middle; }
.lead .pill { fill: rgba(137, 180, 255, .1); stroke: var(--blue); stroke-width: 1.2; }
.lead text { fill: var(--blue-2); font-size: 10.5px; letter-spacing: .12em; }
.chip rect { fill: #0A0D16; stroke: rgba(255, 196, 138, .75); stroke-width: 1; }
.chip text { font-family: var(--mono); font-size: 9px; letter-spacing: .02em; fill: #F4DEC6; dominant-baseline: central; text-anchor: middle; }
.chip.b rect { stroke: rgba(137, 180, 255, .85); }
.chip.b text { fill: var(--blue-2); }
.chip.w rect { stroke: rgba(234, 236, 243, .7); }
.chip.w text { fill: var(--text); }
.chip.cap rect { fill: rgba(255, 196, 138, .85); stroke: none; }
.chip.cap.b rect { fill: rgba(137, 180, 255, .9); }

/* callouts na camada da frente */
.tag {
  position: absolute; left: 0; top: 0; white-space: nowrap; pointer-events: none;
  font: 400 calc(9px * var(--k, 1))/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--blue-2);
  padding: .67em 1em .67em .9em; border-radius: 999px; border: 1px solid rgba(137, 180, 255, .45);
  background: rgba(8, 12, 22, .72); box-shadow: 0 10px 30px -12px rgba(137, 180, 255, .6);
  opacity: 0;
}
.tag b { color: var(--text); font-weight: 400; }
.tag i { display: inline-block; width: .56em; height: .56em; border-radius: 50%; background: var(--blue); margin-right: .9em; vertical-align: 1px; box-shadow: 0 0 8px var(--blue); }
.tag--w { color: var(--text); border-color: rgba(234, 236, 243, .3); box-shadow: none; }
.tag--w i { background: var(--text); box-shadow: none; }

/* painel ao vivo */
.panel { position: relative; order: 1; z-index: 3; }
.panel__glass {
  position: relative; display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 10px 12px;
  padding: 12px 14px 12px; border-radius: 14px; border: 1px solid rgba(196, 210, 255, .13);
  background: linear-gradient(180deg, rgba(22, 28, 44, .62), rgba(10, 13, 22, .5));
  -webkit-backdrop-filter: blur(14px) saturate(1.25); backdrop-filter: blur(14px) saturate(1.25);
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06);
  font-family: var(--mono); overflow: hidden;
}
.panel__glass::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .06) 45%, transparent 60%) no-repeat;
  background-size: 250% 100%; background-position: var(--sheen, 130%) 0;
}
.panel__hd { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.live { display: inline-flex; align-items: center; gap: 7px; color: var(--text-2); }
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--warm); box-shadow: 0 0 10px var(--warm); }
.panel.is-solved .live i { background: var(--blue); box-shadow: 0 0 10px var(--blue); }
.panel__co { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panel__wk b { color: var(--text); font-weight: 400; }
.panel__big { position: relative; }
.k, .panel__rows dt { display: block; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); line-height: 1.35; }
.panel__big strong {
  display: block; margin-top: 4px; font: 300 30px/1 var(--sans); letter-spacing: -.03em; color: var(--warm);
  font-variant-numeric: tabular-nums; transition: color .8s;
}
.panel.is-solved .panel__big strong { color: var(--blue-2); }
.spark { display: none; }
.panel__rows { display: contents; margin: 0; }
.panel__rows .row { margin: 0; display: flex; flex-direction: column; justify-content: space-between; }
.panel__big { display: flex; flex-direction: column; justify-content: space-between; }
.panel__rows dd { margin: 4px 0 0; font: 300 19px/1.1 var(--sans); letter-spacing: -.02em; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.panel__rows .row--x { display: none; }
.panel__st {
  grid-column: 1 / -1; display: flex; overflow: hidden; align-items: center; gap: 8px; padding-top: 9px; border-top: 1px solid var(--line);
  font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--warm);
}
.panel__st i { flex: 0 0 auto; width: 14px; height: 1px; background: currentColor; }
.panel__st span { display: inline-block; }
.panel.is-solved .panel__st { color: var(--blue-2); }

/* roll de dígitos */
.roll { display: inline-flex; overflow: hidden; }
.roll .col { display: inline-block; position: relative; height: 1em; overflow: hidden; }
.roll .col > span { display: block; }
.roll .col > span > span { display: block; height: 1em; line-height: 1; }

/* timeline de 12 semanas */
.tl { order: 3; position: relative; font-family: var(--mono); padding: 2px 2px 0; }
.tl__hd { display: flex; align-items: center; gap: 12px; font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.tl__ms { flex: 1; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-block; }
.tl__replay {
  appearance: none; border: 1px solid var(--line-2); background: rgba(10, 13, 22, .6); color: var(--text-2);
  font: inherit; letter-spacing: inherit; text-transform: inherit; border-radius: 999px; padding: 6px 10px; cursor: pointer;
  opacity: 0; transform: scale(.6); pointer-events: none;
}
.tl__replay.on { pointer-events: auto; }
.tl__replay i { font-style: normal; display: inline-block; margin-left: 4px; }
.tl__replay:hover { color: var(--text); border-color: rgba(137, 180, 255, .6); }
.tl__track { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; height: 30px; align-items: center; margin-top: 30px; }
.tl__base { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); transform-origin: 0 50%; }
.tl__seg { position: relative; height: 3px; border-radius: 2px; background: rgba(196, 210, 255, .1); overflow: hidden; }
.tl__seg i { position: absolute; inset: 0; border-radius: inherit; background: var(--warm); transform: scaleX(0); transform-origin: 0 50%; }
.tl__seg.b i { background: var(--blue); }
.tl__seg.m::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, .5); }
.tl__head { position: absolute; left: 0; top: 50%; width: 1px; height: 18px; margin-top: -9px; background: var(--text); box-shadow: 0 0 10px rgba(137, 180, 255, .8); opacity: 0; }
.tl__head b {
  position: absolute; left: 0; bottom: calc(100% + 5px); white-space: nowrap;
  font-weight: 400; font-size: 9px; letter-spacing: .1em; color: var(--text); background: rgba(8, 11, 19, .85);
  border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 7px;
}
.tl__labels { display: none; }

/* ---------------- números ---------------- */
.stats {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; margin: 36px auto 0; max-width: 1360px; width: 100%;
  border-left: 1px solid transparent;
}
.stats__line { position: absolute; left: 0; right: 0; height: 1px; background: var(--line-2); transform-origin: 0 50%; }
.stats__line--t { top: 0; }
.stats__line--b { bottom: 0; transform-origin: 100% 50%; }
.stat { position: relative; padding: 16px 16px 15px; }
.stat::before, .stat::after { content: ""; position: absolute; background: var(--line); }
.stat::before { left: 0; top: 0; bottom: 0; width: 1px; transform: scaleY(var(--ln, 1)); transform-origin: 50% 0; }
.stat::after { left: 0; right: 0; top: 0; height: 1px; transform: scaleX(var(--ln, 1)); transform-origin: 0 50%; }
.stat:nth-of-type(odd)::before { display: none; }
.stat:nth-of-type(-n+2)::after { display: none; }
.stat strong { display: block; font-weight: 300; font-size: 30px; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat > span { display: block; margin-top: 9px; font: 400 9.5px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.foot {
  display: flex; justify-content: space-between; gap: 16px; margin: 18px auto 0; max-width: 1360px; width: 100%;
  font: 400 10px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3);
}
.scroll { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; }
.scroll i { display: inline-block; width: 22px; height: 1px; background: linear-gradient(90deg, var(--blue), transparent); transform-origin: 0 50%; }
.foot .scroll { display: none; }
.credit { text-align: right; margin-left: auto; }

/* ---------------- estado inicial da animação (só com .anim) ---------------- */
.anim h1 { visibility: hidden; }
.anim .sub b { --u: 0%; }
.anim .quote, .anim .sub, .anim .cta, .anim .top, .anim .stats, .anim .foot, .anim .panel, .anim .tl { visibility: hidden; }

/* ---------------- ≥ 430 ---------------- */
@media (min-width: 430px) {
  .stat { padding: 18px 20px 16px; }
}
@media (max-width: 380px) {
  .brand__sub { display: none; }
  .panel__glass { gap: 9px 10px; padding: 11px 12px; }
  .panel__big strong { font-size: 27px; }
  .panel__rows dd { font-size: 17px; }
  .credit { max-width: 16em; }
}

/* ---------------- ≥ 760 ---------------- */
@media (min-width: 760px) {
  .quote { font-size: 16px; }
  h1 { font-size: clamp(56px, 8vw, 78px); }
  .sub { font-size: 18px; }
  .sys { grid-template-columns: minmax(0, 1fr) 214px; column-gap: 0; row-gap: 8px; align-items: center; }
  .stage { grid-column: 1; grid-row: 1; aspect-ratio: 1 / .93; }
  .panel { grid-column: 2; grid-row: 1; margin-left: -34px; transform-style: preserve-3d; }
  .panel__glass { display: block; padding: 14px 16px 14px; transform: rotateY(-9deg); transform-origin: 0 50%; }
  .panel__hd { margin-bottom: 16px; }
  .panel__co { display: none; }
  .panel__big { display: block; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
  .panel__big strong { font-size: 46px; margin-top: 6px; }
  .spark { display: block; width: 100%; height: 38px; margin-top: 10px; overflow: visible; }
  .panel__rows { display: block; margin-top: 12px; }
  .panel__rows .row { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; }
  .panel__rows dt { font-size: 9px; max-width: 11em; }
  .panel__rows dd { margin: 0; font-size: 17px; }
  .panel__rows .row--x { display: flex; }
  .panel__st { margin-top: 12px; }
  .tl { grid-column: 1 / -1; grid-row: 2; padding-top: 0; }
  .tl__labels { display: block; position: relative; height: 16px; margin-top: 2px; }
  .tl__labels span {
    position: absolute; top: 0; white-space: nowrap; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3);
    transform: translateX(-2px);
  }
  .tl__labels span.on { color: var(--text-2); }
  .tl__labels span.end { transform: translateX(-100%); }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 34px; }
  .stat { padding: 20px 22px 18px; }
  .stat:nth-of-type(odd)::before { display: block; }
  .stat:nth-of-type(1)::before { display: none; }
  .stat::after { display: none; }
  .stat strong { font-size: clamp(30px, 3vw, 42px); }
}

/* ---------------- ≥ 1180: duas colunas ---------------- */
@media (min-width: 1180px) {
  .body { grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); gap: clamp(28px, 3vw, 52px); padding-top: clamp(16px, 3vh, 40px); }
  h1 { font-size: clamp(58px, 5.35vw, 84px); }
  .quote { margin-bottom: clamp(18px, 2.6vh, 28px); }
  .sub { margin-top: clamp(18px, 2.8vh, 28px); font-size: clamp(17px, 1.3vw, 19px); }
  .cta { margin-top: clamp(22px, 3.4vh, 34px); }
  .stats { margin-top: clamp(20px, 3.4vh, 36px); }
}
@media (min-width: 1180px) and (max-width: 1439px) {
  .sys { grid-template-columns: minmax(0, 1fr) 196px; }
  .panel__big strong { font-size: 40px; }
}
@media (min-width: 1680px) {
  .body, .stats, .foot { max-width: 1540px; }
  h1 { font-size: clamp(84px, 5vw, 98px); }
  .sys { grid-template-columns: minmax(0, 1fr) 232px; }
}
@media (min-width: 1180px) and (max-height: 820px) {
  h1 { font-size: clamp(54px, 4.9vw, 74px); }
  .stage { aspect-ratio: 1 / .86; }
}

@media (min-width: 1180px) and (max-height: 790px) {
  .hero { padding-bottom: 14px; }
  .body { padding-top: 6px; }
  h1 { font-size: clamp(50px, 4.6vw, 66px); }
  .quote { margin-bottom: 14px; }
  .sub { margin-top: 14px; font-size: 16.5px; }
  .cta { margin-top: 18px; }
  .stage { aspect-ratio: 1 / .8; }
  .stats { margin-top: 14px; }
  .stat { padding: 12px 20px 11px; }
  .stat strong { font-size: 32px; }
  .stat > span { margin-top: 6px; }
  .foot { margin-top: 10px; }
}

@media (hover: hover) {
  .btn { cursor: pointer; }
}

@media (prefers-reduced-motion: reduce) {
  .bg__grain { animation: none; }
  .tl__head { opacity: 1; }
  .tl__replay { display: none; }
}

/* ?embed=1 (inside the portfolio card): no page scroll, no cursor, no glass blur, no replay button */
.is-embed, .is-embed body { overflow: hidden; }
.is-embed .bg__dust, .is-embed .glow { display: none; }
.is-embed .panel__glass { -webkit-backdrop-filter: none; backdrop-filter: none; background: linear-gradient(180deg, rgba(22, 28, 44, .9), rgba(10, 13, 22, .86)); }
.is-embed .tl__replay { display: none; }
.is-embed.is-paused *, .is-embed.is-paused *::before, .is-embed.is-paused *::after { animation-play-state: paused !important; }

/* ---------- pt-BR only (tools/concepts-pt.py) ---------- */
@media (max-width: 479px) { .brand__more { display: none; } }
