/* Schlosser Protection — v2
   Layout idea: a film that advances one chapter per gesture; each chapter lands, then offers three option tiles
   that build a running "Your detail" summary (configurator logic), which carries straight into the quote desk. */
:root {
  --ink: #07080b;
  --night: #0c1119;
  --glass: rgba(9, 11, 16, .58);
  --gold: #cfa867;
  --gold-hi: #ecd3a1;
  --ivory: #efe9de;
  --stone: #a49e94;
  --line: rgba(236, 211, 161, .16);
  --line-strong: rgba(236, 211, 161, .36);
  --ok: #8fbf8a;
  --warn: #e0b25c;
  --bad: #c9705e;
  --sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --gut: clamp(18px, 4vw, 56px);
  --max: 1180px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--ivory); font: 400 16px/1.6 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 1px solid var(--gold-hi); outline-offset: 4px; }
h1, h2, h3 { text-wrap: balance; margin: 0; font-weight: 500; }
p { margin: 0; }
.wrap { width: min(var(--max), 100% - 2 * var(--gut)); margin-inline: auto; }

/* type voices */
.eyebrow, .scene-k, .field-l, .dock-title, .tile-s, .rail b, .intro-stamp, .card-n, .card-s, .sheet-k {
  font-family: var(--mono); font-weight: 500; text-transform: uppercase; letter-spacing: .14em; font-size: 11px; line-height: 1.3;
}
.eyebrow { color: var(--gold); }
.display, .hero-title, .scene-t, .block-title, .intro-line, .qf-panel legend, .qf-done h3, .sheet-t {
  font-weight: 600; letter-spacing: -.025em; line-height: 1.06; text-rendering: optimizeLegibility;
}

/* ---------- custom CTAs (no stock buttons, no icon glyphs) ---------- */
.cta-line, .cta-plate, .cta-back {
  display: inline-flex; align-items: center; gap: 14px; text-decoration: none; cursor: pointer;
  font-weight: 600; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
}
.cta-line i, .cta-plate i, .cta-back i { position: relative; width: 26px; height: 1px; background: currentColor; transition: width .45s var(--ease); flex: none; }
.cta-line i::after, .cta-plate i::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.cta-back i::after { content: ""; position: absolute; left: 0; top: -3px; width: 7px; height: 7px; border-bottom: 1px solid currentColor; border-left: 1px solid currentColor; transform: rotate(45deg); }
.cta-line { color: var(--ivory); padding: 12px 0; position: relative; }
.cta-line::before { content: ""; position: absolute; left: 0; right: 40px; bottom: 6px; height: 1px; background: var(--line-strong); transform-origin: left; transition: transform .5s var(--ease), background .3s; }
.cta-line:hover { color: var(--gold-hi); }
.cta-line:hover::before { background: var(--gold); }
.cta-line:hover i, .cta-plate:hover i { width: 40px; }
.cta-plate {
  min-height: 56px; padding: 0 22px 0 26px; justify-content: space-between; gap: 26px;
  background: var(--ivory); color: #0b0c0f; position: relative; overflow: hidden;
  transition: background .35s ease, color .35s ease;
}
.cta-plate::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.cta-plate:hover { background: var(--gold-hi); }
.cta-plate:hover::before { transform: translateX(120%); }
.cta-plate > * { position: relative; }
.cta-plate.sm { min-height: 44px; font-size: 11px; }
.cta-plate[disabled] { opacity: .4; cursor: not-allowed; }
.cta-back { color: var(--stone); padding: 12px 0; }
.cta-back:hover { color: var(--ivory); }
.cta-back:hover i { width: 36px; }

/* ---------- stage ---------- */
#stage { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; background: var(--ink); }
.stage-grade {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(4, 6, 10, .55) 100%),
    linear-gradient(90deg, rgba(5, 7, 11, .66) 0%, rgba(5, 7, 11, .2) 44%, transparent 66%),
    linear-gradient(0deg, rgba(5, 7, 11, .82) 0%, rgba(5, 7, 11, .35) 34%, transparent 52%);
}
.stage-shade { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: var(--ink); opacity: 0; }

/* ---------- intro ---------- */
.intro { position: fixed; inset: 0; z-index: 60; background: #000; overflow: hidden; }
.intro video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.intro.is-playing video { opacity: 1; }
.intro.is-out { opacity: 0; transition: opacity 1s ease; pointer-events: none; }
.intro-bars span { position: absolute; left: 0; right: 0; height: 7vh; background: #000; z-index: 2; transition: transform 1.2s var(--ease); }
.intro-bars span:first-child { top: 0; }
.intro-bars span:last-child { bottom: 0; }
.intro.is-landing .intro-bars span:first-child { transform: translateY(-100%); }
.intro.is-landing .intro-bars span:last-child { transform: translateY(100%); }
.intro-captions { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.intro-stamp { position: absolute; left: var(--gut); top: calc(7vh + 22px); color: var(--gold-hi); display: flex; gap: 12px; align-items: center; opacity: 0; }
.intro-stamp .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.intro-line { position: absolute; left: var(--gut); bottom: calc(7vh + 7vh); max-width: 16ch; font-size: clamp(30px, 3.8vw, 54px); opacity: 0; text-shadow: 0 1px 3px rgba(0, 0, 0, .4); }
.intro-loader { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 22px; z-index: 5; transition: opacity .6s ease; }
.intro-loader img { width: 58px; height: auto; animation: breathe 2.4s ease-in-out infinite; }
.intro-progress { width: 140px; height: 1px; background: var(--line); overflow: hidden; }
.intro-progress span { display: block; height: 100%; width: 0; background: var(--gold); transition: width .3s linear; }
.intro.is-playing .intro-loader { opacity: 0; pointer-events: none; }
@keyframes breathe { 50% { opacity: .55; transform: scale(.96); } }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40; display: flex; align-items: center; gap: 28px;
  padding: calc(16px + env(safe-area-inset-top)) var(--gut) 14px; transition: background .4s ease, transform .6s var(--ease), opacity .6s ease;
}
body.is-intro .site-header { opacity: 0; transform: translateY(-12px); pointer-events: none; }
.site-header.is-solid { background: rgba(7, 8, 11, .8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 20px; height: auto; }
.brand-name { font-weight: 600; font-size: 12.5px; letter-spacing: .24em; text-transform: uppercase; }
.brand-name em { font-style: normal; color: var(--gold); }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 12.5px; font-stretch: 108%; letter-spacing: .08em; color: var(--stone); transition: color .2s; }
.nav a:hover { color: var(--ivory); }
.header-actions { display: flex; align-items: center; gap: 24px; }
.lang { display: flex; gap: 2px; }
.lang button { padding: 6px 6px; font-size: 11px; font-stretch: 112%; letter-spacing: .14em; color: var(--stone); border-bottom: 1px solid transparent; }
.lang button[aria-pressed="true"] { color: var(--ivory); border-color: var(--gold); }
.header-cta { padding: 8px 0; }

/* ---------- stage UI (hero + chapters) ---------- */
.stage-ui { position: fixed; inset: 0; z-index: 20; pointer-events: none; transition: opacity .7s ease; }
body.page-mode .stage-ui { opacity: 0; }
body.page-mode .stage-ui * { pointer-events: none !important; }
.ov { position: absolute; opacity: 0; visibility: hidden; }
.ov.is-live { visibility: visible; }
.ov > * { will-change: transform, opacity, filter; }

.hero { left: var(--gut); top: 0; bottom: 0; width: min(560px, 100% - 2 * var(--gut)); display: flex; flex-direction: column; justify-content: center; gap: 30px; padding: 90px 0 70px; pointer-events: auto; }
.hero-logo { width: clamp(140px, 12vw, 190px); display: grid; justify-items: center; transform-origin: 50% 50%; will-change: transform; }
.hero-logo img { width: 100%; height: auto; }
.lg-shield { width: 34% !important; margin-bottom: 8%; }
.lg-services { margin-top: 5%; }
.hero-copy { display: grid; gap: 20px; }
.hero-title { font-size: clamp(34px, 3.5vw, 52px); }
.hero-sub { color: #ece6dc; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.55; max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; margin-top: 4px; }
.trust { list-style: none; margin: 4px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 11.5px; letter-spacing: .1em; font-stretch: 108%; color: var(--stone); }
.trust li { display: flex; align-items: center; gap: 9px; }
.trust li::before { content: ""; width: 4px; height: 4px; background: var(--gold); transform: rotate(45deg); }

/* hero reveal + logo parking */
.r { transition: opacity .9s ease, transform 1.1s var(--ease), filter 1s ease; }
body.pre-hero .r { opacity: 0; transform: translateY(18px); filter: blur(6px); }
.hero-logo img { transition: opacity .9s ease, transform 1.2s var(--ease); }
body.logo-in .lg-shield { animation: shieldIn 1.6s var(--ease) both; }
body.logo-in .lg-protection { animation: wordIn 1.3s .35s var(--ease) both; }
body.logo-in .lg-services { animation: tracking 1.4s .6s var(--ease) both; }
@keyframes shieldIn { 0% { opacity: 0; transform: translateY(14px) scale(.86); filter: brightness(2.2) blur(6px); } 60% { opacity: 1; filter: brightness(1.5) blur(0); } 100% { opacity: 1; transform: none; filter: none; } }
@keyframes wordIn { 0% { clip-path: inset(0 50% 0 50%); opacity: 0; } 100% { clip-path: inset(0 0 0 0); opacity: 1; } }
@keyframes tracking { 0% { opacity: 0; transform: scaleX(1.35); filter: blur(4px); } 100% { opacity: 1; transform: none; filter: none; } }

.scene { left: var(--gut); bottom: clamp(36px, 7vh, 72px); width: min(620px, 100% - 2 * var(--gut) - 360px); display: grid; gap: 14px; justify-items: start; }
.scene[data-align="center"] { left: 50%; transform: translateX(-50%); justify-items: center; text-align: center; width: min(640px, 100% - 2 * var(--gut)); }
.scene[data-align="center"] .scene-k { justify-content: center; }
.scene-k { display: flex; align-items: center; gap: 14px; color: var(--gold-hi); }
.scene-k b { color: var(--gold); padding-right: 14px; border-right: 1px solid var(--line-strong); font-variant-numeric: tabular-nums; }
.scene-t { font-size: clamp(26px, 2.7vw, 40px); max-width: 18ch; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.w { display: inline-block; will-change: transform, opacity, filter; }
.scene-b { color: #ece6dc; max-width: 46ch; font-size: 15.5px; line-height: 1.55; text-shadow: 0 1px 2px rgba(0, 0, 0, .4); }

/* option tiles */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 8px; pointer-events: auto; }
.tile, .svc {
  position: relative; display: grid; align-content: start; gap: 6px; text-align: left; padding: 16px 16px 14px;
  background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: border-color .3s ease, background .3s ease, transform .3s var(--ease);
}
.tile::before, .svc::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.tile:hover, .svc:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.tile[aria-pressed="true"], .svc:has(input:checked) { border-color: rgba(207, 168, 103, .7); background: rgba(30, 24, 14, .62); }
.tile[aria-pressed="true"]::before, .svc:has(input:checked)::before { transform: scaleX(1); }
.tile-n { font-size: 11px; color: var(--gold); letter-spacing: .2em; font-variant-numeric: tabular-nums; }
.tile b { font-weight: 600; font-size: 14.5px; font-stretch: 106%; line-height: 1.3; }
.tile small { font-size: 12.5px; color: var(--stone); line-height: 1.45; }
.tile-s { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 10px; color: var(--stone); display: flex; justify-content: space-between; align-items: center; }
.tile-s::after { content: ""; width: 14px; height: 1px; background: currentColor; box-shadow: 0 0 0 0 currentColor; transition: all .3s; }
.tile[aria-pressed="true"] .tile-s, .svc:has(input:checked) .tile-s { color: var(--gold-hi); }
.tile[aria-pressed="true"] .tile-s::after, .svc:has(input:checked) .tile-s::after { width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }

/* chapter rail */
.rail { position: absolute; right: var(--gut); top: 50%; transform: translateY(-50%); display: grid; gap: 4px; pointer-events: auto; }
.rail button { display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding: 6px 0; color: var(--stone); }
.rail b { font-size: 10.5px; letter-spacing: .16em; font-variant-numeric: tabular-nums; }
.rail span { font-size: 11px; font-stretch: 110%; letter-spacing: .12em; text-transform: uppercase; opacity: 0; transform: translateX(6px); transition: opacity .3s, transform .3s; }
.rail button::after { content: ""; width: 18px; height: 1px; background: var(--line-strong); transition: width .4s var(--ease), background .3s; }
.rail button:hover span, .rail button.is-on span { opacity: 1; transform: none; }
.rail button.is-on { color: var(--ivory); }
.rail button.is-on::after { width: 36px; background: var(--gold); }
body.intro-busy .rail, body.is-intro .rail { opacity: 0; }

.stage-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-size: 10.5px; letter-spacing: .24em; font-stretch: 112%; text-transform: uppercase; color: var(--stone); transition: opacity .5s; }
.stage-hint i { width: 1px; height: 38px; background: linear-gradient(var(--gold), transparent); animation: cue 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
body:not(.at-hero) .stage-hint, body.is-playing .stage-hint, body.is-intro .stage-hint { opacity: 0; }

/* surveillance HUD */
.hud { position: absolute; inset: 11vh calc(var(--gut) + 120px) 11vh var(--gut); opacity: 0; font-size: 10.5px; font-weight: 600; letter-spacing: .2em; color: rgba(236, 211, 161, .85); }
.hud-c { position: absolute; width: 26px; height: 26px; border: 0 solid rgba(236, 211, 161, .6); }
.hud-c.tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.hud-c.tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.hud-c.bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.hud-c.br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.hud-rec { position: absolute; top: 14px; left: 40px; display: flex; gap: 10px; align-items: center; }
.hud-rec i { width: 7px; height: 7px; border-radius: 50%; background: #d4483a; animation: rec 1.2s steps(2) infinite; }
.hud-time { position: absolute; top: 14px; right: 40px; font-variant-numeric: tabular-nums; }
@keyframes rec { 50% { opacity: 0; } }

/* ---------- detail dock (sticky summary) ---------- */
.dock {
  position: fixed; right: var(--gut); bottom: clamp(36px, 7vh, 80px); z-index: 30; width: 320px; display: grid; gap: 12px; padding: 18px;
  background: rgba(8, 10, 14, .72); border: 1px solid var(--line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .5s ease, transform .6s var(--ease);
}
body.dock-on .dock { opacity: 1; transform: none; pointer-events: auto; }
.dock-head { display: flex; justify-content: space-between; align-items: baseline; }
.dock-title { color: var(--gold); }
.dock-n { font-size: 12px; color: var(--stone); font-variant-numeric: tabular-nums; }
.dock-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-height: 32vh; overflow: auto; }
.dock-list li { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; font-size: 13px; padding: 7px 0; border-bottom: 1px solid var(--line); animation: rowIn .45s var(--ease); }
.dock-list li span { display: flex; gap: 10px; align-items: baseline; }
.dock-list li span::before { content: ""; width: 5px; height: 5px; flex: none; background: var(--gold); transform: rotate(45deg) translateY(-2px); }
.dock-list button { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); }
.dock-list button:hover { color: var(--ivory); }
.dock-empty { font-size: 13px; color: var(--stone); }
.dock-cta { width: 100%; }
body.page-mode .dock-list, body.page-mode .dock-empty { display: none; }
body.page-mode .dock { width: 290px; padding: 14px; gap: 10px; }
@keyframes rowIn { from { opacity: 0; transform: translateX(8px); } }
.toast { display: none; position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); transform: translate(-50%, 10px); z-index: 50; padding: 10px 16px; background: rgba(8, 10, 14, .86); border: 1px solid var(--line-strong); font-size: 12px; letter-spacing: .08em; opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- page content ---------- */
.content { position: relative; z-index: 2; }
.content-spacer { height: 100svh; }
.block { position: relative; padding: clamp(80px, 11vw, 150px) 0; background: var(--ink); }
.proof { background: linear-gradient(180deg, transparent 0, rgba(7, 8, 11, .82) 22vh, var(--ink) 46vh); padding-top: 30vh; }
.block-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 760px; }
.block-title { font-size: clamp(30px, 3.4vw, 48px); }
.block-sub { color: var(--stone); max-width: 58ch; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.proof-item { padding: 30px 26px 10px; display: grid; gap: 12px; align-content: start; border-right: 1px solid var(--line); }
.proof-item:first-child { padding-left: 0; }
.proof-item:last-child { border-right: 0; }
.proof-mark { font-stretch: 120%; font-weight: 500; font-size: 22px; color: var(--gold); letter-spacing: .02em; }
.proof-item h3 { font-weight: 600; font-size: 15px; font-stretch: 106%; }
.proof-item p { color: var(--stone); font-size: 14.5px; }
.process { background: var(--night); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.steps li { padding: 0 34px 0 0; display: grid; gap: 12px; align-content: start; }
.steps li + li { padding-left: 34px; border-left: 1px solid var(--line); }
.step-n { font-stretch: 125%; font-weight: 300; font-size: 46px; line-height: 1; color: var(--gold); }
.steps h3 { font-weight: 600; font-size: 17px; font-stretch: 106%; }
.steps p { color: var(--stone); font-size: 15px; }

/* ---------- quote desk ---------- */
.quote { background: radial-gradient(90% 60% at 80% 0%, rgba(207, 168, 103, .07), transparent 60%), var(--ink); }
.quote-wrap { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.quote-head { position: sticky; top: 110px; margin: 0; }
.quote-direct { display: grid; gap: 6px; margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--stone); }
.quote-direct a { color: var(--gold-hi); text-decoration: none; }
.qf { background: linear-gradient(180deg, rgba(17, 22, 32, .92), rgba(12, 16, 24, .92)); border: 1px solid var(--line); padding: clamp(20px, 3vw, 40px); display: grid; gap: 26px; min-width: 0; }
.qf-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.qf-steps li { display: grid; gap: 8px; font-size: 10.5px; font-stretch: 112%; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); }
.qf-steps li::before { content: ""; height: 1px; background: var(--line); }
.qf-steps li.is-done::before, .qf-steps li.is-active::before { background: var(--gold); height: 2px; }
.qf-steps li.is-active { color: var(--gold-hi); }
.qf-panel { border: 0; margin: 0; padding: 0; min-width: 0; display: none; gap: 20px; }
.qf-panel.is-active { display: grid; animation: panelIn .5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } }
.qf-panel legend { font-size: clamp(22px, 2.2vw, 30px); padding: 0; margin-bottom: 8px; float: left; width: 100%; }
.qf-panel legend + * { clear: both; }
.qf-hint { color: var(--stone); font-size: 14px; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.svc { cursor: pointer; padding: 0 0 12px; overflow: hidden; }
.svc input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.svc-img { aspect-ratio: 16 / 10; background-size: cover; background-position: center; filter: saturate(.9) brightness(.85); transition: filter .4s, transform .8s var(--ease); }
.svc:hover .svc-img, .svc:has(input:checked) .svc-img { filter: none; }
.svc-txt { display: grid; gap: 4px; padding: 12px 14px 0; }
.svc b { font-weight: 600; font-size: 14px; font-stretch: 106%; line-height: 1.3; }
.svc small { color: var(--stone); font-size: 12px; }
.svc .tile-s { margin: 8px 14px 0; }
.svc:has(input:focus-visible) { outline: 1px solid var(--gold-hi); outline-offset: 3px; }
.picked { display: grid; gap: 10px; padding-top: 6px; }
.picked-list { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--line-strong); font-size: 12.5px; color: var(--gold-hi); background: rgba(207, 168, 103, .06); }
.chip:hover { border-color: var(--gold); }
.chip em { font-style: normal; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); }

.when { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 26px; }
.cal, .pn-cal { display: grid; gap: 10px; align-content: start; }
.cal-head { display: flex; align-items: center; justify-content: space-between; }
.cal-head strong { font-stretch: 115%; font-weight: 500; font-size: 17px; letter-spacing: .02em; }
.cal-nav { width: 38px; height: 38px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold-hi); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.chev { width: 8px; height: 8px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; display: block; }
.chev.l { transform: translateX(2px) rotate(-135deg); }
.chev.r { transform: translateX(-2px) rotate(45deg); }
.cal-dow { display: grid; grid-template-columns: repeat(7, 1fr); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); text-align: center; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.day { position: relative; aspect-ratio: 1; min-height: 38px; border: 1px solid transparent; background: rgba(255, 255, 255, .025); font-size: 13.5px; font-variant-numeric: tabular-nums; display: grid; place-items: center; }
.day::after { content: ""; position: absolute; bottom: 5px; left: 50%; width: 4px; height: 4px; border-radius: 50%; transform: translateX(-50%); background: var(--ok); }
.day.low::after { background: var(--warn); }
.day.full, .day.blocked { color: #6f6a62; text-decoration: line-through; cursor: not-allowed; background: rgba(201, 112, 94, .06); }
.day.full::after, .day.blocked::after { background: var(--bad); }
.day.past { color: #4a4740; cursor: default; background: none; }
.day.past::after, .day.pad::after { display: none; }
.day.pad { visibility: hidden; }
.day.today { border-color: var(--line-strong); }
.day.in-range { background: rgba(207, 168, 103, .16); }
.day.sel { background: var(--ivory); color: var(--ink); font-weight: 700; }
.day.sel::after { background: var(--ink); }
.day.conflict { box-shadow: inset 0 0 0 1px var(--bad); }
.day:not(.past):not(.full):not(.blocked):not(.sel):hover { border-color: var(--gold); }
.cal-hint { font-size: 12.5px; color: var(--gold-hi); }
.cal-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; font-size: 11.5px; color: var(--stone); }
.cal-legend li { display: flex; align-items: center; gap: 6px; }
.cal-legend i { width: 7px; height: 7px; border-radius: 50%; }
.lg-ok { background: var(--ok); } .lg-low { background: var(--warn); } .lg-full { background: var(--bad); }
.when-side { display: grid; gap: 18px; align-content: start; }
.field { display: grid; gap: 8px; min-width: 0; }
.field-l { color: var(--stone); font-size: 10.5px; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; background: rgba(7, 8, 11, .6); border: 1px solid var(--line); border-radius: 0; color: var(--ivory); }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: none; }
.field select option { background: #121823; }
.field-hint { font-size: 12px; color: var(--stone); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.seg span { display: inline-block; padding: 11px 14px; border: 1px solid var(--line); font-size: 13px; cursor: pointer; transition: all .2s; }
.seg input:checked + span { border-color: var(--gold); background: rgba(207, 168, 103, .1); color: var(--gold-hi); }
.seg input:focus-visible + span { outline: 1px solid var(--gold-hi); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: #d4cdc1; cursor: pointer; min-height: 48px; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); flex: none; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); width: max-content; }
.stepper button { width: 46px; height: 46px; display: grid; place-items: center; color: var(--gold-hi); }
.pm { position: relative; width: 12px; height: 1px; background: currentColor; display: block; }
.pm.p::after { content: ""; position: absolute; left: 50%; top: -6px; width: 1px; height: 12px; background: currentColor; }
.stepper output { min-width: 44px; text-align: center; font-stretch: 118%; font-size: 22px; font-variant-numeric: tabular-nums; }
.avail { font-size: 14px; display: grid; gap: 10px; padding: 14px 16px; border-left: 2px solid var(--line-strong); background: rgba(255, 255, 255, .02); }
.avail.ok { border-color: var(--ok); }
.avail.bad { border-color: var(--bad); }
.avail .meta { color: var(--stone); font-size: 12.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.avail a { color: var(--gold-hi); font-size: 13px; }
.summary { display: grid; grid-template-columns: max-content 1fr; gap: 12px 24px; margin: 0; font-size: 14.5px; }
.summary dt { color: var(--stone); font-size: 10.5px; font-stretch: 112%; letter-spacing: .18em; text-transform: uppercase; padding-top: 3px; }
.summary dd { margin: 0; }
.qf-error { color: #e7a291; font-size: 13.5px; }
.qf-error:empty { display: none; }
.qf-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.qf-done { display: grid; gap: 14px; justify-items: start; }
.qf-done h3 { font-size: 30px; }
.qf-done p { color: #d4cdc1; max-width: 56ch; }
.done-store { font-size: 13px; color: var(--stone) !important; }
.done-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 6px; }
.qf.is-done .qf-steps, .qf.is-done .qf-panel, .qf.is-done .qf-nav { display: none !important; }

/* ---------- faq + footer ---------- */
.faq { background: var(--night); }
.faq-list { display: grid; border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-stretch: 110%; font-weight: 500; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 13px; height: 1px; background: var(--gold); transition: transform .35s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { padding: 0 0 24px; color: var(--stone); max-width: 64ch; }
.footer { position: relative; background: #050608; border-top: 1px solid var(--line); padding: 70px 0 calc(40px + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand { display: grid; gap: 18px; }
.footer-brand img { width: 140px; }
.footer-brand p { color: var(--stone); font-size: 14px; max-width: 36ch; }
.footer h4 { margin: 0 0 14px; font-stretch: 115%; font-weight: 600; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: #cfc8bc; }
.footer-list a { text-decoration: none; }
.footer-list a:hover { color: var(--gold-hi); }
.footer-legal { margin-top: 50px; font-size: 12px; color: #6f6a62; }
.mobile-bar { display: none; }

/* ---------- operations panel ---------- */
.painel { position: fixed; inset: 0; z-index: 80; background: var(--ink); display: grid; grid-template-rows: auto 1fr; overflow: hidden; }
.painel-top { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: calc(12px + env(safe-area-inset-top)) var(--gut) 12px; border-bottom: 1px solid var(--line); background: var(--night); }
.painel-brand { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.painel-brand img { width: 18px; height: auto; }
.pill { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; padding: 4px 8px; border: 1px solid var(--line-strong); color: var(--gold-hi); }
.painel-tabs { display: flex; gap: 4px; margin-left: auto; }
.painel-tabs button { padding: 10px 14px; font-size: 13px; color: var(--stone); border-bottom: 2px solid transparent; }
.painel-tabs button[aria-selected="true"] { color: var(--ivory); border-color: var(--gold); }
.count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--gold); color: var(--ink); font-size: 11px; font-weight: 700; }
.painel-close { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--stone); }
.painel-body { overflow: auto; padding: 24px var(--gut) 60px; }
.painel-note { margin-bottom: 18px; padding: 12px 14px; border-left: 2px solid var(--warn); background: rgba(224, 178, 92, .07); font-size: 13.5px; }
.pn-filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.pn-filters button { border: 1px solid var(--line); padding: 8px 12px; font-size: 12.5px; color: var(--stone); }
.pn-filters button[aria-pressed="true"] { border-color: var(--gold); color: var(--gold-hi); }
.pn-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 14px; border: 1px solid var(--line-strong); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--ivory); }
.pn-btn.primary { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.pn-btn:hover { border-color: var(--gold); }
.pn-list { display: grid; gap: 10px; }
.pn-empty { color: var(--stone); padding: 30px 0; }
.req { display: grid; grid-template-columns: 1fr auto; gap: 14px 24px; padding: 18px 20px; border: 1px solid var(--line); border-left: 3px solid var(--gold); background: #111722; }
.req.st-confirmed { border-left-color: var(--ok); }
.req.st-declined { border-left-color: #555; opacity: .7; }
.req-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 14px; }
.req-ref { font-weight: 600; font-size: 12px; letter-spacing: .14em; color: var(--gold-hi); }
.req-name { font-stretch: 112%; font-size: 18px; }
.req-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: #cfc8bc; margin-top: 8px; }
.req-meta span b { color: var(--stone); font-weight: 500; margin-right: 4px; }
.req-notes { font-size: 13px; color: var(--stone); margin-top: 8px; max-width: 70ch; }
.req-actions { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.badge { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 7px; border: 1px solid; }
.b-new { color: var(--gold-hi); } .b-confirmed { color: var(--ok); } .b-declined { color: #8a857c; } .b-conflict { color: var(--bad); } .b-demo { color: #8fa9c9; }
.req-conflict { grid-column: 1 / -1; font-size: 13px; color: #e7a291; }
.pn-agenda { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.pn-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.pday { min-height: 70px; padding: 6px; border: 1px solid var(--line); background: #111722; text-align: left; display: grid; align-content: space-between; gap: 4px; font-size: 12px; }
.pday.pad { visibility: hidden; }
.pday.past { opacity: .45; }
.pday.sel { border-color: var(--gold); }
.pday .n { font-weight: 700; }
.pday .ld { display: grid; gap: 2px; font-size: 10.5px; color: var(--stone); font-variant-numeric: tabular-nums; }
.pday .bar { height: 3px; background: rgba(255, 255, 255, .06); position: relative; }
.pday .bar i { position: absolute; inset: 0 auto 0 0; background: var(--ok); }
.pday .bar i.low { background: var(--warn); } .pday .bar i.full { background: var(--bad); }
.pday.blocked { background: repeating-linear-gradient(135deg, rgba(201, 112, 94, .12) 0 6px, transparent 6px 12px), #111722; }
.pn-day { border: 1px solid var(--line); background: #111722; padding: 20px; display: grid; gap: 14px; position: sticky; top: 0; }
.pn-day h3 { font-stretch: 112%; font-size: 20px; }
.pn-day .muted { color: var(--stone); font-size: 13px; }
.pn-bk { display: grid; gap: 6px; }
.pn-bk div { font-size: 13px; padding: 8px 10px; border: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; }
.pn-row { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.pn-settings { max-width: 640px; display: grid; gap: 14px; justify-items: start; }
.pn-settings h3 { font-stretch: 112%; font-size: 20px; }
.pn-settings p { color: var(--stone); font-size: 14px; }
.pn-settings hr { border: 0; border-top: 1px solid var(--line); margin: 14px 0; width: 100%; }
.pn-settings .grid-2 { width: 100%; }
.pn-msg { color: var(--gold-hi) !important; }
.pn-form { display: grid; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.pn-form .grid-2 { gap: 10px; }
.pn-form .field input, .pn-form .field select { min-height: 42px; padding: 8px 10px; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .scene { width: min(700px, 100% - 2 * var(--gut)); }
  .dock { display: none; }
  .toast { display: block; }
}
@media (max-width: 1080px) {
  .nav { display: none; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-item:nth-child(2) { border-right: 0; }
  .proof-item:nth-child(3) { padding-left: 0; }
  .proof-item { border-bottom: 1px solid var(--line); padding-bottom: 26px; }
  .quote-wrap { grid-template-columns: 1fr; }
  .quote-head { position: static; }
}
@media (max-width: 760px) {
  .header-cta { display: none; }
  .header-actions { margin-left: auto; }
  .brand-name { font-size: 10.5px; letter-spacing: .22em; }
  .stage-grade { background: linear-gradient(180deg, rgba(5, 7, 11, .55) 0%, transparent 24%, transparent 36%, rgba(5, 7, 11, .9) 70%, rgba(5, 7, 11, .97) 100%); }
  .hero { left: var(--gut); right: var(--gut); width: auto; justify-content: space-between; padding: 92px 0 calc(92px + env(safe-area-inset-bottom)); gap: 0; }
  .hero-logo { width: 132px; align-self: center; }
  .hero-title { font-size: clamp(30px, 8.6vw, 38px); }
  .hero-sub { font-size: 14.5px; }
  .hero-ctas .cta-plate { flex: 1 1 100%; }
  .trust { font-size: 10.5px; gap: 4px 14px; }
  .scene { left: 0; right: 0; width: auto; bottom: calc(76px + env(safe-area-inset-bottom)); gap: 10px; }
  .scene > :not(.tiles) { margin-inline: var(--gut); }
  .scene-t { font-size: clamp(27px, 7.6vw, 34px); }
  .scene-b { font-size: 14px; }
  .tiles { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 74%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gut) 4px; scroll-padding: 0 var(--gut); scrollbar-width: none; }
  .tiles::-webkit-scrollbar { display: none; }
  .tile { scroll-snap-align: start; }
  .rail { top: calc(64px + env(safe-area-inset-top)); right: auto; left: var(--gut); transform: none; display: flex; gap: 14px; }
  .rail span { display: none; }
  .rail button::after { width: 10px; }
  .rail button.is-on::after { width: 20px; }
  .hud { inset: 18vh var(--gut) 46vh; }
  .stage-hint { display: none; }
  .intro-line { bottom: calc(7vh + 110px); font-size: clamp(26px, 7.4vw, 34px); }
  .proof-grid, .steps { grid-template-columns: 1fr; }
  .proof-item, .proof-item:first-child { padding: 24px 0; border-right: 0; }
  .steps li, .steps li + li { padding: 26px 0; border-left: 0; border-top: 1px solid var(--line); }
  .when, .grid-2, .field-row { grid-template-columns: 1fr; }
  .qf { padding: 18px; margin-inline: calc(-1 * var(--gut) + 8px); }
  .qf-steps li { font-size: 0; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .summary { grid-template-columns: 1fr; gap: 4px; }
  .summary dd { margin-bottom: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.3fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 0 0 env(safe-area-inset-bottom); background: rgba(7, 8, 11, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line);
    transition: transform .6s var(--ease);
  }
  body.is-intro .mobile-bar { transform: translateY(110%); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px; text-decoration: none; font-stretch: 112%; font-weight: 600; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
  .mobile-bar a + a { border-left: 1px solid var(--line); }
  .mobile-bar .mb-quote { background: var(--ivory); color: var(--ink); }
  .mobile-bar .mb-quote b { font-variant-numeric: tabular-nums; }
  .mobile-bar .mb-quote b:not(:empty)::before { content: "· "; }
  .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .pn-agenda { grid-template-columns: 1fr; }
  .pday { min-height: 54px; font-size: 11px; }
  .req { grid-template-columns: 1fr; }
  .req-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- v3: image cards + expanding window ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 156px); gap: 10px; margin-top: 10px; pointer-events: auto; }
.card {
  position: relative; aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; text-align: left; color: var(--ivory);
  border: 1px solid rgba(236, 211, 161, .22); background: #0b0d12; isolation: isolate;
  transition: transform .45s var(--ease), border-color .3s ease, box-shadow .45s var(--ease);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.card-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 1.1s var(--ease), filter .5s ease; filter: saturate(.92) brightness(.92); z-index: -2; }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 7, 11, .15) 0%, transparent 34%, rgba(5, 7, 11, .9) 100%); }
.card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.card-n { position: absolute; top: 10px; left: 11px; font-size: 10px; color: var(--gold-hi); }
.card-t { position: absolute; left: 11px; right: 11px; bottom: 30px; font-weight: 600; font-size: 13.5px; line-height: 1.25; letter-spacing: -.005em; }
.card-s { position: absolute; left: 11px; right: 11px; bottom: 10px; font-size: 9.5px; color: var(--stone); display: flex; align-items: center; gap: 8px; }
.card-s::before { content: ""; width: 12px; height: 1px; background: currentColor; transition: all .3s; }
.card:hover { transform: translateY(-4px); border-color: rgba(236, 211, 161, .5); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.card:hover .card-img { transform: scale(1.06); filter: none; }
.card[aria-pressed="true"] { border-color: rgba(207, 168, 103, .85); }
.card[aria-pressed="true"]::before { transform: scaleX(1); }
.card[aria-pressed="true"] .card-s { color: var(--gold-hi); }
.card[aria-pressed="true"] .card-s::before { width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.card.is-lifted { visibility: hidden; }

.sheet-bg { position: fixed; inset: 0; z-index: 69; background: rgba(4, 5, 8, .78); opacity: 0; pointer-events: none; transition: opacity .45s ease; }
.sheet-bg.on { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed; z-index: 70; width: min(480px, 92vw); height: min(760px, 88vh);
  left: calc(50% - min(480px, 92vw) / 2); top: calc(50% - min(760px, 88vh) / 2);
  background: #0c0f15; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 40px 100px rgba(0, 0, 0, .6);
}
.sheet-media { position: absolute; left: 0; right: 0; top: 0; height: 47%; overflow: hidden; transform-origin: 50% 50%; }
.sheet-media img { width: 100%; height: 100%; object-fit: cover; }
.sheet-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, #0c0f15 100%); }
.sheet-body { position: absolute; left: 0; right: 0; top: 47%; bottom: 0; overflow: auto; padding: 6px 26px 26px; display: grid; gap: 12px; align-content: start; }
.sheet-k { color: var(--gold); font-size: 10.5px; }
.sheet-t { font-size: 28px; }
.sheet-d { color: #e6e0d5; font-size: 15px; line-height: 1.55; }
.sheet-body .field-l { margin-top: 6px; }
.sheet-l { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.sheet-l li { display: flex; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.sheet-l li::before { content: ""; flex: none; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg) translateY(-2px); }
.sheet-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 8px; }
#sheetAdd.is-on { background: var(--gold-hi); }
.sheet-close { position: absolute; top: 14px; right: 14px; z-index: 2; padding: 9px 12px; border-radius: 6px; background: rgba(7, 8, 11, .55); border: 1px solid var(--line-strong); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ivory); }
.sheet-close:hover { border-color: var(--gold); }

@media (max-width: 1180px) {
  .scene[data-align="center"] { width: min(640px, 100% - 2 * var(--gut)); }
}
@media (max-width: 760px) {
  .scene, .scene[data-align="center"] { left: 0; right: 0; transform: none; width: auto; bottom: calc(70px + env(safe-area-inset-bottom)); gap: 9px; }
  .scene > * { margin-inline: var(--gut); }
  .scene[data-align="center"] { justify-items: center; }
  .scene-t { font-size: clamp(24px, 6.8vw, 30px); }
  .scene-b { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: calc(100% - 2 * var(--gut)); margin-top: 4px; }
  .card-t { font-size: 12px; bottom: 10px; left: 9px; right: 9px; }
  .card-s { display: none; font-size: 8.5px; left: 9px; bottom: 9px; }
  .card[aria-pressed="true"] .card-s { display: flex; }
  .card[aria-pressed="true"] .card-t { bottom: 24px; }
  .card-n { left: 9px; top: 8px; }
  .sheet { top: 0; left: 0; width: 100vw; height: 100%; border-radius: 0; border: 0; }
  .sheet-media { height: 50%; }
  .sheet-body { top: 50%; padding: 4px 20px calc(24px + env(safe-area-inset-bottom)); }
  .sheet-t { font-size: 24px; }
  .sheet-close { top: calc(12px + env(safe-area-inset-top)); }
  .sheet-ctas .cta-plate { flex: 1 1 100%; }
}

/* phones: the film plays as native video */
.mv { position: fixed; inset: 0; z-index: 0; background: var(--ink) center / cover no-repeat; transform-origin: 50% 46%; will-change: transform; }
.mv video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.mv video.on { z-index: 2; }
@media (max-width: 760px) {
  .mobile-bar { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(7, 8, 11, .96); }
}

/* phones: no live blur over the film or while scrolling (heavy on iPhone GPUs) */
@media (max-width: 760px) {
  .site-header.is-solid { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(7, 8, 11, .94); }
  .tile, .svc { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(14, 17, 23, .92); }
  .sheet-close { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(7, 8, 11, .8); }
  .w { will-change: transform, opacity; }
}

/* panel login (own server) */
.pn-login { display: grid; gap: 10px; max-width: 420px; margin: 8px 0 24px; }
.pn-login-row { display: flex; gap: 10px; }
.pn-login input { flex: 1; min-height: 42px; padding: 0 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-strong); color: var(--ivory); font: inherit; }
.pn-login input:focus { outline: none; border-color: var(--gold); }
.pn-login-msg { min-height: 1.2em; color: #e7a28f; font-size: 13px; }
.painel-top .pn-btn { min-height: 32px; }
