/* ==========================================================================
   deck.html: the Deck studio in Tino. Round 4: the live product. Same build as movie.html.
   1 hero (light, the live Deck studio: Tino writes the takeaway)   2 talk it through,
   then step inside (white to black: the terrace goes first)   3 step inside: it looks
   before you present (dark)   4 Vibe and Pro: one window that morphs (dark)
   4.5 three cards (light)   5 features: Present, live (light)   6 close.
   Page classes are dk-. Windows and slides are the UI kit (css/ui.css). Slide paper
   and ink belong to the user's deck, not to the site.
   ========================================================================== */

body { background: var(--surface); }

/* ------------------------------------------------------------ Shared bits */
.dk-kicker { font-size: var(--t-19); line-height: 1.2; font-weight: var(--w-semibold); letter-spacing: -0.012em; color: var(--ink-3); }
.studio .dk-kicker { color: var(--studio-text-3); }
.dk-head > * + * { margin-top: 10px; }
.dk-head-center { text-align: center; margin-inline: auto; }
.dk-h3 { font-size: var(--t-24); line-height: var(--lh-24); letter-spacing: var(--tr-24); font-weight: var(--w-semibold); }
.dk-h4 { font-size: var(--t-19); line-height: 1.3; letter-spacing: -0.014em; font-weight: var(--w-semibold); }
.dk-p { margin-top: 8px; color: var(--ink-3); font-size: var(--t-17); line-height: var(--lh-17); text-wrap: pretty; }
.studio .dk-p { color: var(--studio-text-2); }
@media (max-width: 733px) { .dk-br { display: none; } }
.dk-shot-cap { display: flex; justify-content: center; margin-top: 22px; font-size: var(--t-14); line-height: var(--lh-14); color: var(--ink-3); text-align: center; text-wrap: balance; }
.dk-stage-cap i { font-style: italic; }

/* ------------------------------------------------------------------- Hero */
.dk-hero { padding-top: clamp(48px, 6vw, 80px); padding-bottom: calc(var(--section-y) * 1.1); }
.dk-hero-copy { text-align: center; }
.dk-eyebrow { font-size: var(--t-24); line-height: 1.2; font-weight: var(--w-semibold); letter-spacing: -0.02em; color: var(--ink); }
.dk-h1 { margin-top: 14px; }
.dk-sub { max-width: 34em; margin: 22px auto 0; font-size: var(--t-19); line-height: var(--lh-19); letter-spacing: var(--tr-19); color: var(--ink-2); text-wrap: balance; }
.dk-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; margin-top: 34px; }
.dk-actions .btn-link { font-size: var(--t-17); }
.dk-free { margin-top: 16px; font-size: var(--t-14); color: var(--ink-3); }
.dk-hero-shot { width: 100%; max-width: calc(1280px + var(--gutter) * 2); margin: clamp(48px, 6vw, 80px) auto 0; padding-inline: var(--gutter); }
.dk-hero-ui { box-shadow: 0 0 0 0.5px rgba(0,0,0,0.5), 0 40px 100px -20px rgba(17,17,20,0.36), 0 12px 32px rgba(17,17,20,0.14); }
@media (max-width: 733px) {
  .dk-actions { flex-direction: column; gap: 18px; }
  .dk-eyebrow { font-size: 19px; }
  .dk-sub { margin-top: 16px; }
}

/* ===================================== 2. Talk it through, then step inside */
.dk-step { position: relative; }
.dk-starts { position: relative; isolation: isolate; padding-top: var(--section-y); padding-bottom: calc(var(--section-y) * 0.9); }
.dk-starts::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--studio-ground); opacity: 0; transition: opacity 700ms var(--ease); }
.dk-starts .dk-head { max-width: 760px; }
.dk-starts .dk-kicker, .dk-starts h2, .dk-starts .dk-p, .dk-stage-cap { transition: color 700ms var(--ease); }
.dk-starts-p { max-width: 34em; margin-inline: auto; font-size: var(--t-19); line-height: var(--lh-19); letter-spacing: var(--tr-19); }
.dk-step.is-inside .dk-starts::before { opacity: 1; }
.dk-step.is-inside .dk-starts h2 { color: var(--studio-text); }
.dk-step.is-inside .dk-starts .dk-kicker { color: var(--studio-text-3); }
.dk-step.is-inside .dk-starts .dk-p { color: var(--studio-text-2); }
.dk-step.is-inside .dk-stage-cap { color: var(--studio-text-3); }
.dk-step .studio-band { padding-inline: 0; }
.dk-step .studio { border-radius: 0; max-width: none; }
.dk-helps-band .studio { padding-top: calc(var(--band-y) * 0.6); }
.dk-modes-band .studio { padding-top: 0; }

.dk-stage { max-width: 1280px; margin: clamp(40px, 5vw, 64px) auto 0; }
/* The two windows share one grid cell, so the swap never changes layout: the
   cell is as tall as the taller window (the light one on phones, its feed held
   at its first height by deck.js) and the studio sits centred in it. */
.dk-swap { display: grid; align-items: center; }
.dk-swap > .ui { grid-area: 1 / 1; min-width: 0; transition: opacity 520ms var(--ease), transform 700ms cubic-bezier(.32,.72,0,1); }
.dk-swap > .dk-light { box-shadow: 0 0 0 0.5px rgba(17,17,20,0.16), 0 40px 100px -24px rgba(17,17,20,0.24), 0 10px 28px rgba(17,17,20,0.08); }
.dk-swap > .dk-dark { opacity: 0; transform: scale(.985); pointer-events: none; }
.dk-step.is-inside .dk-swap > .dk-light { opacity: 0; transform: scale(1.015); pointer-events: none; }
.dk-step.is-inside .dk-swap > .dk-dark { opacity: 1; transform: none; }
.dk-step.is-settled .dk-swap > .dk-light { visibility: hidden; }
/* Phones: the conversation keeps its first height and scrolls inside (js keeps the newest in view). */
@media (max-width: 733px) {
  .dk-light .tw-convo {
    height: var(--dk-feed-h, auto); overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 20px); mask-image: linear-gradient(to bottom, transparent 0, #000 20px);
  }
}
.dk-stage-cap { position: relative; display: grid; justify-items: center; margin-top: 22px; font-size: var(--t-14); line-height: var(--lh-14); color: var(--ink-3); text-align: center; text-wrap: balance; }
.dk-stage-cap::after { content: ""; grid-area: 2 / 1; height: 38px; } /* the Replay row, held so it never shifts the page */
.dk-stage-cap > span { grid-area: 1 / 1; transition: opacity 400ms var(--ease); }
.dk-cap-dark { opacity: 0; }
.dk-step.is-inside .dk-cap-light { opacity: 0; }
.dk-step.is-inside .dk-cap-dark { opacity: 1; }
.dk-replay { grid-area: 2 / 1; margin-top: 10px; padding: 4px 10px; border: 0; border-radius: var(--r-pill); background: none; color: inherit; font: inherit; font-weight: var(--w-medium); cursor: pointer; }
.dk-replay:hover { color: var(--studio-text); }
.dk-replay:focus-visible { outline: none; box-shadow: var(--focus-ring-dark); }
/* The terrace row moves up (deck.js sets --y on each row of the live slide) */
#dks-slide .sl-in > div { transition: transform 640ms cubic-bezier(.32,.72,0,1); transform: translateY(var(--y, 0px)); }
@media (max-width: 733px) { .dk-starts { padding-top: calc(var(--section-y) * 0.7); } }

/* ======================================================= 3. Step inside */
.dk-helps .dk-head { max-width: 820px; }
.dk-helps .dk-head { max-width: 820px; }
.dk-look { margin-top: clamp(40px, 5vw, 64px); }

/* The live scene: a crop of the studio in Pro mode. Rail, slide, Tino panel. */
.dk-scene {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 300px;
  grid-template-rows: 52px auto;
  border-radius: 14px; background: #0E0E10; color: var(--studio-text);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.10), 0 40px 90px rgba(0,0,0,0.5);
  overflow: visible;
}
.dk-scene-bar { grid-column: 1 / 3; display: flex; align-items: center; gap: 14px; padding-left: 16px; min-width: 0; }
.dk-lights { display: inline-flex; gap: 8px; }
.dk-lights i { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.18); }
.dk-lights i:nth-child(2) { background: #FEBC2E; }
.dk-lights i:nth-child(3) { background: #28C840; }
.dk-seg {
  display: inline-flex; padding: 2px; border-radius: 16px; margin-left: 8px;
  background: rgba(255,255,255,0.075); box-shadow: inset 0 0 0 0.5px rgba(255,255,255,0.10);
  font-size: 13px; line-height: 1;
}
.dk-seg span { padding: 7px 11px; border-radius: 14px; color: var(--studio-text-2); }
.dk-seg .is-on { background: rgba(255,255,255,0.14); color: var(--studio-text); font-weight: var(--w-semibold); }
.dk-scene-title { font-size: 13px; font-weight: var(--w-semibold); letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dk-scene-title em { font-style: normal; font-weight: var(--w-regular); color: var(--studio-text-3); margin-left: 6px; font-size: 12px; }

/* Slide rail: tiny slides, drawn in CSS. The user's selection is white. */
.dk-rail {
  grid-column: 1; grid-row: 2;
  display: flex; flex-direction: column; gap: 14px; padding: 8px 14px 28px 12px;
  background: var(--studio-ground); box-shadow: inset -1px 0 0 var(--studio-line-2), inset 0 1px 0 var(--studio-line);
  border-radius: 0 0 0 14px;
}
.dk-thumb { position: relative; margin-left: 16px; aspect-ratio: 16 / 9; border-radius: 3px; background: #FFFFFF; box-shadow: 0 0 0 0.5px rgba(255,255,255,0.12), 0 1px 4px rgba(0,0,0,0.4); }
.dk-thumb .n { position: absolute; right: calc(100% + 7px); top: 0; font-size: 10.5px; line-height: 12px; color: var(--studio-text-3); font-variant-numeric: tabular-nums; }
.dk-thumb.is-on { box-shadow: 0 0 0 3px #0E0E10, 0 0 0 5px rgba(255,255,255,0.88); }
.dk-thumb.is-on .n { color: var(--studio-text); font-weight: var(--w-semibold); }
.dk-thumb i { position: absolute; inset: 0; border-radius: 3px; overflow: hidden; }
.dk-thumb i::before, .dk-thumb i::after { content: ""; position: absolute; }
/* materials */
.t-sw::before { left: 7%; top: 14%; width: 40%; height: 6%; background: #1C1E22; border-radius: 1px; }
.t-sw::after { left: 7%; top: 34%; width: 86%; height: 42%; background: linear-gradient(90deg, #ECE6DC 0 22%, transparent 22% 26%, #D7C9B1 26% 48%, transparent 48% 52%, #A47E57 52% 74%, transparent 74% 78%, #6B5A43 78%); }
/* photo half */
.t-ph::before { left: 0; top: 0; bottom: 0; width: 50%; background: url(../img/films/casa-lume.webp) 34% 100% / auto 150% no-repeat #2a2420; }
.t-ph::after { left: 56%; top: 16%; width: 34%; height: 14%; background: repeating-linear-gradient(180deg, #1C1E22 0 38%, transparent 38% 62%); }
/* the rooms table */
.t-tb::before { left: 7%; top: 14%; width: 46%; height: 6%; background: #1C1E22; border-radius: 1px; }
.t-tb::after { left: 7%; right: 7%; top: 34%; height: 46%; background: repeating-linear-gradient(180deg, transparent 0 80%, #DAD6CF 80% 100%); background-size: 100% 20%; }
/* water, a dark slide */
.t-dk { background: #1D2433; }
.t-dk::before { left: 7%; top: 14%; width: 52%; height: 6%; background: #F2EFEA; border-radius: 1px; }
.t-dk::after { left: 7%; right: 7%; top: 52%; height: 1.5%; background: #3F5277; }
/* timeline */
.t-tl::before { left: 7%; top: 14%; width: 44%; height: 6%; background: #1C1E22; border-radius: 1px; }
.t-tl::after { left: 7%; right: 7%; top: 60%; height: 1.5%; background: #1C1E22; }

/* Stage */
.dk-stage-in {
  grid-column: 2; grid-row: 2; position: relative;
  padding: 8px clamp(20px, 3.4vw, 44px) clamp(28px, 3.6vw, 44px);
}

/* The slide. Sized in container units, so it is the same slide at any width. */
.dk-slide {
  position: relative; aspect-ratio: 16 / 9; container-type: inline-size;
  background: #FFFFFF; color: #1C1E22; overflow: hidden;
  box-shadow: 0 0 0 0.5px rgba(255,255,255,0.10), 0 18px 48px rgba(0,0,0,0.55);
  font-family: var(--font);
}
.dk-slide > p, .dk-slide > div { position: absolute; left: 6.25cqw; right: 6.25cqw; }
.dk-s-eyebrow { top: 5cqw; font-size: 1.3cqw; line-height: 1; letter-spacing: 0.08em; text-transform: uppercase; font-weight: var(--w-medium); color: #6A6E77; }
.dk-s-title {
  top: 7.6cqw; display: grid; justify-items: start; align-items: start;
  font-size: 4.2cqw; line-height: 1.1; letter-spacing: -0.03em; font-weight: var(--w-semibold); color: #1C1E22;
}
.dk-s-title > span { grid-area: 1 / 1; transition: opacity 420ms var(--ease); }
.dk-t-before { max-width: 76cqw; }
.dk-t-after { opacity: 0; }
.dk-s-title.is-tino-done .dk-t-before { opacity: 0; }
.dk-s-title.is-tino-done .dk-t-after { opacity: 1; }
.dk-t-after[data-tino-line]::after { transition-delay: 240ms; }
.dk-stop-caret { position: absolute; left: 0; top: 0.12em; height: 0.92em; width: 0; }
.dk-stop-look { position: absolute; left: 62%; top: 90%; width: 0; height: 0; z-index: 2; }

.dk-s-table {
  top: 23cqw;
  transition: transform 640ms var(--ease-in-out);
}
.dk-slide.is-tino-done .dk-s-table { transform: translateY(-4.62cqw); transition-delay: 160ms; }
.dk-s-table p {
  display: flex; justify-content: space-between; align-items: center;
  height: 6cqw; font-size: 1.9cqw; letter-spacing: -0.01em;
  box-shadow: inset 0 -0.16cqw 0 #E7E4DF;
}
.dk-s-table p span + span { color: #6A6E77; font-variant-numeric: tabular-nums; }
.dk-s-foot {
  top: 52.4cqw; display: flex; justify-content: space-between;
  font-size: 1.15cqw; line-height: 1; letter-spacing: 0.02em; color: #6A6E77;
}

/* Panel */
.dk-scene-panel {
  grid-column: 3; grid-row: 1 / 3;
  position: relative; display: flex; flex-direction: column;
  background: var(--studio-panel); box-shadow: inset 1px 0 0 var(--studio-line-2);
  border-radius: 0 14px 14px 0; min-width: 0;
}
.dk-panel-head { display: flex; align-items: center; height: 52px; padding: 0 20px; border-bottom: 1px solid var(--studio-line); }
.dk-home { height: 19px; color: var(--studio-text); }
.dk-panel-body { flex: 1; padding: 22px 18px 0; font-size: 13px; line-height: 19px; }
.dk-msg-you {
  margin-left: auto; width: max-content; max-width: 88%;
  padding: 9px 13px; border-radius: 16px 16px 6px 16px;
  background: var(--studio-raised); color: var(--studio-text);
}
.dk-msg-tino { position: relative; margin-top: 18px; min-height: 100px; }
.dk-msg-name { font-size: 12px; font-weight: var(--w-semibold); margin-bottom: 4px; }
.dk-reply-wait, .dk-reply-done { transition: opacity 320ms var(--ease); }
.dk-reply-wait { color: var(--studio-text-3); position: absolute; top: 23px; left: 0; }
.dk-reply-done { color: var(--studio-text); opacity: 0; }
.dk-msg-tino.is-tino-done .dk-reply-wait { opacity: 0; }
.dk-msg-tino.is-tino-done .dk-reply-done { opacity: 0.94; transition-delay: 200ms; }

.dk-change {
  position: relative; display: flex; align-items: center; gap: 8px;
  margin-top: 16px; height: 38px; padding: 0 14px 0 16px;
  border-radius: 12px; background: rgba(255,255,255,0.035); box-shadow: inset 0 0 0 1px var(--studio-line);
  font-size: 12.5px; white-space: nowrap;
  opacity: 0; transform: translateY(6px);
  transition: opacity 320ms var(--ease), transform 420ms var(--ease-out);
}
.dk-change.is-tino-done { opacity: 1; transform: none; transition-delay: 360ms; }
.dk-change b { font-weight: var(--w-semibold); }
.dk-change span { color: var(--studio-text-2); overflow: hidden; text-overflow: ellipsis; }
.dk-change em { margin-left: auto; font-style: normal; font-weight: var(--w-medium); }
.dk-change[data-tino-line]::after { transition-delay: 520ms; }
.dk-panel-ask {
  margin: 16px; padding: 12px 14px 40px; border-radius: 14px;
  background: rgba(255,255,255,0.05); box-shadow: inset 0 0 0 1px var(--studio-line-2);
  font-size: 13px; color: var(--studio-text-3);
}

/* Copy under the scene: the claim; the labels in the scene carry the grammar */
.dk-look-copy {
  display: grid; grid-template-columns: minmax(0, 1fr);
  margin-top: 36px;
}
.dk-look-copy .dk-p { max-width: 31em; }


/* Three cards on the light ground: explanations, so not dark (dark means inside a studio) */
.dk-more { padding-top: var(--section-y); background: var(--surface); }
.dk-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dk-card { min-width: 0; }
.dk-mini {
  position: relative; height: 240px; margin-bottom: 24px; padding: 22px;
  border-radius: var(--r-lg); background: var(--surface-2);
  overflow: hidden; display: flex; flex-direction: column; justify-content: center;
}
.dk-ask { padding: 14px; border-radius: 14px; background: var(--surface); box-shadow: 0 0 0 0.5px rgba(17,17,20,0.10), 0 2px 8px rgba(17,17,20,0.05); }
.dk-ask-text { font-size: 14px; line-height: 20px; color: var(--ink); }
.dk-caret { display: inline-block; width: 1.5px; height: 16px; margin-left: 2px; vertical-align: -3px; background: var(--ink); animation: dk-blink 1.1s steps(1) infinite; }
@keyframes dk-blink { 50% { opacity: 0; } }
.dk-outline { margin: 14px 4px 0; font-size: 13.5px; line-height: 20px; color: var(--ink-2); }
.dk-outline li { display: flex; gap: 14px; padding: 6px 0; box-shadow: inset 0 -1px 0 var(--line); }
.dk-outline .mono { flex: none; width: 18px; font-size: 12px; color: var(--ink-3); }
.dk-outline .dk-outline-more { box-shadow: none; padding-left: 32px; color: var(--ink-3); font-size: 13px; }
.dk-mini-note { align-items: flex-start; }
.dk-note-slide { position: relative; width: 74%; }
.dk-note-slide > .sl { border-radius: 6px; box-shadow: 0 0 0 0.5px rgba(17,17,20,0.12), 0 12px 30px rgba(17,17,20,0.14); }
.dk-ns-pin { position: absolute; left: 30%; top: 72%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px var(--surface), 0 4px 12px rgba(17,17,20,0.3); }
.dk-ns-note {
  position: absolute; left: calc(30% + 14px); top: calc(72% + 12px); width: max-content; max-width: 170px;
  padding: 8px 11px 9px; border-radius: 10px; background: var(--surface); box-shadow: 0 0 0 0.5px rgba(17,17,20,0.12), 0 10px 30px rgba(17,17,20,0.16);
  font-size: 12px; line-height: 16px; color: var(--ink);
}
.dk-ns-note b { display: block; margin-bottom: 1px; font-size: 10.5px; font-weight: var(--w-semibold); color: var(--ink-3); }
.dk-mini-data { justify-content: flex-start; gap: 12px; }
.dk-file { display: flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 11px 6px 9px; border-radius: 10px; background: var(--surface); box-shadow: 0 0 0 0.5px rgba(17,17,20,0.10); font-size: 12.5px; line-height: 16px; color: var(--ink); }
.dk-file svg { width: 16px; height: 16px; flex: none; color: var(--ink-3); }
.dk-file .mono { margin-left: 4px; font-size: 11px; color: var(--ink-3); }
.dk-chart-sl .sl { border-radius: 6px; box-shadow: 0 0 0 0.5px rgba(17,17,20,0.12), 0 12px 30px rgba(17,17,20,0.14); }

/* ========================================== 4. Vibe and Pro: one window */
.dk-modes .dk-head { max-width: 760px; }
.dk-switch { position: relative; display: flex; width: max-content; margin: 36px auto 0; padding: 3px; border-radius: var(--r-pill); background: var(--studio-raised); box-shadow: inset 0 0 0 0.5px var(--studio-line-2); }
.dk-switch button { position: relative; z-index: 1; width: 88px; height: 34px; border: 0; border-radius: var(--r-pill); background: none; color: var(--studio-text-2); font-size: 15px; font-weight: var(--w-medium); letter-spacing: -0.01em; cursor: pointer; transition: color var(--d-2) var(--ease); }
.dk-switch button[aria-selected="true"] { color: var(--studio-text); }
.dk-switch button:focus-visible { outline: none; box-shadow: var(--focus-ring-dark); }
.dk-switch-plate { position: absolute; top: 3px; left: 3px; width: 88px; height: 34px; border-radius: var(--r-pill); background: rgba(255,255,255,0.16); box-shadow: inset 0 0.5px 0 rgba(255,255,255,0.12); transition: transform var(--d-3) var(--ease-spring); }
.dk-switch[data-mode="pro"] .dk-switch-plate { transform: translateX(88px); }
.dk-modes-stage { max-width: 1180px; margin: 40px auto 0; }
.dk-vp-ui { box-shadow: 0 0 0 1px rgba(255,255,255,0.12), 0 40px 90px rgba(0,0,0,0.5); }
/* The window is as tall as its mode needs (board px): Vibe ends 32px under
   the slide strip (814 + 32), Pro is the full 1000 with the builds. The frame
   and the Tino panel follow --dk-h, which eases between the two on the
   switch's curve. Without @property it simply snaps. */
@property --dk-h { syntax: '<number>'; inherits: true; initial-value: 1000; }
.ui.dk-vp-ui {
  --dk-h: 1000;
  aspect-ratio: var(--cw) / calc(var(--dk-h) - var(--cy));
  transition: --dk-h 640ms cubic-bezier(.32,.72,0,1);
}
.ui.dk-vp-ui:has(> .dk-vp.is-vibe) { --dk-h: 846; }
.dk-vp .ts-panel { height: calc(var(--dk-h) * 1px); }
.dk-vp { --dk-ease: cubic-bezier(.32,.72,0,1); }
.dk-vp .ts-viewer { height: 1000px; background: transparent; z-index: 2; pointer-events: none; }
.dk-vp .ts-frame { transform-origin: 0 0; transition: transform 640ms var(--dk-ease); will-change: transform; overflow: hidden; }
.dk-vp .ts-insp, .dk-vp .ts-lower, .dk-vp .ts-rail, .dk-vp .dk-vp-pro-only { transition: opacity 380ms var(--ease), transform 640ms var(--dk-ease); }
/* Vibe: the slide (624 x 351 at 208,151) grows to 1040 x 585 at 80,90 */
.dk-vp.is-vibe .ts-frame { transform: translate(-128px, -61px) scale(1.66667); }
.dk-vp.is-vibe .ts-insp { opacity: 0; transform: translateX(40px); }
.dk-vp.is-vibe .ts-lower { opacity: 0; transform: translateY(60px); }
.dk-vp.is-vibe .ts-rail { opacity: 0; transform: translateX(-60px); }
.dk-vp.is-vibe .dk-vp-pro-only { opacity: 0; }
.dk-vp-mode > span { transition: background-color 240ms var(--ease), color 240ms var(--ease); color: var(--ts-t2); }
.dk-vp.is-vibe .dk-m-vibe, .dk-vp:not(.is-vibe) .dk-m-pro { background: var(--ts-plate); color: var(--ts-t1); font-weight: 600; }
.dk-vp-pin, .dk-vp-note, .dk-vp-line { position: absolute; z-index: 3; transition: opacity 320ms var(--ease); }
.dk-vp-pin { width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #1E2230; box-shadow: 0 0 0 2px #fff, 0 3px 8px rgba(0,0,0,0.3); }
.dk-vp-note { transform: translateX(-100%); width: max-content; max-width: 150px; padding: 4px 7px 5px; border-radius: 6px; background: rgba(28,28,31,0.94); box-shadow: 0 6px 18px rgba(0,0,0,0.35); font-size: 8px; line-height: 11px; color: var(--ts-t1); }
.dk-vp-note b { display: block; font-size: 7px; font-weight: 600; color: var(--ts-t2); }
.dk-vp-line { height: 1.2px; border-radius: 1px; background: var(--pink); }
.dk-vp:not(.is-vibe) .dk-vp-pin, .dk-vp:not(.is-vibe) .dk-vp-note { opacity: 0; }
.dk-vp:not(.is-vibe) .dk-vp-line { height: 2px; }
.dk-vp-strip { position: absolute; left: 110px; top: 726px; width: 980px; display: flex; gap: 16px; z-index: 2; transition: opacity 380ms var(--ease) 200ms, transform 640ms var(--dk-ease); }
.dk-vp-strip .sl { flex: 1; border-radius: 4px; box-shadow: 0 0 0 0.5px rgba(255,255,255,0.14); }
.dk-vp-strip .sl.is-on { box-shadow: 0 0 0 2px var(--ts-t1), 0 0 0 4px var(--ts-well); }
.dk-vp:not(.is-vibe) .dk-vp-strip { opacity: 0; transform: translateY(40px); transition-delay: 0ms; }
.dk-modes-copy { display: grid; max-width: 560px; margin: 36px auto 0; text-align: center; }
.dk-mode-text { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 320ms var(--ease), transform 420ms var(--ease-out), visibility 0s linear 320ms; }
.dk-mode-text.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 320ms var(--ease) 80ms, transform 420ms var(--ease-out) 80ms, visibility 0s; }

/* ================================================ 5. Features: Present */
.dk-features { padding-top: var(--section-y); background: var(--surface); }
.dk-features-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.dk-present-shot { max-width: 1120px; margin: 0 auto; }
.dk-pres-ui { box-shadow: 0 0 0 0.5px rgba(0,0,0,0.5), 0 40px 100px -20px rgba(17,17,20,0.36), 0 12px 32px rgba(17,17,20,0.14); }
.dk-pres { background: #0E0E10; color: #F5F5F7; font-family: var(--font); }
.dk-pres-top { position: absolute; left: 32px; right: 32px; top: 0; height: 64px; display: flex; align-items: center; font-size: 15px; color: #A8A8B0; }
.dk-pres-doc { font-weight: 600; color: #F5F5F7; }
.dk-pres-pos { position: absolute; left: 0; right: 0; text-align: center; pointer-events: none; font-variant-numeric: tabular-nums; }
.dk-pres-end { margin-left: auto; height: 32px; padding: 0 14px; border-radius: 16px; display: inline-flex; align-items: center; background: rgba(255,255,255,0.075); box-shadow: inset 0 0 0 0.5px rgba(255,255,255,0.10); color: #F5F5F7; font-size: 13px; font-weight: 600; }
.dk-pres-now { position: absolute; left: 32px; top: 72px; width: 1056px; height: 594px; box-shadow: 0 0 0 0.5px rgba(255,255,255,0.10), 0 18px 48px rgba(0,0,0,0.55); }
.dk-pres-now .sl, .dk-pres-next .sl { position: absolute; inset: 0; width: 100%; transition: opacity 360ms var(--ease); }
.dk-pres-side { position: absolute; left: 1120px; top: 72px; width: 448px; }
.dk-pres-h { font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: #85858D; text-transform: uppercase; }
.dk-pres-next { position: relative; margin: 12px 0 34px; width: 448px; height: 252px; box-shadow: 0 0 0 0.5px rgba(255,255,255,0.14); }
.dk-pres-notes { margin-top: 12px; font-size: 22px; line-height: 33px; letter-spacing: -0.01em; color: #F5F5F7; transition: opacity 360ms var(--ease); }
.dk-pres-foot { position: absolute; left: 32px; right: 32px; top: 700px; height: 120px; display: flex; align-items: center; justify-content: space-between; box-shadow: inset 0 1px 0 rgba(255,255,255,0.08); }
.dk-pres-k { display: flex; flex-direction: column; gap: 4px; width: 340px; }
.dk-pres-k b { font-family: var(--font-mono); font-size: 52px; line-height: 60px; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.dk-pres-k small { font-size: 14px; color: #85858D; }
.dk-pres-k.is-end { text-align: right; align-items: flex-end; }
.dk-pres-ctl { display: flex; gap: 12px; }
.dk-pres-ctl span { width: 56px; height: 56px; border-radius: 28px; display: grid; place-items: center; background: rgba(255,255,255,0.075); box-shadow: inset 0 0 0 0.5px rgba(255,255,255,0.10); }
.dk-pres-ctl .ic { width: 22px; height: 22px; }
.dk-pres-foot::after { content: ""; position: absolute; left: 0; right: 0; top: 150px; }

.dk-grid-sec { padding-top: clamp(56px, 7vw, 96px); }
.dk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; }
.dk-grid li { padding: 26px 0 34px; border-top: 1px solid var(--line); }
.dk-grid h3 { font-size: var(--t-19); line-height: 1.3; font-weight: var(--w-semibold); letter-spacing: -0.014em; }
.dk-grid p { margin-top: 6px; color: var(--ink-3); max-width: 22em; }
.dk-grid .btn-link { margin-top: 8px; font-size: var(--t-14); }

/* =============================================================== 6. Close */
.dk-close-icon { margin: 0 auto 28px; }
.dk-close .dk-actions { margin-top: 30px; }

/* ============================================================ Responsive */
@media (max-width: 1068px) {
  .dk-scene { grid-template-columns: 0 minmax(0, 1fr) 260px; }
  .dk-rail { display: none; }
  .dk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dk-trio { grid-template-columns: 1fr 1fr; }
  .dk-trio .dk-card:last-child { grid-column: 1 / -1; }
  .dk-trio .dk-card:last-child .dk-mini { height: auto; min-height: 240px; }
}
@media (max-width: 733px) {
  .dk-scene { grid-template-columns: minmax(0, 1fr); grid-template-rows: 44px auto auto; border-radius: 12px; }
  .dk-scene-bar { grid-column: 1; padding-left: 12px; gap: 10px; }
  .dk-scene-bar .dk-lights { display: none; }
  .dk-seg { margin-left: 0; font-size: 12px; }
  .dk-seg span { padding: 6px 9px; }
  .dk-stage-in { grid-column: 1; grid-row: 2; padding: 0; }
  .dk-slide { box-shadow: none; }
  .dk-s-eyebrow { top: 3.4cqw; font-size: max(10.5px, 2.6cqw); }
  .dk-s-table p { height: 9cqw; font-size: 3.6cqw; box-shadow: inset 0 -0.3cqw 0 #E7E4DF; }
  .dk-s-table p:nth-child(n+4) { display: none; }
  .dk-s-foot { top: auto; bottom: 3.4cqw; font-size: max(10.5px, 2.4cqw); }
  .dk-scene-panel { grid-column: 1; grid-row: 3; border-radius: 0 0 12px 12px; box-shadow: inset 0 1px 0 var(--studio-line-2); }
  .dk-panel-head { height: 44px; padding: 0 16px; }
  .dk-panel-body { padding: 16px 14px 16px; }
  .dk-panel-ask { display: none; }
  .dk-msg-tino { min-height: 80px; }
  .dk-look-copy { margin-top: 28px; }
  .dk-trio { grid-template-columns: 1fr; gap: 48px; }
  .dk-trio .dk-card:last-child { grid-column: auto; }
  .dk-mini { height: auto; min-height: 220px; }
  .dk-switch button, .dk-switch-plate { width: 80px; }
  .dk-switch[data-mode="pro"] .dk-switch-plate { transform: translateX(80px); }
  .dk-modes-stage, .dk-present-shot { margin-top: 28px; }
  .dk-features-head { margin-bottom: 28px; }
  .dk-grid { grid-template-columns: 1fr; }
  .dk-grid li { padding: 20px 0 22px; }
  .dk-shot-cap { margin-top: 16px; }
  .dk-stop-caret .tino-vehicle-label { left: calc(var(--d) / 2 + 6px); padding: 0 7px; font-size: 11px; }
}
@media (max-width: 359px) { .dk-stop-caret .tino-vehicle-label { display: none; } }
/* Phones: the hero is cropped to the slide (680 board px across a ~358px frame),
   so Tino's dot, caret and label are drawn 1.6x to read at 10px. */
@media (max-width: 733px) {
  .dk-hero-ui #dkh-at { transform: scale(1.6); }
  .dk-hero-ui #dkh-at .ui-label { top: 9px !important; left: 2px; }   /* hung under the pink line it draws, clear of the words being written */
}
@media (max-width: 600px) { .dk-hero-ui .dk-lbl-more { display: none; } }   /* "Tino writing": short, clear of the chart's legend */

@media (prefers-reduced-motion: reduce) {
  .dk-caret { animation: none; }
  .dk-s-title > span, .dk-s-table, .dk-change, .dk-mode-text, .dk-switch-plate, .dk-reply-wait, .dk-reply-done,
  .ui.dk-vp-ui, .dk-vp .ts-frame, .dk-vp .ts-insp, .dk-vp .ts-lower, .dk-vp .ts-rail, .dk-vp-strip, #dks-slide .sl-in > div { transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .dk-swap > .ui { transition: opacity 200ms linear; transform: none !important; }
  .dk-starts::before { transition-duration: 200ms; }
}
.is-shot .dk-s-title > span, .is-shot .dk-s-table, .is-shot .dk-change, .is-shot .dk-reply-done, .is-shot .dk-reply-wait { transition: none !important; }
.is-shot .dk-caret { animation: none; }
