/* .xxqc gallery site (p3). Only transform and opacity are ever animated. */

/* the font face is in fonts/inter.css (embedded, so it also works from file://) */

:root {
  --bg: #0b0b0c;
  --surface: #131315;
  --surface-2: #1b1b1e;
  --line: rgba(236, 232, 225, .09);
  --line-2: rgba(236, 232, 225, .16);
  --text: #ece8e1;
  --muted: #9d978d;
  --accent: #e48144;
  --brand: #e48144; /* the page's own accent (piece 1); --accent follows the piece you hover or open */
  --ink: #0b0b0c;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: linear(0, .06, .204, .384, .568, .734, .87, .97, 1.038, 1.077, 1.093, 1.093, 1.083, 1.067, 1.049, 1.032, 1.018, 1.007, .999, .994, .992, .991, .992, .993, 1);
  --d1: 150ms;
  --d2: 250ms;
  --d3: 380ms;
  --d4: 600ms;
  --gut: 64px;
  --max: 1312px;
  --r: 14px;
}
@supports not (transition-timing-function: linear(0, 1)) {
  :root { --spring: cubic-bezier(.34, 1.4, .64, 1); }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
.rm { scroll-behavior: auto; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.55 Inter, ui-sans-serif, system-ui, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
img { -webkit-user-drag: none; user-select: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a, button, [data-open] { -webkit-user-drag: none; user-select: none; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: 16px; z-index: 200; padding: 10px 14px; background: var(--text); color: var(--ink); border-radius: 8px; transform: translateY(-160%); }
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.label { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.display { font-size: clamp(34px, 3.7vw, 62px); line-height: 1.02; font-weight: 640; letter-spacing: -.035em; }
.h2 { font-size: clamp(28px, 3vw, 44px); line-height: 1.08; font-weight: 600; letter-spacing: -.028em; }
.h3 { font-size: 19px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: #cfcac2; max-width: 40em; }
.fine { font-size: 13px; color: var(--muted); margin-top: 20px; }
.section { padding: 96px 0 0; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px;
  border-radius: 999px; font-weight: 600; font-size: 15px; letter-spacing: -.005em; white-space: nowrap;
  transition: transform var(--d2) var(--spring);
}
.btn b { font-weight: 700; }
.btn::after { /* fake glow: opacity only */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 1px var(--accent), 0 8px 30px -6px var(--accent); opacity: 0; transition: opacity var(--d2) var(--ease);
}
.btn-primary { background: var(--text); color: var(--ink); }
.btn-ghost { box-shadow: inset 0 0 0 1px var(--line-2); }
.btn i { font-style: normal; display: inline-block; transition: transform var(--d2) var(--spring); }
.btn-big { height: 60px; padding: 0 30px; font-size: 17px; }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn:hover::after { opacity: .7; }
  .btn:hover i { transform: translateY(3px); }
}
.btn:active, .nav-copy:active, .chip:active { transform: scale(.96); transition-duration: 90ms; }
.copy-label { display: inline-block; }
.copy-label.morph { animation: morph var(--d3) var(--spring); }
@keyframes morph { 0% { opacity: 0; transform: translateY(8px); } 100% { opacity: 1; transform: none; } }

/* ---------- nav ---------- */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
.nav-pill {
  pointer-events: auto; display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 6px 0 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; /* solid: nothing ghosts through */
}
.nav-mark svg { height: 18px; width: auto; fill: var(--text); display: block; }
.nav-mark { padding: 6px 4px; margin-right: 6px; }
.nav nav { position: relative; }
.nav-links { display: flex; }
.nav-links a { display: block; padding: 8px 12px; font-size: 14px; font-weight: 500; color: var(--muted); transition: color var(--d1) linear; }
.nav-links a.is-cur, .nav-links a:hover { color: var(--text); }
.nav-hl {
  position: absolute; left: 0; bottom: 2px; width: 100px; height: 2px; border-radius: 2px; background: var(--accent);
  transform-origin: 0 0; transform: translateX(0) scaleX(0); opacity: 0;
  transition: transform var(--d3) var(--spring), opacity var(--d2) var(--ease);
}
.nav-copy { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; margin-left: 6px; border-radius: 999px; background: var(--surface-2); font-size: 13.5px; font-weight: 500; color: var(--muted); transition: transform var(--d2) var(--spring); }
.nav-copy b { color: var(--text); font-weight: 650; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(76vh, 720px); display: flex; align-items: center; padding: 104px 0 24px; overflow-x: clip; }
.hero-glow {
  position: absolute; left: 48%; top: 6%; width: 70vw; height: 70vw; max-width: 1100px; max-height: 1100px; pointer-events: none;
  background: radial-gradient(closest-side, var(--accent), transparent); opacity: .12; transform: translate(-14%, 2%);
  /* static: a drifting glow + float cost +0.028 CPU s/s of Edge on the idle hero in the G6 A/B (flow_g6_normal.json) */
}
.hero-grid { position: relative; display: grid; grid-template-columns: 5.2fr 6.8fr; gap: 56px; align-items: center; }
.hero-k { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.display .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.display .ln > span { display: block; }
.hero-sub { margin-top: 22px; color: var(--muted); font-size: 17px; }
.hero-act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-media { position: relative; }
.hero-frame { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--surface); }
.hero-frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-img.is-on { opacity: 1; }
.hero-cap { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.hero-cap-t { transition: opacity var(--d2) linear; }
.hero-cap-t::after { content: "  ·  click to view"; color: var(--muted); opacity: .7; }
.hero-cap { color: var(--text); }
.hero-dots { display: flex; gap: 6px; }
.hero-dots i { width: 22px; height: 3px; border-radius: 2px; background: var(--line-2); overflow: hidden; position: relative; }
.hero-dots i::after { content: ""; position: absolute; inset: 0; background: var(--text); transform-origin: 0 0; transform: scaleX(0); }
.hero-dots i.on::after { animation: dotfill 6s linear forwards; }
.hero.off .hero-dots i.on::after { animation-play-state: paused; }
@keyframes dotfill { to { transform: scaleX(1); } }

/* page load: the nav drops in, the lines slide up in a stagger, the picture eases in (all within 900 ms) */
.js:not(.rm) .nav-pill { animation: drop var(--d4) var(--spring) 80ms both; }
.js:not(.rm) .hero-k { animation: up var(--d4) var(--ease) 60ms both; }
.js:not(.rm) .display .ln > span { animation: lineup 700ms var(--ease) both; }
.js:not(.rm) .display .ln:nth-child(1) > span { animation-delay: 120ms; }
.js:not(.rm) .display .ln:nth-child(2) > span { animation-delay: 200ms; }
.js:not(.rm) .hero-sub { animation: up var(--d4) var(--ease) 280ms both; }
.js:not(.rm) .hero-act { animation: up var(--d4) var(--ease) 340ms both; }
.js:not(.rm) .hero-frame { animation: ease-in 820ms var(--ease) 60ms both; }
.js:not(.rm) .hero-cap { animation: up var(--d4) var(--ease) 420ms both; }
@keyframes drop { from { opacity: 0; transform: translateY(-24px); } to { opacity: 1; transform: none; } }
@keyframes up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes lineup { from { transform: translateY(105%); } to { transform: none; } }
@keyframes ease-in { from { opacity: 0; transform: scale(.965); } to { opacity: 1; transform: none; } }

/* ---------- section heads + filters ---------- */
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.head .label { margin-bottom: 10px; }
.filters { position: relative; display: inline-flex; overflow: hidden; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.chip { position: relative; z-index: 1; height: 36px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 550; color: var(--muted); transition: color var(--d2) linear, transform var(--d2) var(--spring); }
.chip[aria-pressed="true"] { color: var(--ink); }
.filters-pill { position: absolute; top: 4px; left: 0; height: 36px; width: 0; border-radius: 999px; background: var(--text); transform-origin: 0 50%; }

/* ---------- work grid ---------- */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.card { position: relative; }
.card[hidden], .tile[hidden] { display: none; }
.card-a { display: block; transition: transform var(--d3) var(--spring); }
.card-media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--surface); isolation: isolate; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.card-media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }
.card-media::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; box-shadow: inset 0 0 0 2px var(--accent); opacity: 0; transition: opacity var(--d2) var(--ease); pointer-events: none; }
.card-view {
  position: absolute; right: 12px; bottom: 12px; z-index: 3; display: inline-flex; gap: 6px; align-items: center;
  height: 32px; padding: 0 14px; border-radius: 999px; background: var(--text); color: var(--ink); font-size: 13px; font-weight: 650;
  opacity: 0; transform: translateY(10px); transition: opacity var(--d2) var(--ease), transform var(--d3) var(--spring);
}
.card-view i { font-style: normal; }
.card-body { display: block; padding: 16px 2px 0; }
.card-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.card-n { font-size: 12px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.card-title { font-size: 21px; font-weight: 620; letter-spacing: -.02em; line-height: 1.2; }
.card-line { display: block; margin-top: 6px; color: var(--muted); font-size: 14.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tags li { font-size: 12px; font-weight: 550; color: #c9c4bb; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line-2); font-variant-numeric: tabular-nums; }
.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); border: 1px solid currentColor; }
.badge-realistic { color: var(--text); background: var(--surface-2); border-color: var(--line-2); }
@media (hover: hover) {
  .card-a:hover { transform: translateY(-6px); }
  .card-a:hover .card-media img { transform: scale(1.05); }
  .card-a:hover .card-media::before, .card-a:focus-visible .card-media::before { opacity: 1; }
  .card-a:hover .card-view { opacity: 1; transform: none; }
}
.card-a:focus-visible { outline: none; }
.card-a:focus-visible .card-media::before, .card-a:focus-visible .card-view { opacity: 1; transform: none; }
.card-a:active { transform: scale(.98); transition-duration: 120ms; }

/* ---------- props wall ---------- */
.wall { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.tile-b { position: relative; display: block; width: 100%; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--surface); isolation: isolate; transition: transform var(--d3) var(--spring); }
.tile-b img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.tile-b::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; box-shadow: inset 0 0 0 2px var(--accent); opacity: 0; transition: opacity var(--d2) var(--ease); pointer-events: none; }
.tile-info {
  position: absolute; left: 6px; right: 6px; bottom: 6px; z-index: 3; display: block; padding: 8px 10px; border-radius: 7px; text-align: left;
  background: rgba(11, 11, 12, .9); opacity: 0; transform: translateY(8px); transition: opacity var(--d2) var(--ease), transform var(--d3) var(--spring);
}
.tile-info b { display: block; font-size: 13px; font-weight: 600; line-height: 1.3; }
.tile-info span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
@media (hover: hover) {
  .tile-b:hover { transform: translateY(-4px); }
  .tile-b:hover img { transform: scale(1.05); }
  .tile-b:hover::before, .tile-b:hover .tile-info { opacity: 1; transform: none; }
}
.tile-b:focus-visible { outline: none; }
.tile-b:focus-visible::before, .tile-b:focus-visible .tile-info { opacity: 1; transform: none; }
.tile-b:active { transform: scale(.97); transition-duration: 120ms; }

/* ---------- about, offer, how, process, contact ---------- */
.cv { content-visibility: auto; contain-intrinsic-size: auto 480px; }
.process.cv { contain-intrinsic-size: auto 300px; }
/* the props wall renders (and its lazy pictures load) only when it comes near the screen */
.cv-props { content-visibility: auto; contain-intrinsic-size: auto 1250px; }
@media (max-width: 640px) { .cv-props { contain-intrinsic-size: auto 1500px; } }
.split { display: grid; grid-template-columns: 3fr 9fr; gap: 24px; }
.split > .label { padding-top: 12px; }
.about .lead { margin-top: 20px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
.stats li { padding: 22px 22px 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.stats b { display: block; font-size: clamp(32px, 3.4vw, 50px); font-weight: 650; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats span { display: block; margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.offer { position: relative; padding: 26px 26px 28px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: transform var(--d3) var(--spring); }
.offer-n { display: block; font-size: 13px; font-weight: 650; color: var(--brand); margin-bottom: 26px; font-variant-numeric: tabular-nums; }
.offer p { margin-top: 8px; color: var(--muted); font-size: 15px; }
@media (hover: hover) { .offer:hover { transform: translateY(-4px); } }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.steps li { padding: 22px; border-radius: var(--r); border: 1px solid var(--line); }
.steps span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); font-size: 13px; font-weight: 650; margin-bottom: 18px; }
.steps p { font-size: 15px; color: #d4cfc7; }
.terms { margin-top: 20px; font-size: 15px; color: #d4cfc7; }
.terms .label { margin-right: 10px; }
.note { padding: 36px clamp(22px, 4vw, 48px); border-radius: 18px; border: 1px solid var(--line-2); background: var(--surface); max-width: 880px; margin-left: auto; }
.note .h3 { margin: 10px 0 10px; }
.note p:last-child { color: #d4cfc7; font-size: 16px; }
.contact { padding-bottom: 72px; }
.contact-mark { margin: 18px 0 28px; }
.contact-mark svg { width: min(100%, 760px); height: auto; fill: var(--text); display: block; }
.contact-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer { border-top: 1px solid var(--line); padding: 24px 0 32px; font-size: 13px; color: var(--muted); }
.footer-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- reveals (one IntersectionObserver) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 450ms var(--ease) calc(var(--i, 0) * 60ms), transform 450ms var(--ease) calc(var(--i, 0) * 60ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .card[data-reveal].in, .js .tile[data-reveal].in { transition: none; }
.js .card[data-reveal].in.fresh, .js .tile[data-reveal].in.fresh { transition: opacity 450ms var(--ease) calc(var(--i, 0) * 60ms), transform 450ms var(--ease) calc(var(--i, 0) * 60ms); }

/* ---------- copy feedback ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 300; padding: 10px 16px; border-radius: 999px; background: var(--text); color: var(--ink);
  font-size: 14px; font-weight: 600; pointer-events: none; opacity: 0; transform: translate(-50%, 12px); transition: opacity var(--d2) var(--ease), transform var(--d3) var(--spring);
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.burst { position: fixed; z-index: 310; width: 8px; height: 8px; margin: -4px 0 0 -4px; pointer-events: none; border-radius: 2px; }
.burst.c { border-radius: 50%; }

/* ---------- viewer ---------- */
.viewer { position: fixed; inset: 0; z-index: 100; }
.viewer[hidden] { display: none; }
.viewer.shut { visibility: hidden; pointer-events: none; }
.viewer.shut * { animation: none !important; }
.v-back { position: absolute; inset: 0; background: #08080a; }
.v-shell { position: relative; height: 100%; overflow: hidden; overscroll-behavior: contain; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; padding: 20px 28px 24px; }
.v-main { min-width: 0; min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; gap: 12px; }
.v-top { display: flex; align-items: center; min-height: 44px; padding-right: 56px; }
.v-tabs { position: relative; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.v-tabs::-webkit-scrollbar { display: none; }
.v-tab { position: relative; height: 40px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 550; color: var(--muted); white-space: nowrap; transition: color var(--d2) linear; }
.v-tab[aria-selected="true"] { color: var(--text); }
.v-tab-hl { position: absolute; left: 0; top: 0; width: 100px; height: 2px; border-radius: 2px; background: var(--accent); transform-origin: 0 0; transform: scaleX(0); transition: transform var(--d3) var(--spring); }
.v-stage { position: relative; min-height: 0; container-type: size; touch-action: pan-y; user-select: none; }
.v-media {
  position: absolute; left: 50%; top: 50%; width: min(100cqw, calc(100cqh * var(--arn, 1.7778))); aspect-ratio: var(--ar, 16 / 9);
  transform: translate(-50%, -50%); border-radius: 12px; overflow: hidden; background: var(--surface); cursor: zoom-in;
}
.v-media.zoomed { cursor: grab; }
.v-media.panning { cursor: grabbing; }
.v-media.spin { cursor: ew-resize; }
.v-stage.zoom-on { touch-action: none; }
.v-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transform-origin: 0 0; }
.v-img.swap { animation: fadein 200ms var(--ease); }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.v-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; touch-action: pan-y; user-select: none; }
.v-arrow {
  position: absolute; top: 50%; z-index: 2; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(19, 19, 21, .85); border: 1px solid var(--line-2); font-size: 18px; transition: transform var(--d2) var(--spring), opacity var(--d2) linear;
}
.v-arrow i { font-style: normal; }
.v-prev { left: 10px; }
.v-next { right: 10px; }
.v-arrow:active { transform: scale(.9); }
@media (hover: hover) { .v-prev:hover { transform: translateX(-3px); } .v-next:hover { transform: translateX(3px); } }
.v-stage.zoom-on .v-arrow, .v-stage.spin-on .v-arrow { opacity: 0; pointer-events: none; }
.v-hint { position: absolute; left: 50%; bottom: 14px; z-index: 2; transform: translateX(-50%); padding: 6px 12px; border-radius: 999px; background: rgba(11, 11, 12, .85); font-size: 12.5px; color: #d4cfc7; pointer-events: none; opacity: 0; transition: opacity var(--d3) var(--ease); }
.v-hint.on { opacity: 1; }
.v-bar { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; min-height: 24px; }
.v-cap { font-size: 14.5px; color: #d4cfc7; }
.v-count { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.v-strip-w { position: relative; min-height: 0; }
.v-strip { display: flex; gap: 8px; overflow-x: auto; padding: 3px; scrollbar-width: thin; }
.v-strip:empty { display: none; }
.v-th { flex: none; height: 58px; border-radius: 7px; overflow: hidden; opacity: .55; background: var(--surface); transition: opacity var(--d2) linear, transform var(--d2) var(--spring); }
.v-th img { height: 100%; width: auto; aspect-ratio: var(--ar); object-fit: cover; }
.v-th[aria-current="true"] { opacity: 1; }
.v-th:active { transform: scale(.94); }
.v-strip-hl { position: absolute; top: 0; left: 0; height: 64px; width: 0; border-radius: 9px; box-shadow: inset 0 0 0 2px var(--accent); pointer-events: none; transform-origin: 0 0; }
.v-x {
  position: absolute; top: 20px; right: 28px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--line-2); font-size: 22px; transition: transform var(--d2) var(--spring);
}
.v-x i { font-style: normal; line-height: 1; }
@media (hover: hover) { .v-x:hover { transform: rotate(90deg); } }
.v-x:active { transform: scale(.9); }
.v-info { align-self: center; padding: 8px 0; min-width: 0; }
.badge-row { display: flex; gap: 8px; align-items: center; margin-bottom: 18px; }
.chip-ok { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: var(--surface-2); color: #d4cfc7; }
.chip-ok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #6ad08a; }
.chip-ok[hidden] { display: none; }
.v-title { font-size: clamp(26px, 2.4vw, 36px); font-weight: 640; letter-spacing: -.03em; line-height: 1.08; }
.v-tag { margin-top: 12px; color: #cfcac2; font-size: 15.5px; }
.v-nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 24px; border-radius: 12px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.v-nums div { background: var(--bg); padding: 12px 14px; }
.v-nums div:last-child { grid-column: 1 / -1; }
.v-nums dt { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.v-nums dd { margin-top: 4px; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.v-pal-row { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.v-pal { display: flex; gap: 6px; }
.v-pal i { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
.v-proc { margin-top: 22px; font-size: 13px; line-height: 1.5; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }
.viewer .v-i { opacity: 0; transform: translateY(14px); }
.viewer.open .v-i { opacity: 1; transform: none; transition: opacity var(--d3) var(--ease) calc(120ms + var(--i, 0) * 50ms), transform var(--d4) var(--spring) calc(120ms + var(--i, 0) * 50ms); }
.viewer.closing .v-i { opacity: 0; transition: opacity var(--d1) linear; }

/* ---------- noscript ---------- */
.ns { padding: 96px var(--gut); display: grid; gap: 32px; }
.ns figcaption { margin-top: 10px; color: var(--muted); font-size: 14px; }
.ns img { border-radius: 12px; width: 100%; height: auto; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  :root { --gut: 40px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v-shell { grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { min-height: 0; padding-top: 96px; }
  .split { grid-template-columns: 1fr; gap: 12px; }
  .split > .label { padding-top: 0; }
  .stats { grid-template-columns: 1fr 1fr 1fr; }
  .v-shell { display: block; overflow-y: auto; overscroll-behavior: contain; padding: 12px 16px 32px; }
  .v-main { display: block; }
  /* phones and small tablets: the tabs get their own full-width row under the Close button and wrap, never scroll */
  .v-top { padding: 52px 0 0; margin-bottom: 10px; }
  .v-tabs { flex-wrap: wrap; overflow: visible; row-gap: 2px; }
  .v-tab { height: 36px; padding: 0 10px; font-size: 13px; }
  .v-tab .v-cnt { font-size: 9.5px; vertical-align: super; line-height: 0; margin-left: 1px; }
  .v-tab .v-360 { display: none; }
  .v-stage { height: min(calc((100vw - 32px) * .75), 62vh); }
  .v-bar { margin-top: 10px; }
  .v-strip-w { margin-top: 10px; }
  .v-x { top: 12px; right: 16px; }
  .v-info { padding-top: 20px; }
  .v-arrow { width: 40px; height: 40px; margin-top: -20px; }
}
@media (max-width: 640px) {
  :root { --gut: 16px; }
  html { scroll-padding-top: 76px; }
  .section { padding-top: 64px; }
  .nav { top: 10px; padding: 0 8px; }
  .nav-pill { height: 46px; padding: 0 4px 0 12px; gap: 0; max-width: 100%; }
  .nav-mark { margin-right: 0; padding: 6px 2px; }
  .nav-mark svg { height: 14px; }
  .nav-links a { padding: 8px 6px; font-size: 12.5px; }
  .nav-copy { height: 36px; padding: 0 10px; margin-left: 2px; font-size: 12.5px; }
  .nav-copy .copy-label { display: none; }
  .hero { padding: 84px 0 24px; }
  .hero-k { margin-bottom: 16px; }
  .hero-grid { gap: 22px; }
  .hero-sub { display: none; }
  .hero-act { margin-top: 22px; flex-wrap: nowrap; }
  .hero-act .btn { flex: 1 1 auto; justify-content: center; height: 46px; padding: 0 14px; font-size: 14px; }
  .grid { grid-template-columns: 1fr; gap: 32px; }
  .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .tile-info { left: 4px; right: 4px; bottom: 4px; padding: 6px 7px; }
  .tile-info b { font-size: 11.5px; }
  .tile-info span { display: none; }
  .head { margin-bottom: 24px; }
  .stats { grid-template-columns: 1fr; }
  .stats li { display: flex; align-items: baseline; gap: 14px; padding: 16px 18px; }
  .stats span { margin-top: 0; }
  .offers, .steps { grid-template-columns: 1fr; }
  .offer-n { margin-bottom: 14px; }
  .btn-big { width: 100%; justify-content: center; }
}
@media (max-width: 370px) { .nav-links a { padding: 8px 4px; font-size: 12px; } .nav-copy { padding: 0 8px; } }

/* ---------- reduced motion: plain opacity fades under 150 ms ---------- */
.rm *, .rm *::before, .rm *::after { animation: none !important; }
.rm .hero-img, .rm .card-view, .rm .tile-info, .rm .toast, .rm .v-hint, .rm .hero-cap-t { transition: opacity 140ms linear !important; }
.rm .card-a, .rm .tile-b, .rm .btn, .rm .offer, .rm .card-media img, .rm .tile-b img, .rm .v-arrow, .rm .v-x, .rm .chip, .rm .nav-copy { transition: none !important; transform: none !important; }
.rm.js [data-reveal] { transform: none; transition: opacity 140ms linear; }
.rm .viewer .v-i { transform: none; transition: opacity 140ms linear !important; }
.rm .nav-hl, .rm .v-tab-hl, .rm .filters-pill, .rm .v-strip-hl { transition: none !important; }
.rm .toast { transform: translate(-50%, 0); }
