/* Trinay v6.1 · Services (no video), Studio, floating pages on every page.
   Load after trinay.css and v5.css. Classes start with v6 (v6s = Services, v6m = What we make,
   v6d = Industries doors, v6p = How it works, v6l = ladder stills). */

/* =========================================================
   1. FLOATING PAGES (all pages)
   A section with [data-float] is a card with black space around it. v6.js scales it 0.88 -> 1 as it
   rises into view, then 1 -> 0.9 with a dim as it leaves. [data-float-out] (first screen) only leaves.
   overflow: clip (not hidden) so position: sticky still works inside the card.
   ========================================================= */
[data-float] {
  position: relative;
  margin: clamp(14px, 2.4vh, 30px) clamp(8px, 0.9vw, 16px) 0;
  border-radius: clamp(20px, 2vw, 32px);
  overflow: clip;
  transform-origin: 50% 0;
}
[data-float-out] {
  position: relative;
  overflow: clip;
  transform-origin: 50% 0;
}
.v6-card {
  background: #0b0c0f;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.v6-fdim {
  position: absolute;
  inset: 0;
  z-index: 40;
  background: #000;
  opacity: 0;
  pointer-events: none;
}
main {
  background: #000;
}

/* =========================================================
   2. KEN BURNS on stills
   ========================================================= */
.v6-kb {
  transform: scale(1.1);
  transition: transform 7s cubic-bezier(0.2, 0.6, 0.2, 1) !important;
}
.v6-kb.v6-on {
  transform: scale(1);
}

/* =========================================================
   3. SERVICES HERO (live layout, homepage-style entrance)
   ========================================================= */
.v6s-hero {
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--edge) clamp(40px, 6vh, 80px);
}
.v6s-hero__bg {
  position: absolute;
  inset: -8% 0 0;
}
.v6s-hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroIn 2.4s var(--ease) both;
}
.v6s-hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0.46) 42%,
      rgba(0, 0, 0, 0.06) 72%
    ),
    linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.08) 48%);
}
.v6s-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 960px;
  padding-bottom: clamp(28px, 5vh, 60px);
}
.v6s-lines {
  margin: 18px 0 0;
  font-size: clamp(64px, 8.4vw, 160px);
  line-height: 0.9;
}
.v6s-lines > span {
  display: block;
  overflow: hidden;
  padding-bottom: 0.05em;
  margin-bottom: -0.05em;
}
.v6s-lines > span > i {
  display: block;
  font-style: normal;
  transform: translateY(108%);
  animation: v6up 1.2s var(--ease) both;
}
.v6s-lines > span:nth-child(1) > i {
  animation-delay: 0.35s;
}
.v6s-lines > span:nth-child(2) > i {
  animation-delay: 0.47s;
}
.v6s-lines > span:nth-child(3) > i {
  animation-delay: 0.59s;
}
@keyframes v6up {
  to {
    transform: none;
  }
}
.v6s-hero__desc {
  max-width: 560px;
  margin: 30px 0 0;
  font: 400 clamp(17px, 1.25vw, 21px)/1.5 var(--f-ui);
  color: rgba(242, 239, 234, 0.88);
  animation: v6fade 1s 0.9s var(--ease) both;
}
.v6s-hero .v5-kicker {
  animation: v6fade 1s 0.2s var(--ease) both;
}
@keyframes v6fade {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}
.v6s-chips {
  position: absolute;
  right: var(--edge);
  bottom: clamp(40px, 6vh, 80px);
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 620px;
}
.v6s-chip {
  font: 500 11px var(--f-ui);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 30px;
  color: rgba(242, 239, 234, 0.88);
  border: 1px solid rgba(242, 239, 234, 0.26);
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  animation: v6fade 0.8s calc(1.05s + var(--i) * 0.07s) var(--ease) both;
  transition:
    border-color 0.3s var(--ease),
    background 0.3s var(--ease),
    color 0.3s,
    transform 0.35s var(--ease);
}
.v6s-chip:hover,
.v6s-chip:focus-visible {
  border-color: var(--ember);
  background: rgba(255, 107, 26, 0.16);
  color: #fff;
  transform: translateY(-3px);
  outline: none;
}
.v6s-hero .scroll-cue {
  z-index: 2;
}

/* =========================================================
   4. WHAT WE MAKE (live accordion layout, more interactive)
   ========================================================= */
.v6s-make {
  padding: clamp(70px, 10vh, 130px) var(--gutter) clamp(50px, 7vh, 100px);
}
.v6m-list {
  border-top: 1px solid var(--line);
}
.v6m-row {
  position: relative;
  border-bottom: 1px solid var(--line);
}
.v6m-head {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 74px minmax(0, 1.05fr) minmax(0, 1fr) 52px;
  gap: 24px;
  align-items: center;
  padding: clamp(22px, 3vh, 34px) 0;
}
.v6m-head:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 4px;
}
.v6m-num {
  font: 500 12px var(--f-ui);
  letter-spacing: 0.2em;
  color: var(--bone-55);
  transition: color 0.4s;
}
.v6m-title {
  font-size: clamp(30px, 3.1vw, 58px);
  line-height: 0.95;
  transition:
    transform 0.7s var(--ease),
    color 0.4s;
}
.v6m-desc {
  font: 400 15px/1.55 var(--f-ui);
  color: var(--bone-76);
  max-width: 540px;
  transition: opacity 0.4s;
}
.v6m-plus {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition:
    transform 0.6s var(--ease),
    background 0.4s,
    border-color 0.4s,
    color 0.4s;
}
.v6m-plus .ic {
  width: 18px;
  height: 18px;
}
.v6m-line {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.9s var(--ease);
}
.v6m-row:hover .v6m-title,
.v6m-row.is-open .v6m-title {
  transform: translateX(16px);
}
.v6m-row:hover .v6m-num,
.v6m-row.is-open .v6m-num {
  color: var(--ember);
}
.v6m-row:hover .v6m-line,
.v6m-row.is-open .v6m-line {
  transform: scaleX(1);
}
.v6m-row:hover .v6m-plus {
  border-color: var(--bone);
}
.v6m-row.is-open .v6m-plus {
  transform: rotate(45deg);
  background: var(--ember);
  border-color: var(--ember);
  color: #000;
}
.v6m-list:hover .v6m-row:not(:hover):not(.is-open) .v6m-title {
  color: rgba(242, 239, 234, 0.42);
}
.v6m-row.is-open .v6m-desc {
  opacity: 0.5;
}

.v6m-body {
  height: 0;
  overflow: hidden;
}
.v6m-body__in {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr);
  gap: clamp(24px, 4vw, 72px);
  padding: 4px 0 clamp(34px, 5vh, 56px) 98px;
}
.v6m-info > * {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.8s var(--ease);
}
.v6m-row.is-open .v6m-info > * {
  opacity: 1;
  transform: none;
}
.v6m-row.is-open .v6m-info > :nth-child(2) {
  transition-delay: 0.06s;
}
.v6m-row.is-open .v6m-info > :nth-child(3) {
  transition-delay: 0.12s;
}
.v6m-row.is-open .v6m-info > :nth-child(4) {
  transition-delay: 0.18s;
}
.v6m-row.is-open .v6m-info > :nth-child(5) {
  transition-delay: 0.24s;
}
.v6m-info > .label:first-child {
  color: var(--ember);
}
.v6m-h {
  margin: 26px 0 8px;
  color: var(--bone-55);
  font-size: 11px;
}
.v6m-get {
  list-style: none;
  margin: 0;
  padding: 0;
}
.v6m-get li {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font: 400 17px/1.4 var(--f-ui);
}
.v6m-get li span {
  font: 500 11px var(--f-ui);
  letter-spacing: 0.18em;
  color: var(--bone-55);
}
.v6m-info .v5-tags {
  margin: 22px 0 28px;
}
.v6m-fig {
  margin: 0;
  position: relative;
  aspect-ratio: 16 / 9;
  align-self: start;
  border-radius: 22px;
  overflow: hidden;
  clip-path: inset(16% 10% 16% 10% round 22px);
  transition: clip-path 1.1s var(--ease);
}
.v6m-fig img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.2);
  transition: transform 2.6s var(--ease);
}
.v6m-row.is-open .v6m-fig {
  clip-path: inset(0 0 0 0 round 22px);
}
.v6m-row.is-open .v6m-fig img {
  transform: scale(1);
}

/* floating preview that follows the cursor */
.v6m-preview {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 60;
  pointer-events: none;
  will-change: transform;
}
.v6m-preview__in {
  position: relative;
  width: clamp(260px, 22vw, 380px);
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.4) rotate(var(--rot, 0deg));
  transition:
    transform 0.55s var(--ease),
    opacity 0.3s var(--ease);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}
.v6m-preview.is-on .v6m-preview__in {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) rotate(var(--rot, 0deg));
}
.v6m-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: inset(100% 0 0 0);
  transform: scale(1.15);
  transition:
    clip-path 0.6s var(--ease),
    transform 1s var(--ease);
}
.v6m-preview img.is-on {
  clip-path: inset(0);
  transform: none;
}

/* =========================================================
   5. MARQUEE band
   ========================================================= */
.v6-marq {
  padding: clamp(46px, 8vh, 100px) 0;
  overflow: hidden;
  user-select: none;
}
.v6-marq__row {
  white-space: nowrap;
  font: 300 clamp(56px, 7.4vw, 140px)/1.04 var(--f-display);
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.v6-marq__row > div {
  display: inline-flex;
  align-items: center;
  gap: 0.38em;
  padding-right: 0.38em;
  will-change: transform;
}
.v6-marq__row i {
  font-style: normal;
  font-size: 0.3em;
  color: var(--ember);
}
.v6-marq__row--o {
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 239, 234, 0.42);
}
.v6-marq__row--o i {
  -webkit-text-stroke: 0;
}

/* =========================================================
   6. FORMAT LADDER with stills (no video)
   ========================================================= */
.v5-ladder__frame .v6l-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition:
    opacity 0.7s var(--ease),
    transform 1.4s var(--ease);
}
.v5-ladder__frame .v6l-img.is-on {
  opacity: 1;
  transform: none;
}

/* =========================================================
   7. INDUSTRIES: doors widen on hover / tap
   ========================================================= */
.v6s-ind {
  padding: clamp(70px, 10vh, 130px) var(--gutter);
}
.v6d-doors {
  display: flex;
  gap: clamp(10px, 1vw, 16px);
  height: min(76vh, 760px);
}
.v6d-door {
  position: relative;
  flex: 1;
  min-width: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  outline: none;
  transition: flex 1s var(--ease);
}
.v6d-door.is-on {
  flex: 2.3;
  cursor: default;
}
.v6d-door:focus-visible {
  box-shadow: 0 0 0 2px var(--ember);
}
.v6d-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  filter: brightness(0.6) saturate(0.8);
  transition:
    transform 1.6s var(--ease),
    filter 0.8s var(--ease);
}
.v6d-door.is-on .v6d-img {
  transform: scale(1);
  filter: none;
}
.v6d-door::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.4) 46%,
    rgba(0, 0, 0, 0) 72%
  );
}
.v6d-copy {
  position: absolute;
  left: clamp(20px, 2.2vw, 40px);
  right: clamp(20px, 2.2vw, 40px);
  bottom: clamp(22px, 2.6vw, 40px);
  z-index: 2;
}
.v6d-n {
  color: var(--ember);
}
.v6d-copy h3 {
  font-size: clamp(34px, 3.4vw, 68px);
  margin-top: 10px;
  line-height: 0.95;
}
.v6d-more {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.9s var(--ease),
    opacity 0.4s var(--ease);
}
.v6d-door.is-on .v6d-more {
  max-height: 460px;
  opacity: 1;
  transition-delay: 0.2s;
}
.v6d-sub {
  margin: 14px 0 0;
  max-width: 480px;
  font: 400 16px/1.5 var(--f-ui);
  color: var(--bone-76);
}
.v6d-k {
  margin: 20px 0 10px;
  font-size: 11px;
  color: var(--bone-55);
}
.v6d-inds {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 640px;
}
.v6d-inds li {
  font: 500 13px var(--f-ui);
  padding: 8px 14px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}
.v6d-work {
  margin: 0;
  font: 400 15px/1.5 var(--f-ui);
  color: var(--bone);
}
.v6d-more .v5-door__go {
  margin-top: 18px;
}

/* =========================================================
   8. HOW IT WORKS: sticky image + steps
   ========================================================= */
.v6s-proc {
  padding: clamp(70px, 10vh, 130px) var(--gutter) clamp(30px, 5vh, 60px);
}
.v6-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
}
.v6-link .ic {
  width: 18px;
  height: 18px;
}
.v6p-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(30px, 5vw, 96px);
}
.v6p-stick {
  position: sticky;
  top: 16vh;
  align-self: start;
}
.v6p-fig {
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  overflow: hidden;
  background: #111;
}
.v6p-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: inset(100% 0 0 0);
  transform: scale(1.12);
  transition:
    clip-path 1s var(--ease),
    transform 1.8s var(--ease);
}
.v6p-img.is-on {
  clip-path: inset(0);
  transform: none;
  z-index: 1;
}
.v6p-cap {
  position: absolute;
  left: 24px;
  bottom: 18px;
  z-index: 3;
  display: flex;
  gap: 10px;
  align-items: baseline;
  font: 200 64px/1 var(--f-display);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.v6p-cap span {
  font: 500 13px var(--f-ui);
  letter-spacing: 0.2em;
}
.v6p-steps {
  position: relative;
  padding-left: 40px;
}
.v6p-rail {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.v6p-rail i {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 100%;
  background: var(--ember);
  transform-origin: 0 0;
  transform: scaleY(0);
}
.v6p-step {
  min-height: 56vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.25;
  transition: opacity 0.6s var(--ease);
}
.v6p-step.is-on {
  opacity: 1;
}
.v6p-n {
  font: 500 12px var(--f-ui);
  letter-spacing: 0.2em;
  color: var(--ember);
}
.v6p-step h3 {
  font-size: clamp(56px, 6vw, 116px);
  margin: 10px 0 0;
}
.v6p-step p {
  margin: 16px 0 0;
  max-width: 440px;
  font: 400 18px/1.55 var(--f-ui);
  color: var(--bone-76);
}
.v6p-out {
  align-self: flex-start;
  margin-top: 20px;
  padding: 9px 14px;
  border-radius: 30px;
  border: 1px solid var(--line);
  color: var(--bone);
}

/* =========================================================
   9. STEP THROUGH
   ========================================================= */
.v6-step {
  min-height: 100vh;
}
.v6-step img.bg {
  inset: -10% 0;
  height: 120%;
  object-position: 50% 40%;
}
.v6-step::after {
  background:
    radial-gradient(
      ellipse 70% 60% at 50% 46%,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0.16) 70%
    ),
    linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, transparent 26%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, transparent 22%);
}
.v6-step h2 {
  text-shadow: 0 10px 60px rgba(0, 30, 80, 0.35);
}

/* =========================================================
   10. STUDIO
   ========================================================= */
.v5-st-hero h1 {
  font-size: clamp(64px, 9.4vw, 188px);
  line-height: 0.92;
}
.v5-st-hero__band img {
  filter: saturate(1.05);
}
.v5-section.v6-card {
  padding: clamp(60px, 9vh, 120px) var(--gutter);
}
.v5-manifesto.v6-card {
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.v5-city img {
  filter: none;
}
.v5-city:hover img {
  filter: none;
}
.v5-city::after {
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.1) 46%,
    rgba(0, 0, 0, 0) 60%
  );
}
.v5-avp__p img {
  filter: saturate(0.55) brightness(0.55);
  transform: scale(1.06);
}
.v5-avp__p.is-on img {
  filter: none;
  transform: none;
}
.v5-avp__p img.v6-kb,
.v5-avp__p img.v6-kb.v6-on {
  transition:
    filter 1s var(--ease),
    transform 1.6s var(--ease) !important;
}
.v5-pcard__vis img {
  transition: transform 1.2s var(--ease);
}
.v5-pcard:hover .v5-pcard__vis img {
  transform: scale(1.05);
}
.v5-twodoors a img {
  filter: brightness(0.72);
}
.v5-twodoors a:hover img {
  filter: brightness(0.9);
}
.v5-twodoors a::after {
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.25) 45%,
    transparent 70%
  );
}
.v5-twodoors a img.v6-kb,
.v5-twodoors a img.v6-kb.v6-on {
  transition:
    filter 0.8s var(--ease),
    transform 7s cubic-bezier(0.2, 0.6, 0.2, 1) !important;
}

/* careers roles as a floating card */
.roles.v6-card {
  padding-top: clamp(60px, 9vh, 120px);
  padding-bottom: clamp(60px, 9vh, 120px);
}

/* =========================================================
   RESPONSIVE + REDUCED MOTION
   ========================================================= */
@media (max-width: 900px) {
  .v6s-chips {
    position: relative;
    right: auto;
    bottom: auto;
    justify-content: flex-start;
    margin-top: 4px;
    z-index: 2;
  }
  .v6s-hero {
    justify-content: flex-end;
  }
  .v6m-head {
    grid-template-columns: 40px minmax(0, 1fr) 44px;
    gap: 14px;
  }
  .v6m-desc {
    grid-column: 2 / 3;
    grid-row: 2;
    font-size: 14px;
  }
  .v6m-plus {
    grid-column: 3;
    grid-row: 1;
    width: 40px;
    height: 40px;
  }
  .v6m-body__in {
    grid-template-columns: 1fr;
    padding-left: 0;
  }
  .v6m-fig {
    order: -1;
  }
  .v6d-doors {
    flex-direction: column;
    height: auto;
  }
  .v6d-door {
    flex: none;
    height: 26vh;
    transition: height 0.9s var(--ease);
  }
  .v6d-door.is-on {
    flex: none;
    height: 74vh;
  }
  .v6p-grid {
    grid-template-columns: 1fr;
  }
  .v6p-stick {
    top: calc(var(--hdr) * 0.7);
    z-index: 2;
  }
  .v6p-fig {
    aspect-ratio: 16 / 10;
  }
  .v6p-step {
    min-height: 46vh;
  }
  .v6p-step h3 {
    font-size: 52px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .v6-kb {
    transform: none;
    transition: none !important;
  }
  .v6s-lines > span > i,
  .v6s-hero__desc,
  .v6s-chip,
  .v6s-hero .v5-kicker {
    animation: none;
    transform: none;
    opacity: 1;
  }
  .v6m-fig,
  .v6m-fig img,
  .v6p-img,
  .v6d-img {
    transition: none;
  }
}
.v6d-door:not(.is-on) h3 {
  font-size: clamp(26px, 2.3vw, 44px);
}
.v6d-copy h3 {
  transition: font-size 0.6s var(--ease);
}

/* =========================================================
   FORCE HEADER TO STAY STICKY
   ========================================================= */
.hdr,
.hdr.is-hidden,
.hdr.is-scrolled {
  transform: none !important;
  top: 0 !important;
  position: fixed !important;
}

/* =========================================================
   v6s-chips — force single line + tighter fit
   ========================================================= */
.v6s-chips {
  flex-wrap: nowrap;
  gap: 6px;
  max-width: none;
  left: var(--edge);
  right: var(--edge);
  justify-content: flex-end;
}

.v6s-chip {
  padding: 9px 14px;
  font-size: 10px;
  letter-spacing: 0.16em;
  white-space: nowrap;
  flex: 0 1 auto;
}

/* Slightly tighter at tablet */
@media (max-width: 1100px) {
  .v6s-chip {
    padding: 8px 12px;
    font-size: 9.5px;
    letter-spacing: 0.14em;
  }
}

/* Very narrow phones — allow shrinking before wrapping */
@media (max-width: 600px) {
  .v6s-chips {
    flex-wrap: nowrap;
    gap: 4px;
  }
  .v6s-chip {
    padding: 7px 10px;
    font-size: 8.5px;
    letter-spacing: 0.1em;
  }
}

/* =========================================================
   v6m-head — remove empty number column
   ========================================================= */
.v6m-head {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) 52px;
}

.v6m-num {
  display: none;
}

/* When the row is open, the body aligns to the same columns */
.v6m-body__in {
  padding-left: 0;
}

/* Responsive: match the new 3-col grid on mobile */
@media (max-width: 900px) {
  .v6m-head {
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 14px;
  }
  .v6m-desc {
    grid-column: 1 / 3;
    grid-row: 2;
  }
  .v6m-plus {
    grid-column: 2;
    grid-row: 1;
  }
}

/* =========================================================
   MOBILE / DESKTOP VISIBILITY
   ========================================================= */
.mobile-only {
  display: none !important;
}

@media (max-width: 767px) {
  .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: block !important;
  }
}
