/* ============================================================
   TBRANDS — Homepage  (Hero · Partners · Categories · Accordion)
   Fully responsive: 1400 → 1100 → 768 → 480 → 360
   ============================================================ */

/* ── Shared tokens ─────────────────────────────────────────── */
:root {
  --hp-orange : #e05a00;
  --hp-black  : #111008;
  --hp-cream  : #f5f0e8;
  --hp-border : 1.5px solid #1a1a1a;
  --hp-gap    : clamp(.5rem, 1vw, .75rem);
  --hp-pad    : clamp(1.25rem, 4vw, 3.5rem);
  --hp-radius : 0px;
}


/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */
.tb-hero-new {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #080400;
}

/* Subtle vignette only — no colour gradient so canvas blends in */
.tb-hero-new__bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 55% 70% at 20% 55%, rgba(18,8,0,.55) 0%, transparent 70%);
}
.tb-hero-new__bg::after {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.025'/%3E%3C/svg%3E");
  background-size: 200px; pointer-events: none;
}

.tb-hero-new__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 7rem var(--hp-pad) 5rem;
  gap: 1rem;
}

.tb-hero-new__content {
  display: flex; flex-direction: column; gap: 1.8rem;
}

.tb-hero-new__h1 {
  display: flex; flex-direction: column; margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 5.2vw, 4.8rem);
  font-weight: 800; line-height: 1.0;
  letter-spacing: .02em; text-transform: uppercase;
}
.tb-hero-new__h1-white  { color: #fff; }
.tb-hero-new__h1-orange { color: var(--hp-orange); }

.tb-hero-new__sub {
  font-family: 'Inter', sans-serif;
  font-size: clamp(.82rem, 1.2vw, 1rem);
  line-height: 1.75; color: rgba(255,255,255,.55);
  max-width: 44ch; margin: 0;
}

.tb-hero-new__actions { display: flex; gap: .85rem; flex-wrap: wrap; }

.tb-hero-new__btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 148px; padding: .95rem 1.8rem;
  background: transparent; color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: .82rem; font-weight: 500; letter-spacing: .07em;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.4);
  transition: background .2s, border-color .2s;
  white-space: nowrap;
}
.tb-hero-new__btn:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.8); }

.tb-hero-new__link {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: 'Inter', sans-serif;
  font-size: .95rem; font-weight: 500; color: #fff;
  text-decoration: none; padding-bottom: .2rem;
  border-bottom: 1px solid rgba(255,255,255,.3);
  width: fit-content; transition: border-color .2s, color .2s;
}
.tb-hero-new__link:hover { border-color: var(--hp-orange); color: var(--hp-orange); }

/* 3-D stage */
.tb-hero-new__stage {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
}
.tb-hero-new__glow {
  position: absolute; inset: 8%;
  background: radial-gradient(ellipse at center, rgba(200,100,0,.2) 0%, transparent 68%);
  border-radius: 50%; filter: blur(32px); pointer-events: none; z-index: 0;
}
#tb-hero-glass-canvas {
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 1 / 1.05; max-height: 620px;
  display: block; cursor: grab; touch-action: none;
}
#tb-hero-glass-canvas:active { cursor: grabbing; }

.tb-hero-new__controls {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: .75rem .5rem 0;
}

/* Spinner */
.tb-hero-3d__loader {
  position: absolute; z-index: 2; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 36px; height: 36px;
  border: 2px solid rgba(212,160,87,.2);
  border-top-color: #d4a057;
  border-radius: 50%;
  animation: tb3d-spin .9s linear infinite;
}
@keyframes tb3d-spin { to { transform: translate(-50%,-50%) rotate(360deg); } }

/* Dots — small pill indicators */
.tb-hero-3d__dots { display: flex; gap: .5rem; align-items: center; }
.tb-hero-3d__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(212,160,87,.3);
  border: 1px solid rgba(212,160,87,.5);
  cursor: pointer; padding: 0;
  /* override global touch-target min sizes */
  min-height: 8px !important;
  min-width:  8px !important;
  transition: background .3s, width .3s, border-radius .3s;
  flex-shrink: 0;
}
.tb-hero-3d__dot.is-active {
  background: #d4a057; border-color: #d4a057;
  width: 20px; border-radius: 4px;
  min-width: 20px !important;
}
.tb-hero-3d__dot:hover:not(.is-active) { background: rgba(212,160,87,.6); }

/* Hint */
.tb-hero-3d__hint {
  display: flex; align-items: center; gap: .45rem;
  font-family: 'Inter', sans-serif;
  font-size: .6rem; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(212,160,87,.5); pointer-events: none;
  transition: opacity .6s;
  animation: tb3d-pulse 3s ease-in-out infinite; white-space: nowrap;
}
.tb-hero-3d__hint svg { width: 13px; height: 13px; opacity: .5; }
@keyframes tb3d-pulse { 0%,100%{opacity:1} 50%{opacity:.25} }

/* ── Hero responsive ── */
@media (max-width: 900px) {
  .tb-hero-new__inner {
    grid-template-columns: 1fr;
    padding: 5rem var(--hp-pad) 2.5rem;
  }
  .tb-hero-new__content { order: 2; }
  .tb-hero-new__stage   { order: 1; }
  #tb-hero-glass-canvas { max-height: 52vw; min-height: 220px; }
}
@media (max-width: 480px) {
  .tb-hero-new__actions { flex-direction: column; }
  .tb-hero-new__btn     { min-width: 0; width: 100%; justify-content: center; }
  #tb-hero-glass-canvas { max-height: 65vw; }
}


/* ══════════════════════════════════════════════════════════════
   PARTNERS STRIP  (infinite marquee)
   ══════════════════════════════════════════════════════════════ */
.tb-partners-strip {
  background: #0d0800;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 2rem 0 2.5rem;
  overflow: hidden;
}

.tb-partners-strip__head {
  display: flex; align-items: center; gap: 1.2rem;
  padding: 0 var(--hp-pad); margin-bottom: 1.6rem;
}
.tb-partners-strip__line {
  flex: 1; height: 1px; background: rgba(255,255,255,.12);
}
.tb-partners-strip__label {
  font-family: 'Inter', sans-serif;
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.35); white-space: nowrap;
}

/* Marquee — animation injected by marquee.js after images load */
/* ── Marquee — pure CSS, zero JS, zero snapping ─────────────
   Track has 4 identical copies.
   We animate translateX(0) → translateX(-25%).
   -25% of 4 copies = exactly 1 copy width.
   When CSS resets to 0, the next copy is identical → invisible.
   ─────────────────────────────────────────────────────────── */
.tb-mq-outer {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right,
    transparent 0%, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(to right,
    transparent 0%, #000 5%, #000 95%, transparent 100%);
}

.tb-mq-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: max-content;
  animation: tb-mq-scroll 24s linear infinite;
}
.tb-mq-outer:hover .tb-mq-track { animation-play-state: paused; }

@keyframes tb-mq-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-25%); }
}

.tb-mq-item {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3rem;
  min-height: 0 !important;
  min-width:  0 !important;
}

.tb-mq-item img {
  height: 48px;
  width: auto; max-width: 140px;
  object-fit: contain; display: block;
  filter: grayscale(1) brightness(2.2);
  opacity: .65;
  user-select: none; pointer-events: none;
  -webkit-user-drag: none;
  transition: opacity .3s, filter .3s;
}
.tb-mq-item:hover img {
  opacity: 1;
  filter: grayscale(0) brightness(1.05);
}

@media (max-width: 768px) {
  .tb-mq-item     { padding: 0 2rem; }
  .tb-mq-item img { height: 36px; max-width: 110px; }
  .tb-mq-track    { animation-duration: 18s; }
}
@media (max-width: 480px) {
  .tb-mq-item     { padding: 0 1.4rem; }
  .tb-mq-item img { height: 28px; max-width: 85px; }
  .tb-mq-track    { animation-duration: 14s; }
}


/* ══════════════════════════════════════════════════════════════
   PRODUCT CATEGORIES
   ══════════════════════════════════════════════════════════════ */
.tb-cats-pdf {
  background: var(--hp-cream);
  padding: clamp(48px, 7vw, 88px) 0;
}
.tb-cats-pdf__container {
  max-width: 1400px; margin: 0 auto; padding: 0 var(--hp-pad);
}

/* Header */
.tb-cats-pdf__head {
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 1rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.tb-cats-pdf__eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: .7rem; font-weight: 400; color: #888;
  margin-bottom: .35rem;
}
.tb-cats-pdf__h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 800; color: var(--hp-orange);
  text-transform: uppercase; line-height: 1; margin: 0;
}
.tb-cats-pdf__see-all {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: 'Inter', sans-serif;
  font-size: .75rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: #1a1a1a; text-decoration: none; white-space: nowrap;
  padding-bottom: .2rem; border-bottom: 1.5px solid #1a1a1a;
  transition: color .2s, border-color .2s;
  flex-shrink: 0;
}
.tb-cats-pdf__see-all:hover { color: var(--hp-orange); border-color: var(--hp-orange); }

/* Grid */
.tb-cats-pdf__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--hp-gap);
}

/* Card */
.tb-cat-pdf-card {
  display: flex; flex-direction: column;
  background: var(--hp-black);
  text-decoration: none; color: #fff;
  overflow: hidden;
  transition: transform .28s cubic-bezier(.22,.61,.36,1), box-shadow .28s;
}
.tb-cat-pdf-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}

.tb-cat-pdf-card__img {
  aspect-ratio: 1 / 1; overflow: hidden; position: relative;
  background: #1a1610;
}
.tb-cat-pdf-card__img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s ease;
}
.tb-cat-pdf-card:hover .tb-cat-pdf-card__img img { transform: scale(1.06); }

.tb-cat-pdf-card__body {
  padding: .85rem .9rem 1rem;
  display: flex; flex-direction: column; gap: .35rem; flex: 1;
}
.tb-cat-pdf-card__title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(.85rem, 1.4vw, 1rem);
  font-weight: 700; color: var(--hp-orange);
  text-transform: uppercase; letter-spacing: .04em;
  line-height: 1.15; margin: 0;
}
.tb-cat-pdf-card__desc {
  font-family: 'Inter', sans-serif;
  font-size: .67rem; line-height: 1.55;
  color: rgba(255,255,255,.42); margin: 0; flex: 1;
}
.tb-cat-pdf-card__arrow {
  display: flex; align-items: center; justify-content: flex-end;
  margin-top: .4rem;
  color: rgba(255,255,255,.45);
  transition: color .2s;
}
.tb-cat-pdf-card__arrow svg { width: 26px; height: 26px; }
.tb-cat-pdf-card:hover .tb-cat-pdf-card__arrow { color: var(--hp-orange); }

/* Categories responsive */
@media (max-width: 1100px) {
  .tb-cats-pdf__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .tb-cats-pdf__grid { grid-template-columns: repeat(2, 1fr); }
  .tb-cats-pdf__head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 400px) {
  .tb-cats-pdf__grid { grid-template-columns: 1fr; }
}


/* ══════════════════════════════════════════════════════════════
   ACCORDION CARDS  (За нас · Портфолио · Каталог)
   ══════════════════════════════════════════════════════════════ */
.tb-acc-section {
  background: var(--hp-cream);
  padding: 0 0 clamp(48px, 7vw, 88px);
}

/* ── Desktop: horizontal panels ── */
.tb-acc-cards {
  max-width: 1400px; margin: 0 auto;
  padding: 0 var(--hp-pad);
  display: flex; gap: var(--hp-gap);
  align-items: stretch; min-height: 460px;
}

.tb-acc-card {
  border: var(--hp-border);
  overflow: hidden; cursor: pointer;
  transition: flex .5s cubic-bezier(.77,0,.175,1);
  flex: 0 0 68px;
  display: flex; flex-direction: column;
  position: relative; background: #fff;
}
.tb-acc-card.is-open {
  flex: 1 1 0; cursor: default;
}

/* Collapsed */
.tb-acc-card__collapsed {
  display: flex; align-items: center;
  justify-content: center; flex: 1; padding: 2rem 0;
  transition: opacity .25s;
}
.tb-acc-card.is-open .tb-acc-card__collapsed {
  opacity: 0; pointer-events: none;
  position: absolute; inset: 0;
}
.tb-acc-card__vtitle {
  font-family: 'Inter', sans-serif;
  font-size: .95rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: #1a1a1a;
  writing-mode: vertical-rl; text-orientation: mixed;
  transform: rotate(180deg); white-space: nowrap; user-select: none;
}
.tb-acc-card:not(.is-open):hover { background: #f8f4ec; }
.tb-acc-card:not(.is-open):hover .tb-acc-card__vtitle { color: var(--hp-orange); }

/* Expanded */
.tb-acc-card__expanded {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 3rem var(--hp-pad);
  flex: 1;
  opacity: 0; pointer-events: none;
  transform: translateY(14px);
  transition: opacity .3s .12s, transform .3s .12s;
  position: absolute; inset: 0;
}
.tb-acc-card.is-open .tb-acc-card__expanded {
  opacity: 1; pointer-events: auto;
  transform: translateY(0);
  position: relative; inset: auto;
}

/* Close ×  */
.tb-acc-card__close {
  position: absolute; top: 1rem; right: 1rem;
  width: 34px; height: 34px;
  border: 1px solid #1a1a1a; background: transparent;
  cursor: pointer; display: flex;
  align-items: center; justify-content: center; padding: 0;
  transition: background .2s, color .2s;
}
.tb-acc-card__close:hover { background: #1a1a1a; color: #fff; }
.tb-acc-card__close svg { width: 15px; height: 15px; }

.tb-acc-card__title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.9rem);
  font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: #1a1a1a;
  margin: 0 0 1.4rem;
}
.tb-acc-card__text {
  font-family: 'Inter', sans-serif;
  font-size: clamp(.78rem, 1vw, .88rem);
  line-height: 1.8; color: #555;
  max-width: 50ch; margin: 0 0 2.2rem;
  text-transform: uppercase; letter-spacing: .03em;
}
.tb-acc-card__btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 200px; padding: 1rem 2.8rem;
  border: var(--hp-border); background: transparent; color: #1a1a1a;
  font-family: 'Inter', sans-serif;
  font-size: .8rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.tb-acc-card__btn:hover { background: #1a1a1a; color: #fff; }

/* ── Accordion responsive ── */
@media (max-width: 860px) {
  /* Switch to vertical stack */
  .tb-acc-cards {
    flex-direction: column;
    min-height: auto;
    padding: 0 var(--hp-pad);
    gap: .5rem;
  }

  .tb-acc-card {
    flex: 0 0 56px;           /* collapsed height in vertical mode */
    flex-direction: column;
  }
  .tb-acc-card.is-open {
    flex: 0 0 auto;
  }

  /* Vertical text → horizontal */
  .tb-acc-card__vtitle {
    writing-mode: horizontal-tb;
    transform: none;
  }
  .tb-acc-card__collapsed {
    flex-direction: row;
    padding: 0 1.5rem;
    height: 56px; flex: none;
    justify-content: flex-start;
  }

  .tb-acc-card__expanded {
    padding: 2.5rem 1.5rem 2rem;
  }
  .tb-acc-card__text { max-width: 100%; }
  .tb-acc-card__btn  { min-width: 0; width: 100%; }
}
@media (max-width: 480px) {
  .tb-acc-card__expanded { padding: 2rem 1.25rem 1.5rem; }
  .tb-acc-card__close    { top: .7rem; right: .7rem; }
}


/* ══════════════════════════════════════════════════════════════
   PREMIUM ACCORDION  (tb-acc2)
   Full-bleed image panels · horizontal on desktop · stack on mobile
   ══════════════════════════════════════════════════════════════ */
.tb-acc2 {
  background: #0a0600;
  overflow: hidden;
}

/* ── Panel container ── */
.tb-acc2__panels {
  display: flex;
  height: clamp(520px, 72vh, 800px);
  width: 100%;
}

/* ── Single panel ── */
.tb-acc2__panel {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  /* collapsed: narrow tab */
  flex: 0 0 72px;
  transition: flex .7s cubic-bezier(.77,0,.175,1);
}
.tb-acc2__panel.is-open {
  flex: 1 1 0;
  cursor: default;
}
/* Subtle separator */
.tb-acc2__panel + .tb-acc2__panel { border-left: 1px solid rgba(255,255,255,.08); }

/* ── Background image ── */
.tb-acc2__bg {
  position: absolute; inset: 0;
  transition: transform .7s cubic-bezier(.77,0,.175,1);
}
.tb-acc2__bg img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .8s ease;
}
.tb-acc2__panel.is-open   .tb-acc2__bg img { transform: scale(1.0); }
.tb-acc2__panel:not(.is-open) .tb-acc2__bg img { transform: scale(1.12); }
.tb-acc2__panel:not(.is-open):hover .tb-acc2__bg img { transform: scale(1.06); }

/* ── Overlay gradients ── */
.tb-acc2__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to right,
    rgba(5,3,0,.85) 0%,
    rgba(5,3,0,.55) 40%,
    rgba(5,3,0,.15) 100%
  );
  transition: opacity .5s;
}
.tb-acc2__panel:not(.is-open) .tb-acc2__overlay {
  background: rgba(5,3,0,.68);
}

/* ── Collapsed tab ── */
.tb-acc2__tab {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
  padding-bottom: 2.5rem; gap: 1rem;
  opacity: 1; transition: opacity .3s;
}
.tb-acc2__panel.is-open .tb-acc2__tab {
  opacity: 0; pointer-events: none;
}
.tb-acc2__tab-num {
  font-family: 'Inter', sans-serif;
  font-size: .65rem; font-weight: 700;
  letter-spacing: .2em; color: rgba(255,255,255,.4);
}
.tb-acc2__tab-label {
  font-family: 'Inter', sans-serif;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.75);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
  transition: color .3s;
}
.tb-acc2__panel:not(.is-open):hover .tb-acc2__tab-label { color: #fff; }

/* ── Expanded content ── */
.tb-acc2__content {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 3.5rem clamp(2rem, 4vw, 4rem);
  opacity: 0; pointer-events: none;
  transform: translateY(20px);
  transition: opacity .45s .2s, transform .45s .2s;
}
.tb-acc2__panel.is-open .tb-acc2__content {
  opacity: 1; pointer-events: auto;
  transform: translateY(0);
}

.tb-acc2__eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: .65rem; font-weight: 600;
  letter-spacing: .25em; text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin: 0 0 .9rem;
}
.tb-acc2__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 500; line-height: 1.05;
  color: #fff; margin: 0 0 1.2rem;
  max-width: 10ch;
}
.tb-acc2__text {
  font-family: 'Inter', sans-serif;
  font-size: clamp(.82rem, 1vw, .92rem);
  line-height: 1.8; color: rgba(255,255,255,.65);
  max-width: 44ch; margin: 0 0 2rem;
}
.tb-acc2__btn {
  display: inline-flex; align-items: center; gap: .7rem;
  width: fit-content;
  padding: .9rem 2rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,.5);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none;
  transition: background .25s, border-color .25s, gap .25s;
}
.tb-acc2__btn:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
  gap: 1.1rem;
}
.tb-acc2__btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── Responsive ── */
@media (max-width: 860px) {
  .tb-acc2__panels {
    flex-direction: column;
    height: auto;
  }
  .tb-acc2__panel {
    flex: 0 0 60px;
  }
  .tb-acc2__panel.is-open {
    flex: 0 0 480px;
  }
  .tb-acc2__panel + .tb-acc2__panel {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .tb-acc2__tab {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 0 1.5rem;
    gap: .75rem;
  }
  .tb-acc2__tab-label {
    writing-mode: horizontal-tb;
    transform: none;
  }
  .tb-acc2__content { padding: 2rem 1.5rem; }
  .tb-acc2__title   { font-size: clamp(1.8rem, 5vw, 2.8rem); }
}
@media (max-width: 480px) {
  .tb-acc2__panel.is-open { flex: 0 0 380px; }
  .tb-acc2__content { padding: 1.5rem 1.25rem; }
  .tb-acc2__title   { font-size: 1.9rem; }
  .tb-acc2__text    { max-width: 100%; }
  .tb-acc2__btn     { width: 100%; justify-content: center; }
}
