/*!
 * TBOT V-SYN pages: /v-syn/ and /v-syn/previz/. Loaded only on pages with [tbot_vsyn_page].
 * Type and devices follow TBOT's promo brand (Montserrat, uppercase white, outline box,
 * white filled call-to-action, one orange accent word); panels match the site's glassy cards.
 */
.tvs {
  --tvs-bg: #050507;
  --tvs-panel: rgba(10, 10, 16, 0.78);
  --tvs-line: rgba(255, 255, 255, 0.14);
  --tvs-text: #e9eaf2;
  --tvs-dim: #a9adc0;
  --tvs-white: #ffffff;
  --tvs-orange: #ff6a00;
  --tvs-jade: #2fe6a6;
  --tvs-violet: #9b8cff;
  --tvs-head: "Montserrat", "Archivo", sans-serif;
  --tvs-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --tvs-max: 1200px;
  color: var(--tvs-text);
  font-family: var(--tvs-head);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.65;
}

body.tbot-vsyn-page { overflow-x: clip; }
.tbot-vsyn-page .kenta-article-header-background,
.tbot-vsyn-page .kenta-article-header,
.tbot-vsyn-page .kenta_page_feature_image { display: none; }
.tbot-vsyn-page .kenta-article-content { max-width: none; padding-top: 0; }
.tbot-vsyn-page .kenta-container.is-style-boxed .kenta-article-content-wrap { background: transparent; box-shadow: none; }

.tvs > * { max-width: var(--tvs-max); margin-left: auto; margin-right: auto; }
.tvs a { color: var(--tvs-jade); }
.tvs em { font-style: normal; color: var(--tvs-orange); }

/* ---------------------------------------------------------------- hero */
.tvs .tvs-hero {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: 0;
  min-height: min(88vh, 860px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--tvs-bg);
}
.tvs-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--tvs-hero) center / cover no-repeat;
  animation: tvs-drift 24s ease-in-out infinite alternate;
}
.tvs-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 5, 7, 0.94) 0%, rgba(5, 5, 7, 0.72) 42%, rgba(5, 5, 7, 0.15) 100%),
    linear-gradient(0deg, rgba(5, 5, 7, 1) 0%, rgba(5, 5, 7, 0) 30%);
}
@keyframes tvs-drift { from { transform: scale(1.04); } to { transform: scale(1.12) translateX(-1.5%); } }

.tvs-hero-inner {
  width: 100%;
  max-width: var(--tvs-max);
  margin: 0 auto;
  padding: 120px 24px 96px;
}
.tvs-kicker {
  font-family: var(--tvs-head);
  font-weight: 800;
  font-size: clamp(20px, 2.4vw, 30px);
  color: var(--tvs-white);
  margin: 0 0 4px;
}
.tvs .tvs-title {
  font-family: var(--tvs-head);
  font-weight: 800;
  font-size: clamp(64px, 12vw, 168px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--tvs-white);
  margin: 0 0 22px;
  text-shadow: -6px 0 0 rgba(255, 40, 60, 0.55), 6px 0 0 rgba(40, 120, 255, 0.55);
}
.tvs-previz .tvs-title { font-size: clamp(48px, 8.4vw, 124px); }
.tvs-title .tvs-accent { color: var(--tvs-orange); text-shadow: none; }
.tvs-box {
  display: inline-block;
  font-family: var(--tvs-head);
  font-weight: 700;
  font-size: clamp(14px, 1.7vw, 22px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tvs-white);
  border: 3px solid var(--tvs-white);
  padding: 8px 16px;
  margin: 0 0 22px;
}
.tvs-hero-line {
  max-width: 56ch;
  font-size: clamp(16px, 1.45vw, 19px);
  color: var(--tvs-text);
  margin: 0 0 30px;
}
.tvs-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.tvs-soon {
  font-family: var(--tvs-head);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--tvs-white);
  color: #000;
  padding: 12px 22px;
  transform: rotate(-4deg);
}
.tvs .tvs-btn {
  display: inline-block;
  font-family: var(--tvs-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tvs-white);
  background: transparent;
  border: 2px solid var(--tvs-white);
  padding: 12px 22px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.tvs .tvs-btn:hover,
.tvs .tvs-btn:focus-visible { background: var(--tvs-orange); border-color: var(--tvs-orange); color: #000; }
.tvs .tvs-btn-solid { background: var(--tvs-white); color: #000; }
.tvs-mascot {
  position: absolute;
  right: max(2vw, calc(50vw - 640px));
  bottom: 40px;
  width: clamp(150px, 20vw, 300px);
  height: auto;
  filter: drop-shadow(0 0 40px rgba(255, 40, 60, 0.35));
  animation: tvs-bob 3.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes tvs-bob { 50% { transform: translateY(-10px); } }

/* ---------------------------------------------------------------- stats */
.tvs-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  padding: 0;
  margin-top: -48px !important;
  position: relative;
  background: var(--tvs-line);
  border: 1px solid var(--tvs-line);
}
.tvs-stats li {
  background: rgba(5, 5, 7, 0.92);
  padding: 18px 16px;
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tvs-dim);
}
.tvs-stats b {
  display: block;
  font-family: var(--tvs-head);
  font-weight: 800;
  font-size: 34px;
  line-height: 1.1;
  color: var(--tvs-white);
  letter-spacing: 0;
}

/* ---------------------------------------------------------------- sections */
.tvs-section { padding: 72px 24px 0; }
.tvs .tvs-h2 {
  font-family: var(--tvs-head);
  font-weight: 800;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.02;
  text-transform: uppercase;
  color: var(--tvs-white);
  margin: 0 0 18px;
}
.tvs .tvs-h3 {
  font-family: var(--tvs-head);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--tvs-white);
  margin: 0 0 8px;
}
.tvs-lede { max-width: 72ch; color: var(--tvs-text); margin: 0 0 28px; font-size: 17px; }

/* ---------------------------------------------------------------- gallery */
.tvs-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tvs-shot { margin: 0; }
.tvs .tvs-shot-btn {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  padding: 0 !important;
  margin: 0;
  border: 1px solid var(--tvs-line);
  border-radius: 0;
  box-shadow: none;
  background: #000 !important;
  cursor: zoom-in;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.tvs-shot-btn img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}
.tvs-shot-btn:hover img,
.tvs-shot-btn:focus-visible img { transform: scale(1.06); filter: saturate(1.25); }
.tvs-shot-btn:focus-visible { outline: 3px solid var(--tvs-orange); outline-offset: 2px; }
.tvs-shot figcaption { font-size: 13px; color: var(--tvs-dim); padding: 7px 2px 0; line-height: 1.35; }
.tvs-shot figcaption b { color: var(--tvs-white); font-weight: 700; display: block; }

.tvs-lightbox {
  max-width: min(96vw, 1600px);
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--tvs-white);
  overflow: visible;
}
.tvs-lightbox::backdrop { background: rgba(0, 0, 0, 0.9); }
.tvs-lightbox img { display: block; width: 100%; height: auto; max-height: 82vh; object-fit: contain; }
.tvs-lightbox-cap { text-align: center; margin: 10px 48px 0; font-size: 15px; }
.tvs .tvs-lightbox button {
  position: absolute;
  padding: 0;
  border-radius: 0;
  font-size: 28px;
  line-height: 1;
  width: 48px;
  height: 48px;
  border: 2px solid var(--tvs-white);
  background: rgba(0, 0, 0, 0.6);
  color: var(--tvs-white);
  cursor: pointer;
}
.tvs-lightbox button:hover, .tvs-lightbox button:focus-visible { background: var(--tvs-orange); border-color: var(--tvs-orange); color: #000; }
.tvs-lb-close { top: -56px; right: 0; }
.tvs-lb-prev { left: 8px; top: calc(50% - 40px); }
.tvs-lb-next { right: 8px; top: calc(50% - 40px); }

/* ---------------------------------------------------------------- families and features */
.tvs-fams, .tvs-feats { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.tvs-fams { grid-template-columns: repeat(5, 1fr); }
.tvs-feats { grid-template-columns: repeat(4, 1fr); }
.tvs-fam, .tvs-feat {
  margin: 0;
  padding: 20px;
  background: var(--tvs-panel);
  border: 1px solid var(--tvs-line);
  backdrop-filter: blur(8px);
}
.tvs-fam { display: flex; flex-direction: column; gap: 4px; }
.tvs-fam-n { font-family: var(--tvs-head); font-weight: 800; font-size: 40px; line-height: 1; color: var(--tvs-orange); }
.tvs-fam-name { font-family: var(--tvs-head); font-weight: 800; text-transform: uppercase; color: var(--tvs-white); font-size: 16px; }
.tvs-fam-text { font-size: 14px; color: var(--tvs-dim); line-height: 1.5; }
.tvs-feat { border-top: 3px solid var(--tvs-white); }
.tvs-feat p { margin: 0; font-size: 15px; color: var(--tvs-dim); }

/* Previz feature rows */
.tvs-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; margin: 0 0 48px; }
.tvs-split.is-flip .tvs-split-img { order: 2; }
.tvs-split-img img { display: block; width: 100%; height: auto; border: 1px solid var(--tvs-line); }
.tvs-split-text p { margin: 0; color: var(--tvs-text); }
.tvs-split .tvs-h3 { font-size: clamp(22px, 2.4vw, 30px); }

/* ---------------------------------------------------------------- details */
.tvs-dl { display: grid; grid-template-columns: 200px 1fr; margin: 0; border-top: 1px solid var(--tvs-line); }
.tvs-dl dt, .tvs-dl dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--tvs-line); }
.tvs-dl dt { font-family: var(--tvs-head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; font-size: 14px; color: var(--tvs-white); }
.tvs-dl dd { color: var(--tvs-text); }

/* ---------------------------------------------------------------- cross link */
.tvs .tvs-cross-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 48px 40px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--tvs-line);
  text-decoration: none;
  color: var(--tvs-text);
}
.tvs-cross-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--tvs-cross) center / cover no-repeat;
  transition: transform 0.5s ease;
}
.tvs-cross-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(5, 5, 7, 0.95) 0%, rgba(5, 5, 7, 0.6) 60%, rgba(5, 5, 7, 0.25) 100%);
}
.tvs-cross-card:hover::before { transform: scale(1.06); }
.tvs-cross-kicker { font-family: var(--tvs-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tvs-orange); }
.tvs-cross-title { font-family: var(--tvs-head); font-weight: 800; font-size: clamp(32px, 4.4vw, 56px); line-height: 1; color: var(--tvs-white); }
.tvs-cross-text { max-width: 52ch; margin-bottom: 10px; }
.tvs-cross-card:hover .tvs-btn { background: var(--tvs-orange); border-color: var(--tvs-orange); color: #000; }

/* ---------------------------------------------------------------- sign-up */
.tvs-signup { padding: 80px 24px 0; }
.tvs-signup-inner {
  padding: 44px 40px;
  background: var(--tvs-panel);
  border: 3px solid var(--tvs-white);
  backdrop-filter: blur(8px);
}
.tvs-form-row { display: flex; gap: 10px; max-width: 640px; }
.tvs .tvs-input {
  flex: 1;
  min-width: 0;
  font-size: 17px;
  padding: 12px 14px;
  color: var(--tvs-white);
  background: rgba(0, 0, 0, 0.55);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 0;
}
.tvs .tvs-input:focus { outline: none; border-color: var(--tvs-orange); }
.tvs-checks { border: 0; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.tvs-checks legend { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--tvs-dim); padding: 0; margin-bottom: 6px; float: left; width: 100%; }
.tvs-check { display: inline-flex; align-items: center; gap: 8px; font-family: var(--tvs-head); font-weight: 700; color: var(--tvs-white); cursor: pointer; }
.tvs-check input { width: 18px; height: 18px; accent-color: var(--tvs-orange); }
.tvs-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tvs-msg { margin: 16px 0 0; padding: 10px 14px; font-weight: 700; border-left: 4px solid; }
.tvs-msg.is-ok { border-color: var(--tvs-jade); color: var(--tvs-jade); background: rgba(47, 230, 166, 0.08); }
.tvs-msg.is-err { border-color: #ff4d5e; color: #ff8a95; background: rgba(255, 77, 94, 0.08); }
.tvs-fine { font-size: 13px; color: var(--tvs-dim); margin: 18px 0 0; max-width: 72ch; }
.tvs-form[aria-busy="true"] .tvs-btn-solid { opacity: 0.6; pointer-events: none; }

.tvs-made { text-align: center; padding: 56px 24px 24px; font-size: 14px; color: var(--tvs-dim); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .tvs-gallery { grid-template-columns: repeat(3, 1fr); }
  .tvs-fams { grid-template-columns: repeat(3, 1fr); }
  .tvs-feats { grid-template-columns: repeat(2, 1fr); }
  .tvs-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .tvs-hero-inner { padding: 96px 16px 120px; }
  .tvs-mascot { width: 110px; bottom: 56px; right: 12px; opacity: 0.9; }
  .tvs-hero::after { background: linear-gradient(0deg, rgba(5, 5, 7, 1) 0%, rgba(5, 5, 7, 0.75) 60%, rgba(5, 5, 7, 0.6) 100%); }
  .tvs-section, .tvs-signup { padding-left: 16px; padding-right: 16px; }
  .tvs-gallery, .tvs-fams { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .tvs-feats { grid-template-columns: 1fr; }
  .tvs-stats { grid-template-columns: repeat(2, 1fr); margin-left: 16px !important; margin-right: 16px !important; }
  .tvs-stats li:last-child:nth-child(odd) { grid-column: span 2; }
  .tvs-split, .tvs-split.is-flip { grid-template-columns: 1fr; gap: 14px; }
  .tvs-split.is-flip .tvs-split-img { order: 0; }
  .tvs-dl { grid-template-columns: 1fr; }
  .tvs-dl dt { border-bottom: 0; padding-bottom: 0; }
  .tvs-form-row { flex-direction: column; }
  .tvs-signup-inner, .tvs .tvs-cross-card { padding: 28px 20px; }
  .tvs-lb-prev, .tvs-lb-next { top: auto; bottom: -60px; }
}
@media (prefers-reduced-motion: reduce) {
  .tvs-hero::before, .tvs-mascot { animation: none; }
  .tvs-shot-btn img, .tvs-cross-card::before { transition: none; }
}
