/* ───────────────────────── Soon Store ───────────────────────── */

@font-face { font-family: 'Season Sans'; src: url('../fonts/SeasonSans-TRIAL-Light.ttf') format('truetype'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Season Sans'; src: url('../fonts/SeasonSans-TRIAL-LightItalic.ttf') format('truetype'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: 'Season Sans'; src: url('../fonts/SeasonSans-TRIAL-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Season Sans'; src: url('../fonts/SeasonSans-TRIAL-RegularItalic.ttf') format('truetype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Season Sans'; src: url('../fonts/SeasonSans-TRIAL-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Season Sans'; src: url('../fonts/SeasonSans-TRIAL-MediumItalic.ttf') format('truetype'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'Season Sans'; src: url('../fonts/SeasonSans-TRIAL-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
/* CineMonitor live panel: Roboto Mono is the plugin's default font (SIL Open Font License). */
@font-face { font-family: 'Roboto Mono CM'; src: url('../fonts/RobotoMono-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Roboto Mono CM'; src: url('../fonts/RobotoMono-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }

:root {
  --paper: #F1F1F0;
  --paper-2: #E6E6E5;
  --card: #FAFAFA;
  --ink: #111112;
  --ink-2: #4A4A4E;
  --muted: #88888D;
  --line: rgba(17, 17, 18, .09);
  --line-strong: rgba(17, 17, 18, .18);
  --night: #121214;
  /* Glass */
  --glass: rgba(255, 255, 255, .52);
  --glass-strong: rgba(255, 255, 255, .72);
  --glass-edge: rgba(255, 255, 255, .78);
  --glass-blur: blur(22px) saturate(1.6);
  --glass-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 10px 30px -12px rgba(30, 30, 40, .18);
  --display: 'Season Sans', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --sans: 'Season Sans', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --pad: clamp(18px, 3.2vw, 44px);
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--ink); color: var(--paper); }

.label {
  font-family: var(--sans); font-weight: 500; font-size: 11.5px; letter-spacing: .09em;
  text-transform: uppercase; color: var(--muted);
}
.wrap { padding-inline: var(--pad); max-width: 1560px; margin-inline: auto; }

/* ── Header ─────────────────────────────────────────────── */
/* Floating glass bar */
.site-header {
  position: sticky; top: 10px; z-index: 40; height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  margin: 10px clamp(8px, 1.4vw, 18px) 0; padding-inline: clamp(14px, 2vw, 22px) 10px;
  border-radius: 999px; border: 1px solid transparent;
  transition: background .35s, border-color .35s, box-shadow .35s;
}
.site-header.scrolled {
  background: var(--glass); border-color: var(--glass-edge); box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -.03em; justify-self: start; }
.brand-mark { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid currentColor; position: relative; overflow: hidden; }
.brand-mark::after { content: ''; position: absolute; inset: 0 50% 0 0; background: currentColor; }
.nav { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.35); }
.nav a { font-size: 13.5px; padding: 6px 14px; border-radius: 999px; color: var(--ink-2); transition: background .2s, color .2s; }
.nav a:hover, .nav a.active { background: var(--ink); color: var(--paper); }
.header-right { justify-self: end; display: flex; align-items: center; gap: 10px; }
.cart-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 6px 0 16px;
  background: var(--ink); color: var(--paper); border-radius: 999px; font-size: 13.5px; font-weight: 500;
  transition: transform .2s var(--ease);
}
.cart-btn:hover { transform: translateY(-1px); }
.cart-count {
  min-width: 26px; height: 26px; border-radius: 999px; background: var(--paper); color: var(--ink);
  display: grid; place-items: center; font-size: 12.5px; font-weight: 600; padding-inline: 7px;
}
.cart-btn.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.08); } }

/* ── Hero ───────────────────────────────────────────────── */
.hero { padding-top: clamp(36px, 5vw, 72px); text-align: center; position: relative; overflow: hidden; }
.hero-kicker { display: inline-flex; gap: 10px; align-items: center; margin-bottom: 26px; }
.hero-kicker .dot { width: 6px; height: 6px; border-radius: 50%; background: #C9412B; }
.hero h1 {
  font-family: var(--display); font-weight: 500; margin: 0 auto;
  font-size: clamp(48px, 8vw, 136px); line-height: .92; letter-spacing: -.055em; max-width: 13ch;
}
.hero h1 em { font-style: italic; font-weight: 500; color: #C9412B; }
.hero-sub { margin: 26px auto 0; max-width: 520px; color: var(--ink-2); font-size: 17px; }

/* Bookshelf: every product is a book spine; the active one opens to its cover. */
.shelf-wrap { margin-top: clamp(36px, 4.5vw, 64px); position: relative; }
.shelf {
  display: flex; max-width: 1400px; margin-inline: auto; align-items: flex-end; justify-content: center; gap: 8px;
  height: clamp(320px, 34vw, 470px); padding-inline: var(--pad);
}
.shelf::after { content: ''; position: absolute; left: var(--pad); right: var(--pad); bottom: 0; height: 1px; background: var(--line-strong); }
.spine {
  --w: 64px; --h: 82%;
  position: relative; flex: 0 1 var(--w); min-width: 36px; height: var(--h);
  background: var(--c); color: var(--i); border-radius: 4px 4px 2px 2px;
  overflow: hidden; cursor: pointer;
  transition: flex-basis .75s var(--ease), height .75s var(--ease), transform .4s var(--ease), border-radius .5s;
  box-shadow: inset -6px 0 10px -8px rgba(0,0,0,.35), inset 6px 0 10px -9px rgba(255,255,255,.35);
  transform-origin: bottom center;
}
.spine:nth-child(3n+2) { --w: 52px; }
.spine:nth-child(4n+3) { --w: 74px; }
.spine:nth-child(5n+1) { --h: 90%; }
.spine:nth-child(3n) { --h: 74%; }
.spine:nth-child(7) { transform: rotate(-4deg); }
.spine:hover:not(.open) { transform: translateY(-10px); }
.spine-text {
  position: absolute; inset: 14px 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  transition: opacity .3s;
}
.spine-no { font-size: 11px; font-weight: 600; letter-spacing: .06em; }
.spine-title {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--sans); font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
  font-size: clamp(13px, 1.15vw, 16px); white-space: nowrap; line-height: 1;
}
.spine-price { font-family: var(--display); font-size: 13px; }
.spine-cover { position: absolute; inset: 0; opacity: 0; transition: opacity .45s .15s; }
.spine-cover img { width: 100%; height: 100%; object-fit: cover; }
.spine-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,0) 55%); }
.spine-info {
  position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; color: #fff; text-align: left;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 14px;
}
.spine-info .label { color: rgba(255,255,255,.72); }
.spine-info h3 { margin: 4px 0 0; font-family: var(--display); font-weight: 500; font-size: clamp(20px, 2vw, 28px); line-height: 1.05; letter-spacing: -.01em; }
.spine-go { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 17px; }
.spine.open { flex: 0 0 clamp(280px, 40vw, 580px); height: 100%; border-radius: 6px; transform: none; }
.spine-info { opacity: 0; transition: opacity .3s; }
.spine.open .spine-info { opacity: 1; transition-delay: .25s; }
.spine.open .spine-text { opacity: 0; }
.spine.open .spine-cover { opacity: 1; }

/* ── Sections ───────────────────────────────────────────── */
.section { padding-block: clamp(64px, 9vw, 128px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head h2 { font-family: var(--display); font-weight: 500; font-size: clamp(40px, 5.6vw, 84px); letter-spacing: -.04em; line-height: .95; margin: 10px 0 0; }
.section-head h2 em { font-weight: 500; color: var(--muted); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: 13.5px; color: var(--ink-2); transition: all .2s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip sup { font-size: 10px; margin-left: 3px; opacity: .6; }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 28px); }
.card { display: flex; flex-direction: column; position: relative; }
.card[hidden] { display: none; }
.card-media {
  position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: var(--paper-2);
  isolation: isolate;
}
.card-media img, .card-media video { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), opacity .4s; }
.card-media video { position: absolute; inset: 0; opacity: 0; }
.card:hover .card-media img { transform: scale(1.035); }
.card.playing .card-media video { opacity: 1; }
.card-tab {
  position: absolute; top: 12px; left: 12px; z-index: 2; height: 26px; padding: 0 10px; border-radius: 999px;
  background: var(--c); color: var(--i); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  display: inline-flex; align-items: center;
}
.card-badge { left: auto; right: 12px; background: #fff; color: var(--ink); }
.card-body { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding-top: 16px; align-items: start; }
.card-no { grid-column: 1 / -1; display: flex; gap: 10px; }
.card-title { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.08; letter-spacing: -.015em; margin: 2px 0 0; }
.card-sum { grid-column: 1 / 2; color: var(--ink-2); font-size: 14.5px; margin: 6px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-side { grid-row: 2 / 4; grid-column: 2; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.price { font-family: var(--display); font-weight: 500; font-size: 22px; letter-spacing: -.02em; white-space: nowrap; }
.add-btn {
  height: 36px; padding: 0 14px 0 12px; border-radius: 999px; border: 1px solid var(--ink);
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; white-space: nowrap;
  transition: background .2s, color .2s; position: relative; z-index: 2;
}
.add-btn:hover, .add-btn.in-cart { background: var(--ink); color: var(--paper); }
.add-btn .plus { font-size: 16px; line-height: 1; }
.card-link { position: absolute; inset: 0; z-index: 1; border-radius: var(--radius); }

/* Feature band: before/after */
.band { background: var(--night); color: #EDEBE4; border-radius: clamp(18px, 2.4vw, 32px); margin-inline: clamp(8px, 1.2vw, 16px); overflow: hidden; }
.band .label { color: rgba(237,235,228,.55); }
.band-inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding: clamp(28px, 5vw, 72px); }
.band h2 { font-family: var(--display); font-weight: 500; font-size: clamp(40px, 5vw, 76px); line-height: .96; letter-spacing: -.04em; margin: 14px 0 18px; }
.band p { color: rgba(237,235,228,.72); max-width: 420px; margin: 0 0 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px;
  border-radius: 999px; font-size: 15px; font-weight: 500; transition: transform .2s var(--ease), background .2s, color .2s; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-light { background: #EDEBE4; color: var(--night); }
.btn-line { border: 1px solid var(--line-strong); }
.btn-line:hover { border-color: var(--ink); }
.btn-block { width: 100%; }

/* ── Compare (before/after) ─────────────────────────────── */
.compare {
  --pos: 50%;
  position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #000;
  user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize;
}
.compare video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare .after { clip-path: inset(0 0 0 var(--pos)); }
.compare-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(0,0,0,.35); pointer-events: none; }
.compare-handle {
  position: absolute; top: 50%; left: var(--pos); width: 48px; height: 48px; margin: -24px 0 0 -24px;
  border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center;
  box-shadow: 0 6px 24px rgba(0,0,0,.35); cursor: grab; transition: transform .2s var(--ease);
}
.compare.dragging .compare-handle { transform: scale(.92); cursor: grabbing; }
.compare-handle svg { width: 22px; height: 22px; }
.compare-tag {
  position: absolute; top: 14px; z-index: 2; height: 28px; padding: 0 12px; border-radius: 999px;
  background: rgba(0,0,0,.45); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; display: inline-flex; align-items: center; pointer-events: none;
  transition: opacity .25s;
}
.compare-tag.left { left: 14px; }
.compare-tag.right { right: 14px; background: rgba(255,255,255,.88); color: #111; }
.compare-play {
  position: absolute; left: 14px; bottom: 14px; z-index: 3; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(0,0,0,.45); color: #fff; display: grid; place-items: center; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.compare-play svg { width: 14px; height: 14px; }
.compare-loading { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.7); font-size: 13px; pointer-events: none; transition: opacity .3s; }
.compare.ready .compare-loading { opacity: 0; }

.clips { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; padding: 4px; margin-inline: -4px; scrollbar-width: none; scroll-snap-type: x proximity; }
.clip {
  flex: 0 0 clamp(96px, 11vw, 150px); aspect-ratio: 16/9; border-radius: 9px; overflow: hidden; position: relative;
  opacity: .55; transition: opacity .25s, outline-color .25s; outline: 2px solid transparent; outline-offset: 2px; scroll-snap-align: start;
}
.clip img { width: 100%; height: 100%; object-fit: cover; }
.clip:hover { opacity: .85; }
.clip.active { opacity: 1; outline-color: currentColor; }
.clip span { position: absolute; left: 7px; bottom: 5px; font-size: 10.5px; font-weight: 600; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.6); }

/* ── Product page ───────────────────────────────────────── */
.crumbs { display: flex; gap: 8px; padding-top: 22px; color: var(--muted); font-size: 13px; }
.crumbs a:hover { color: var(--ink); }
.p-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 72px); padding-top: 22px; align-items: start; }
.gallery-stage { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.gallery-stage img, .gallery-stage video { width: 100%; height: 100%; object-fit: cover; }
.gallery-nav { position: absolute; inset: auto 12px 12px auto; display: flex; gap: 6px; z-index: 2; }
.gallery-nav button { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--ink); display: grid; place-items: center; font-size: 16px; backdrop-filter: blur(6px); }
.gallery-count { position: absolute; left: 12px; bottom: 12px; z-index: 2; height: 28px; padding: 0 11px; border-radius: 999px; background: rgba(0,0,0,.45); color: #fff; font-size: 12px; display: inline-flex; align-items: center; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding: 3px; margin-inline: -3px; scrollbar-width: none; }
.thumbs::-webkit-scrollbar, .clips::-webkit-scrollbar { display: none; }
.thumb { flex: 0 0 104px; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; position: relative; opacity: .5; transition: opacity .2s; outline: 1.5px solid transparent; outline-offset: 2px; background: var(--paper-2); }
.thumb.active { opacity: 1; outline-color: var(--ink); }
.thumb:hover { opacity: .9; }
.thumb img, .thumb video { width: 100%; height: 100%; object-fit: cover; }
.thumb .is-video { position: absolute; right: 5px; bottom: 5px; width: 18px; height: 18px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; display: grid; place-items: center; font-size: 8px; }

.p-info { position: sticky; top: calc(var(--header-h) + 20px); }
.p-cat { display: inline-flex; align-items: center; gap: 8px; }
.p-cat i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); display: inline-block; }
.p-info h1 { font-family: var(--display); font-weight: 500; font-size: clamp(38px, 4.1vw, 64px); line-height: .98; letter-spacing: -.035em; margin: 14px 0 16px; }
.p-sum { font-size: 17px; color: var(--ink-2); margin: 0 0 26px; max-width: 46ch; }
.p-price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.p-price .price { font-size: 40px; letter-spacing: -.02em; }
.p-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.p-note { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; font-size: 13px; color: var(--muted); }
.p-note span::before { content: '✓'; margin-right: 6px; color: var(--ink); }
.specs { margin: 30px 0 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.tags span { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }

.p-compare { padding-top: clamp(56px, 8vw, 110px); }
.p-compare-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.p-compare-head h2 { font-family: var(--display); font-weight: 500; font-size: clamp(36px, 4.6vw, 68px); letter-spacing: -.04em; line-height: .96; margin: 10px 0 0; }
.p-compare-head p { color: var(--ink-2); max-width: 380px; margin: 0; }

.p-desc { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 72px); padding-top: clamp(56px, 8vw, 110px); }
.p-desc-side h2 { font-family: var(--display); font-weight: 500; font-size: clamp(34px, 3.6vw, 54px); letter-spacing: -.035em; line-height: 1; margin: 10px 0 0; position: sticky; top: calc(var(--header-h) + 24px); }
.prose { font-size: 17px; line-height: 1.65; color: var(--ink-2); max-width: 760px; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose h2, .prose h3 { font-family: var(--display); font-weight: 500; color: var(--ink); letter-spacing: -.02em; line-height: 1.1; margin: 1.8em 0 .6em; }
.prose h2 { font-size: 30px; } .prose h3 { font-size: 24px; }
.prose h2 strong, .prose h3 strong { font-weight: 500; }
.prose ul { padding-left: 1.1em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; padding-left: .2em; }
.prose li::marker { color: var(--muted); }
.prose figure { margin: 1.6em 0; }
.prose figure img { width: 100%; border-radius: 12px; background: var(--paper-2); }
.prose .figcaption:empty { display: none; }

/* ── Cart drawer ────────────────────────────────────────── */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(18,18,17,.38); opacity: 0; pointer-events: none; transition: opacity .35s; }
.drawer {
  position: fixed; top: 10px; right: 10px; bottom: 10px; z-index: 61; width: min(440px, calc(100vw - 20px));
  background: var(--card); border-radius: 22px; display: flex; flex-direction: column;
  transform: translateX(calc(100% + 24px)); transition: transform .55s var(--ease);
  box-shadow: 0 30px 80px rgba(0,0,0,.22);
}
body.cart-open .scrim { opacity: 1; pointer-events: auto; }
body.cart-open .drawer { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 22px 16px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-family: var(--display); font-weight: 500; font-size: 30px; letter-spacing: -.02em; margin: 0; }
.drawer-head h2 sup { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-left: 4px; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); font-size: 16px; }
.icon-btn:hover { border-color: var(--ink); }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 22px; }
.line { display: grid; grid-template-columns: 96px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line-img { aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; background: var(--paper-2); }
.line-img img { width: 100%; height: 100%; object-fit: cover; }
.line h4 { margin: 0 0 3px; font-family: var(--display); font-weight: 500; font-size: 18px; line-height: 1.15; letter-spacing: -.01em; }
.line .label { font-size: 10.5px; }
.line-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.line-right .price { font-size: 18px; }
.line-remove { font-size: 12.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.line-remove:hover { color: var(--ink); }
.line.added h4::after { content: ' ✓'; color: #3E6A47; font-family: var(--sans); font-size: 14px; }
.empty { text-align: center; padding: 56px 12px; color: var(--muted); }
.empty p { font-family: var(--display); font-size: 26px; color: var(--ink); margin: 0 0 6px; letter-spacing: -.01em; }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); }
.total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.total .price { font-size: 30px; }
.fineprint { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; text-align: center; line-height: 1.45; }
.progress { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; margin-bottom: 12px; display: none; }
.progress i { display: block; height: 100%; width: 0; background: var(--ink); transition: width .5s var(--ease); }
.checking-out .progress { display: block; }

.toast {
  position: fixed; left: 50%; bottom: 22px; z-index: 70; transform: translate(-50%, 140%);
  background: var(--ink); color: var(--paper); padding: 12px 14px 12px 18px; border-radius: 999px; font-size: 14px;
  display: flex; gap: 14px; align-items: center; transition: transform .5s var(--ease); box-shadow: 0 18px 40px rgba(0,0,0,.25);
}
.toast.show { transform: translate(-50%, 0); }
.toast button { background: var(--paper); color: var(--ink); border-radius: 999px; height: 30px; padding: 0 12px; font-size: 13px; font-weight: 500; }

/* ── Footer ─────────────────────────────────────────────── */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; }
.about p.big { font-family: var(--display); font-weight: 500; font-size: clamp(28px, 3.1vw, 46px); line-height: 1.12; letter-spacing: -.025em; margin: 14px 0 0; }
.about p.big em { font-weight: 500; color: var(--muted); }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat { background: var(--card); border-radius: var(--radius); padding: 20px 18px; }
.stat b { display: block; font-family: var(--display); font-weight: 500; font-size: clamp(32px, 3.2vw, 48px); letter-spacing: -.03em; line-height: 1; }
.stat span { font-size: 13px; color: var(--ink-2); }

.site-footer { margin-top: clamp(48px, 7vw, 96px); border-top: 1px solid var(--line); overflow: hidden; }
.foot-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; padding-block: 36px 10px; font-size: 14px; }
.foot-cols h5 { margin: 0 0 12px; }
.foot-cols a { display: block; color: var(--ink-2); padding: 3px 0; }
.foot-cols a:hover { color: var(--ink); }
.foot-cols p { color: var(--ink-2); max-width: 34ch; margin: 0; }
.wordmark {
  font-family: var(--display); font-weight: 600; letter-spacing: -.065em; line-height: .78; white-space: nowrap;
  font-size: 23.4vw; margin: 10px 0 -2.6vw -.06em; color: var(--ink); user-select: none;
}
.foot-base { display: flex; justify-content: space-between; gap: 16px; padding-block: 16px 22px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .band-inner { grid-template-columns: minmax(0, 1fr); }
  .p-top { grid-template-columns: minmax(0, 1fr); }
  .p-info { position: static; }
  .p-desc { grid-template-columns: minmax(0, 1fr); }
  .p-desc-side h2 { position: static; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --header-h: 58px; }
  .site-header { grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .shelf { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; height: 330px; scrollbar-width: none; }
  .shelf::-webkit-scrollbar { display: none; }
  .shelf::after { display: none; }
  .spine { scroll-snap-align: center; }
  .spine { flex-shrink: 0; }
  .spine.open { flex-basis: 78vw; }
  .grid { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .specs div { grid-template-columns: 110px 1fr; }
  .p-actions { grid-template-columns: 1fr; }
  .compare-handle { width: 42px; height: 42px; margin: -21px 0 0 -21px; }
  .compare-tag { top: 10px; height: 24px; font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Keep the product-page comparison inside one screen on wide monitors. */
.p-compare .compare, .p-compare .clips { max-width: min(100%, calc((100vh - 190px) * 16 / 9)); margin-inline: auto; }
.p-compare .clips { margin-top: 14px; }

/* ───────────────── Light-gray glass theme ─────────────────
   Soft blurred color orbs sit behind the page (like the Deimos moodboard);
   panels on top are frosted glass so the color shows through. */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--paper); }
.ambient i {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform;
  animation: drift 26s ease-in-out infinite alternate;
}
.ambient i:nth-child(1) { width: 46vw; height: 46vw; left: -16vw; top: 18vh; background: radial-gradient(circle at 40% 40%, #2E3A2C, #7C9A6A 45%, #9DB7D6 75%); opacity: .5; }
.ambient i:nth-child(2) { width: 34vw; height: 34vw; right: -10vw; top: -8vh; background: radial-gradient(circle, #E9B9A4, #F1D6A8 60%); animation-duration: 32s; animation-delay: -8s; }
.ambient i:nth-child(3) { width: 30vw; height: 30vw; right: 8vw; bottom: -14vh; background: radial-gradient(circle, #9CC3E6, #C9B8E8 65%); animation-duration: 29s; animation-delay: -15s; opacity: .45; }
.ambient i:nth-child(4) { width: 22vw; height: 22vw; left: 34vw; bottom: 4vh; background: radial-gradient(circle, #E58A6B, #F2C3B2 70%); animation-duration: 35s; animation-delay: -4s; opacity: .28; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(6vw, -5vh, 0) scale(1.08); }
  100% { transform: translate3d(-4vw, 6vh, 0) scale(.94); }
}
/* Fine grain keeps the blur from banding */
.ambient::after {
  content: ''; position: absolute; inset: 0; opacity: .05; mix-blend-mode: multiply;
  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='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body { background: transparent; }

.glass, .nav, .chip, .card, .p-info, .stat, .add-btn, .btn-line, .tags span, .gallery-stage, .thumb {
  background: var(--glass);
  border: 1px solid var(--glass-edge);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
}
.nav { box-shadow: var(--glass-shadow); }
.site-header.scrolled .nav { background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.chip.active, .add-btn:hover, .add-btn.in-cart { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip:hover { border-color: #fff; background: var(--glass-strong); }
.btn-line:hover { background: var(--glass-strong); border-color: #fff; }
.cart-btn { background: rgba(17,17,18,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 8px 20px -10px rgba(0,0,0,.5); }

/* Product cards become frosted tiles */
.card { padding: 10px 10px 18px; border-radius: 24px; box-shadow: var(--glass-shadow); transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .3s; }
.card:hover { transform: translateY(-4px); background: var(--glass-strong); box-shadow: 0 1px 0 #fff inset, 0 24px 50px -20px rgba(30,30,40,.28); }
.card-media { border-radius: 16px; }
.card-body { padding: 16px 8px 0; }
.card-link { border-radius: 24px; }

/* Product page */
.gallery-stage { border-radius: 20px; padding: 0; overflow: hidden; }
.thumb { border-radius: 10px; }
.p-info { padding: clamp(20px, 2.2vw, 30px); border-radius: 26px; box-shadow: var(--glass-shadow); }
.specs { border-top-color: rgba(17,17,18,.07); }
.specs div { border-bottom-color: rgba(17,17,18,.07); }
.tags span { border-radius: 999px; }

/* Stats, drawer, toast */
.stat { border-radius: 20px; box-shadow: var(--glass-shadow); }
.drawer { background: rgba(248,248,248,.74); border: 1px solid var(--glass-edge); backdrop-filter: blur(30px) saturate(1.6); -webkit-backdrop-filter: blur(30px) saturate(1.6); }
.drawer-head, .drawer-foot, .line { border-color: rgba(17,17,18,.07); }
.scrim { background: rgba(230,230,232,.35); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.toast { background: rgba(17,17,18,.8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }

/* Dark band stays dark but lets the orbs glow through its edges */
.band { background: rgba(18,18,20,.9); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid rgba(255,255,255,.08); }
.band .btn { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* Shelf sits on a glass ledge */
.shelf::after { height: 10px; bottom: -10px; border-radius: 0 0 10px 10px; background: var(--glass); border: 1px solid var(--glass-edge); border-top-color: rgba(17,17,18,.12); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }

.site-footer { border-top: 1px solid var(--glass-edge); background: rgba(255,255,255,.28); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.foot-base { border-top-color: rgba(17,17,18,.07); }

@media (max-width: 760px) {
  .ambient i { filter: blur(60px); }
  .ambient i:nth-child(1) { width: 90vw; height: 90vw; left: -40vw; }
  .ambient i:nth-child(2) { width: 70vw; height: 70vw; }
  .site-header { margin-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) { .ambient i { animation: none; } }

/* ═══════════════ Round 3: avatar, hero type, licenses, showcases ═══════════════ */

/* Avatar next to the wordmark */
.brand-avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none;
  box-shadow: 0 0 0 1.5px rgba(255,255,255,.95), 0 2px 10px rgba(0,0,0,.18); }

/* Hero title: the PP Museum outlines from HERO TYPOGRAPHY-03.svg (1:1 with the 1920 px artboard). */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero h1.ht { max-width: none; margin: 0 auto; line-height: 0; }
.ht-svg { display: block; margin: 0 auto; overflow: visible; fill: var(--ink);
  width: min(92vw, max(63.4vw, 560px), 1320px); height: auto; }

/* Prices: "from" for tiers, struck regular price */
.card-side .price small { font-size: 12px; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.price s, .p-price .was { color: var(--muted); font-weight: 400; font-size: .62em; margin-left: 4px; }
.p-price .was { font-family: var(--display); font-size: 22px; }

/* Sales count: its own standout button */
.sales-pill {
  display: inline-flex; align-items: center; gap: 9px; margin: -2px 0 18px; padding: 9px 16px 9px 12px;
  border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; letter-spacing: -.005em;
  box-shadow: 0 10px 26px -10px rgba(17,17,18,.55), 0 0 0 4px rgba(255,255,255,.55);
  transition: transform .2s var(--ease);
}
.sales-pill:hover { transform: translateY(-1px); }
.sales-pill b { font-weight: 600; font-size: 16px; }
.sales-pill span { opacity: .55; font-size: 12px; }
.sales-pill i { width: 8px; height: 8px; border-radius: 50%; background: #3BD16F; box-shadow: 0 0 0 0 rgba(59,209,111,.6); animation: live 2s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(59,209,111,.55); } 70% { box-shadow: 0 0 0 9px rgba(59,209,111,0); } 100% { box-shadow: 0 0 0 0 rgba(59,209,111,0); } }

/* License picker */
.licenses { border: 0; padding: 0; margin: 4px 0 20px; display: grid; gap: 10px; }
.licenses legend { padding: 0; margin-bottom: 10px; }
.license { position: relative; display: grid; gap: 4px; padding: 14px 16px 14px 46px; border-radius: 18px; cursor: pointer;
  background: rgba(255,255,255,.45); border: 1px solid var(--line-strong); transition: border-color .2s, background .2s, box-shadow .2s; }
.license:hover { border-color: rgba(17,17,18,.4); }
.license input { position: absolute; opacity: 0; pointer-events: none; }
.license::before { content: ''; position: absolute; left: 16px; top: 17px; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--line-strong); background: #fff; transition: border .2s; }
.license:has(input:checked) { background: rgba(255,255,255,.9); border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink), 0 10px 24px -16px rgba(0,0,0,.4); }
.license:has(input:checked)::before { border: 5.5px solid var(--ink); }
.license:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.license-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.license-head b { font-weight: 500; font-size: 16px; }
.license-head .price { font-size: 19px; }
.license-desc { color: var(--ink-2); font-size: 13.5px; line-height: 1.45; }
.line-opt { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* SOONFILM: the product-page before/after sits in the same dark box as the homepage */
.p-compare.band { margin: clamp(48px, 7vw, 96px) 0 0; padding: clamp(22px, 4vw, 56px); }
.p-compare.band .p-compare-head p { color: rgba(237,235,228,.72); }
.p-compare.band .p-compare-head h2 em { color: rgba(237,235,228,.55); }
.p-compare.band .clips { color: #EDEBE4; }

/* Dark boxes shared by the showcases */
.band h2 em, .sm-head h2 em, .sm-section h2 em { font-style: italic; }
.band h2 em { color: rgba(237,235,228,.55); }
.cm-live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #ff3b30; margin-right: 8px; vertical-align: 1px; animation: live-red 1s steps(1) infinite; }
@keyframes live-red { 50% { opacity: .25; } }

/* ── Seight Motion showcase ── */
.sm-section { padding-top: clamp(64px, 9vw, 130px); }
.sm-head { text-align: center; max-width: 760px; margin: 0 auto clamp(26px, 4vw, 46px); }
.sm-head h2, .sm-section h2, .sm-lyric h2, .sm-ease h2 { font-family: var(--display); font-weight: 500; font-size: clamp(36px, 4.8vw, 70px); letter-spacing: -.04em; line-height: .98; margin: 12px 0 14px; }
.sm-head h2 em, .sm-section h2 em { color: var(--muted); }
.sm-head p { color: var(--ink-2); margin: 0; }
.sm-kin { margin: clamp(48px, 7vw, 96px) 0 0; padding: clamp(46px, 7vw, 96px) 20px; text-align: center; position: relative; overflow: hidden; }
.sm-kin::before { content: ''; position: absolute; inset: auto 10% -60% 10%; height: 90%; background: radial-gradient(closest-side, rgba(60,110,255,.35), transparent); filter: blur(30px); opacity: .5; transition: opacity 1.2s; }
.sm-kin:has(.kin.lit)::before { opacity: 1; }
.kin { position: relative; height: 1.5em; display: flex; align-items: center; justify-content: center; font-family: var(--display);
  font-size: clamp(30px, 6vw, 92px); font-weight: 500; letter-spacing: -.045em; line-height: 1; white-space: nowrap; }
.kin-line { display: flex; align-items: center; justify-content: center; gap: .24em; }
.kin .tk { display: inline-block; will-change: transform, opacity, filter; }
.kin .typed { font-style: italic; font-weight: 400; color: #dff2ff; }
.kin .caret { display: inline-block; width: .05em; height: .82em; margin-left: .05em; vertical-align: -.08em; background: #6aa8ff; animation: live-red 1s steps(1) infinite; }
.kin .gem { width: .3em; height: .3em; border-radius: .07em; transform: rotate(45deg); background: linear-gradient(135deg, #f2fbff, #4d8dff); box-shadow: 0 0 16px rgba(110,170,255,.95); }
.kin.lit .tk { text-shadow: 0 0 22px rgba(170,215,255,.55), 0 0 60px rgba(60,110,255,.45); }
.kin .kin-brand { display: flex; align-items: center; gap: .3em; }
.kin .kin-brand img { width: 1em; height: 1em; border-radius: .2em; }
.sm-kin-sub { position: relative; color: rgba(237,235,228,.72); max-width: 480px; margin: 22px auto 0; }
.sm-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sm-benefit { padding: 28px 26px 30px; border-radius: 24px; background: var(--glass); border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }
.sm-benefit b { font-family: var(--display); font-weight: 500; font-size: 52px; letter-spacing: -.05em; line-height: 1; color: #22305F; }
.sm-benefit h3 { font-weight: 500; font-size: 21px; letter-spacing: -.02em; margin: 16px 0 8px; }
.sm-benefit p { margin: 0; color: var(--ink-2); font-size: 15px; }
.sm-film { margin: clamp(48px, 7vw, 96px) 0 0; padding: clamp(14px, 2.4vw, 32px); text-align: center; }
.sm-video { position: relative; border-radius: 16px; overflow: hidden; background: #000; }
.sm-video video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.sm-cap { display: block; margin-top: 14px; }
.sm-try { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; padding: 16px; }
.sm-stage { position: relative; min-height: 340px; border-radius: 18px; background: #000; border: 1px solid rgba(255,255,255,.07); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.sm-words { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 .26em; padding: 0 8%; font-weight: 600; letter-spacing: -.035em; font-size: clamp(34px, min(5.4vw, 10vh), 78px); line-height: 1.05; color: #fff; }
.sm-words span { display: inline-block; will-change: transform, opacity, filter; }
.sm-preset { position: absolute; left: 16px; bottom: 14px; }
.sm-replay { position: absolute; right: 12px; bottom: 10px; font-size: 12.5px; color: rgba(237,235,228,.7); background: rgba(255,255,255,.08); border-radius: 999px; padding: 7px 13px; }
.sm-replay:hover { color: #fff; background: rgba(255,255,255,.14); }
.sm-side { display: flex; flex-direction: column; gap: 12px; }
.sm-field { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 16px; border-radius: 16px; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.1); }
.sm-field:focus-within { border-color: rgba(159,220,255,.6); box-shadow: 0 0 0 4px rgba(159,220,255,.12); }
.sm-field input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: #fff; font: 500 16px var(--sans); }
.sm-field input::placeholder { color: rgba(237,235,228,.4); }
.sm-field kbd { font: 500 11px var(--sans); color: rgba(237,235,228,.4); }
.sm-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; flex: 1; }
.sm-chip { border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); color: #EDEBE4; padding: 12px 6px; font-size: 13px; transition: background .2s, transform .3s var(--ease); }
.sm-chip:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
.sm-chip.on { background: #EDEBE4; color: var(--night); }
.sm-chip.glow { text-shadow: 0 0 10px rgba(255,255,255,.8); }
.sm-chip.glow.on { text-shadow: none; }
.sm-live { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.sm-live h2 { margin-top: 14px; }
.sm-live > div > p { color: var(--ink-2); max-width: 470px; }
.sm-list { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 10px; }
.sm-list li { padding-left: 26px; position: relative; color: var(--ink-2); }
.sm-list li::before { content: '✓'; position: absolute; left: 0; color: var(--ink); }
.sm-note { font-size: 13px; color: var(--muted) !important; }
.sm-win { border-radius: 20px; overflow: hidden; background: #04060f; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 40px 100px -30px rgba(20, 40, 140, .45), 0 24px 60px -20px rgba(0,0,0,.5); }
.sm-bar { height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); }
.sm-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.sm-bar i:nth-child(2) { background: #febc2e; }
.sm-bar i:nth-child(3) { background: #28c840; }
.sm-bar span { margin-left: 8px; font-size: 12.5px; color: rgba(237,235,228,.6); }
.sm-win iframe { display: block; width: 100%; border: 0; background: #04060f; color-scheme: dark; height: clamp(540px, calc(100svh - 200px), 700px); }
.sm-lyric { margin: clamp(64px, 9vw, 130px) 0 0; padding: clamp(32px, 6vw, 80px); }
.sm-lyric > p { color: rgba(237,235,228,.72); max-width: 480px; }
.sm-glow { text-shadow: 0 0 18px rgba(255,255,255,.6), 0 0 50px rgba(60,110,255,.6); }
.sm-lines { margin-top: clamp(24px, 4vw, 44px); }
.sm-lines p { font-size: clamp(28px, 4.8vw, 58px); font-weight: 600; letter-spacing: -.035em; line-height: 1.18; margin: 0 0 .18em; }
.sm-lines span { display: inline-block; color: rgba(255,255,255,.22); filter: blur(.6px); transition: color .5s, text-shadow .7s, filter .5s, transform .5s var(--ease); }
.sm-lines span.lit { color: #fff; filter: none; transform: translateY(-2px); text-shadow: 0 0 10px rgba(255,255,255,.75), 0 0 28px rgba(255,255,255,.35), 0 0 60px rgba(60,110,255,.45); }
.sm-lines p.past span { color: rgba(255,255,255,.5); text-shadow: none; transform: none; }
.sm-how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.sm-steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; counter-reset: s; }
.sm-steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 16px; padding: 16px 18px; border-radius: 20px;
  background: var(--glass); border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }
.sm-steps li::before { content: counter(s); grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 500; align-self: center; }
.sm-steps b { font-weight: 500; font-size: 18px; letter-spacing: -.02em; }
.sm-steps span { color: var(--ink-2); font-size: 14.5px; }
.sm-shot { border-radius: 22px; overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0,0,0,.45); border: 1px solid var(--glass-edge); }
.sm-shot img { display: block; width: 100%; }
.sm-ease { margin: clamp(64px, 9vw, 130px) 0 0; padding: clamp(26px, 4.4vw, 60px); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.sm-ease p { color: rgba(237,235,228,.72); }
.sm-ease svg { width: 100%; max-width: 420px; justify-self: center; font-family: var(--sans); }
.sm-dot { filter: drop-shadow(0 0 8px rgba(255,255,255,.8)); }
.sm-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.sm-tabs button { font-size: 13px; color: rgba(237,235,228,.7); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 999px; padding: 8px 14px; transition: background .2s, color .2s; }
.sm-tabs button:hover { color: #fff; background: rgba(255,255,255,.1); }
.sm-tabs button.on { background: #EDEBE4; color: var(--night); }
.sm-qa { max-width: 820px; margin: 0 auto; border-radius: 24px; padding: 6px 24px; background: var(--glass); border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }
.sm-qa details { border-bottom: 1px solid var(--line); }
.sm-qa details:last-child { border-bottom: 0; }
.sm-qa summary { cursor: pointer; list-style: none; padding: 20px 0; font-size: 17px; font-weight: 500; display: flex; justify-content: space-between; gap: 20px; }
.sm-qa summary::-webkit-details-marker { display: none; }
.sm-qa summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--muted); transition: transform .3s var(--ease); }
.sm-qa details[open] summary::after { transform: rotate(45deg); }
.sm-qa details p { margin: 0 0 20px; color: var(--ink-2); }
.sm-final { text-align: center; margin-top: clamp(48px, 7vw, 90px); }
.sm-final h3 { font-family: var(--display); font-weight: 500; font-size: clamp(30px, 3.6vw, 52px); letter-spacing: -.035em; margin: 0 0 20px; }
.sm-final-row { display: flex; gap: 14px; align-items: center; justify-content: center; flex-wrap: wrap; }

@media (max-width: 980px) {
  .sm-live, .sm-how, .sm-ease { grid-template-columns: minmax(0, 1fr); }
  .sm-win { max-width: 520px; width: 100%; margin-inline: auto; }
}
@media (max-width: 760px) {
  .sm-benefits { grid-template-columns: minmax(0, 1fr); }
  .sm-try { grid-template-columns: minmax(0, 1fr); padding: 12px; }
  .sm-stage { min-height: 240px; }
  .kin { font-size: clamp(26px, 8.6vw, 44px); white-space: normal; height: 2.6em; }
  .kin-line { flex-wrap: wrap; row-gap: .1em; max-width: 92vw; }
  .sm-kin, .sm-film, .sm-lyric, .sm-ease, .p-compare.band { margin-inline: 0; }
}
.p-compare.band { scroll-margin-top: calc(var(--header-h) + 18px); }
.p-compare.band .compare, .p-compare.band .clips { max-width: min(100%, calc((100vh - 330px) * 16 / 9)); }
.sm-kin p.sm-kin-sub { margin: 22px auto 0; max-width: 480px; }
.sm-head { max-width: 980px; }
.sm-lines p { max-width: none; }

/* Recent-purchase pop-up (real Gumroad sales, see recent-sales.js) */
.salepop {
  position: fixed; left: clamp(12px, 2vw, 24px); bottom: clamp(12px, 2vw, 24px); z-index: 35; max-width: min(360px, calc(100vw - 24px));
  border-radius: 20px; background: rgba(255,255,255,.72); border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow), 0 18px 40px -18px rgba(20,20,30,.35);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  opacity: 0; transform: translateY(14px) scale(.98); pointer-events: none;
  transition: opacity .7s var(--ease), transform .8s var(--ease);
}
.salepop.show { opacity: 1; transform: none; pointer-events: auto; }
.salepop-link { display: flex; gap: 12px; align-items: center; padding: 10px 38px 10px 10px; }
.salepop-link img { width: 54px; height: 54px; border-radius: 12px; object-fit: cover; flex: none; }
.salepop-text { display: grid; gap: 1px; min-width: 0; font-size: 13px; line-height: 1.35; }
.salepop-who { color: var(--ink-2); }
.salepop-what { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.salepop-what b { font-weight: 500; }
.salepop-when { color: var(--muted); font-size: 11.5px; }
.salepop-ok { color: #1F9D55; }
.salepop-x { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 50%; font-size: 11px; color: var(--muted); }
.salepop-x:hover { background: rgba(17,17,18,.07); color: var(--ink); }
@media (max-width: 760px) { .salepop-link img { width: 44px; height: 44px; } .salepop-text { font-size: 12.5px; } }
@media (prefers-reduced-motion: reduce) { .salepop { transform: none; transition: opacity .4s; } }

/* ── About this pack (product descriptions) ── */
.st { margin-top: clamp(56px, 8vw, 110px); padding: clamp(22px, 3.6vw, 48px); border-radius: 30px;
  background: var(--glass); border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); scroll-margin-top: calc(var(--header-h) + 18px); }
.st-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px 48px; align-items: end; }
.st-head h2 { font-family: var(--display); font-weight: 500; font-size: clamp(34px, 4.2vw, 62px); line-height: .98; letter-spacing: -.04em; margin: 12px 0 0; }
.st-head h2 em { font-style: italic; color: var(--muted); }
.st-head p { margin: 0; color: var(--ink-2); font-size: 17px; line-height: 1.55; }
.st-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: clamp(24px, 3vw, 38px) 0; }
.st-facts div { padding: 18px 18px 16px; border-radius: 20px; background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.9); display: grid; gap: 4px; }
.st-facts b { font-family: var(--display); font-weight: 500; font-size: clamp(30px, 3vw, 44px); letter-spacing: -.04em; line-height: 1; }
.st-facts span { color: var(--ink-2); font-size: 13.5px; }
.st-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(17,17,18,.06); margin-bottom: 18px; }
.st-tabs button { padding: 9px 18px; border-radius: 999px; font-size: 14px; color: var(--ink-2); transition: background .25s, color .25s, box-shadow .25s; }
.st-tabs button:hover { color: var(--ink); }
.st-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 2px 10px -4px rgba(0,0,0,.25); }
.st-tabs small { font-size: 11px; color: var(--muted); margin-left: 3px; }
.st-panel { animation: st-in .45s var(--ease); }
@keyframes st-in { from { opacity: 0; transform: translateY(6px); } }
.st-inside { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.st-inside li { position: relative; display: grid; gap: 4px; padding: 16px 18px 16px 50px; border-radius: 18px; background: rgba(255,255,255,.55); border: 1px solid var(--line); }
.st-inside li::before { content: '✓'; position: absolute; left: 16px; top: 15px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 11px; display: grid; place-items: center; }
.st-inside b { font-weight: 500; font-size: 16px; }
.st-inside span { color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.st-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; counter-reset: st; }
.st-steps li { counter-increment: st; padding: 18px; border-radius: 18px; background: rgba(255,255,255,.55); border: 1px solid var(--line); color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.st-steps li::before { content: counter(st, decimal-leading-zero); display: block; font-family: var(--display); font-size: 28px; letter-spacing: -.03em; color: var(--ink); margin-bottom: 10px; }
.st-tip { margin: 12px 0 0; padding: 14px 18px; border-radius: 16px; background: rgba(255,255,255,.7); color: var(--ink-2); font-size: 14.5px; }
.st-tip b { display: inline-block; margin-right: 10px; padding: 2px 9px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.st-apps { display: flex; flex-wrap: wrap; gap: 8px; }
.st-apps span { padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid var(--line); font-size: 14px; }
.st-specs { margin: 18px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.st-specs div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.st-specs dt { color: var(--muted); }
.st-specs dd { margin: 0; }
.st-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.st-shot { border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--paper-2); }
.st-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.st-shot:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(10,10,12,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  display: grid; place-items: center; padding: 56px 16px; animation: st-in .3s var(--ease); }
.lightbox img { max-width: min(1400px, 100%); max-height: 100%; border-radius: 12px; object-fit: contain; }
.lightbox button { position: absolute; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 16px; }
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lb-x { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; }
.lb-next { right: 14px; top: 50%; }
.lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: 13px; }
@media (max-width: 760px) {
  .st-head { grid-template-columns: minmax(0, 1fr); }
  .st-inside, .st-specs { grid-template-columns: minmax(0, 1fr); }
  .st-tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; border-radius: 16px; scrollbar-width: none; }
  .st-tabs button { white-space: nowrap; }
  .st-specs div { grid-template-columns: 110px 1fr; }
}
.salepop-media { position: relative; flex: none; }
.salepop-media i { position: absolute; right: -5px; bottom: -5px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: #fff; font-style: normal; font-size: 11.5px; font-weight: 500; box-shadow: 0 0 0 2.5px #fff; }
.salepop-who b { font-weight: 600; color: var(--ink); }
@media (max-width: 760px) { .st-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .st-facts div { padding: 14px; } }

/* ── CineMonitor: the Premiere Pro panel, live ── */
.cm2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 440px); gap: clamp(28px, 5vw, 80px); align-items: center;
  padding-top: clamp(56px, 8vw, 110px); scroll-margin-top: calc(var(--header-h) + 18px); }
.cm2 h2 { font-family: var(--display); font-weight: 500; font-size: clamp(36px, 4.6vw, 68px); letter-spacing: -.04em; line-height: .98; margin: 14px 0 16px; }
.cm2 h2 em { font-style: italic; color: var(--muted); }
.cm2-copy > p { color: var(--ink-2); max-width: 470px; margin: 0; }
.cm2-clips-label { display: block; margin: 26px 0 10px; }
.cm2-clips { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; max-width: 560px; }
.cm2-clip { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .2s, transform .3s var(--ease); }
.cm2-clip img { width: 100%; height: 100%; object-fit: cover; }
.cm2-clip span { position: absolute; left: 8px; bottom: 6px; font-size: 11px; font-weight: 500; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.7); }
.cm2-clip:hover { transform: translateY(-2px); }
.cm2-clip.active { outline-color: var(--ink); }

/* macOS window + Premiere panel tab */
.pp-win { border-radius: 14px; overflow: hidden; background: #1d1d1f; border: 1px solid rgba(0,0,0,.4);
  box-shadow: 0 40px 100px -30px rgba(20, 40, 140, .5), 0 24px 60px -20px rgba(0,0,0,.5); font-family: -apple-system, 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif; }
.pp-bar { height: 30px; display: flex; align-items: center; gap: 8px; padding: 0 12px; background: #ececec; }
.pp-bar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.pp-bar i:nth-child(2) { background: #febc2e; }
.pp-bar i:nth-child(3) { background: #28c840; }
.pp-tab { height: 34px; display: flex; align-items: center; gap: 12px; padding: 0 14px; background: #232325; color: #d8d8da; font-size: 13.5px; border-top: 2px solid #2d6cf0; }
.pp-tab b { font-weight: 400; color: #9a9a9e; }
.pp { position: relative; display: flex; flex-direction: column; height: clamp(600px, calc(100svh - 150px), 820px); color: #f5f5f7; font-size: 13px;
  background: radial-gradient(70% 40% at 50% 108%, rgba(77,141,255,.38), rgba(29,63,214,.18) 40%, transparent 72%),
              radial-gradient(60% 35% at -10% 30%, rgba(14,42,158,.35), transparent 70%), linear-gradient(#060a19, #04060f 60%, #071440); }
.pp-scroll { flex: 1; overflow-y: auto; padding: 0 16px 18px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent; }
.pp-head { display: flex; align-items: center; gap: 12px; padding: 16px 0 14px; }
.pp-head img { width: 44px; height: 44px; border-radius: 11px; background: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 6px 18px rgba(0,0,0,.45); }
.pp-head div { flex: 1; display: grid; }
.pp-head b { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.pp-head span { color: rgba(245,245,247,.62); font-size: 12.5px; }
.pp-reset { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #d8d8da; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.pp-reset svg { width: 16px; height: 16px; }
.pp-reset:hover { background: rgba(255,255,255,.12); }
.pp-stage-wrap { position: sticky; top: 0; z-index: 3; margin: 0 -16px; padding: 4px 16px 12px; background: rgba(4,7,20,.72);
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); box-shadow: 0 14px 18px -14px rgba(0,0,0,.9); }
.pp-preview { position: relative; height: clamp(230px, 34svh, 320px); border-radius: 16px; overflow: hidden; display: grid; place-items: center;
  background-color: #2a2a2e; background-image: conic-gradient(#232327 25%, #2e2e33 0 50%, #232327 0 75%, #2e2e33 0); background-size: 18px 18px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.pp-canvas-box { position: relative; transition: transform .45s var(--ease); box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.pp-canvas-box canvas { display: block; width: 100%; height: 100%; }
.pp-zoom { position: absolute; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px;
  background: rgba(10,14,30,.72); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pp-zoom button { width: 28px; height: 28px; border-radius: 50%; color: #e8e8ea; font-size: 17px; display: grid; place-items: center; }
.pp-zoom button:hover { background: rgba(255,255,255,.1); }
.pp-zoom output { min-width: 46px; text-align: center; font-size: 12.5px; color: #e8e8ea; font-variant-numeric: tabular-nums; }
.pp-autozoom { margin-left: 4px; border-left: 1px solid rgba(255,255,255,.14); border-radius: 50% !important; }
.pp-autozoom svg { width: 15px; height: 15px; }
.pp-autozoom.on { background: linear-gradient(180deg, #5aa2ff, #2d6cf0) !important; color: #fff; box-shadow: 0 0 12px rgba(77,141,255,.7); }
.pp-play { position: absolute; left: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 50%; color: #fff; display: grid; place-items: center;
  background: rgba(10,14,30,.72); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.pp-play::before { content: ''; width: 10px; height: 11px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; box-sizing: border-box; }
.pp-play.paused::before { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; margin-left: 3px; }
.pp-seq { display: flex; align-items: center; gap: 8px; width: max-content; max-width: 100%; margin: 10px auto 0; padding: 5px 14px; border-radius: 999px;
  background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); cursor: pointer; }
.pp-seq i { width: 8px; height: 8px; border-radius: 50%; background: #30d158; flex: none; }
.pp-seq select { appearance: none; -webkit-appearance: none; background: transparent; border: 0; color: rgba(245,245,247,.75); font: 12.5px -apple-system, 'Helvetica Neue', Arial, sans-serif; outline: none; cursor: pointer; max-width: 100%; text-overflow: ellipsis; }
.pp-seq select option { color: #111; }
.pp-sec { padding-top: 18px; }
.pp-title { display: block; color: rgba(245,245,247,.42); text-transform: uppercase; letter-spacing: .1em; font-size: 11px; font-weight: 600; margin: 0 0 10px 4px; }
.pp-layouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pp-layouts button { display: grid; gap: 8px; justify-items: center; padding: 8px 6px 10px; border-radius: 14px; color: rgba(245,245,247,.75); font-size: 12.5px;
  background: linear-gradient(160deg, rgba(255,255,255,.085), rgba(255,255,255,.025)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.11); transition: box-shadow .2s, color .2s; }
.pp-layouts button.on { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(159,220,255,.85), 0 0 18px rgba(77,141,255,.45); background: linear-gradient(180deg, rgba(159,220,255,.16), rgba(77,141,255,.08)); }
.pp-ico { position: relative; width: 100%; max-width: 104px; aspect-ratio: 16 / 10; background: #060608; border-radius: 6px; display: block; }
.pp-ico b { position: absolute; inset: 16% 9% 16%; border: 1.5px solid #f2e94e; }
.pp-ico em, .pp-ico s { position: absolute; left: 9%; right: 9%; height: 2px; }
.pp-ico em { top: 6%; background: linear-gradient(90deg, #fff 0 22%, transparent 22% 58%, #fff 58% 66%, transparent 66% 74%, #fff 74% 82%, transparent 82% 90%, #fff 90%); }
.pp-ico s { bottom: 6%; background: linear-gradient(90deg, #fff 0 22%, transparent 22% 40%, #ff3b30 40% 58%, transparent 58% 80%, #fff 80%); }
.pp-ico-viewfinder s { background: linear-gradient(90deg, #ff3b30 0 26%, transparent 26% 70%, #fff 70% 80%, transparent 80% 86%, #fff 86%); }
.pp-ico-viewfinder b::before, .pp-ico-viewfinder b::after { content: ''; position: absolute; }
.pp-ico-viewfinder b::before { left: 50%; top: -5px; bottom: -5px; width: 1px; background: linear-gradient(#fff 0 7px, transparent 7px calc(100% - 7px), #fff 0); }
.pp-ico-viewfinder b::after { top: 50%; left: -5px; right: -5px; height: 1px; background: linear-gradient(90deg, #fff 0 7px, transparent 7px calc(100% - 7px), #fff 0); }
.pp-ico-centered s { background: linear-gradient(90deg, #fff 0 18%, transparent 18% 38%, #ff3b30 38% 44%, #fff 44% 62%, transparent 62% 82%, #fff 82%); }
.pp-card { border-radius: 16px; padding: 6px 14px; background: linear-gradient(160deg, rgba(255,255,255,.085), rgba(255,255,255,.025));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.11), inset 0 1px 0 rgba(255,255,255,.1), 0 10px 28px rgba(0,0,0,.28); }
.pp-block { display: grid; gap: 10px; padding: 10px 0 12px; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 14px; }
.pp-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 46px; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 14px; }
.pp-card > :last-child { border-bottom: 0; }
.pp-seg { display: flex; padding: 3px; border-radius: 11px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.pp-seg button { flex: 1; padding: 7px 0; border-radius: 9px; color: rgba(245,245,247,.66); font-size: 13px; font-weight: 500; }
.pp-seg button:hover:not(.on) { background: rgba(255,255,255,.06); color: #fff; }
.pp-seg button.on { color: #fff; background: linear-gradient(180deg, rgba(159,220,255,.26), rgba(77,141,255,.16));
  box-shadow: inset 0 0 0 1px rgba(159,220,255,.55), inset 0 1px 0 rgba(255,255,255,.35), 0 0 14px rgba(77,141,255,.35); }
.pp-range { display: flex; align-items: center; gap: 10px; flex: 0 1 190px; }
.pp-range input { flex: 1; accent-color: #9fdcff; min-width: 0; }
.pp-range output { min-width: 42px; text-align: right; color: rgba(245,245,247,.55); font-size: 12px; font-variant-numeric: tabular-nums; }
.pp-switch { width: 44px; height: 26px; border-radius: 999px; background: rgba(255,255,255,.16); position: relative; transition: background .25s; flex: none; }
.pp-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.pp-switch.on { background: linear-gradient(180deg, #5aa2ff, #2d6cf0); box-shadow: 0 0 12px rgba(77,141,255,.55); }
.pp-switch.on::after { transform: translateX(18px); }
.pp-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 14px; }
.pp-card .pp-fields-1 { grid-template-columns: 1fr; padding: 10px 0 4px; border-bottom: 1px solid rgba(255,255,255,.07); }
.pp-field { display: grid; gap: 5px; }
.pp-field span { font-size: 10.5px; letter-spacing: .1em; color: rgba(245,245,247,.45); }
.pp input:not([type]), .pp-field select, .pp-select { width: 100%; height: 36px; border-radius: 10px; padding: 0 11px; background: rgba(0,0,0,.35); color: #fff;
  border: 1px solid rgba(255,255,255,.1); font: 500 13px 'Roboto Mono CM', ui-monospace, monospace; outline: none; }
.pp-field select, .pp-select { appearance: none; -webkit-appearance: none; font-family: -apple-system, 'Helvetica Neue', Arial, sans-serif; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23aaa' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 11px center; }
.pp-select { width: 160px; }
.pp input:not([type]):focus, .pp select:focus { border-color: rgba(159,220,255,.7); box-shadow: 0 0 0 3px rgba(77,141,255,.22); }
.pp-colors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.pp-color { display: grid; justify-items: center; gap: 5px; font-size: 11px; color: rgba(245,245,247,.6); cursor: pointer; }
.pp-color input { width: 100%; height: 30px; border-radius: 9px; border: 1px solid rgba(255,255,255,.14); padding: 2px; background: rgba(0,0,0,.35); cursor: pointer; }
.pp-color input::-webkit-color-swatch-wrapper { padding: 0; }
.pp-color input::-webkit-color-swatch { border: 0; border-radius: 6px; }
.pp-note { text-align: center; font-size: 11.5px; color: rgba(245,245,247,.4); margin: 16px 0 0; }
.pp-foot { padding: 12px 16px 16px; background: linear-gradient(transparent, rgba(4,6,15,.6) 30%); }
.pp-render { width: 100%; height: 54px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 12px; color: #fff; font-size: 16px; font-weight: 600;
  background: linear-gradient(180deg, rgba(40,58,110,.9), rgba(16,24,52,.95)); box-shadow: inset 0 0 0 1.5px rgba(159,220,255,.55), inset 0 1px 0 rgba(255,255,255,.3), 0 0 26px rgba(77,141,255,.35); transition: transform .2s var(--ease); }
.pp-render:hover { transform: translateY(-1px); }
.pp-render i { width: 11px; height: 11px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 10px rgba(255,59,48,.8); }
.pp-sheet { position: absolute; inset: 0; z-index: 6; display: grid; place-items: center; padding: 20px; background: rgba(2,4,12,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity .2s; }
.pp-sheet.on { opacity: 1; }
.pp-sheet-card { width: 100%; max-width: 320px; padding: 24px 20px 16px; border-radius: 20px; text-align: center; display: grid; gap: 10px;
  background: linear-gradient(160deg, rgba(40,48,80,.95), rgba(14,18,36,.96)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 30px 60px rgba(0,0,0,.5); }
.pp-sheet-card h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.pp-sheet-card p { margin: 0 0 6px; color: rgba(245,245,247,.66); font-size: 13.5px; line-height: 1.5; }
.pp-sheet-card .btn { justify-content: center; }
.pp-sheet-close { color: rgba(245,245,247,.6); font-size: 13px; padding: 8px; }
@media (max-width: 980px) {
  .cm2 { grid-template-columns: minmax(0, 1fr); }
  .pp-win { width: 100%; max-width: 460px; margin-inline: auto; }
}
.cm2-clips { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cm2-clip span { font-size: 10.5px; left: 6px; bottom: 4px; }
@media (max-width: 560px) { .cm2-clips { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Smaller hero title so the product shelf shows on the first screen */
.hero { padding-top: clamp(20px, 3vw, 44px); }
.hero-kicker { margin-bottom: clamp(14px, 1.6vw, 22px); }
.ht-svg { width: min(88vw, max(36vw, 340px), 720px); }
.hero-sub { margin-top: clamp(14px, 1.6vw, 22px); font-size: 16px; }
.shelf-wrap { margin-top: clamp(22px, 2.6vw, 40px); }
.shelf { height: clamp(280px, min(32vw, calc(100svh - 515px)), 460px); }
/* Seight Motion live panel: narrow and tall, like the docked panel in Premiere Pro */
.sm-live { grid-template-columns: minmax(0, 1fr) minmax(340px, 440px); }
.sm-win iframe { height: clamp(640px, calc(100svh - 150px), 840px); }
@media (max-width: 980px) { .sm-live { grid-template-columns: minmax(0, 1fr); } .sm-win { max-width: 440px; } }
/* The Render sheet must not cover the panel while hidden (display:grid would override [hidden]). */
.pp-sheet[hidden] { display: none; }
@media (max-height: 820px) { .pp-preview { height: clamp(190px, 28svh, 260px); } }

/* Background: navy blur + grain, from the reference (deep navy core fading to white). */
.ambient { background: #F3F4F7; }
.ambient i { filter: blur(70px); }
.ambient i:nth-child(1) { width: 52vw; height: 52vw; left: -22vw; top: 12vh; opacity: .62;
  background: radial-gradient(circle, #1C2A60 0%, #2B3B78 28%, rgba(74,92,150,.75) 52%, rgba(160,172,205,.35) 72%, transparent 82%); }
.ambient i:nth-child(2) { width: 40vw; height: 40vw; right: -14vw; top: -14vh; opacity: .5;
  background: radial-gradient(circle, #23336F 0%, #4A5C96 40%, rgba(170,180,210,.4) 68%, transparent 80%); }
.ambient i:nth-child(3) { width: 38vw; height: 38vw; right: 4vw; bottom: -20vh; opacity: .55;
  background: radial-gradient(circle, #1A275A 0%, #33447F 35%, rgba(120,136,184,.5) 60%, transparent 80%); }
.ambient i:nth-child(4) { width: 22vw; height: 22vw; left: 36vw; bottom: 2vh; opacity: .22;
  background: radial-gradient(circle, #2B3B78, rgba(150,162,200,.4) 60%, transparent 78%); }
.ambient::after { opacity: .11; mix-blend-mode: multiply; }
@media (max-width: 760px) { .ambient i { filter: blur(50px); } }
.ambient i:nth-child(1) { opacity: .88; }
.ambient i:nth-child(2) { opacity: .72; }
.ambient i:nth-child(3) { opacity: .8; }
.ambient i:nth-child(4) { opacity: .3; }
/* Keep the preview pinned only when the panel is tall enough; on shorter screens it scrolls away
   so it never sits on top of the controls. */
.pp-stage-wrap { position: relative; }
@media (min-height: 940px) { .pp-stage-wrap { position: sticky; } }
