/* =========================================================
   DVSTUDIO V122 — VISUAL WORLDS / WEB ALIGNMENT QA
   Scope: graphics presentation, web artwork, reservation UX,
   client-brand consistency, real web-tool marks, and responsive alignment.
   This file is intentionally small and loaded after the legacy
   stylesheet so the current production rules stay easy to audit.
   ========================================================= */

/* ---------------------------------------------------------
   0. CLIENT BRAND COLOR SYSTEM
   Keep DVSTUDIO typography, but let each client page own its
   surfaces through the existing client color variables.
   --------------------------------------------------------- */
.client-theme .section-paper{
  background:var(--client-surface)!important;
}
.client-theme .section-mist{
  background:var(--client-soft)!important;
}
/* Dark sections stay client-specific instead of forcing one color onto every
   case-study module (for example DAI! deliberately keeps a charcoal section). */
.client-theme-1150 .client-motion-section{
  background:#003f33!important;
  color:#f3f0e9!important;
}
.client-theme-1150 .client-motion-section .section-intro{
  color:rgba(243,240,233,.72)!important;
}
.client-theme-1150 .client-motion-section .chip-row span,
.client-theme-1150 .client-web-section .chip-row span,
.client-theme-1370 .client-web-section .chip-row span{
  color:var(--client-on-primary);
  border-color:color-mix(in srgb,var(--client-on-primary) 24%,transparent);
  background:color-mix(in srgb,var(--client-on-primary) 7%,transparent);
}

/* ---------------------------------------------------------
   1. VIDEO PLAYBACK — NEVER TURN THE AUTHORED CARD BLACK
   The poster remains visible until the YouTube iframe has loaded.
   --------------------------------------------------------- */
.media-card.is-video-playing{
  animation:none!important;
}
.media-card.is-video-playing .youtube-shell{
  background:transparent!important;
}
.youtube-shell.is-playing:not(.is-player-ready) .youtube-facade{
  opacity:1!important;
  visibility:visible!important;
  pointer-events:none!important;
}
.youtube-shell.is-playing:not(.is-player-ready) iframe{
  opacity:0!important;
  background:transparent!important;
}
.youtube-shell.is-playing.is-player-ready .youtube-facade{
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
.youtube-shell.is-playing.is-player-ready iframe{
  opacity:1!important;
}
.capability-duo-card.media-card.is-video-playing{
  background:rgba(255,255,255,.72)!important;
  border-color:rgba(6,25,39,.12)!important;
}

/* ---------------------------------------------------------
   2. WORK — MOTION + GRAPHICS
   One generous row per discipline. The previous two-column card
   layout squeezed the graphic headline and poster rail.
   --------------------------------------------------------- */
#capabilities-world .capability-duo-grid{
  grid-template-columns:1fr!important;
  gap:26px!important;
}
#capabilities-world .capability-duo-card{
  width:100%;
}
#capabilities-world .capability-duo-body{
  grid-template-columns:minmax(220px,280px) minmax(0,1fr)!important;
  gap:clamp(28px,4vw,64px)!important;
  padding:clamp(22px,3vw,38px)!important;
}
#capabilities-world .capability-duo-media{
  width:min(100%,270px)!important;
}
#capabilities-world .capability-duo-copy{
  max-width:720px;
}
#capabilities-world .capability-duo-copy h3{
  font-size:clamp(30px,3.3vw,48px)!important;
  line-height:1!important;
  letter-spacing:-.025em!important;
  overflow-wrap:normal!important;
}
#capabilities-world .capability-duo-copy p{
  font-size:clamp(15px,1.35vw,18px)!important;
  line-height:1.62!important;
}

#capabilities-world .capability-graphics-body{
  grid-template-columns:minmax(0,1.45fr) minmax(320px,.55fr)!important;
  align-items:center;
}
.work-graphics-showcase{
  min-width:0;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(12px,1.4vw,20px);
  align-items:end;
}
.work-graphics-showcase figure{
  min-width:0;
  margin:0;
  overflow:hidden;
  border:1px solid rgba(6,25,39,.12);
  border-radius:20px;
  background:#fff;
  box-shadow:0 18px 48px rgba(6,25,39,.09);
}
.work-graphics-showcase figure:nth-child(2){
  transform:translateY(-18px);
}
.work-graphics-showcase img{
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
  filter:none!important;
  opacity:1!important;
  mix-blend-mode:normal!important;
}
.work-graphics-showcase figcaption{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:11px 12px 12px;
  color:var(--ink);
  background:#fff;
  font-size:9px;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.work-graphics-showcase figcaption small{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--muted);
  font-family:var(--font-accent);
  font-size:9px;
  font-weight:400;
}
.capability-graphics-copy h3{
  max-width:13ch;
}

/* No color treatment on supplied graphics. */
.graphic-carousel-slide img,
.single-graphic-poster img,
.work-graphics-showcase img{
  filter:none!important;
  opacity:1!important;
  mix-blend-mode:normal!important;
  background:transparent;
}

/* ---------------------------------------------------------
   3. 1370 GRAPHIC CAROUSEL — MORE EDITORIAL, STILL NATIVE
   --------------------------------------------------------- */
.client-theme-1370 .client-graphics-section{
  background:#f3f0e9!important;
  color:#0e3827;
}
.client-theme-1370 .graphic-carousel-toolbar{
  color:#0e3827;
  border-bottom-color:rgba(14,56,39,.18);
}
.client-theme-1370 .graphic-carousel-actions button{
  color:#0e3827;
  border-color:rgba(14,56,39,.22);
  background:#f8f5ee;
}
.client-theme-1370 .graphic-carousel-track{
  gap:clamp(16px,2vw,28px);
  padding-top:8px;
  padding-bottom:22px;
}
.client-theme-1370 .graphic-carousel-slide{
  flex-basis:clamp(300px,29vw,420px);
  border-color:rgba(14,56,39,.14);
  border-radius:22px;
  box-shadow:0 24px 56px rgba(14,56,39,.10);
}
.client-theme-1370 .graphic-carousel-slide figcaption{
  color:#0e3827;
  background:#f8f5ee;
}
.client-theme-1370 .graphic-carousel-progress{
  background:rgba(14,56,39,.12);
}
.client-theme-1370 .graphic-carousel-progress span{
  background:#b14a1d;
}

/* 1150 poster: lossless supplied artwork, no recoloring. */
.client-theme-1150 .single-graphic-poster{
  border-color:rgba(0,63,51,.16);
  background:#f3f0e9;
  box-shadow:0 26px 66px rgba(0,63,51,.12);
}
.client-theme-1150 .single-graphic-poster img{
  width:100%;
  height:auto;
  object-fit:contain;
}

/* ---------------------------------------------------------
   4. WORK — WEB CARDS
   Background photo + slight shade + truly centered transparent logo.
   There is deliberately NO plate/panel behind the logo.
   --------------------------------------------------------- */
#web-world .browser-content.browser-live-preview{
  position:relative!important;
  overflow:hidden!important;
  padding:0!important;
}
#web-world .site-preview-link{
  position:absolute!important;
  inset:0!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  overflow:hidden!important;
  text-decoration:none!important;
  background:#061927!important;
}
#web-world .site-preview-bg{
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:cover!important;
  transform:none!important;
  filter:none!important;
}
#web-world .browser-1150-live .site-preview-bg{
  object-position:center 57%!important;
}
#web-world .browser-1370-live .site-preview-bg{
  object-position:center 55%!important;
}
#web-world .site-preview-shade{
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:linear-gradient(180deg,rgba(6,25,39,.18),rgba(6,25,39,.34))!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
#web-world .site-preview-logo{
  position:relative!important;
  z-index:2!important;
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:none!important;
  max-height:none!important;
  object-fit:contain!important;
  transform:none!important;
  filter:drop-shadow(0 5px 18px rgba(0,0,0,.32))!important;
}
#web-world .site-logo-1150{
  width:min(57%,270px)!important;
}
#web-world .site-logo-1370{
  width:min(62%,285px)!important;
}
#web-world .site-preview-cta{
  position:absolute!important;
  z-index:3!important;
  left:50%!important;
  right:auto!important;
  bottom:14px!important;
  transform:translateX(-50%)!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:max-content!important;
  max-width:calc(100% - 28px)!important;
  min-height:38px!important;
  padding:0 14px!important;
  border:1px solid rgba(255,255,255,.30)!important;
  border-radius:999px!important;
  background:rgba(6,25,39,.82)!important;
  color:#fff!important;
  box-shadow:0 8px 24px rgba(0,0,0,.18)!important;
  backdrop-filter:blur(10px)!important;
  -webkit-backdrop-filter:blur(10px)!important;
  font:800 9px/1 var(--font-ui)!important;
  letter-spacing:.09em!important;
  text-align:center!important;
  white-space:nowrap!important;
}
#web-world .site-preview-link:hover .site-preview-bg{
  transform:scale(1.025)!important;
  filter:none!important;
}
#web-world .site-preview-link:hover .site-preview-logo{
  transform:scale(1.018)!important;
}

/* ---------------------------------------------------------
   5. CLIENT WEBSITE SECTIONS
   Same visual rule as Work: photo, small shade, centered logo only.
   Copy columns are allowed to grow and never clip long domains.
   --------------------------------------------------------- */
.client-theme-1150 .client-web-section{
  background:#003f33!important;
  color:#f3f0e9!important;
}
.client-theme-1370 .client-web-section{
  background:#0e3827!important;
  color:#f3f0e9!important;
}
.client-web-feature{
  grid-template-columns:minmax(0,1.32fr) minmax(360px,.68fr)!important;
  border-color:color-mix(in srgb,var(--client-on-primary) 18%,transparent)!important;
  background:color-mix(in srgb,var(--client-on-primary) 6%,transparent)!important;
}
.client-web-feature-visual{
  min-width:0;
  min-height:clamp(420px,40vw,590px)!important;
  display:grid!important;
  place-items:center!important;
  isolation:isolate;
}
.client-web-feature-bg{
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  transform:none!important;
  filter:none!important;
}
.client-theme-1150 .client-web-feature-bg{
  object-position:center 57%!important;
}
.client-theme-1370 .client-web-feature-bg{
  object-position:center 55%!important;
}
.client-web-feature-shade{
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  background:linear-gradient(180deg,rgba(3,22,16,.16),rgba(3,22,16,.34))!important;
}
.client-web-feature-logo{
  position:relative!important;
  z-index:2!important;
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-height:none!important;
  object-fit:contain!important;
  filter:drop-shadow(0 6px 20px rgba(0,0,0,.30));
}
.client-web-logo-1150{
  width:min(55%,420px)!important;
  max-width:420px!important;
}
.client-web-logo-1370{
  width:min(60%,440px)!important;
  max-width:440px!important;
}
.client-web-live{
  left:50%!important;
  right:auto!important;
  bottom:18px!important;
  transform:translateX(-50%)!important;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  width:max-content;
  max-width:calc(100% - 32px);
  min-height:40px;
  padding:0 15px!important;
  border:1px solid rgba(255,255,255,.28);
  background:rgba(6,25,39,.84)!important;
  color:#fff!important;
  box-shadow:0 10px 26px rgba(0,0,0,.20);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  white-space:nowrap;
}
.client-web-feature-visual:hover .client-web-feature-bg{
  transform:scale(1.025)!important;
  filter:none!important;
}
.client-web-feature-copy{
  min-width:0!important;
  overflow:visible!important;
  padding:clamp(30px,4vw,56px)!important;
}
.client-web-feature-copy h3{
  max-width:100%!important;
  margin:12px 0 18px!important;
  font-size:clamp(30px,2.7vw,42px)!important;
  line-height:1.05!important;
  letter-spacing:-.028em!important;
  overflow:visible!important;
  overflow-wrap:anywhere!important;
}
.client-web-feature-copy p{
  max-width:54ch;
  font-size:clamp(15px,1.25vw,18px)!important;
  line-height:1.65!important;
}

/* ---------------------------------------------------------
   6. 1370 RESERVATION PLATFORM — READABILITY FIRST
   3-column feature grid on wide desktop, 2 on tablet, 1 mobile.
   --------------------------------------------------------- */
.client-theme-1370 .reservation-case-section{
  background:#f3f0e9!important;
  color:#0e3827!important;
}
.client-theme-1370 .reservation-case-section .brand-label{
  color:#0e3827!important;
}
.client-theme-1370 .reservation-case-section .world-section-number,
.client-theme-1370 .reservation-case-section .type-accent,
.client-theme-1370 .reservation-case-section .studio-index{
  color:#b14a1d!important;
}
.reservation-showcase{
  grid-template-columns:minmax(0,1.04fr) minmax(390px,.96fr)!important;
  gap:clamp(28px,4vw,58px)!important;
  align-items:stretch!important;
}
.reservation-hero-panel{
  position:relative;
  isolation:isolate;
  min-height:500px!important;
  overflow:hidden;
  background:linear-gradient(145deg,#0e3827 0%,#123f2e 68%,#0b2e21 100%)!important;
  color:#f3f0e9!important;
  border:1px solid rgba(14,56,39,.12);
  box-shadow:0 28px 70px rgba(14,56,39,.16)!important;
}
.reservation-hero-panel::before{
  content:"";
  position:absolute;
  z-index:-1;
  width:250px;
  aspect-ratio:1;
  border-radius:50%;
  right:-80px;
  top:-80px;
  background:#b14a1d;
  opacity:.34;
}
.reservation-hero-panel::after{
  content:"";
  position:absolute;
  z-index:-1;
  left:-70px;
  bottom:-95px;
  width:240px;
  aspect-ratio:1;
  border-radius:50%;
  background:#9aae93;
  opacity:.18;
}
.reservation-hero-top{
  color:rgba(243,240,233,.64)!important;
}
.reservation-hero-main>strong{
  max-width:10ch!important;
  font-size:clamp(46px,4.8vw,70px)!important;
  line-height:.92!important;
  letter-spacing:-.045em!important;
  overflow:visible!important;
}
.reservation-hero-panel .platform-kicker{
  color:#d9e0d3;
}
.reservation-hero-panel .platform-stat-grid{
  gap:8px;
}
.reservation-hero-panel .platform-stat-grid>span{
  border-color:rgba(243,240,233,.18);
  background:rgba(243,240,233,.07);
}
.reservation-intro-copy{
  align-self:center!important;
  max-width:620px;
}
.reservation-intro-copy h3{
  max-width:13ch;
  color:#0e3827;
  font-size:clamp(34px,3.4vw,50px)!important;
  line-height:1!important;
}
.reservation-intro-copy p{
  color:rgba(14,56,39,.72)!important;
  font-size:clamp(16px,1.35vw,19px)!important;
  line-height:1.66!important;
}
.reservation-flow-list{
  list-style:none;
  margin:26px 0 0;
  padding:0;
  display:grid;
  gap:9px;
}
.reservation-flow-list li{
  min-width:0;
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  gap:12px;
  align-items:center;
  padding:12px 14px;
  border:1px solid rgba(14,56,39,.13);
  border-radius:14px;
  background:rgba(255,255,255,.55);
}
.reservation-flow-list>li>span{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border-radius:11px;
  background:#0e3827;
  color:#f3f0e9;
  font-family:var(--font-accent);
  font-size:11px;
}
.reservation-flow-list strong,
.reservation-flow-list small{
  display:block;
}
.reservation-flow-list strong{
  color:#0e3827;
  font-size:13px;
  line-height:1.25;
}
.reservation-flow-list small{
  margin-top:3px;
  color:rgba(14,56,39,.62);
  font-size:11px;
  line-height:1.35;
}
.reservation-feature-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:16px!important;
  margin-top:clamp(30px,4vw,48px)!important;
}
.reservation-feature{
  min-height:100%;
  padding:clamp(22px,2.3vw,30px)!important;
  border:1px solid rgba(14,56,39,.14)!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:0 14px 38px rgba(14,56,39,.06);
}
.reservation-feature-icon{
  width:46px!important;
  height:46px!important;
  margin-bottom:22px!important;
  border-radius:14px!important;
  background:#0e3827!important;
  color:#f3f0e9!important;
}
.reservation-feature h3{
  max-width:16ch;
  color:#0e3827;
  font-size:clamp(24px,2vw,30px)!important;
  line-height:1.04!important;
  letter-spacing:-.02em;
  overflow-wrap:normal!important;
}
.reservation-feature p{
  color:rgba(14,56,39,.70)!important;
  font-size:15px!important;
  line-height:1.62!important;
}

/* ---------------------------------------------------------
   7. WEB DEVELOPMENT / DELIVERY STACK LABELS
   --------------------------------------------------------- */
.code-stack-glyph{
  display:grid;
  place-items:center;
  flex:0 0 auto;
  min-width:30px;
  height:30px;
  padding:0 6px;
  border-radius:8px;
  background:#061927;
  color:#d9ecff;
  font:800 10px/1 var(--font-ui);
  letter-spacing:-.02em;
  box-shadow:0 5px 12px rgba(6,25,39,.16);
}
.web-stack-tool{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
}
.client-theme .web-software-chip .code-stack-glyph{
  background:var(--client-primary);
  color:var(--client-on-primary);
}
.workflow-mini .web-stack-tool{
  max-width:100%;
}
.workflow-mini .web-stack-tool .code-stack-glyph{
  min-width:28px;
  height:28px;
}

/* ---------------------------------------------------------
   8. RESPONSIVE QA TARGETS
   Desktop/laptop, tablet portrait/landscape, mobile portrait/
   landscape. No fixed-height copy blocks and no logo offsets.
   --------------------------------------------------------- */
@media(max-width:1100px){
  #capabilities-world .capability-duo-body{
    grid-template-columns:minmax(200px,250px) minmax(0,1fr)!important;
  }
  #capabilities-world .capability-graphics-body{
    grid-template-columns:1fr!important;
  }
  .capability-graphics-copy{
    max-width:760px!important;
  }
  .work-graphics-showcase{
    grid-template-columns:repeat(3,minmax(220px,1fr));
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    overscroll-behavior-inline:contain;
    padding:8px 2px 20px;
    scrollbar-width:none;
  }
  .work-graphics-showcase::-webkit-scrollbar{display:none}
  .work-graphics-showcase figure{
    scroll-snap-align:start;
  }
  .work-graphics-showcase figure:nth-child(2){
    transform:none;
  }
  .client-web-feature{
    grid-template-columns:1fr!important;
  }
  .client-web-feature-visual{
    min-height:clamp(420px,58vw,560px)!important;
  }
  .client-web-feature-copy{
    max-width:820px;
  }
  .reservation-showcase{
    grid-template-columns:1fr!important;
  }
  .reservation-hero-panel{
    min-height:440px!important;
  }
  .reservation-intro-copy{
    max-width:760px;
  }
  .reservation-feature-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:820px){
  #capabilities-world .capability-duo-body{
    grid-template-columns:1fr!important;
    gap:26px!important;
  }
  #capabilities-world .capability-duo-media{
    width:min(72vw,270px)!important;
  }
  #capabilities-world .capability-duo-copy{
    max-width:100%;
  }
  #capabilities-world .capability-duo-copy h3{
    max-width:18ch;
    font-size:clamp(28px,6.2vw,40px)!important;
  }
  .work-graphics-showcase{
    grid-template-columns:repeat(3,minmax(210px,62vw));
  }
  #web-world .site-logo-1150{
    width:min(52%,250px)!important;
  }
  #web-world .site-logo-1370{
    width:min(58%,270px)!important;
  }
  .client-web-feature-visual{
    min-height:430px!important;
  }
  .client-web-feature-logo.client-web-logo-1150{
    width:min(52%,360px)!important;
  }
  .client-web-feature-logo.client-web-logo-1370{
    width:min(58%,390px)!important;
  }
}

@media(max-width:680px){
  #capabilities-world .capability-duo-body{
    padding:18px!important;
  }
  #capabilities-world .capability-duo-copy h3{
    max-width:100%;
    font-size:clamp(27px,8.2vw,35px)!important;
  }
  #capabilities-world .capability-duo-copy p{
    font-size:15px!important;
  }
  .work-graphics-showcase{
    grid-template-columns:repeat(3,minmax(205px,74vw));
    gap:12px;
  }
  .work-graphics-showcase figcaption{
    padding:9px 10px 10px;
  }
  .client-theme-1370 .graphic-carousel-slide{
    flex-basis:min(82vw,360px)!important;
  }
  #web-world .site-preview-cta{
    bottom:10px!important;
    min-height:34px!important;
    padding-inline:12px!important;
    font-size:8px!important;
  }
  #web-world .site-logo-1150{
    width:min(58%,235px)!important;
  }
  #web-world .site-logo-1370{
    width:min(64%,250px)!important;
  }
  .client-web-feature{
    border-radius:24px!important;
  }
  .client-web-feature-visual{
    min-height:330px!important;
  }
  .client-web-feature-logo.client-web-logo-1150{
    width:min(58%,310px)!important;
  }
  .client-web-feature-logo.client-web-logo-1370{
    width:min(64%,330px)!important;
  }
  .client-web-live{
    bottom:12px!important;
    min-height:36px!important;
    padding-inline:12px!important;
    font-size:8px!important;
  }
  .client-web-feature-copy{
    padding:24px 20px 28px!important;
  }
  .client-web-feature-copy h3{
    font-size:clamp(27px,8vw,34px)!important;
    line-height:1.07!important;
  }
  .client-web-feature-copy p{
    font-size:15px!important;
    line-height:1.62!important;
  }
  .reservation-hero-panel{
    min-height:390px!important;
    padding:22px!important;
  }
  .reservation-hero-main>strong{
    max-width:100%!important;
    font-size:clamp(38px,11.5vw,52px)!important;
    line-height:.95!important;
  }
  .reservation-intro-copy h3{
    max-width:100%;
    font-size:clamp(30px,8.5vw,40px)!important;
  }
  .reservation-feature-grid{
    grid-template-columns:1fr!important;
  }
  .reservation-feature{
    padding:22px!important;
  }
  .reservation-feature h3{
    max-width:100%;
    font-size:clamp(25px,7vw,30px)!important;
  }
  .reservation-flow-list li{
    grid-template-columns:36px minmax(0,1fr);
    padding:11px 12px;
  }
  .reservation-flow-list>li>span{
    width:36px;
    height:36px;
  }
}

/* Mobile landscape: keep important UI compact without clipping. */
@media(max-height:520px) and (orientation:landscape){
  #capabilities-world .capability-duo-media{
    width:min(36vw,220px)!important;
  }
  .client-web-feature-visual{
    min-height:300px!important;
  }
  .reservation-hero-panel{
    min-height:340px!important;
  }
}

@media(prefers-reduced-motion:reduce){
  .work-graphics-showcase figure:nth-child(2){transform:none!important}
  #web-world .site-preview-bg,
  #web-world .site-preview-logo,
  .client-web-feature-bg{
    transition:none!important;
  }
}

/* =========================================================
   DVSTUDIO V122 — USER QA CORRECTIONS
   - real imagery on worlds 03 / 04 / 05
   - authentic web-tool marks (no invented letter glyphs)
   - optical centering for client logos
   - no progress UI over content on normal desktop/laptop heights
   ========================================================= */

/* 9. FIVE VISUAL WORLDS — REAL WORK IMAGERY ON 03/04/05 */
.home-worlds-nav .world-motion::before,
.visual-worlds-nav .world-motion::before{
  background:
    linear-gradient(180deg,rgba(6,25,39,.24) 0%,rgba(6,25,39,.58) 48%,rgba(6,25,39,.93) 100%),
    url('../assets/images/1150-gallery-tennis.webp') center 52%/cover no-repeat!important;
  opacity:.92!important;
}
.home-worlds-nav .world-graphic::before,
.visual-worlds-nav .world-graphic::before{
  background:
    linear-gradient(180deg,rgba(6,25,39,.18) 0%,rgba(6,25,39,.56) 48%,rgba(6,25,39,.94) 100%),
    url('../assets/images/graphics/1370-graphic-2.webp') center 44%/cover no-repeat!important;
  opacity:.94!important;
}
.home-worlds-nav .world-web::before,
.visual-worlds-nav .world-web::before{
  background:
    linear-gradient(180deg,rgba(6,25,39,.20) 0%,rgba(6,25,39,.50) 50%,rgba(6,25,39,.94) 100%),
    url('../assets/images/web/1370-live-1280.webp') center 46%/cover no-repeat!important;
  opacity:.94!important;
}
.home-worlds-nav .world-motion .world-kicker,
.home-worlds-nav .world-graphic .world-kicker,
.home-worlds-nav .world-web .world-kicker,
.visual-worlds-nav .world-motion .world-kicker,
.visual-worlds-nav .world-graphic .world-kicker,
.visual-worlds-nav .world-web .world-kicker{
  color:rgba(255,255,255,.80)!important;
}

/* 10. WEB TOOLING — BRAND MARKS, NEVER PLACEHOLDER LETTERS */
.web-brand-icons .tool-chip{
  padding:7px 9px!important;
}
.web-brand-icons .tool-chip-icons,
.web-logo-tool .tool-chip-icons{
  display:inline-flex;
  align-items:center;
  gap:3px;
  margin:0 4px 0 0!important;
}
.web-brand-icons .tool-chip-icons img,
.web-logo-tool .tool-chip-icons img,
.client-theme .web-software-chip .software-chip-icons img{
  width:25px!important;
  height:25px!important;
  margin:0!important;
  padding:3px;
  object-fit:contain;
  border:1px solid rgba(255,255,255,.20);
  border-radius:7px!important;
  background:#fff!important;
  filter:none!important;
}
.web-tool-row{
  gap:8px!important;
}
.web-logo-tool{
  min-height:42px;
}
.client-theme .web-software-chip .software-chip-icons{
  min-width:auto!important;
  gap:3px;
}
.client-theme .web-software-chip .software-chip-icons img{
  width:30px!important;
  height:30px!important;
  border-color:rgba(6,25,39,.10)!important;
}

/* Retire the old fake </>, R, NX and N badges if old markup is ever cached. */
.code-stack-glyph{display:none!important}

/* 11. WEB SHOWCASE — TRUE CENTER, CLEAN BACKGROUND, CLEAN CTA */
#web-world .browser-content.browser-live-preview{
  position:relative!important;
}
#web-world .site-preview-link{
  position:absolute!important;
  inset:0!important;
  display:block!important;
}
#web-world .browser-1150-live .site-preview-bg{
  object-position:center 52%!important;
}
#web-world .browser-1370-live .site-preview-bg{
  object-position:center 46%!important;
}
#web-world .site-preview-shade{
  background:linear-gradient(180deg,rgba(6,25,39,.18),rgba(6,25,39,.33))!important;
}
#web-world .site-preview-logo{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  right:auto!important;
  bottom:auto!important;
  z-index:2!important;
  display:block!important;
  width:auto!important;
  height:auto!important;
  margin:0!important;
  max-height:none!important;
  transform:translate(-50%,-50%)!important;
  transform-origin:center!important;
  object-fit:contain!important;
}
#web-world .site-logo-1150{
  width:min(45%,235px)!important;
  max-width:235px!important;
}
#web-world .site-logo-1370{
  width:min(48%,245px)!important;
  max-width:245px!important;
}
#web-world .site-preview-link:hover .site-preview-logo{
  transform:translate(-50%,-50%) scale(1.025)!important;
}
#web-world .site-preview-cta{
  left:50%!important;
  right:auto!important;
  bottom:15px!important;
  transform:translateX(-50%)!important;
  margin:0!important;
  min-height:38px!important;
  max-width:calc(100% - 30px)!important;
  padding:0 15px!important;
  line-height:1!important;
}

/* 12. CLIENT WEBSITE FEATURES — SAME CENTERING RULE */
.client-web-feature-visual{
  position:relative!important;
}
.client-theme-1150 .client-web-feature-bg{
  object-position:center 52%!important;
}
.client-theme-1370 .client-web-feature-bg{
  object-position:center 46%!important;
}
.client-web-feature-logo{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  right:auto!important;
  bottom:auto!important;
  z-index:2!important;
  margin:0!important;
  transform:translate(-50%,-50%)!important;
  transform-origin:center!important;
  max-height:none!important;
}
.client-web-logo-1150{
  width:min(42%,380px)!important;
  max-width:380px!important;
}
.client-web-logo-1370{
  width:min(46%,400px)!important;
  max-width:400px!important;
}
.client-web-feature-visual:hover .client-web-feature-logo{
  transform:translate(-50%,-50%) scale(1.025)!important;
}
.client-web-live{
  left:50%!important;
  right:auto!important;
  bottom:18px!important;
  transform:translateX(-50%)!important;
  margin:0!important;
  min-height:40px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.client-web-feature-copy{
  min-width:0!important;
  overflow:visible!important;
  height:auto!important;
  max-height:none!important;
}
.client-web-feature-copy h3,
.client-web-feature-copy p{
  max-width:100%!important;
  overflow:visible!important;
}

/* 13. 1370 RESERVATION — CLEARER INFORMATION HIERARCHY */
.client-theme-1370 .reservation-case-section .world-section-head{
  align-items:start!important;
}
.client-theme-1370 .reservation-case-section .section-intro{
  max-width:62ch!important;
  color:rgba(14,56,39,.76)!important;
  font-size:clamp(16px,1.25vw,19px)!important;
  line-height:1.65!important;
}
.reservation-showcase{
  align-items:center!important;
}
.reservation-intro-copy{
  padding-block:clamp(10px,2vw,24px);
}
.reservation-intro-copy h3{
  max-width:15ch!important;
  margin-bottom:20px!important;
}
.reservation-intro-copy p{
  max-width:58ch!important;
  margin-bottom:0!important;
}
.reservation-flow-list{
  margin-top:30px!important;
  gap:10px!important;
}
.reservation-flow-list li{
  background:rgba(255,255,255,.76)!important;
  border-color:rgba(14,56,39,.14)!important;
  box-shadow:0 8px 22px rgba(14,56,39,.045);
}
.reservation-flow-list strong{
  font-size:14px!important;
}
.reservation-flow-list small{
  font-size:12px!important;
  line-height:1.45!important;
}
.reservation-feature{
  background:#fffdf9!important;
}
.reservation-feature p{
  max-width:38ch;
}

/* 14. FIXED MOTION UI MUST NEVER COVER CONTENT ON NORMAL DESKTOPS */
@media(max-width:1919px){
  .dv-progress-rail{display:none!important}
}
@media(max-height:860px){
  .dv73-motion-hud{display:none!important}
}

/* 15. TABLET / MOBILE */
@media(max-width:1100px){
  #web-world .site-logo-1150{width:min(43%,225px)!important}
  #web-world .site-logo-1370{width:min(46%,235px)!important}
  .client-web-logo-1150{width:min(40%,340px)!important}
  .client-web-logo-1370{width:min(44%,360px)!important}
}
@media(max-width:820px){
  .web-tool-row{flex-direction:row!important;flex-wrap:wrap!important}
  .web-logo-tool{width:auto!important;max-width:100%}
  #web-world .site-logo-1150{width:min(44%,215px)!important}
  #web-world .site-logo-1370{width:min(48%,225px)!important}
  .client-web-logo-1150{width:min(44%,300px)!important}
  .client-web-logo-1370{width:min(48%,320px)!important}
}
@media(max-width:680px){
  .home-worlds-nav .world-motion::before,
  .visual-worlds-nav .world-motion::before{background-position:center 52%!important}
  .home-worlds-nav .world-graphic::before,
  .visual-worlds-nav .world-graphic::before{background-position:center 40%!important}
  .home-worlds-nav .world-web::before,
  .visual-worlds-nav .world-web::before{background-position:center 46%!important}
  #web-world .site-logo-1150{width:min(48%,190px)!important}
  #web-world .site-logo-1370{width:min(52%,205px)!important}
  .client-web-logo-1150{width:min(48%,270px)!important}
  .client-web-logo-1370{width:min(52%,290px)!important}
  .client-web-live,#web-world .site-preview-cta{
    bottom:11px!important;
    min-height:34px!important;
    padding-inline:12px!important;
    font-size:8px!important;
  }
  .reservation-intro-copy h3{max-width:100%!important}
  .reservation-intro-copy p{max-width:100%!important}
}

/* 16. V122 FINAL OPTICAL QA — explicit client branding + resilient web cards */
.client-theme-1150 .client-web-section{
  background:#003f33!important;
  color:#f3f0e9!important;
}
.client-theme-1370 .client-web-section{
  background:#0e3827!important;
  color:#f3f0e9!important;
}
.client-theme-1370 .reservation-case-section{
  overflow:visible!important;
}
.client-theme-1370 .reservation-case-section .container,
.client-theme-1370 .reservation-intro-copy,
.client-theme-1370 .reservation-feature-grid,
.client-theme-1370 .reservation-feature{
  min-width:0!important;
  overflow:visible!important;
}
#web-world .site-preview-link,
.client-web-feature-visual{
  overflow:hidden!important;
}
#web-world .site-preview-logo,
.client-web-feature-logo{
  pointer-events:none!important;
  user-select:none!important;
}
#web-world .site-logo-1150{width:min(42%,220px)!important;max-width:220px!important}
#web-world .site-logo-1370{width:min(42%,220px)!important;max-width:220px!important}
.client-web-logo-1150{width:min(40%,340px)!important;max-width:340px!important}
.client-web-logo-1370{width:min(42%,350px)!important;max-width:350px!important}
#web-world .site-preview-cta,
.client-web-live{
  z-index:4!important;
  white-space:nowrap!important;
  text-align:center!important;
  box-sizing:border-box!important;
  border:1px solid rgba(255,255,255,.24)!important;
  box-shadow:0 10px 26px rgba(6,25,39,.22)!important;
}
#web-world .site-preview-shade,
.client-web-feature-shade{
  z-index:1!important;
  pointer-events:none!important;
}
#web-world .site-preview-bg,
.client-web-feature-bg{z-index:0!important}
#web-world .site-preview-logo,
.client-web-feature-logo{z-index:2!important}

/* All named application-stack tools get their own recognizable marks. */
.web-brand-icons .tool-chip-icons{gap:4px!important;flex-wrap:wrap;justify-content:center}
.web-brand-icons .tool-chip-icons img{flex:0 0 auto}
.web-logo-tool .tool-chip-icons:has(img:nth-child(3)),
.client-theme .web-software-chip .software-chip-icons:has(img:nth-child(3)){
  flex-wrap:wrap!important;
  justify-content:center!important;
}

@media(max-width:1100px){
  #web-world .site-logo-1150{width:min(42%,205px)!important}
  #web-world .site-logo-1370{width:min(44%,210px)!important}
  .client-web-logo-1150{width:min(42%,310px)!important}
  .client-web-logo-1370{width:min(44%,320px)!important}
}
@media(max-width:820px){
  #web-world .site-logo-1150{width:min(46%,190px)!important}
  #web-world .site-logo-1370{width:min(48%,198px)!important}
  .client-web-logo-1150{width:min(46%,280px)!important}
  .client-web-logo-1370{width:min(48%,290px)!important}
}
@media(max-width:680px){
  #web-world .site-logo-1150{width:min(50%,175px)!important}
  #web-world .site-logo-1370{width:min(52%,182px)!important}
  .client-web-logo-1150{width:min(50%,250px)!important}
  .client-web-logo-1370{width:min(52%,260px)!important}
}
