/* ==========================================================================
   What? Studio — 2026 design layer
   Loaded after style.css on redesigned pages (body.ws26).
   Dark is the base; light follows the system or an explicit [data-theme].
   Header and footer keep their layout — only their colours follow the theme.
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------ */
body.ws26 {
  --ws-bg: #000000;
  --ws-bg-alt: #0b0b0c;
  --ws-surface: #161617;
  --ws-surface-2: #1d1d1f;
  --ws-surface-3: #2a2a2d;
  --ws-glass: rgba(22, 22, 23, 0.72);
  --ws-section-alt: #000000;
  --ws-tile: #161617;
  --ws-tile-inner: #232326;
  --ws-text: #f5f5f7;
  --ws-text-2: #a1a1a6;
  --ws-text-3: #6e6e73;
  --ws-line: rgba(255, 255, 255, 0.14);
  --ws-line-soft: rgba(255, 255, 255, 0.08);
  --ws-accent: #f93a00;
  --ws-accent-btn: #e63a00;
  --ws-accent-text: #ff6b2c;
  --ws-accent-soft: rgba(249, 58, 0, 0.16);
  --ws-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  --ws-shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.4);
  --ws-invert: none;            /* used on white-only assets (logo mark, pixel glyphs) */
  --ws-header-bg: rgba(0, 0, 0, 0.72);

  --ws-r-xs: 12px;
  --ws-r-sm: 18px;
  --ws-r-md: 24px;
  --ws-r-lg: 32px;
  --ws-r-xl: 40px;
  --ws-ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* legacy tokens used across style.css (header, footer, cursor, modal) */
  --bg: var(--ws-bg);
  --bg-offset: var(--ws-bg-alt);
  --panel: var(--ws-surface);
  --panel-hover: var(--ws-surface-2);
  --panel-light: var(--ws-surface-3);
  --border: var(--ws-line-soft);
  --border-hover: var(--ws-line);
  --text: var(--ws-text);
  --text-muted: var(--ws-text-2);
  --text-dim: var(--ws-text-3);
  --accent: var(--ws-accent);

  color-scheme: dark;
  background: var(--ws-bg);
  color: var(--ws-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-color-scheme: light) {
  html:not([data-theme="dark"]) body.ws26 {
    --ws-bg: #ffffff;
    --ws-bg-alt: #f5f5f7;
    --ws-surface: #f5f5f7;
    --ws-surface-2: #ebebef;
    --ws-surface-3: #dedee3;
    --ws-glass: rgba(255, 255, 255, 0.72);
    --ws-section-alt: #f5f5f7;
    --ws-tile: #ffffff;
    --ws-tile-inner: #f5f5f7;
    --ws-text: #1d1d1f;
    --ws-text-2: #6e6e73;
    --ws-text-3: #86868b;
    --ws-line: rgba(0, 0, 0, 0.14);
    --ws-line-soft: rgba(0, 0, 0, 0.08);
    --ws-accent-text: #d63500;
    --ws-accent-soft: rgba(249, 58, 0, 0.1);
    --ws-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
    --ws-shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.08);
    --ws-invert: invert(1);
    --ws-header-bg: rgba(255, 255, 255, 0.76);
    color-scheme: light;
  }
}

html[data-theme="light"] body.ws26 {
  --ws-bg: #ffffff;
  --ws-bg-alt: #f5f5f7;
  --ws-surface: #f5f5f7;
  --ws-surface-2: #ebebef;
  --ws-surface-3: #dedee3;
  --ws-glass: rgba(255, 255, 255, 0.72);
  --ws-section-alt: #f5f5f7;
  --ws-tile: #ffffff;
  --ws-tile-inner: #f5f5f7;
  --ws-text: #1d1d1f;
  --ws-text-2: #6e6e73;
  --ws-text-3: #86868b;
  --ws-line: rgba(0, 0, 0, 0.14);
  --ws-line-soft: rgba(0, 0, 0, 0.08);
  --ws-accent-text: #d63500;
  --ws-accent-soft: rgba(249, 58, 0, 0.1);
  --ws-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
  --ws-shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.08);
  --ws-invert: invert(1);
  --ws-header-bg: rgba(255, 255, 255, 0.76);
  color-scheme: light;
}

body.ws26 ::selection {
  background: var(--ws-accent-soft);
  color: var(--ws-text);
}

body.ws26 a:focus-visible,
body.ws26 button:focus-visible,
body.ws26 [tabindex]:focus-visible {
  outline: 2px solid var(--ws-accent);
  outline-offset: 3px;
}

/* --- No reveal-on-scroll for now (will be reworked later) -------------- */
body.ws26 .reveal-on-scroll,
body.ws26 .reveal-on-scroll.is-visible {
  opacity: 1 !important;
  filter: none !important;
  transform: none;
  transition-property: background-color, border-color, color, box-shadow, transform;
  transition-duration: 300ms;
  transition-delay: 0ms;
  will-change: auto;
}

/* --- Header: colours only ---------------------------------------------- */
body.ws26 .navbar {
  background: var(--ws-header-bg);
  border-bottom-color: var(--ws-line-soft);
}

body.ws26 .logo-img,
body.ws26 .footer-logo {
  background: transparent;
  filter: var(--ws-invert);
}

body.ws26 .logo-link:hover .logo-img {
  filter: var(--ws-invert) drop-shadow(0 0 8px rgba(249, 58, 0, 0.45));
}

body.ws26 .logo-text,
body.ws26 .nav-link:hover,
body.ws26 .nav-link.is-active {
  color: var(--ws-text);
}

body.ws26 .nav-link {
  color: var(--ws-text);
}

body.ws26 .menu-toggle span {
  background: var(--ws-text);
}

@media (max-width: 760px) {
  body.ws26 .nav-menu {
    background: var(--ws-bg);
  }
}

/* --- Footer: colours only ---------------------------------------------- */
body.ws26 .showroom-footer {
  background: var(--ws-bg-alt);
  border-top-color: var(--ws-line-soft);
}

body.ws26 .footer-copy,
body.ws26 .footer-link,
body.ws26 .footer-social-link {
  color: var(--ws-text-2);
}

body.ws26 .footer-link:hover,
body.ws26 .footer-social-link:hover {
  color: var(--ws-text);
}

body.ws26 .footer-sep {
  margin-right: 24px;
  color: var(--ws-text-3);
  font-size: 13px;
}

@media (max-width: 760px) {
  body.ws26.studio-subpage .footer-sep {
    display: none;
  }
}

body.ws26 .footer-brand {
  flex-wrap: wrap;
  row-gap: 14px;
}

body.ws26 .footer-icons {
  display: flex;
  flex-basis: 100%;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.ws26 .footer-icon-link {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: var(--ws-text-2);
  transition: color 200ms var(--ws-ease);
}

body.ws26 .footer-icon-link:hover {
  color: var(--ws-text);
}

body.ws26 .footer-icon-link svg {
  width: 18px;
  height: 18px;
}

/* --- Cursor ------------------------------------------------------------ */
body.ws26 .custom-cursor {
  background: var(--ws-text);
}

body.ws26 .custom-cursor-follower {
  border-color: var(--ws-line);
}

body.ws26.cursor-hover .custom-cursor {
  background: var(--ws-accent);
}

body.ws26.cursor-hover .custom-cursor-follower {
  border-color: var(--ws-accent);
  background: var(--ws-accent-soft);
}

/* --- Type scale -------------------------------------------------------- */
body.ws26 .ws-eyebrow {
  margin: 0 0 14px;
  color: var(--ws-text-2);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-transform: none;
}

body.ws26 .ws-display {
  margin: 0;
  color: var(--ws-text);
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

body.ws26 .ws-h2 {
  margin: 0;
  color: var(--ws-text);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  text-transform: none;
  text-wrap: balance;
}

body.ws26 .ws-h3 {
  margin: 0;
  color: var(--ws-text);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

body.ws26 .ws-lead,
body.ws26 .ws-sub {
  margin: 0;
  color: var(--ws-text-2);
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.35;
  text-wrap: pretty;
}

body.ws26 .ws-sub {
  font-size: clamp(17px, 1.5vw, 21px);
}

body.ws26 .ws-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ws-accent-text);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
}

body.ws26 .ws-link::after {
  content: '›';
  font-size: 1.15em;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform 300ms var(--ws-ease);
}

body.ws26 .ws-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.ws26 .ws-link:hover::after {
  transform: translate(3px, -1px);
}

/* --- Buttons (magnetic effect from main.js stays) ---------------------- */
body.ws26 .ws-main .btn {
  min-height: 48px;
  padding: 12px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  text-transform: none;
  box-shadow: none;
  transition:
    transform 320ms var(--ws-ease),
    background-color 220ms ease,
    border-color 220ms ease,
    color 220ms ease;
}

body.ws26 .ws-main .btn::after {
  display: none;
}

body.ws26 .ws-main .btn-primary {
  background: var(--ws-accent-btn);
  color: #ffffff;
}

body.ws26 .ws-main .btn-primary:hover {
  background: var(--ws-accent);
  box-shadow: 0 10px 30px rgba(249, 58, 0, 0.28);
}

body.ws26 .ws-main .btn-secondary {
  background: var(--ws-surface-2);
  border-color: transparent;
  color: var(--ws-text);
}

body.ws26 .ws-main .btn-secondary:hover {
  background: var(--ws-surface-3);
  border-color: transparent;
}

body.ws26 .ws-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 22px;
}

/* --- Sections ---------------------------------------------------------- */
body.ws26 .ws-main {
  background: var(--ws-bg);
}

body.ws26 .ws-main > section {
  border: 0;
  background: transparent;
}

body.ws26 .ws-section-head {
  display: grid;
  gap: 16px;
  max-width: 820px;
  margin: 0 0 56px;
}

/* --- Hero -------------------------------------------------------------- */
body.ws26 .ws-hero {
  padding: clamp(120px, 15vh, 168px) 0 clamp(56px, 7vw, 88px);
  text-align: center;
}

body.ws26 .ws-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

body.ws26 .ws-hero-mark {
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  object-fit: contain;
  filter: var(--ws-invert);
}

body.ws26 .ws-hero-naming {
  margin: 0 0 34px;
  line-height: 0;
}

body.ws26 .ws-hero-naming img {
  display: block;
  width: clamp(210px, 22vw, 320px);
  height: auto;
  filter: var(--ws-invert);
}

body.ws26 .ws-hero .ws-display {
  max-width: 13.5em;
}

body.ws26 .ws-hero .ws-lead {
  max-width: 34em;
  margin-top: 26px;
}

body.ws26 .ws-hero .ws-actions {
  margin-top: 38px;
}

body.ws26 .ws-hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin: 34px 0 0;
  color: var(--ws-text-3);
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

body.ws26 .ws-hero-meta a {
  color: inherit;
  text-decoration: none;
}

body.ws26 .ws-hero-meta a:hover {
  color: var(--ws-text);
}

body.ws26 #showroom-clock {
  margin-left: 4px;
  color: var(--ws-text-2);
}

/* --- Showreel ---------------------------------------------------------- */
body.ws26 .ws-reel {
  padding: 0;
}

body.ws26 .ws-reel .showreel-frame {
  aspect-ratio: 16 / 9 !important;
  border: 0;
  border-radius: var(--ws-r-xl);
  background: var(--ws-surface);
  box-shadow: var(--ws-shadow);
  isolation: isolate;
}

body.ws26 .ws-reel .showreel-poster,
body.ws26 .ws-reel .showreel-frame:hover .showreel-poster {
  background-color: var(--ws-surface);
}

/* --- Statement --------------------------------------------------------- */
body.ws26 .ws-statement {
  padding: clamp(96px, 12vw, 168px) 0;
}

body.ws26 .ws-statement-text {
  max-width: 17em;
  margin: 0 auto;
  color: var(--ws-text-3);
  font-size: clamp(34px, 5.2vw, 72px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.06;
  text-align: center;
  text-wrap: balance;
}

body.ws26 .ws-statement-text span {
  color: var(--ws-text);
}

/* --- Work grid (layout untouched, surfaces restyled) ------------------- */
body.ws26 .showroom-work {
  padding: 0 0 clamp(88px, 10vw, 140px);
}

body.ws26 .work-card,
body.ws26 .work-card:hover {
  transform: none;
}

body.ws26 .work-card .work-media,
body.ws26 .work-card:hover .work-media,
body.ws26 .work-card:focus-visible .work-media {
  border: 0;
  border-radius: var(--ws-r-lg);
  background: var(--ws-surface) !important;
  box-shadow: none;
  isolation: isolate;
  transition: transform 500ms var(--ws-ease), box-shadow 500ms var(--ws-ease);
}

body.ws26 .work-card:hover .work-media,
body.ws26 .work-card.is-previewing .work-media {
  border-color: transparent;
  box-shadow: var(--ws-shadow-soft);
  transform: scale(1.008);
}

body.ws26 .work-card:hover .cms-thumb,
body.ws26 .work-card.is-previewing .cms-thumb {
  transform: none;
  filter: none;
}

body.ws26 .cms-type-label {
  display: none;
}

body.ws26 .cms-player {
  left: 18px;
  right: 18px;
  bottom: 18px;
}

body.ws26 .cms-player-dot {
  background: var(--ws-accent);
}

body.ws26 .work-caption {
  display: grid;
  gap: 4px;
  padding: 16px 6px 0;
}

body.ws26 .work-caption h2,
body.ws26 .ws-main .work-caption h2 {
  margin: 0;
  color: var(--ws-text);
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-transform: none;
}

body.ws26 .work-caption p,
body.ws26 .ws-main .work-caption p {
  margin: 0;
  color: var(--ws-text-2);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.35;
  text-transform: none;
}

body.ws26 .ws-case-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--ws-accent-soft);
  color: var(--ws-accent-text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  vertical-align: 2px;
}

/* --- Brief CTA --------------------------------------------------------- */
body.ws26 .ws-cta {
  padding: 0 0 clamp(96px, 12vw, 168px);
}

body.ws26 .ws-cta-card {
  display: grid;
  justify-items: center;
  gap: 20px;
  padding: clamp(56px, 8vw, 104px) clamp(24px, 6vw, 96px);
  border-radius: var(--ws-r-xl);
  background: var(--ws-surface);
  text-align: center;
}

body.ws26 .ws-cta-card .ws-sub {
  max-width: 30em;
}

body.ws26 .ws-cta-card .ws-actions {
  margin-top: 12px;
}

/* --- Tools ------------------------------------------------------------- */
body.ws26 .ws-main > section.designer-tools {
  padding: clamp(96px, 11vw, 150px) 0 clamp(88px, 10vw, 140px);
  border-top: 0;
  background: var(--ws-section-alt);
}

body.ws26 .designer-tools .work-card .work-media,
body.ws26 .designer-tools .work-card:hover .work-media,
body.ws26 .designer-tools .work-card:focus-visible .work-media {
  background: var(--ws-tile) !important;
}

body.ws26 .plugin-pixel-thumb {
  background: var(--ws-tile);
}

body.ws26 .plugin-pixel-thumb::after {
  background: radial-gradient(70% 70% at 50% 110%, rgba(249, 58, 0, 0.2) 0%, transparent 70%);
}

body.ws26 .plugin-pixel-thumb .plugin-pixel-glyph {
  filter: var(--ws-invert);
}

body.ws26 .plugin-work-card:hover .plugin-pixel-glyph {
  transform: translateY(-3px);
  filter: var(--ws-invert);
}

body.ws26 .plugin-caption {
  gap: 8px;
}

body.ws26 .plugin-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

body.ws26 .plugin-title-row span {
  flex: 0 0 auto;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--ws-surface-2);
  color: var(--ws-text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
}

body.ws26 .studio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

body.ws26 .studio-tags li {
  padding: 0;
  color: var(--ws-text-3);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

body.ws26 .studio-tags li::before {
  content: none;
  margin: 0;
}

body.ws26 .studio-tags li + li::before {
  content: '·';
  margin-right: 6px;
  color: var(--ws-text-3);
}

body.ws26 .studio-tags li::after {
  display: none;
}

/* --- Walkthrough videos ------------------------------------------------ */
body.ws26 .ws-block-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin: clamp(72px, 8vw, 112px) 0 24px;
}

body.ws26 .ws-videos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

body.ws26 .ws-video {
  margin: 0;
}

body.ws26 .ws-yt {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--ws-r-lg);
  background: var(--ws-surface-2);
  cursor: pointer;
  isolation: isolate;
}

body.ws26 .ws-yt img,
body.ws26 .ws-yt iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

body.ws26 .ws-yt img {
  transition: transform 700ms var(--ws-ease);
}

body.ws26 .ws-yt:hover img {
  transform: scale(1.025);
}

body.ws26 .ws-yt-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transform: translate(-50%, -50%);
  transition: transform 320ms var(--ws-ease), background-color 220ms ease;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

body.ws26 .ws-yt-play::before {
  content: '';
  position: absolute;
  left: 52%;
  top: 50%;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #1d1d1f;
  transform: translate(-40%, -50%);
}

body.ws26 .ws-yt:hover .ws-yt-play {
  background: #ffffff;
  transform: translate(-50%, -50%) scale(1.06);
}

body.ws26 .ws-yt-time {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

body.ws26 .ws-video figcaption {
  display: grid;
  gap: 4px;
  padding: 16px 6px 0;
}

body.ws26 .ws-video figcaption strong {
  color: var(--ws-text);
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

body.ws26 .ws-video figcaption span {
  color: var(--ws-text-2);
  font-size: 15px;
  font-weight: 500;
}

/* --- Bundle + free scripts --------------------------------------------- */
body.ws26 .ws-extras {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 20px;
  margin-top: clamp(72px, 8vw, 112px);
}

body.ws26 .ws-bundle {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  min-height: 320px;
  padding: 36px;
  overflow: hidden;
  border-radius: var(--ws-r-lg);
  background: var(--ws-tile);
  color: var(--ws-text);
  text-decoration: none;
  transition: transform 500ms var(--ws-ease), box-shadow 500ms var(--ws-ease);
}

body.ws26 .ws-bundle::before {
  content: '';
  position: absolute;
  right: -30%;
  bottom: -55%;
  width: 90%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(249, 58, 0, 0.22), transparent);
  pointer-events: none;
}

body.ws26 .ws-bundle:hover {
  box-shadow: var(--ws-shadow-soft);
  transform: translateY(-2px);
}

body.ws26 .ws-bundle .ws-eyebrow {
  margin: 0;
}

body.ws26 .ws-bundle-title {
  position: relative;
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

body.ws26 .ws-bundle-foot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

body.ws26 .ws-price {
  color: var(--ws-text);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

body.ws26 .ws-free {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 36px;
  border-radius: var(--ws-r-lg);
  background: var(--ws-tile);
}

body.ws26 .ws-free-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.ws26 .ws-free-list a {
  display: grid;
  gap: 4px;
  height: 100%;
  padding: 18px 20px;
  border-radius: var(--ws-r-sm);
  background: var(--ws-tile-inner);
  color: var(--ws-text);
  text-decoration: none;
  transition: background-color 220ms ease, transform 320ms var(--ws-ease);
}

body.ws26 .ws-free-list a:hover {
  background: var(--ws-surface-3);
}

body.ws26 .ws-free-list strong {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

body.ws26 .ws-free-list span {
  color: var(--ws-text-2);
  font-size: 14px;
  font-weight: 500;
}

/* --- Community --------------------------------------------------------- */
body.ws26 .ws-community {
  padding: clamp(72px, 9vw, 120px) 0;
}

body.ws26 .ws-community .btn {
  width: auto;
  min-width: 0;
}

body.ws26 .ws-community-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}

/* --- Theme toggle ------------------------------------------------------ */
.ws-theme-toggle {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1200;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--ws-line-soft, rgba(127, 127, 127, 0.2));
  border-radius: 50%;
  background: var(--ws-glass, rgba(30, 30, 30, 0.7));
  color: var(--ws-text, #f5f5f7);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1), background-color 200ms ease;
}

.ws-theme-toggle:hover {
  transform: scale(1.06);
}

.ws-theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.project-viewer-open .ws-theme-toggle {
  display: none;
}

/* --- Project viewer (modal from main.js) ------------------------------- */
body.ws26 .project-viewer {
  padding: clamp(12px, 3vw, 40px);
}

body.ws26 .project-viewer-backdrop {
  background: rgba(0, 0, 0, 0.6);
}

body.ws26 .project-viewer-window {
  width: min(1380px, calc(100vw - 32px));
  border: 0;
  border-radius: var(--ws-r-xl);
  background: var(--ws-tile);
  color: var(--ws-text);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.45);
}

body.ws26 .project-viewer-topbar {
  align-items: center;
  padding: 22px 24px 18px 28px;
  border-bottom: 0;
}

body.ws26 .project-viewer-kicker {
  margin-bottom: 6px;
  color: var(--ws-text-2);
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
}

body.ws26 .project-viewer-topbar h2 {
  color: var(--ws-text);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-transform: none;
}

body.ws26 .project-viewer-close {
  width: 40px;
  min-height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--ws-surface-2);
  color: var(--ws-text);
  font-size: 16px;
  font-weight: 600;
  text-transform: none;
}

body.ws26 .project-viewer-close:hover {
  background: var(--ws-surface-3);
  color: var(--ws-text);
}

body.ws26 .project-viewer-body {
  gap: 0;
  padding: 0 12px 12px;
}

body.ws26 .project-viewer-media {
  overflow: hidden;
  border-radius: var(--ws-r-md);
  background: #000000;
}

body.ws26 .project-viewer-info {
  gap: 20px;
  padding: 8px 18px 18px 28px;
  border-left: 0;
}

body.ws26 .project-viewer-info p {
  color: var(--ws-text);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

body.ws26 .project-viewer-details li {
  padding: 12px 0;
  border-top: 1px solid var(--ws-line-soft);
}

body.ws26 .project-viewer-details strong,
body.ws26 .project-viewer-details span {
  font-size: 14px;
  line-height: 1.35;
}

body.ws26 .project-viewer-details strong {
  color: var(--ws-text-2);
  font-weight: 500;
  text-transform: none;
}

body.ws26 .project-viewer-details span {
  color: var(--ws-text);
  font-weight: 500;
}

body.ws26 .project-viewer-link {
  justify-self: start;
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--ws-accent-btn);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  text-transform: none;
}

body.ws26 .project-viewer-link:hover {
  background: var(--ws-accent);
  color: #ffffff;
}

@media (max-width: 980px) {
  body.ws26 .project-viewer-info {
    padding: 18px 12px 8px;
  }
}

/* --- Responsive -------------------------------------------------------- */
@media (max-width: 980px) {
  body.ws26 .ws-extras {
    grid-template-columns: 1fr;
  }

  body.ws26 .ws-bundle {
    min-height: 260px;
  }
}

@media (max-width: 760px) {
  body.ws26 {
    --ws-r-lg: 24px;
    --ws-r-xl: 28px;
  }

  body.ws26 .ws-hero {
    padding: 112px 0 48px;
  }

  body.ws26 .ws-hero-mark {
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
  }

  body.ws26 .ws-hero-naming {
    margin-bottom: 24px;
  }

  body.ws26 .ws-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  body.ws26 .ws-hero .ws-actions {
    max-width: 340px;
  }

  body.ws26 .ws-cta-card .ws-actions {
    align-items: center;
  }

  body.ws26 .ws-section-head {
    margin-bottom: 36px;
  }

  body.ws26 .ws-videos,
  body.ws26 .ws-free-list {
    grid-template-columns: 1fr;
  }

  body.ws26 .ws-bundle,
  body.ws26 .ws-free {
    padding: 28px 24px;
  }

  body.ws26 .ws-yt-play {
    width: 60px;
    height: 60px;
  }

  body.ws26 .ws-community-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .ws-theme-toggle {
    right: 16px;
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.ws26 *,
  body.ws26 *::before,
  body.ws26 *::after {
    transition-duration: 0ms !important;
  }
}

/* ==========================================================================
   Case page (case.html + ws-case.js)
   ========================================================================== */
body.ws26 .ws-case-hero {
  padding: clamp(128px, 16vh, 176px) 0 clamp(48px, 6vw, 72px);
}

body.ws26 .ws-case-hero .ws-display {
  max-width: 12em;
}

body.ws26 .ws-case-hero .ws-lead {
  max-width: 32em;
  margin-top: 24px;
}

body.ws26 .ws-case-hero .ws-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.ws26 .ws-draft-badge {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--ws-accent-soft);
  color: var(--ws-accent-text);
  font-size: 13px;
  font-weight: 600;
}

body.ws26 .ws-case-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 24px 32px;
  margin: clamp(48px, 6vw, 72px) 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--ws-line-soft);
}

body.ws26 .ws-case-fact dt,
body.ws26 .ws-case-credit-list dt {
  margin: 0 0 6px;
  color: var(--ws-text-3);
  font-size: 14px;
  font-weight: 500;
}

body.ws26 .ws-case-fact dd,
body.ws26 .ws-case-credit-list dd {
  margin: 0;
  color: var(--ws-text);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

body.ws26 .ws-case-fact a {
  color: var(--ws-accent-text);
  text-decoration: none;
}

body.ws26 .ws-case-fact a:hover {
  text-decoration: underline;
}

body.ws26 .ws-case-body {
  margin: 0;
  color: var(--ws-text-2);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.5;
  text-wrap: pretty;
}

/* Film */
body.ws26 .ws-case-player {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--ws-r-xl);
  background: var(--ws-surface);
  box-shadow: var(--ws-shadow);
  isolation: isolate;
}

body.ws26 .ws-case-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000000;
}

body.ws26 .ws-case-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 0;
  border: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.25));
  cursor: pointer;
}

body.ws26 .ws-case-play .ws-yt-play {
  width: 88px;
  height: 88px;
}

body.ws26 .ws-case-play:hover .ws-yt-play {
  background: #ffffff;
  transform: translate(-50%, -50%) scale(1.06);
}

body.ws26 .ws-case-player.is-playing .ws-case-play {
  display: none;
}

/* Generic case sections */
body.ws26 .ws-case-section {
  padding: clamp(96px, 11vw, 160px) 0 0;
}

body.ws26 .ws-case-intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 96px);
}

body.ws26 .ws-case-intro-item {
  display: grid;
  align-content: start;
  gap: 16px;
}

/* Storyboard */
body.ws26 .ws-frames {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

body.ws26 .ws-frame-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--ws-r-md);
  background: var(--ws-surface);
}

body.ws26 .ws-frame-media::after {
  content: attr(data-time);
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  opacity: 0;
}

body.ws26 .ws-frame-media[data-time]::after {
  opacity: 1;
}

body.ws26 .ws-frame-media canvas,
body.ws26 .ws-frame-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.ws26 .ws-frame-number {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 1;
  display: grid;
  place-items: center;
  min-width: 32px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--ws-glass);
  color: var(--ws-text);
  font-size: 12px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

body.ws26 .ws-frame-text {
  display: grid;
  gap: 4px;
  padding: 14px 4px 0;
}

body.ws26 .ws-frame-text strong {
  color: var(--ws-text);
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.015em;
}

body.ws26 .ws-frame-text span {
  color: var(--ws-text-2);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

/* Scenes */
body.ws26 .ws-scenes {
  display: grid;
  gap: clamp(56px, 7vw, 96px);
}

body.ws26 .ws-scene {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

body.ws26 .ws-scene--flip {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

body.ws26 .ws-scene--flip .ws-scene-media {
  order: 2;
}

body.ws26 .ws-scene-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--ws-r-lg);
  background: var(--ws-surface);
  isolation: isolate;
}

body.ws26 .ws-scene-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.ws26 .ws-scene-time {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

body.ws26 .ws-scene-time:empty {
  display: none;
}

body.ws26 .ws-scene-copy {
  display: grid;
  align-content: center;
  gap: 14px;
}

body.ws26 .ws-scene-index {
  color: var(--ws-text-3);
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

body.ws26 .ws-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

body.ws26 .ws-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--ws-surface-2);
  color: var(--ws-text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 200ms ease;
}

body.ws26 .ws-chip::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ws-accent);
}

body.ws26 .ws-chip:hover {
  background: var(--ws-surface-3);
}

/* Behind the scenes */
body.ws26 .ws-bts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

body.ws26 .ws-bts-item {
  margin: 0;
}

body.ws26 .ws-bts-item--wide {
  grid-column: 1 / -1;
}

body.ws26 .ws-bts-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--ws-r-lg);
  background: var(--ws-surface);
}

body.ws26 .ws-bts-item--wide .ws-bts-media {
  aspect-ratio: 21 / 9;
}

body.ws26 .ws-bts-media img,
body.ws26 .ws-bts-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.ws26 .ws-bts-media.is-placeholder {
  display: grid;
  place-items: center;
  border: 1.5px dashed var(--ws-line);
  background: transparent;
  color: var(--ws-text-3);
  font-size: 15px;
  font-weight: 500;
}

body.ws26 .ws-bts-item figcaption {
  padding: 14px 4px 0;
  color: var(--ws-text-2);
  font-size: 15px;
  font-weight: 500;
}

/* Tools used */
body.ws26 .ws-case-tools-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px 56px;
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--ws-r-xl);
  background: var(--ws-surface);
}

body.ws26 .ws-case-tools-card .ws-eyebrow {
  margin-bottom: 10px;
}

body.ws26 .ws-case-tool-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.ws26 .ws-case-tool {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2px 16px;
  padding: 18px 22px;
  border-radius: var(--ws-r-sm);
  background: var(--ws-bg);
  color: var(--ws-text);
  text-decoration: none;
  transition: transform 320ms var(--ws-ease), box-shadow 320ms var(--ws-ease);
}

body.ws26 .ws-case-tool::after {
  content: '›';
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--ws-accent-text);
  font-size: 26px;
  line-height: 1;
}

body.ws26 .ws-case-tool:hover {
  box-shadow: var(--ws-shadow-soft);
  transform: translateY(-1px);
}

body.ws26 .ws-case-tool strong {
  font-size: 17px;
  font-weight: 650;
}

body.ws26 .ws-case-tool span {
  color: var(--ws-text-2);
  font-size: 14px;
  font-weight: 500;
}

/* Credits */
body.ws26 .ws-case-credit-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px 32px;
  margin: 0;
  padding-top: 28px;
  border-top: 1px solid var(--ws-line-soft);
}

body.ws26 .ws-case-next {
  padding-top: clamp(96px, 11vw, 160px);
}

@media (max-width: 980px) {
  body.ws26 .ws-frames {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.ws26 .ws-scene,
  body.ws26 .ws-case-tools-card {
    grid-template-columns: 1fr;
  }

  body.ws26 .ws-scene--flip .ws-scene-media {
    order: 0;
  }
}

@media (max-width: 760px) {
  body.ws26 .ws-case-hero {
    padding-top: 112px;
  }

  body.ws26 .ws-case-intro-grid,
  body.ws26 .ws-bts {
    grid-template-columns: 1fr;
  }

  body.ws26 .ws-case-facts,
  body.ws26 .ws-case-credit-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
  }

  body.ws26 .ws-frames {
    gap: 28px 12px;
  }

  body.ws26 .ws-frame-text span {
    font-size: 14px;
  }

  body.ws26 .ws-bts-item--wide .ws-bts-media {
    aspect-ratio: 16 / 9;
  }

  body.ws26 .ws-case-play .ws-yt-play {
    width: 64px;
    height: 64px;
  }
}

/* ==========================================================================
   Tools page + Pixel Text page
   ========================================================================== */
body.ws26 .ws-hero--page {
  padding-bottom: clamp(64px, 8vw, 104px);
}

body.ws26 .ws-hero--page .ws-display {
  max-width: 12em;
}

body.ws26 .ws-videos--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.ws26 .ws-tool-banner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: 0;
  margin-top: 20px;
  overflow: hidden;
  border-radius: var(--ws-r-lg);
  background: var(--ws-tile);
  color: var(--ws-text);
  text-decoration: none;
  transition: transform 500ms var(--ws-ease), box-shadow 500ms var(--ws-ease);
}

body.ws26 .ws-tool-banner:hover {
  box-shadow: var(--ws-shadow-soft);
  transform: translateY(-2px);
}

body.ws26 .ws-tool-banner-art {
  position: relative;
  display: block;
  min-height: 260px;
  height: 100%;
  overflow: hidden;
  background: #000000;
}

body.ws26 .ws-tool-banner-art .plugin-pixel-thumb {
  background: #000000;
}

body.ws26 .ws-tool-banner-art .plugin-pixel-glyph {
  filter: none;
}

body.ws26 .ws-tool-banner-copy {
  display: grid;
  gap: 12px;
  padding: clamp(28px, 4vw, 48px);
}

body.ws26 .ws-tool-banner-copy .ws-eyebrow {
  margin: 0;
}

body.ws26 .ws-tool-banner-text {
  color: var(--ws-text-2);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
}

/* Pixel Text tool */
body.ws26 .ws-hero--tool {
  padding-bottom: clamp(40px, 5vw, 64px);
}

body.ws26 .ws-main > section.ws-pixel-tool {
  padding: 0 0 clamp(80px, 10vw, 140px);
  background: transparent;
}

body.ws26 .ws-pixel-tool .text-png-layout {
  display: grid;
  gap: 20px;
}

body.ws26 .ws-pixel-tool .text-png-stage {
  order: -1;
  min-height: clamp(300px, 40vw, 560px);
  padding: clamp(16px, 3vw, 40px);
  border: 0;
  border-radius: var(--ws-r-xl);
  background: #000000;
  box-shadow: inset 0 0 0 1px var(--ws-line-soft), var(--ws-shadow);
  isolation: isolate;
}

body.ws26 .ws-pixel-tool .text-png-stage::after {
  display: none;
}

body.ws26 .ws-pixel-tool .text-png-stage-grid {
  opacity: 0.5;
}

body.ws26 .ws-pixel-tool .text-png-inner {
  min-height: 0;
  background: transparent;
}

body.ws26 .ws-pixel-tool .text-png-panel {
  gap: 24px;
  padding: clamp(20px, 3vw, 32px);
  border: 0;
  border-radius: var(--ws-r-xl);
  background: var(--ws-surface);
}

body.ws26 .ws-pixel-tool .text-png-fields {
  gap: 14px;
}

body.ws26 .ws-pixel-tool .text-png-field span,
body.ws26 .ws-pixel-tool .pixel-animation legend {
  color: var(--ws-text-2);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

body.ws26 .ws-pixel-tool .text-png-field b {
  color: var(--ws-text);
  font-weight: 600;
}

body.ws26 .ws-pixel-tool .text-png-field input[type="text"],
body.ws26 .ws-pixel-tool .text-png-field input[type="number"],
body.ws26 .ws-pixel-tool .text-png-field select,
body.ws26 .ws-pixel-tool .pixel-animation input {
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--ws-line-soft);
  border-radius: 14px;
  background: var(--ws-tile);
  color: var(--ws-text);
  font-size: 16px;
  font-weight: 500;
}

body.ws26 .ws-pixel-tool .text-png-field input:focus,
body.ws26 .ws-pixel-tool .text-png-field select:focus,
body.ws26 .ws-pixel-tool .pixel-animation input:focus {
  border-color: var(--ws-accent);
  outline: none;
}

body.ws26 .ws-pixel-tool .text-png-field--range {
  align-self: stretch;
  padding: 12px 14px;
  border: 1px solid var(--ws-line-soft);
  border-radius: 14px;
  background: var(--ws-tile);
}

body.ws26 .ws-pixel-tool .text-png-actions,
body.ws26 .ws-pixel-tool .pixel-animation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.ws26 .ws-pixel-tool .text-png-actions .btn,
body.ws26 .ws-pixel-tool .pixel-animation-actions .btn {
  width: auto;
  min-height: 44px;
  padding: 10px 22px;
  border: 0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-transform: none;
}

body.ws26 .ws-pixel-tool .text-png-actions .btn-primary {
  background: var(--ws-accent-btn);
  color: #ffffff;
}

body.ws26 .ws-pixel-tool .text-png-actions .btn-secondary,
body.ws26 .ws-pixel-tool .pixel-animation-actions .btn {
  background: var(--ws-surface-2);
  color: var(--ws-text);
}

body.ws26 .ws-pixel-tool .text-png-actions .btn:hover,
body.ws26 .ws-pixel-tool .pixel-animation-actions .btn:hover {
  background: var(--ws-surface-3);
  color: var(--ws-text);
  border-color: transparent;
}

body.ws26 .ws-pixel-tool .text-png-actions .btn-primary:hover {
  background: var(--ws-accent);
  color: #ffffff;
}

body.ws26 .ws-pixel-tool .pixel-animation-actions #pixel-animation-preview {
  width: 44px;
  padding: 0;
}

body.ws26 .ws-pixel-tool .pixel-animation {
  margin: 0;
  padding: 20px 0 0;
  border: 0;
  border-top: 1px solid var(--ws-line-soft);
}

body.ws26 .ws-pixel-tool .pixel-animation legend {
  padding: 0 12px 0 0;
}

body.ws26 .ws-pixel-tool #pixel-animation-status {
  color: var(--ws-text-2);
  font-size: 13px;
}

body.ws26 .ws-pixel-more {
  padding: 0 0 clamp(96px, 12vw, 160px);
}

@media (max-width: 980px) {
  body.ws26 .ws-videos--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.ws26 .ws-tool-banner {
    grid-template-columns: 1fr;
  }

  body.ws26 .ws-tool-banner-art {
    min-height: 200px;
  }
}

@media (max-width: 760px) {
  body.ws26 .ws-videos--3 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Motion Service page (freelance.html)
   ========================================================================== */
body.ws26.motion-service-page .ws-main > section {
  border: 0;
}

/* Social proof: client names / logos */
body.ws26 .ws-proof-logos {
  padding: 0 0 clamp(72px, 9vw, 120px);
}

body.ws26 .ws-proof-title {
  margin: 0 0 22px;
  color: var(--ws-text-3);
  font-size: 15px;
  font-weight: 500;
  text-align: center;
}

body.ws26 .ws-logo-wall {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px clamp(28px, 4vw, 56px);
  margin: 0;
  padding: 0;
  list-style: none;
}

body.ws26 .ws-logo-name {
  color: var(--ws-text-2);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

body.ws26 .ws-logo img {
  display: block;
  height: 28px;
  width: auto;
  opacity: 0.72;
  filter: var(--ws-invert);
}

/* Reviews */
body.ws26 .ws-proof-reviews {
  padding: clamp(96px, 11vw, 150px) 0 0;
}

body.ws26 .ws-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

body.ws26 .ws-review {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  margin: 0;
  padding: 32px;
  border-radius: var(--ws-r-lg);
  background: var(--ws-surface);
}

body.ws26 .ws-review.is-sample {
  outline: 1.5px dashed var(--ws-line);
  outline-offset: -1.5px;
  background: transparent;
}

body.ws26 .ws-review-quote {
  margin: 0;
  color: var(--ws-text);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.45;
}

body.ws26 .ws-review-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

body.ws26 .ws-review-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--ws-surface-2);
  color: var(--ws-text-2);
  font-size: 15px;
  font-weight: 600;
}

body.ws26 .ws-review-who {
  display: grid;
  gap: 2px;
}

body.ws26 .ws-review-who strong {
  color: var(--ws-text);
  font-size: 15px;
  font-weight: 600;
}

body.ws26 .ws-review-who span {
  color: var(--ws-text-2);
  font-size: 14px;
  font-weight: 500;
}

/* Calculator */
body.ws26.motion-service-page .studio-calculator {
  padding: clamp(96px, 11vw, 150px) 0 0;
  background: transparent;
}

body.ws26.motion-service-page .calculator-box {
  grid-template-columns: minmax(0, 1.42fr) minmax(320px, 0.82fr);
  gap: 20px;
  padding: 0;
  border: 0;
  background: transparent;
}

body.ws26.motion-service-page .calc-sliders {
  gap: 34px;
  padding: clamp(24px, 3vw, 40px);
  border: 0;
  border-radius: var(--ws-r-xl);
  background: var(--ws-surface);
}

body.ws26.motion-service-page .calc-label-row span,
body.ws26.motion-service-page .studio-field-label,
body.ws26.motion-service-page .calc-group-heading small,
body.ws26.motion-service-page .calc-total-label {
  color: var(--ws-text-2);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

body.ws26.motion-service-page .calc-group-heading small {
  color: var(--ws-text-3);
  font-size: 13px;
}

body.ws26.motion-service-page .calc-label-row .calc-value {
  color: var(--ws-text);
  font-size: 15px;
  font-weight: 600;
}

body.ws26.motion-service-page .calc-range-visual {
  height: 4px;
  border-radius: 999px;
  background: var(--ws-surface-3);
  overflow: visible;
}

body.ws26.motion-service-page .calc-range-fill {
  border-radius: 999px;
  background: var(--ws-accent);
}

body.ws26.motion-service-page .calc-range-thumb {
  width: 24px;
  height: 24px;
  border: 0;
  background: #ffffff;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.12), 0 3px 10px rgba(0, 0, 0, 0.25);
}

body.ws26.motion-service-page .calc-option-btn,
body.ws26.motion-service-page .calc-bundle-card {
  border: 1.5px solid transparent;
  border-radius: 18px;
  background: var(--ws-tile);
  color: var(--ws-text);
  text-align: left;
  text-transform: none;
  transition: border-color 200ms ease, background-color 200ms ease;
}

body.ws26.motion-service-page .calc-option-btn {
  min-height: 76px;
  padding: 16px 18px;
}

body.ws26.motion-service-page .calc-option-btn strong,
body.ws26.motion-service-page .calc-bundle-card strong {
  color: var(--ws-text);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-transform: none;
}

body.ws26.motion-service-page .calc-option-btn small {
  color: var(--ws-text-2);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  text-transform: none;
}

body.ws26.motion-service-page .calc-option-btn:not(.is-active):hover,
body.ws26.motion-service-page .calc-bundle-card:hover {
  border-color: var(--ws-line);
  background: var(--ws-tile);
  color: var(--ws-text);
}

body.ws26.motion-service-page .calc-option-btn.is-active,
body.ws26.motion-service-page .calc-bundle-card.is-active {
  border-color: var(--ws-accent);
  background: var(--ws-accent-soft);
  color: var(--ws-text);
}

body.ws26.motion-service-page .calc-bundle-card {
  min-height: 150px;
  gap: 6px;
  padding: 18px;
}

body.ws26.motion-service-page .calc-bundle-card .bundle-eyebrow,
body.ws26.motion-service-page .calc-bundle-card.is-active .bundle-eyebrow {
  left: 18px;
  top: 16px;
  color: var(--ws-text-3);
  font-size: 12px;
  font-weight: 600;
  text-transform: none;
}

body.ws26.motion-service-page .calc-bundle-card > span:not(.bundle-eyebrow) {
  color: var(--ws-text-2);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  opacity: 1;
}

body.ws26.motion-service-page .calc-bundle-card em,
body.ws26.motion-service-page .calc-bundle-card.is-active em,
body.ws26.motion-service-page .calc-bundle-card:hover em {
  color: var(--ws-text-3);
  font-size: 13px;
  font-weight: 500;
}

body.ws26.motion-service-page .calc-bundle-card::after,
body.ws26.motion-service-page .calc-bundle-card.is-active::after,
body.ws26.motion-service-page .calc-bundle-card:hover::after {
  right: 16px;
  top: 14px;
  color: var(--ws-accent-text);
  font-size: 15px;
}

body.ws26.motion-service-page .calc-subscription-card {
  min-height: 140px;
  background:
    linear-gradient(90deg, rgba(249, 58, 0, 0.08), transparent 55%),
    var(--ws-tile);
}

body.ws26.motion-service-page .calc-subscription-card.is-active {
  color: var(--ws-text);
  background: var(--ws-accent-soft);
}

body.ws26.motion-service-page .calc-subscription-badge,
body.ws26.motion-service-page .calc-subscription-card.is-active .calc-subscription-badge {
  color: var(--ws-accent-text) !important;
  font-size: 12px !important;
  font-weight: 600;
  text-transform: none;
}

body.ws26.motion-service-page .calc-subscription-summary,
body.ws26.motion-service-page .calc-subscription-card.is-active .calc-subscription-summary {
  color: var(--ws-text-2) !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
}

body.ws26.motion-service-page .calc-subscription-list span,
body.ws26.motion-service-page .calc-subscription-card.is-active .calc-subscription-list span {
  color: var(--ws-text-2) !important;
  font-size: 13px;
  font-weight: 500;
  text-transform: none;
}

body.ws26.motion-service-page .calc-subscription-card.is-active::after {
  color: var(--ws-accent-text);
}

body.ws26.motion-service-page .calc-result-panel {
  top: 92px;
  padding: clamp(24px, 3vw, 36px);
  border: 0;
  border-radius: var(--ws-r-xl);
  background: var(--ws-surface);
}

body.ws26.motion-service-page .calc-direction-summary {
  border-bottom-color: var(--ws-line-soft);
}

body.ws26.motion-service-page .calc-direction-summary h3 {
  color: var(--ws-text);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: none;
}

body.ws26.motion-service-page .calc-recommended-badge {
  justify-self: start;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--ws-accent-soft);
  color: var(--ws-accent-text);
  font-size: 12px;
  font-weight: 600;
  text-transform: none;
}

body.ws26.motion-service-page .calc-direction-summary p {
  color: var(--ws-text-2);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

body.ws26.motion-service-page .calc-total-price {
  color: var(--ws-text);
  font-size: clamp(52px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.04em;
}

body.ws26.motion-service-page .calc-total-timeline {
  color: var(--ws-text-2);
  font-size: 15px;
  font-weight: 500;
  text-transform: none;
}

body.ws26.motion-service-page .calc-included,
body.ws26.motion-service-page .calc-selected-addons {
  border-top-color: var(--ws-line-soft);
}

body.ws26.motion-service-page .calc-included-list li,
body.ws26.motion-service-page .calc-addon-list li {
  color: var(--ws-text);
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
}

body.ws26.motion-service-page .calc-included-list li::before,
body.ws26.motion-service-page .calc-addon-list li::before {
  color: var(--ws-accent-text);
}

body.ws26.motion-service-page .calc-result-panel .btn {
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  background: var(--ws-accent-btn);
  color: #ffffff;
  font-size: 17px;
  font-weight: 600;
  text-transform: none;
}

body.ws26.motion-service-page .calc-result-panel .btn:hover {
  background: var(--ws-accent);
}

body.ws26.motion-service-page .calc-help-link {
  color: var(--ws-text-2);
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  text-decoration-color: var(--ws-line);
}

body.ws26.motion-service-page .calc-help-link:hover {
  color: var(--ws-text);
}

/* Process */
body.ws26.motion-service-page #process {
  padding: clamp(96px, 11vw, 150px) 0 0;
  background: transparent;
}

body.ws26.motion-service-page .studio-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  border: 0;
}

body.ws26.motion-service-page .process-step {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 0;
  padding: 28px;
  border: 0;
  border-radius: var(--ws-r-lg);
  background: var(--ws-surface);
}

body.ws26.motion-service-page .process-step > span {
  color: var(--ws-accent-text);
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

body.ws26.motion-service-page .process-step h2 {
  margin: 0;
  color: var(--ws-text);
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-transform: none;
}

body.ws26.motion-service-page .process-step p {
  margin: 0;
  color: var(--ws-text-2);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  text-transform: none;
}

/* Showcase directions deck */
body.ws26.motion-service-page #portfolio-deck {
  padding: clamp(96px, 11vw, 150px) 0 0;
  background: transparent;
}

body.ws26.motion-service-page .service-grid .work-media {
  border-radius: var(--ws-r-lg);
}

/* Real UI frames (ui-directions.html) — replaced by a Lottie once data-lottie is set */
body.ws26 .ws-direction {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  border-radius: inherit;
  background: var(--ws-tile-inner);
}

body.ws26 .ws-direction-frame,
body.ws26 .ws-direction-lottie {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

body.ws26 .ws-direction-frame {
  color-scheme: light;
}

body.ws26 .ws-direction-lottie svg {
  display: block;
}

body.ws26 .ws-direction.has-lottie .ws-direction-frame {
  visibility: hidden;
}

body.ws26.motion-service-page .service-grid .work-video:not([src]) {
  display: none;
}

body.ws26.motion-service-page .service-grid .work-card .ws-direction-frame {
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (hover: hover) {
  body.ws26.motion-service-page .service-grid .work-card:hover .ws-direction-frame {
    transform: scale(1.03);
  }
}

body.ws26.motion-service-page .studio-media-mark {
  right: auto;
  top: auto;
  width: auto;
  height: auto;
  left: 16px;
  bottom: 14px;
  z-index: 4;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
}

/* Brief form */
body.ws26:is(.motion-service-page, .contact-page) .studio-contact {
  padding: clamp(96px, 11vw, 150px) 0 clamp(96px, 12vw, 160px);
  background: transparent;
}

body.ws26:is(.motion-service-page, .contact-page) .contact-layout {
  gap: 20px;
  border: 0;
}

body.ws26:is(.motion-service-page, .contact-page) .contact-info {
  display: grid;
  align-content: start;
  gap: 20px;
  padding: clamp(8px, 2vw, 24px) 0;
  border: 0;
  background: transparent;
}

body.ws26:is(.motion-service-page, .contact-page) .contact-title {
  margin: 0;
}

body.ws26:is(.motion-service-page, .contact-page) .contact-desc {
  margin: 0;
  color: var(--ws-text-2);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.45;
  text-transform: none;
}

body.ws26:is(.motion-service-page, .contact-page) .studio-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.ws26:is(.motion-service-page, .contact-page) .studio-contact-links a {
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: var(--ws-surface-2);
  color: var(--ws-text);
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  text-decoration: none;
}

body.ws26:is(.motion-service-page, .contact-page) .studio-contact-links a:hover {
  background: var(--ws-surface-3);
}

body.ws26:is(.motion-service-page, .contact-page) .contact-form-container {
  padding: clamp(24px, 3vw, 40px);
  border: 0;
  border-radius: var(--ws-r-xl);
  background: var(--ws-surface);
}

body.ws26:is(.motion-service-page, .contact-page) .contact-form label {
  color: var(--ws-text-2);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

body.ws26:is(.motion-service-page, .contact-page) .form-control {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--ws-line-soft);
  border-radius: 14px;
  background: var(--ws-tile);
  color: var(--ws-text);
  font-size: 16px;
  font-weight: 500;
}

body.ws26:is(.motion-service-page, .contact-page) .form-control::placeholder {
  color: var(--ws-text-3);
}

body.ws26:is(.motion-service-page, .contact-page) .form-control:focus {
  border-color: var(--ws-accent);
  box-shadow: 0 0 0 4px var(--ws-accent-soft);
  outline: none;
}

body.ws26:is(.motion-service-page, .contact-page) .brief-file-drop {
  border: 1.5px dashed var(--ws-line);
  border-radius: 18px;
  background: var(--ws-tile);
  color: var(--ws-text);
}

body.ws26:is(.motion-service-page, .contact-page) .brief-file-drop strong {
  color: var(--ws-text);
  font-size: 15px;
  font-weight: 600;
  text-transform: none;
}

body.ws26:is(.motion-service-page, .contact-page) .brief-file-drop span {
  color: var(--ws-text-2);
  font-size: 13px;
  font-weight: 500;
  text-transform: none;
}

body.ws26:is(.motion-service-page, .contact-page) .contact-form .btn {
  min-height: 48px;
  padding: 12px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--ws-accent-btn);
  color: #ffffff;
  font-size: 17px;
  font-weight: 600;
  text-transform: none;
}

body.ws26:is(.motion-service-page, .contact-page) .contact-form .btn:hover {
  background: var(--ws-accent);
}

@media (max-width: 1024px) {
  body.ws26:is(.motion-service-page, .contact-page) .calculator-box {
    grid-template-columns: 1fr;
  }

  body.ws26:is(.motion-service-page, .contact-page) .studio-process-grid,
  body.ws26 .ws-review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.ws26:is(.motion-service-page, .contact-page) .studio-process-grid,
  body.ws26 .ws-review-grid {
    grid-template-columns: 1fr;
  }

  body.ws26:is(.motion-service-page, .contact-page) .calc-sliders,
  body.ws26:is(.motion-service-page, .contact-page) .calc-result-panel,
  body.ws26:is(.motion-service-page, .contact-page) .contact-form-container {
    padding: 20px;
  }

  body.ws26 .ws-logo-wall {
    gap: 12px 24px;
  }
}

/* ==========================================================================
   Product pages (ui-animator-pro.html; docs + live preview kept)
   ========================================================================== */
body.ws26.uiap-product-page .showroom-page {
  overflow: visible;
}

body.ws26 .ws-hero--product {
  padding-top: clamp(88px, 11vh, 132px);
}

body.ws26 .ws-product-title.uiap-pixel-heading {
  justify-content: center;
  width: 100%;
  max-width: 980px;
  min-height: 1.1em;
  margin: 4px auto 0;
  color: var(--ws-text);
  font-size: clamp(48px, 7vw, 104px);
}

body.ws26 .uiap-pixel-heading {
  color: var(--ws-text);
}

body.ws26 .ws-hero--product .ws-lead {
  max-width: 32em;
  margin-top: 22px;
}

body.ws26 .ws-hero--product .ws-actions {
  margin-top: 34px;
}

body.ws26 .ws-product-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

body.ws26 .ws-product-meta li {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--ws-surface-2);
  color: var(--ws-text-2);
  font-size: 14px;
  font-weight: 500;
}

/* Live preview stage */
body.ws26 .uiap-live-stage.ws-live-stage {
  width: min(calc(100% - 80px), 1220px);
  margin: 0 auto;
  padding: clamp(56px, 7vw, 88px) 24px 40px;
  border: 0;
  border-radius: var(--ws-r-xl);
  background:
    radial-gradient(circle at 50% 42%, rgba(249, 58, 0, 0.1), transparent 38%),
    radial-gradient(var(--ws-line-soft) 1px, transparent 1.2px) 0 0 / 22px 22px,
    var(--ws-surface);
}

body.ws26 .uiap-live-stage.ws-live-stage::before {
  content: 'Live preview';
  top: 22px;
  left: 50%;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--ws-tile);
  color: var(--ws-text-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  transform: translateX(-50%);
}

body.ws26 .ws-live-stage .uiap-plugin-window {
  border: 0;
  border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18), 0 30px 80px rgba(0, 0, 0, 0.32);
}

body.ws26 .ws-live-stage .uiap-resize-handle::before {
  border: 0;
  background: var(--ws-tile);
  box-shadow: 0 0 0 1px var(--ws-line), 0 4px 14px rgba(0, 0, 0, 0.18);
}

body.ws26 .ws-live-stage .uiap-resize-handle:hover::before,
body.ws26 .ws-live-stage .uiap-resize-handle:focus-visible::before {
  background: var(--ws-accent);
  box-shadow: 0 0 0 1px var(--ws-accent), 0 4px 14px rgba(249, 58, 0, 0.3);
}

body.ws26 .ws-live-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 6px;
  max-width: 640px;
  margin: 56px auto 0;
  color: var(--ws-text-2);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
}

body.ws26 .ws-live-caption span:first-child {
  color: var(--ws-text);
}

body.ws26 .ws-live-size {
  flex-basis: 100%;
  color: var(--ws-text-3);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

/* Sections */
body.ws26 .ws-product-section {
  padding: clamp(96px, 11vw, 150px) 0 0;
}

body.ws26 .ws-bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

body.ws26 .ws-bento-tile {
  display: grid;
  align-content: start;
  gap: 12px;
  grid-column: span 2;
  min-height: 260px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--ws-r-lg);
  background: var(--ws-surface);
}

body.ws26 .ws-bento-tile--wide {
  grid-column: span 4;
}

body.ws26 .ws-bento-tile p {
  margin: 0;
  color: var(--ws-text-2);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
}

body.ws26 .ws-bento-tile--wide p {
  max-width: 34em;
}

body.ws26 .ws-bento-index {
  color: var(--ws-accent-text);
  font-size: 14px;
  font-weight: 600;
}

body.ws26 .ws-companions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

body.ws26 .ws-companions .ws-bento-tile {
  grid-column: auto;
  min-height: 0;
}

/* Live companion previews (fixed 1:1 size — the real extension UI) */
body.ws26 .ws-companion .ws-h3 {
  margin-bottom: 8px;
}

body.ws26 .ws-companion p {
  margin-top: 12px;
}

body.ws26 .ws-companion-stage {
  --cs-block: color-mix(in srgb, var(--ws-text) 8%, transparent);
  position: relative;
  height: 620px;
  overflow: hidden;
  border-radius: var(--ws-r-md);
  background: var(--ws-bg);
}

body.ws26 .ws-companion-window {
  position: absolute;
  z-index: 2;
  overflow: hidden;
  background: #161617;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32), 0 6px 18px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

body.ws26 .ws-companion-window iframe {
  display: block;
  border: 0;
  background: #161617;
  color-scheme: dark;
}

/* Chrome: popup dropping from the toolbar icon over a page being captured */
body.ws26 .ws-browser {
  position: absolute;
  inset: 18px 18px auto 18px;
  height: 560px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--ws-surface);
  box-shadow: 0 0 0 1px var(--ws-line-soft);
}

body.ws26 .ws-browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 12px;
  border-bottom: 1px solid var(--ws-line-soft);
}

body.ws26 .ws-browser-dots {
  display: flex;
  gap: 6px;
}

body.ws26 .ws-browser-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ws-line);
}

body.ws26 .ws-browser-url {
  flex: 1;
  min-width: 0;
  height: 28px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--cs-block);
  color: var(--ws-text-3);
  font-size: 13px;
  white-space: nowrap;
}

body.ws26 .ws-browser-ext {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--cs-block);
}

body.ws26 .ws-browser-ext img {
  display: block;
  border-radius: 4px;
}

body.ws26 .ws-browser-page {
  display: grid;
  gap: 14px;
  padding: 26px 24px;
}

body.ws26 .ws-browser-page span,
body.ws26 .ws-browser-page i {
  display: block;
  border-radius: 8px;
  background: var(--cs-block);
}

body.ws26 .ws-mock-nav { height: 14px; width: 60%; }
body.ws26 .ws-mock-title { height: 44px; width: 78%; margin-top: 18px; }
body.ws26 .ws-mock-line { height: 12px; width: 70%; }
body.ws26 .ws-mock-line--short { width: 46%; }

body.ws26 .ws-browser-page .ws-mock-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
  background: none;
}

body.ws26 .ws-mock-cards i { height: 210px; }

body.ws26 .ws-browser-page .is-captured {
  outline: 2px dashed var(--ws-accent);
  outline-offset: 4px;
  background: var(--ws-accent-soft);
}

body.ws26 .ws-companion-window--chrome {
  top: 70px;
  right: 30px;
  width: 324px;
  height: 330px;
  border-radius: 14px;
}

/* Figma: plugin window floating over the canvas */
body.ws26 .ws-figma-canvas {
  position: absolute;
  inset: 0;
}

body.ws26 .ws-figma-frame-label {
  position: absolute;
  left: 28px;
  top: 28px;
  color: var(--ws-text-3);
  font-size: 12px;
  font-weight: 500;
}

body.ws26 .ws-figma-frame {
  position: absolute;
  left: 28px;
  top: 50px;
  width: 300px;
  height: 520px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px 18px;
  border-radius: 4px;
  background: var(--ws-surface);
  box-shadow: 0 0 0 1.5px #0d99ff;
}

body.ws26 .ws-figma-frame i {
  display: block;
  height: 120px;
  border-radius: 10px;
  background: var(--cs-block);
}

body.ws26 .ws-figma-frame i:first-child { height: 38px; width: 70%; }

body.ws26 .ws-companion-window--figma {
  top: 22px;
  right: 22px;
  width: 336px;
  height: 576px;
  border-radius: 12px;
  background: #151515;
}

body.ws26 .ws-plugin-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 12px 0 14px;
  border-bottom: 1px solid #2c2c2c;
  background: #1e1e1e;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
}

body.ws26 .ws-plugin-bar img {
  display: block;
  border-radius: 4px;
}

body.ws26 .ws-plugin-bar-close {
  position: relative;
  margin-left: auto;
  width: 22px;
  height: 22px;
}

body.ws26 .ws-plugin-bar-close::before,
body.ws26 .ws-plugin-bar-close::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 14px;
  height: 1.5px;
  border-radius: 2px;
  background: #a3a3a3;
  transform: rotate(45deg);
}

body.ws26 .ws-plugin-bar-close::after {
  transform: rotate(-45deg);
}

body.ws26 .ws-video--feature .ws-yt {
  border-radius: var(--ws-r-xl);
}

body.ws26 .ws-video--feature .ws-yt-play {
  width: 88px;
  height: 88px;
}

body.ws26 .ws-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 32px;
  margin: 0;
}

body.ws26 .ws-specs > div {
  padding: 20px 0;
  border-top: 1px solid var(--ws-line-soft);
}

body.ws26 .ws-specs dt {
  margin: 0 0 6px;
  color: var(--ws-text-3);
  font-size: 14px;
  font-weight: 500;
}

body.ws26 .ws-specs dd {
  margin: 0;
  color: var(--ws-text);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
}

/* Documentation (uiap-docs.css), restyled as a card */
body.ws26 .uiap-docs {
  width: min(calc(100% - 80px), 1220px);
  height: min(100svh - 40px, 920px);
  margin: clamp(96px, 11vw, 150px) auto 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--ws-r-xl);
  background: var(--ws-surface);
  color: var(--ws-text);
}

body.ws26 .uiap-docs-heading {
  padding: 28px 32px 22px;
  border-bottom: 1px solid var(--ws-line-soft);
}

body.ws26 .uiap-docs-version {
  color: var(--ws-text-2);
}

body.ws26 .uiap-docs-nav {
  padding: 18px 14px;
  border-right: 1px solid var(--ws-line-soft);
}

body.ws26 .uiap-docs-nav summary {
  border-radius: 10px;
  color: var(--ws-text);
  font-size: 15px;
  font-weight: 600;
}

body.ws26 .uiap-docs-nav a {
  margin-left: 12px;
  border-left: 0;
  border-radius: 10px;
  color: var(--ws-text-2);
  font-size: 14px;
}

body.ws26 .uiap-docs-nav a:hover {
  background: var(--ws-surface-2);
  color: var(--ws-text);
}

body.ws26 .uiap-docs-nav a[aria-current="location"] {
  background: var(--ws-tile);
  color: var(--ws-text);
  box-shadow: inset 3px 0 0 var(--ws-accent);
}

body.ws26 .uiap-docs-scroll {
  scrollbar-color: var(--ws-surface-3) transparent;
}

body.ws26 .uiap-docs-section {
  border-bottom-color: var(--ws-line-soft);
}

body.ws26 .uiap-docs-chapter {
  color: var(--ws-text);
}

body.ws26 .uiap-docs-section h3,
body.ws26 .uiap-docs-section h4,
body.ws26 .uiap-docs-section h5,
body.ws26 .uiap-docs-section strong {
  color: var(--ws-text);
}

body.ws26 .uiap-docs-section h3 {
  font-weight: 700;
  letter-spacing: -0.03em;
}

body.ws26 .uiap-docs-section p,
body.ws26 .uiap-docs-section li {
  color: var(--ws-text-2);
  font-size: 16px;
}

body.ws26 .uiap-docs-section a {
  color: var(--ws-accent-text);
}

body.ws26 .uiap-docs-panel {
  border: 0;
  border-radius: var(--ws-r-md);
  box-shadow: 0 0 0 1px var(--ws-line-soft);
}

body.ws26 .uiap-docs-pagination {
  border-top: 1px solid var(--ws-line-soft);
  background: var(--ws-surface);
}

body.ws26 .uiap-docs-pagination button {
  border-radius: 12px;
  color: var(--ws-text);
}

body.ws26 .uiap-docs-pagination button:not(:disabled):hover {
  background: var(--ws-surface-2);
}

body.ws26 .uiap-docs-pagination button span {
  color: var(--ws-text-2);
  font-size: 13px;
}

body.ws26 .uiap-docs-pagination button strong {
  font-size: 15px;
  font-weight: 600;
}

body.ws26 .ws-product-cta {
  padding-top: clamp(96px, 11vw, 150px);
}

@media (max-width: 980px) {
  body.ws26 .ws-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.ws26 .ws-bento-tile,
  body.ws26 .ws-bento-tile--wide {
    grid-column: span 1;
    min-height: 0;
  }

  body.ws26 .ws-bento-tile--wide {
    grid-column: 1 / -1;
  }

  body.ws26 .ws-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.ws26 .uiap-live-stage.ws-live-stage,
  body.ws26 .uiap-docs {
    width: calc(100% - 36px);
  }

  body.ws26 .uiap-live-stage.ws-live-stage {
    padding: 64px 10px 28px;
  }

  body.ws26 .ws-bento,
  body.ws26 .ws-companions,
  body.ws26 .ws-specs {
    grid-template-columns: 1fr;
  }

  body.ws26 .ws-companion-window--chrome,
  body.ws26 .ws-companion-window--figma {
    right: auto;
    left: 50%;
    margin-left: -168px;
  }

  body.ws26 .ws-companion-window--chrome {
    margin-left: -162px;
  }

  body.ws26 .ws-companion-stage {
    margin-inline: calc(clamp(24px, 3vw, 36px) * -1 + 8px);
  }

  body.ws26 .ws-bento-tile--wide {
    grid-column: auto;
  }

  body.ws26 .uiap-docs-heading {
    padding: 20px 18px 16px;
  }

  body.ws26 .uiap-docs-pagination {
    padding: 10px 8px;
  }

  body.ws26 .uiap-docs-pagination button strong {
    font-size: 13px;
  }
}

/* Progressive pixelation headings (ws-theme.js renders the canvases) */
body.ws26 [data-ws-pixel] {
  position: relative;
}

body.ws26 .ws-pixel-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

body.ws26 .ws-pixel-word {
  display: inline-block;
  vertical-align: top;
  white-space: nowrap;
}

body.ws26 .ws-pixel-glyph {
  display: inline-block;
  vertical-align: top;
}

/* ==========================================================================
   Contact page (contact.html): brief + brand book
   ========================================================================== */
body.ws26.contact-page .ws-main > section {
  border: 0;
}

body.ws26.contact-page .contact-page-brief {
  padding-top: clamp(24px, 4vw, 48px);
}

body.ws26 .ws-brand {
  padding: clamp(64px, 9vw, 120px) 0 clamp(96px, 12vw, 160px);
}

body.ws26 .ws-brand .ws-section-head .ws-eyebrow {
  margin: 0 0 10px;
}

body.ws26 .ws-brand-block {
  margin-top: clamp(64px, 8vw, 104px);
}

body.ws26 .ws-brand-hint {
  color: var(--ws-text-3);
  font-size: 14px;
  font-weight: 500;
}

body.ws26 .ws-mascot-name {
  margin: 16px 0 6px;
  color: var(--ws-text);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0;
}

body.ws26 .ws-mascot-description {
  margin: 0;
  color: var(--ws-text-2);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
}

body.ws26 .ws-mascot-description a {
  color: var(--ws-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Brand film */
body.ws26 .ws-brand-film .ws-yt {
  background: #f93a00;
}

body.ws26 .ws-brand-film .ws-yt img[src=""],
body.ws26 .ws-brand-film .ws-yt img:not([src]) {
  display: none;
}

body.ws26 .ws-brand-film-soon {
  display: none;
}

body.ws26 .ws-brand-film .ws-yt.is-pending {
  cursor: default;
  background: linear-gradient(135deg, #f93a00 0%, #f66800 100%);
}

body.ws26 .ws-brand-film .ws-yt.is-pending .ws-yt-play {
  display: none;
}

body.ws26 .ws-brand-film-mark {
  display: none;
}

body.ws26 .ws-brand-film .ws-yt.is-pending .ws-brand-film-mark {
  position: absolute;
  inset: 0;
  display: block;
}

body.ws26 .ws-brand-film .ws-yt.is-pending .ws-brand-film-mark .ws-mascot {
  position: absolute;
  left: 50%;
  top: 44%;
  width: auto;
  height: 46%;
  aspect-ratio: 1 / 1;
  overflow: visible;
  transform: translate(-50%, -50%);
}

body.ws26 .ws-brand-film .ws-yt.is-pending .ws-brand-film-soon {
  position: absolute;
  left: 50%;
  bottom: clamp(14px, 3vw, 32px);
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.82);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

/* Logo in motion — mascot tiles */
body.ws26 .ws-mascots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.ws26 .ws-mascot-tile {
  display: grid;
  gap: 16px;
  align-content: start;
}

body.ws26 .ws-mascot-stage {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--ws-r-lg);
  background: #f93a00;
}

body.ws26 .ws-mascot-stage .ws-mascot {
  width: 62%;
  height: auto;
  overflow: visible;
}

body.ws26 .ws-mascot-stage.has-lottie .ws-mascot {
  visibility: hidden;
}

body.ws26 .ws-mascot-stage .ws-direction-lottie {
  position: absolute;
  inset: 0;
}

body.ws26 .ws-mascot-tile p {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0 4px;
  color: var(--ws-text-2);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
}

body.ws26 .ws-mascot-tile p strong {
  color: var(--ws-text);
  font-size: 17px;
  font-weight: 600;
}

.ws-mascot .ws-mascot-body,
.ws-mascot .ws-mascot-spark {
  fill: #000000;
}

.ws-mascot .ws-mascot-eyes {
  fill: #ffffff;
}

.ws-mascot .ws-eye-arc {
  fill: none;
  stroke: #ffffff;
  stroke-linecap: round;
}

.ws-mascot .ws-mascot-figure,
.ws-mascot .ws-mascot-eyes {
  transform-box: fill-box;
  transform-origin: center;
}

@keyframes ws-mascot-blink {
  0%, 40%, 47%, 84%, 90%, 100% { transform: scaleY(1); }
  43.5% { transform: scaleY(0.06); }
  86% { transform: scaleY(0.06); }
  88% { transform: scaleY(1); }
  89% { transform: scaleY(0.06); }
}

@keyframes ws-mascot-bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-2%) rotate(-1.5deg); }
}

.ws-mascot .ws-anim-blink {
  animation: ws-mascot-blink 3.6s ease-in-out infinite;
}

.ws-mascot .ws-anim-bob {
  animation: ws-mascot-bob 3.6s ease-in-out infinite;
}

/* Moods: four eye sets, each on screen for a quarter of the loop */
@keyframes ws-mood-0 { 0%, 23% { opacity: 1; } 25%, 100% { opacity: 0; } }
@keyframes ws-mood-1 { 0%, 24% { opacity: 0; } 25%, 48% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes ws-mood-2 { 0%, 49% { opacity: 0; } 50%, 73% { opacity: 1; } 75%, 100% { opacity: 0; } }
@keyframes ws-mood-3 { 0%, 74% { opacity: 0; } 75%, 98% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ws-mood-body {
  0%, 22% { transform: scale(1.05) rotate(0deg); }
  25%, 47% { transform: scale(1) rotate(-2deg); }
  50%, 72% { transform: scale(1) rotate(3deg); }
  75%, 97% { transform: scale(1.04) rotate(2deg); }
  100% { transform: scale(1.05) rotate(0deg); }
}

.ws-mascot .ws-anim-moods {
  animation: ws-mood-body 6s cubic-bezier(0.3, 1.4, 0.5, 1) infinite;
}

.ws-mascot .ws-mood { opacity: 0; animation: 6s steps(1, end) infinite; }
.ws-mascot .ws-mood--0 { opacity: 1; animation-name: ws-mood-0; }
.ws-mascot .ws-mood--1 { animation-name: ws-mood-1; }
.ws-mascot .ws-mood--2 { animation-name: ws-mood-2; }
.ws-mascot .ws-mood--3 { animation-name: ws-mood-3; }

@media (prefers-reduced-motion: reduce) {
  .ws-mascot .ws-anim-blink,
  .ws-mascot .ws-anim-bob,
  .ws-mascot .ws-anim-moods,
  .ws-mascot .ws-mood {
    animation: none;
  }
}

/* Colour */
body.ws26 .ws-swatches {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.ws26 .ws-swatch {
  display: grid;
  gap: 14px;
  align-content: start;
}

body.ws26 .ws-swatch-chip {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 14px;
  border: 0;
  border-radius: var(--ws-r-md);
  box-shadow: inset 0 0 0 1px var(--ws-line-soft);
  cursor: pointer;
  font: inherit;
}

body.ws26 .ws-swatch-chip span {
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.2s ease;
}

body.ws26 .ws-swatch-chip:hover span,
body.ws26 .ws-swatch-chip:focus-visible span,
body.ws26 .ws-swatch-chip.is-copied span {
  opacity: 1;
}

body.ws26 .ws-swatch-meta {
  display: grid;
  gap: 3px;
  color: var(--ws-text-2);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

body.ws26 .ws-swatch-meta strong {
  color: var(--ws-text);
  font-size: 16px;
  font-weight: 600;
}

body.ws26 .ws-swatch-meta code {
  color: var(--ws-text);
  font-family: "SF Mono", ui-monospace, Menlo, monospace;
  font-size: 13px;
}

body.ws26 .ws-swatch-meta span {
  margin-top: 4px;
}

body.ws26 .ws-brand-gradient {
  display: flex;
  align-items: flex-end;
  height: 120px;
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: var(--ws-r-lg);
  background: linear-gradient(90deg, #f93a00 0%, #f66800 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
}

/* Type & pixels */
body.ws26 .ws-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

body.ws26 .ws-type-tile {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--ws-r-lg);
  background: var(--ws-surface);
}

body.ws26 .ws-type-tile--wide {
  grid-column: 1 / -1;
}

body.ws26 .ws-type-tile p {
  margin: 0;
  color: var(--ws-text-2);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
}

body.ws26 .ws-naming-specimen {
  display: grid;
  place-items: center;
  min-height: 180px;
}

body.ws26 .ws-naming-specimen img {
  width: 100%;
  max-width: 460px;
  height: auto;
  filter: var(--ws-invert);
}

body.ws26 .ws-type-specimen {
  display: grid;
  place-items: center;
  min-height: 180px;
  color: var(--ws-text);
  font-size: clamp(110px, 12vw, 160px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}

body.ws26 .ws-pixel-lab-output {
  min-height: 1.1em;
  color: var(--ws-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

body.ws26 .ws-pixel-lab-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 16px;
}

body.ws26 .ws-pixel-lab-field {
  display: grid;
  gap: 8px;
  color: var(--ws-text-3);
  font-size: 13px;
  font-weight: 600;
}

body.ws26 .ws-pixel-lab-field input[type="text"] {
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--ws-line);
  border-radius: 14px;
  background: var(--ws-bg);
  color: var(--ws-text);
  font: 500 16px/1 var(--font-sans);
  outline: none;
}

body.ws26 .ws-pixel-lab-field input[type="text"]:focus {
  border-color: var(--ws-accent);
}

body.ws26 .ws-pixel-lab-field input[type="range"] {
  height: 48px;
  accent-color: var(--ws-accent);
}

/* Press kit */
body.ws26 .ws-press {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.ws26 .ws-press a {
  display: grid;
  gap: 4px;
  color: var(--ws-text-2);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

body.ws26 .ws-press a strong {
  margin-top: 10px;
  color: var(--ws-text);
  font-size: 16px;
  font-weight: 600;
}

body.ws26 .ws-press-preview {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  padding: 18%;
  border-radius: var(--ws-r-md);
  box-shadow: inset 0 0 0 1px var(--ws-line-soft);
  transition: transform 0.3s ease;
}

body.ws26 .ws-press a:hover .ws-press-preview {
  transform: translateY(-3px);
}

body.ws26 .ws-press-preview--light { background: #ffffff; }
body.ws26 .ws-press-preview--dark { background: #000000; }

body.ws26 .ws-press-preview .ws-mascot,
body.ws26 .ws-press-preview img {
  width: 100%;
  max-height: 100%;
  height: auto;
}

body.ws26 .ws-press-preview .ws-mascot {
  width: auto;
  height: 100%;
  aspect-ratio: 1 / 1;
}

body.ws26 .ws-press-preview--invert .ws-mascot {
  filter: invert(1);
}

body.ws26 .ws-press-preview .ws-press-icon {
  width: auto;
  height: 100%;
  min-height: 0;
}

body.ws26 .ws-press-short {
  font-family: var(--font-sans);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

body.ws26 .ws-press-preview--light .ws-press-short { color: #000000; }
body.ws26 .ws-press-preview--dark .ws-press-short { color: #ffffff; }

@media (max-width: 980px) {
  body.ws26 .ws-swatches {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.ws26 .ws-press {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.ws26 .ws-mascots,
  body.ws26 .ws-type-grid {
    grid-template-columns: 1fr;
  }

  body.ws26 .ws-swatches {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.ws26 .ws-pixel-lab-controls {
    grid-template-columns: 1fr;
  }
}

body.ws26 .ws-pixel-lab-field input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

body.ws26 .ws-pixel-lab-field input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: var(--ws-line);
}

body.ws26 .ws-pixel-lab-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -8px;
  border: 0;
  border-radius: 50%;
  background: var(--ws-accent);
  box-shadow: 0 2px 8px rgba(249, 58, 0, 0.4);
}

body.ws26 .ws-pixel-lab-field input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: var(--ws-line);
}

body.ws26 .ws-pixel-lab-field input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: var(--ws-accent);
}

/* ==========================================================================
   Product pages: PinRig editions, script stage, comparison
   ========================================================================== */
body.ws26 .ws-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

body.ws26 .ws-edition-switch {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 4px;
  margin: 6px auto 2px;
  padding: 4px;
  border-radius: 999px;
  background: var(--ws-surface);
  box-shadow: inset 0 0 0 1px var(--ws-line-soft);
}

body.ws26 .ws-edition-switch button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ws-text-2);
  font: 600 15px/1 var(--font-sans);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

body.ws26 .ws-edition-switch button span {
  color: var(--ws-text-3);
  font-weight: 500;
}

body.ws26 .ws-edition-switch button[aria-selected="true"] {
  background: var(--ws-text);
  color: var(--ws-bg);
}

body.ws26 .ws-edition-switch button[aria-selected="true"] span {
  color: inherit;
  opacity: 0.7;
}

body.ws26 .ws-script-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 18px;
  padding: 24px 0 8px;
}

body.ws26 .ws-script-window {
  max-width: 100%;
  overflow: hidden;
  border-radius: 9px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.35), 0 8px 24px rgba(0, 0, 0, 0.2);
}

body.ws26 .ws-script-window iframe {
  display: block;
  border: 0;
  background: transparent;
}

body.ws26 .ws-script-note {
  max-width: 34em;
  margin: 0;
  color: var(--ws-text-3);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

body.ws26 .ws-compare-wrap {
  overflow-x: auto;
  border-radius: var(--ws-r-lg);
  background: var(--ws-surface);
}

body.ws26 .ws-compare {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  color: var(--ws-text-2);
  font-size: 16px;
  font-weight: 500;
}

body.ws26 .ws-compare th,
body.ws26 .ws-compare td {
  padding: 16px clamp(16px, 2.4vw, 32px);
  border-bottom: 1px solid var(--ws-line-soft);
  text-align: center;
}

body.ws26 .ws-compare th[scope="row"],
body.ws26 .ws-compare tbody th {
  color: var(--ws-text);
  font-weight: 500;
  text-align: left;
}

body.ws26 .ws-compare thead th {
  padding-top: 26px;
  color: var(--ws-text);
  font-size: 20px;
  font-weight: 700;
}

body.ws26 .ws-compare thead th span {
  display: block;
  margin-top: 4px;
  color: var(--ws-text-3);
  font-size: 13px;
  font-weight: 500;
}

body.ws26 .ws-compare td:last-child,
body.ws26 .ws-compare th:last-child {
  background: color-mix(in srgb, var(--ws-accent) 6%, transparent);
}

body.ws26 .ws-compare .ws-yes {
  color: var(--ws-accent-text);
  font-size: 18px;
  font-weight: 700;
}

body.ws26 .ws-compare .ws-no {
  color: var(--ws-text-3);
}

body.ws26 .ws-compare tfoot th,
body.ws26 .ws-compare tfoot td {
  border-bottom: 0;
}

body.ws26 .ws-compare tfoot strong {
  color: var(--ws-text);
  font-size: 20px;
}

body.ws26 .ws-compare tfoot .ws-btn {
  width: 100%;
  max-width: 180px;
}

/* ==========================================================================
   Tools: freebies
   ========================================================================== */
body.ws26 .ws-freebies-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

body.ws26 .ws-freebie {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border-radius: var(--ws-r-lg);
  background: var(--ws-surface);
}

body.ws26 .ws-freebie-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #ececec;
}

body.ws26 .ws-freebie-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.ws26 .ws-freebie-media--panel {
  display: grid;
  place-items: center;
  padding: 10%;
  background: #1b1b1d;
}

body.ws26 .ws-freebie-panel {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

body.ws26 .ws-freebie-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--ws-accent);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

body.ws26 .ws-freebie-body {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 22px 24px 24px;
}

body.ws26 .ws-freebie-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

body.ws26 .ws-freebie-head h3 {
  margin: 0;
  color: var(--ws-text);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

body.ws26 .ws-freebie-price {
  color: var(--ws-text-3);
  font-size: 15px;
  font-weight: 600;
}

body.ws26 .ws-freebie-price.is-free {
  color: var(--ws-accent-text);
}

body.ws26 .ws-freebie-body p {
  margin: 0;
  color: var(--ws-text-2);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

body.ws26 .ws-freebie-body .ws-freebie-kind {
  margin-top: -4px;
  color: var(--ws-text-3);
  font-size: 13px;
}

body.ws26 .ws-freebie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 10px;
}

body.ws26 .ws-btn--sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 14px;
}

body.ws26 .ws-btn.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

body.ws26 button.ws-link {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}

body.ws26 .ws-freebie-pinrig {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  margin-top: 20px;
  padding: clamp(20px, 3vw, 32px);
  overflow: hidden;
  border-radius: var(--ws-r-lg);
  background: var(--ws-surface);
  color: inherit;
  text-decoration: none;
}

body.ws26 .ws-freebie-pinrig img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

body.ws26 .ws-freebie-pinrig > span {
  display: grid;
  gap: 8px;
  color: var(--ws-text-2);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
}

body.ws26 .ws-freebie-pinrig .ws-eyebrow {
  margin: 0;
}

body.ws26 .ws-card-chip {
  display: inline-flex;
  align-items: center;
  height: 22px;
  margin-right: 8px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--ws-accent-soft);
  color: var(--ws-accent-text);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

/* Panel preview dialog: only the script UI, no chrome */
.ws-ui-dialog {
  max-width: calc(100vw - 16px);
  max-height: calc(100vh - 16px);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.ws-ui-dialog::backdrop {
  background: rgba(0, 0, 0, 0.62);
}

.ws-ui-dialog-frame {
  overflow: hidden;
  border-radius: 9px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55);
}

.ws-ui-dialog-frame iframe {
  display: block;
  border: 0;
  background: transparent;
  transform-origin: top left;
}

.ws-ui-dialog-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #111111;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 980px) {
  body.ws26 .ws-freebies-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.ws26 .ws-freebies-grid,
  body.ws26 .ws-freebie-pinrig {
    grid-template-columns: 1fr;
  }

  body.ws26 .ws-freebie-pinrig img {
    max-width: 260px;
  }

  body.ws26 .ws-edition-switch button {
    padding: 0 14px;
    font-size: 14px;
  }
}

body.ws26 [data-edition-only][hidden] {
  display: none !important;
}

body.ws26 .ws-bento-tile--full {
  grid-column: 1 / -1;
}

body.ws26 .ws-live-stage .ws-script-note {
  font-size: 14px;
  line-height: 1.5;
}

body.ws26 .ws-freebies-more {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

body.ws26 .ws-freebies-more .ws-freebie-pinrig {
  grid-template-columns: 150px minmax(0, 1fr);
  margin-top: 0;
}

body.ws26 .ws-freebie--row {
  grid-template-columns: 200px minmax(0, 1fr);
  grid-template-rows: none;
}

body.ws26 .ws-freebie--row .ws-freebie-media {
  aspect-ratio: auto;
  height: 100%;
  min-height: 200px;
}

@media (max-width: 980px) {
  body.ws26 .ws-freebies-more {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body.ws26 .ws-freebie--row,
  body.ws26 .ws-freebies-more .ws-freebie-pinrig {
    grid-template-columns: 1fr;
  }

  body.ws26 .ws-freebie--row .ws-freebie-media {
    aspect-ratio: 1 / 1;
  }
}

.ws-ui-dialog {
  margin: auto;
}

/* Freebies: the cover opens the panel preview */
body.ws26 .ws-freebie-cover {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  font: inherit;
  text-align: left;
  cursor: zoom-in;
}

body.ws26 .ws-freebie-cover .ws-freebie-video,
body.ws26 .ws-freebie-cover .ws-freebie-panel {
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

body.ws26 .ws-freebie-cover:hover .ws-freebie-video {
  transform: scale(1.03);
}

body.ws26 .ws-freebie-hint {
  position: absolute;
  left: 12px;
  bottom: 12px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
}

body.ws26 .ws-freebie--row .ws-freebie-cover {
  height: 100%;
}

body.ws26 .ws-freebie--row .ws-freebie-cover .ws-freebie-video {
  position: absolute;
  inset: 0;
}

/* Version shown in a walkthrough */
body.ws26 .ws-yt-version {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
}

/* PinRig: Full Plugin / Free Script switch inside the live preview */
body.ws26 .ws-live-stage--editions {
  display: grid;
  justify-items: center;
}

body.ws26 .ws-live-stage--editions > [data-edition-only] {
  width: 100%;
}

body.ws26 .ws-stage-switch {
  position: relative;
  z-index: 3;
  margin: 0 auto 24px;
}

body.ws26 .ws-live-stage--editions .ws-script-stage {
  padding-top: 8px;
}

@media (max-width: 1100px) {
  body.ws26 .ws-freebies-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  body.ws26 .ws-freebies-grid {
    grid-template-columns: 1fr;
  }
}

/* Script previews: same colour scheme on both sides so the iframe stays transparent */
body.ws26 .ws-script-window iframe,
.ws-ui-dialog-frame iframe {
  color-scheme: light;
  background: transparent;
}

body.ws26 .ws-script-window {
  transition: height 0.25s ease;
}

/* Contact: logo previews are view-only */
body.ws26 .ws-press figure {
  display: grid;
  gap: 4px;
  margin: 0;
}

body.ws26 .ws-press figcaption {
  display: grid;
  gap: 2px;
  margin-top: 10px;
  color: var(--ws-text-2);
  font-size: 14px;
  font-weight: 500;
}

body.ws26 .ws-press figcaption strong {
  color: var(--ws-text);
  font-size: 16px;
  font-weight: 600;
}

body.ws26 .ws-press-preview {
  -webkit-user-select: none;
  user-select: none;
}

body.ws26 .ws-brand-film .ws-yt picture {
  position: absolute;
  inset: 0;
}

/* ==========================================================================
   Music Discovery (music.html) — music.css restyled through ws tokens
   ========================================================================== */
body.ws26.music-page,
body.ws26.music-page main,
body.ws26.music-page .library {
  --bg: var(--ws-bg);
  --panel: var(--ws-surface);
  --line: var(--ws-line-soft);
  --muted: var(--ws-text-3);
  --text: var(--ws-text);
  --accent: var(--ws-accent);
  --lime: var(--ws-accent-text);
  color-scheme: inherit;
}

body.ws26.music-page {
  background: var(--ws-bg);
  color: var(--ws-text);
  font-family: var(--font-sans);
}

body.ws26.music-page main.ws-music {
  max-width: 1320px;
  padding: 0 clamp(16px, 4vw, 40px);
}

body.ws26 .ws-music-hero {
  padding: clamp(56px, 8vw, 96px) 0 clamp(28px, 4vw, 44px);
  text-align: center;
}

body.ws26 .ws-music-hero .ws-display {
  margin: 0;
}

body.ws26.music-page .station-strip {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 10px 10px 10px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--ws-surface);
}

body.ws26.music-page .station-strip > .eyebrow {
  color: var(--ws-text-3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

body.ws26.music-page .stations {
  gap: 6px;
  padding: 0;
  scrollbar-width: none;
}

body.ws26.music-page .station {
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--ws-text-2);
  font-size: 13px;
}

body.ws26.music-page .station:hover {
  background: var(--ws-tile-inner);
  color: var(--ws-text);
}

body.ws26.music-page .station.active,
body.ws26.music-page .station.active:hover {
  background: var(--ws-text);
  color: var(--ws-bg);
}

body.ws26.music-page .workspace {
  gap: 20px;
  padding-top: 20px;
  align-items: start;
}

body.ws26.music-page .filters,
body.ws26.music-page .deck,
body.ws26.music-page .queue-panel,
body.ws26.music-page .library {
  padding: 22px;
  border: 0;
  border-radius: var(--ws-r-lg);
  background: var(--ws-surface);
}

body.ws26.music-page .filters label,
body.ws26.music-page legend {
  color: var(--ws-text-2);
  font-size: 12px;
  font-weight: 600;
}

body.ws26.music-page input,
body.ws26.music-page select {
  padding: 11px 12px;
  border: 1px solid var(--ws-line);
  border-radius: 12px;
  background-color: var(--ws-bg);
  color: var(--ws-text);
  font-size: 13px;
}

body.ws26.music-page select {
  padding-right: 36px;
}

body.ws26.music-page input::placeholder {
  color: var(--ws-text-3);
}

body.ws26.music-page .primary-button {
  min-height: 46px;
  border-radius: 999px;
  background: var(--ws-accent-btn);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
}

body.ws26.music-page .primary-button:hover:not(:disabled) {
  background: var(--ws-accent);
  color: #ffffff;
}

body.ws26.music-page .filter-footer {
  padding: 16px 0 0;
  font-size: 12px;
}

body.ws26.music-page .icon-button {
  border-radius: 10px;
}

body.ws26.music-page .icon-button:hover {
  background: var(--ws-tile-inner);
}

body.ws26.music-page .video-frame {
  border: 0;
  border-radius: 18px;
  background: #000000;
}

body.ws26.music-page .video-cover {
  background: #000000;
}

body.ws26.music-page .start-mark {
  width: 68px;
  height: 68px;
  background: #ffffff;
  color: #111111;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

body.ws26.music-page .track-heading h2 {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

body.ws26.music-page .track-heading p,
body.ws26.music-page .track-meta,
body.ws26.music-page .notice {
  font-size: 13px;
}

body.ws26.music-page .transport {
  border-color: var(--ws-line-soft);
}

body.ws26.music-page .play-button {
  width: 46px;
  height: 46px;
  background: var(--ws-text);
  color: var(--ws-bg);
}

body.ws26.music-page .play-button:hover {
  background: var(--ws-accent) !important;
  color: #ffffff !important;
}

body.ws26.music-page .toggle-label,
body.ws26.music-page .interval-label {
  color: var(--ws-text-2);
  font-size: 13px;
}

body.ws26.music-page .queue-item {
  border-bottom-color: var(--ws-line-soft);
}

body.ws26.music-page .queue-item img {
  border-radius: 8px;
}

body.ws26.music-page .queue-item b {
  font-size: 13px;
}

body.ws26.music-page .queue-item small,
body.ws26.music-page .queue-bottom .eyebrow {
  font-size: 11px;
}

body.ws26.music-page .queue-bottom {
  border-top-color: var(--ws-line-soft);
}

body.ws26.music-page .library {
  max-width: 1240px;
  margin: 20px auto clamp(80px, 10vw, 120px);
}

body.ws26.music-page .library-heading {
  border-bottom-color: var(--ws-line-soft);
}

body.ws26.music-page [role="tab"] {
  font-size: 14px;
  font-weight: 600;
}

body.ws26.music-page .library-row {
  border-bottom-color: var(--ws-line-soft);
}

body.ws26.music-page .library-row img {
  border-radius: 6px;
}

body.ws26.music-page .library-row .row-play {
  font-size: 14px;
}

body.ws26.music-page ::selection {
  background: var(--ws-accent);
  color: #ffffff;
}

@media (max-width: 700px) {
  body.ws26.music-page .station-strip {
    grid-template-columns: minmax(0, 1fr);
    border-radius: var(--ws-r-md);
    padding: 14px;
  }

  body.ws26.music-page .filters,
  body.ws26.music-page .deck,
  body.ws26.music-page .queue-panel,
  body.ws26.music-page .library {
    padding: 16px;
  }

  body.ws26.music-page .library {
    margin: 16px;
  }
}

/* Tool License note under plugin docs */
body.ws26 .ws-docs-license {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--ws-r-md);
  box-shadow: inset 0 0 0 1px var(--ws-line-soft);
  color: var(--ws-text-2);
  font-size: 14px;
  line-height: 1.45;
}

body.ws26 .ws-docs-license strong {
  color: var(--ws-text);
  font-weight: 600;
}

body.ws26 .ws-docs-license p {
  flex: 1 1 320px;
  margin: 0;
}
