/* Pipa Academy (đàn tỳ bà): rosewood lacquer, ivory soundboard, lotus and gold.
   Signature shapes: the pear-shaped body of the tỳ bà (photo frames), its four strings and its frets.
   Everything is scoped to .tb-page / .tb-* modals / the two Pipa body classes so other instruments are untouched. */

.page-pages-dan_ty_ba, .page-pages-dan_ty_ba_thank_you {
  --tb-lacquer: #24100e; --tb-lacquer-2: #3a1714; --tb-rose: #7a2a22;
  --tb-ivory: #fbf6ee; --tb-silk: #f4e9df; --tb-line: #e3d3c4;
  --tb-ink: #2b1a16; --tb-muted: #6c5650; --tb-soft-ivory: #e9dccd;
  --tb-gold: #e0b36a; --tb-gold-deep: #9a6a26; --tb-lotus: #d98f8a;
  --tb-jade: #3d6a55; --tb-cinnabar: #a2362a;
  --tb-pear: 47% 47% 50% 50% / 34% 34% 66% 66%;
  background: var(--tb-ivory);
}
.tb-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Base ---------- */
.tb-page { overflow-x: clip; background: var(--tb-ivory); color: var(--tb-ink); font-family: "Be Vietnam Pro", sans-serif; line-height: 1.8; }
.tb-page *, .tb-trial-modal *, .tb-photo-modal * { box-sizing: border-box; }
.tb-page h1, .tb-page h2, .tb-page h3, .tb-page h4, .tb-page p, .tb-page figure, .tb-page blockquote { margin: 0; }
.tb-page h1, .tb-page h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.03em; color: inherit; text-wrap: balance; }
.tb-page h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); line-height: 1.18; }
.tb-page h2 em { font-style: italic; color: var(--tb-rose); }
.tb-page h3, .tb-page h4 { color: inherit; }
.tb-page a:not(.tb-button) { color: inherit !important; }
.tb-page button { font-family: inherit; }
.tb-page :is(a, button, summary, iframe):focus-visible,
.tb-trial-modal :is(a, button):focus-visible, .tb-photo-modal button:focus-visible { outline: 3px solid var(--tb-gold-deep); outline-offset: 4px; }
.tb-page section[id] { scroll-margin-top: 96px; }
.tb-page ul, .tb-page ol { margin: 0; padding: 0; list-style: none; }

.tb-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 18px !important; color: var(--tb-rose); font-size: .72rem; font-weight: 600; letter-spacing: .18em; line-height: 1.5; text-transform: uppercase; }
.tb-eyebrow::before { content: ""; flex: none; width: 26px; height: 7px; background: repeating-linear-gradient(180deg, currentColor 0 1px, transparent 1px 3px); opacity: .8; }
.tb-heading--center .tb-eyebrow { justify-content: center; }

.tb-section { padding: 96px 0; }
.tb-section--silk { background: var(--tb-silk); }
.tb-section--lacquer { background: var(--tb-lacquer); color: var(--tb-ivory); }
.tb-section--lacquer .tb-eyebrow { color: var(--tb-gold); }
.tb-heading { max-width: 760px; margin-bottom: 48px; }
.tb-heading--center { margin-inline: auto; text-align: center; }
.tb-heading--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8%; align-items: end; }
.tb-heading--split > p { max-width: 480px; color: var(--tb-muted); font-size: .95rem; }
.tb-lead { font-family: Georgia, serif; font-size: 1.25rem; line-height: 1.7; }

/* ---------- Buttons & links ---------- */
.tb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 32px; }
.tb-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px; border: 1px solid var(--tb-lacquer); border-radius: 999px; background: var(--tb-lacquer); color: var(--tb-ivory) !important; font-size: .88rem; font-weight: 600; line-height: 1.3; text-align: center; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.tb-button:hover { background: var(--tb-rose); border-color: var(--tb-rose); color: #fff !important; }
.tb-button--gold { background: var(--tb-gold); border-color: var(--tb-gold); color: var(--tb-lacquer) !important; }
.tb-button--gold:hover { background: #f0cf93; border-color: #f0cf93; color: var(--tb-lacquer) !important; }
.tb-button--ghost { background: transparent; border-color: #e0b36a88; color: var(--tb-ivory) !important; }
.tb-button--ghost:hover { background: #ffffff14; border-color: var(--tb-gold); color: var(--tb-ivory) !important; }
.tb-link { display: inline-block; padding: 4px 0; border-bottom: 1px solid currentColor; font-size: .85rem; font-weight: 600; text-decoration: none; }
.tb-link:hover { opacity: .75; }

/* ---------- Hero ---------- */
.tb-hero { position: relative; overflow: hidden; color: var(--tb-ivory);
  background: radial-gradient(70% 90% at 78% 35%, #5c211b 0%, transparent 62%), linear-gradient(165deg, var(--tb-lacquer-2) 0%, var(--tb-lacquer) 55%, #170a09 100%); }
/* Four strings running through the hero */
.tb-hero::before { content: ""; position: absolute; top: 0; bottom: 0; left: 58%; width: 64px; pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 15px, #e0b36a26 15px 16px); }
.tb-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 6%; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.tb-hero .tb-eyebrow { color: var(--tb-gold); }
.tb-hero__kicker { max-width: 520px; margin-bottom: 18px !important; font-family: Georgia, serif; font-style: italic; font-size: 1.1rem; line-height: 1.6; color: var(--tb-soft-ivory); }
.tb-hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); line-height: 1.08; margin-bottom: 24px; }
.tb-hero h1 em { font-style: italic; color: var(--tb-gold); }
.tb-hero__facts { max-width: 520px; color: #dccbbd; font-size: 1rem; }
.tb-hero__notes { display: grid; gap: 10px; margin-top: 34px !important; padding-top: 24px !important; border-top: 1px solid #e0b36a33; font-size: .9rem; color: var(--tb-soft-ivory); }
.tb-hero__notes li { display: flex; align-items: center; gap: 12px; }
.tb-hero__notes svg { flex: none; width: 26px; height: 18px; color: var(--tb-lotus); }

.tb-hero__art { position: relative; width: 100%; max-width: 470px; justify-self: center; padding: 26px 34px 30px 52px; }
.tb-hero__frame { position: relative; }
/* Echo of the pear outline, offset like a second instrument behind the first */
.tb-hero__frame::before { content: ""; position: absolute; inset: 0; border: 1px solid #e0b36a80; border-radius: var(--tb-pear); transform: translate(16px, -16px); pointer-events: none; }
.tb-pear { position: relative; aspect-ratio: 3 / 4.1; overflow: hidden; border-radius: var(--tb-pear); background: var(--tb-rose); box-shadow: 0 30px 60px -24px #000c; }
.tb-pear img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.tb-hero__seal { position: absolute; left: 0; bottom: 6px; width: 112px; height: 112px; border-radius: 50%; box-shadow: 0 0 0 4px var(--tb-lacquer), 0 14px 30px -8px #000; background: #000; }
.tb-hero__glyph { position: absolute; top: 26px; left: 0; writing-mode: vertical-rl; font-family: "Songti SC", "Noto Serif SC", "SimSun", Georgia, serif; font-size: 2.1rem; letter-spacing: .35em; color: var(--tb-gold); opacity: .55; }
.tb-hero__pipa { position: absolute; right: -6px; bottom: 0; width: 46px; height: auto; color: var(--tb-gold); opacity: .55; transform: rotate(12deg); }

/* ---------- Section nav ---------- */
.tb-nav { border-bottom: 1px solid var(--tb-line); background: var(--tb-ivory); }
.tb-nav > .container { display: flex; gap: 6px 30px; overflow-x: auto; scrollbar-width: thin; }
.tb-nav a { display: inline-flex; align-items: center; min-height: 56px; flex: none; border-bottom: 2px solid transparent; font-size: .8rem; font-weight: 500; white-space: nowrap; text-decoration: none; }
.tb-nav a:first-child { margin-left: auto; }
.tb-nav a:last-child { margin-right: auto; }
.tb-nav a:hover { border-bottom-color: var(--tb-gold); color: var(--tb-rose) !important; }
/* The nav scrolls horizontally, which would clip an outside focus ring */
.tb-page .tb-nav a:focus-visible { outline-offset: -3px; }

/* ---------- Introduction ---------- */
.tb-intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 8%; align-items: center; }
.tb-intro h2 { margin-bottom: 26px; }
.tb-intro__body { margin-top: 24px; color: var(--tb-muted); font-size: .95rem; }
.tb-intro__body p + p { margin-top: 14px; }
.tb-pullquote { display: flex; gap: 18px; align-items: flex-start; margin-top: 34px !important; padding: 26px 0 0; border-top: 1px solid var(--tb-line); }
.tb-pullquote svg { flex: none; width: 44px; height: 30px; color: var(--tb-lotus); }
.tb-pullquote p { font-family: Georgia, serif; font-style: italic; font-size: 1.3rem; line-height: 1.6; color: var(--tb-rose); }
.tb-intro__photo { position: relative; }
.tb-intro__photo::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: 0; border: 1px solid var(--tb-gold); border-radius: 999px 999px 18px 18px; pointer-events: none; }
.tb-intro__photo img { position: relative; z-index: 1; display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 999px 999px 18px 18px; }

/* ---------- Two instruments ---------- */
.tb-duet { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.tb-instrument { --tb-accent: var(--tb-jade); display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; background: var(--tb-ivory); box-shadow: 0 24px 50px -36px #3a1714; }
.tb-instrument--cn { --tb-accent: var(--tb-cinnabar); }
.tb-instrument__photo { aspect-ratio: 5 / 4; overflow: hidden; }
.tb-instrument__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.tb-instrument__body { flex: 1; padding: 32px 36px 38px; border-top: 4px solid var(--tb-accent); }
.tb-instrument__origin { display: flex; align-items: center; gap: 10px; color: var(--tb-accent); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.tb-instrument__origin span { font-family: Georgia, serif; font-size: 1rem; font-weight: 400; letter-spacing: 0; }
.tb-instrument h3 { margin: 10px 0 0; font-family: Georgia, serif; font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 400; line-height: 1.25; }
.tb-instrument__body > p:last-child { color: var(--tb-muted); font-size: .95rem; }
/* A short run of frets as the divider */
.tb-frets { display: block; width: 72px; height: 13px; margin: 18px 0; background: repeating-linear-gradient(180deg, var(--tb-accent) 0 1px, transparent 1px 4px); opacity: .7; }
.tb-duet__or { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 64px; height: 64px; transform: translate(-50%, -50%); border: 1px solid var(--tb-gold); border-radius: 50%; background: var(--tb-silk); color: var(--tb-rose); font-family: Georgia, serif; font-style: italic; font-size: 1.15rem; }

/* ---------- Courses: two necks, three frets each ---------- */
.tb-tracks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.tb-track { --tb-accent: var(--tb-jade); min-width: 0; }
.tb-track--cn { --tb-accent: var(--tb-cinnabar); }
.tb-page .tb-track__title { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; padding-bottom: 16px; border-bottom: 1px solid var(--tb-line); font-family: Georgia, serif; font-size: 1.75rem; font-weight: 400; }
.tb-track__title::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--tb-accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--tb-accent) 18%, transparent); }
.tb-levels { position: relative; display: grid; gap: 18px; }
.tb-levels::before { content: ""; position: absolute; top: 20px; bottom: 20px; left: 21px; width: 2px; background: linear-gradient(var(--tb-accent), var(--tb-gold)); opacity: .35; }
.tb-level { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; }
.tb-level__number { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--tb-accent); border-radius: 50%; background: var(--tb-ivory); color: var(--tb-accent); font-family: Georgia, serif; font-size: .95rem; }
.tb-level__card { padding: 22px 26px 24px; border: 1px solid var(--tb-line); border-radius: 18px; background: #fff; }
.tb-level--popular .tb-level__card { border-color: var(--tb-accent); box-shadow: 0 16px 36px -28px var(--tb-accent); }
.tb-level--popular .tb-level__number { background: var(--tb-accent); color: #fff; }
.tb-page .tb-level h4 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 14px; font-family: Georgia, serif; font-size: 1.35rem; font-weight: 400; line-height: 1.3; }
.tb-badge { padding: 3px 12px; border-radius: 999px; background: var(--tb-accent); color: #fff; font-family: "Be Vietnam Pro", sans-serif; font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.tb-level li { position: relative; padding-left: 22px; color: var(--tb-muted); font-size: .9rem; line-height: 1.65; }
.tb-level li + li { margin-top: 8px; }
.tb-level li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; transform: rotate(45deg); background: var(--tb-gold); }
.tb-courses-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: 48px; padding: 28px 34px; border-radius: 22px; background: var(--tb-silk); }
.tb-courses-cta p { max-width: 560px; font-family: Georgia, serif; font-size: 1.15rem; line-height: 1.6; }

/* ---------- Commitments ---------- */
.tb-commitments { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #e0b36a40; }
.tb-commitments article { padding: 34px 28px 0 0; }
.tb-commitments article + article { padding-left: 28px; border-left: 1px solid #e0b36a26; }
.tb-commitments__number { display: block; margin-bottom: 18px; font-family: Georgia, serif; font-size: 2.2rem; line-height: 1; color: var(--tb-gold); }
.tb-page .tb-commitments h3 { margin-bottom: 14px; font-family: Georgia, serif; font-size: 1.35rem; font-weight: 400; line-height: 1.3; }
.tb-commitments p { color: #d8c8ba; font-size: .88rem; line-height: 1.75; }
.tb-commitments p + p { margin-top: 12px; }

/* ---------- Gallery ---------- */
.tb-gallery { columns: 3; column-gap: 20px; }
.tb-gallery figure { break-inside: avoid; margin: 0 0 20px !important; }
.tb-gallery__photo { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: var(--tb-silk); cursor: zoom-in; }
.tb-gallery__photo img { display: block; width: 100%; height: auto; }
.tb-gallery figure:nth-child(4n + 1) .tb-gallery__photo { border-radius: 120px 120px 16px 16px; }
.tb-gallery__number { position: absolute; left: 14px; bottom: 12px; padding: 2px 10px; border-radius: 999px; background: #24100ecc; color: var(--tb-ivory); font-family: Georgia, serif; font-size: .8rem; }
@media (prefers-reduced-motion: no-preference) {
  .tb-gallery__photo img { transition: transform .4s ease; }
  .tb-gallery__photo:hover img { transform: scale(1.03); }
}

.tb-photo-modal { --bs-modal-zindex: 1100; }
.page-pages-dan_ty_ba:has(.tb-photo-modal.show) :is(.floating-contact, .zalo-chat-widget) { visibility: hidden; }
.tb-photo-modal .modal-content, .tb-trial-modal .modal-content { background: var(--tb-ivory); color: var(--tb-ink); border: 0; border-radius: 22px; overflow: hidden; }
.tb-photo-modal .modal-header, .tb-trial-modal .modal-header { gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--tb-line); }
.tb-photo-modal .modal-title { font: 600 .95rem/1.5 "Be Vietnam Pro", sans-serif; color: var(--tb-ink); }
.tb-photo-modal .modal-body { padding: 12px; }
.tb-photo-modal .modal-body img { display: block; width: 100%; height: auto; max-height: 76vh; max-height: 76dvh; object-fit: contain; border-radius: 14px; }
.page-pages-dan_ty_ba .modal:is(.tb-photo-modal, .tb-trial-modal) .btn-close { flex: 0 0 44px; width: 44px; height: 44px; margin: 0 0 0 auto; padding: 0; transform: none; border-radius: 50%; background-color: #fff; background-size: 14px; opacity: 1; filter: none; }

/* ---------- Video ---------- */
.tb-video { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 7%; align-items: center; }
.tb-video h2 span { display: block; margin-top: 6px; font-family: "Songti SC", "Noto Serif SC", "SimSun", Georgia, serif; font-size: .55em; letter-spacing: .3em; color: var(--tb-rose); }
.tb-video__copy > p:not(.tb-eyebrow) { margin: 22px 0 20px !important; color: var(--tb-muted); font-size: .95rem; }
.tb-video__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--tb-lacquer); box-shadow: 18px 18px 0 -1px var(--tb-ivory), 18px 18px 0 0 var(--tb-gold); }
.tb-video__frame iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- Reviews ---------- */
.tb-reviews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; max-width: 1020px; margin: 0 auto; }
.tb-review { display: flex; flex-direction: column; padding: 34px 36px 30px; border: 1px solid var(--tb-line); border-radius: 24px; background: #fff; }
.tb-review__mark { height: 44px; font-family: Georgia, serif; font-size: 4.4rem; line-height: 1; color: var(--tb-lotus); }
.tb-review blockquote { flex: 1; margin: 6px 0 26px !important; }
.tb-review blockquote p { font-family: Georgia, serif; font-size: 1.2rem; line-height: 1.7; }
.tb-review figcaption { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--tb-line); font-size: .82rem; color: var(--tb-muted); }
.tb-review figcaption strong { display: block; color: var(--tb-ink); font-size: .95rem; }
.tb-review__initial { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--tb-silk); color: var(--tb-rose); font-family: Georgia, serif; font-size: 1.1rem; }

/* ---------- FAQ ---------- */
.tb-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 8%; align-items: start; }
.tb-faq__help { margin-top: 22px !important; color: var(--tb-muted); font-size: .9rem; }
.tb-faq__help a { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.tb-faq__list details { border-bottom: 1px solid #d9c6b6; }
.tb-faq__list details:first-child { border-top: 1px solid #d9c6b6; }
.tb-faq__list summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 64px; padding: 18px 0; cursor: pointer; font-size: 1rem; font-weight: 600; line-height: 1.5; list-style: none; }
.tb-faq__list summary::-webkit-details-marker { display: none; }
.tb-faq__list summary::after { content: "+"; display: grid; place-items: center; flex: none; width: 34px; height: 34px; border: 1px solid var(--tb-gold); border-radius: 50%; color: var(--tb-rose); font-family: Georgia, serif; font-size: 1.2rem; line-height: 1; }
.tb-faq__list details[open] summary::after { content: "–"; background: var(--tb-gold); color: var(--tb-lacquer); }
.tb-faq__list details > p, .tb-faq__centers { padding-bottom: 20px; color: var(--tb-muted); font-size: .93rem; }
.tb-faq__list details > p:has(+ .tb-faq__centers) { padding-bottom: 8px; }
.tb-page .tb-faq__centers li + li { margin-top: 4px; }

/* ---------- Locations ---------- */
.tb-locations { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.tb-locations__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; }
.tb-locations__list li { padding: 24px 0; border-top: 1px solid var(--tb-line); }
.tb-locations__number { color: var(--tb-rose); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.tb-page .tb-locations h3 { margin: 6px 0 4px; font-family: Georgia, serif; font-size: 1.5rem; font-weight: 400; }
.tb-locations__list p { margin-bottom: 10px !important; color: var(--tb-muted); font-size: .9rem; }
.tb-contact { padding: 34px; border-radius: 24px; background: var(--tb-lacquer); color: var(--tb-ivory); }
.tb-page .tb-contact h3 { margin-bottom: 22px; font-family: Georgia, serif; font-size: 1.6rem; font-weight: 400; }
.tb-contact dl { margin: 0; }
.tb-contact dl > div { padding: 12px 0; border-top: 1px solid #e0b36a33; }
.tb-contact dt { color: var(--tb-gold); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.tb-contact dd { margin: 2px 0 0; font-size: 1.05rem; font-weight: 600; overflow-wrap: anywhere; }
.tb-contact dd a { text-decoration: none; }
.tb-contact__links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 20px; color: var(--tb-gold); }

/* ---------- Related posts (shared partial) ---------- */
.page-pages-dan_ty_ba .subject-reading { background: var(--tb-silk); color: var(--tb-ink); }
.page-pages-dan_ty_ba .subject-reading .subject-reading__eyebrow { color: var(--tb-rose); }
.page-pages-dan_ty_ba .subject-reading__card { border-color: var(--tb-line); border-radius: 20px; background: var(--tb-ivory); }
.page-pages-dan_ty_ba .subject-reading__image { background: var(--tb-soft-ivory); }
.page-pages-dan_ty_ba .subject-reading .subject-reading__kind { color: var(--tb-rose); }
.page-pages-dan_ty_ba .subject-reading .subject-reading__body h3 { color: var(--tb-ink); }
.page-pages-dan_ty_ba .subject-reading .subject-reading__excerpt, .page-pages-dan_ty_ba .subject-reading__date { color: var(--tb-muted); }
.page-pages-dan_ty_ba .subject-reading__placeholder { color: var(--tb-lotus); }

/* ---------- Signup ---------- */
.tb-signup { position: relative; overflow: hidden; padding: 96px 0 36px; color: var(--tb-ivory);
  background: radial-gradient(60% 80% at 15% 20%, #5c211b 0%, transparent 60%), var(--tb-lacquer); }
.tb-signup .tb-eyebrow { color: var(--tb-gold); }
.tb-signup__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 7%; align-items: start; }
.tb-signup__copy { position: relative; padding-bottom: 40px; }
.tb-signup h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
.tb-signup__copy > p:not(.tb-eyebrow) { margin-top: 22px !important; color: #dccbbd; font-size: .95rem; }
.tb-signup__contact { line-height: 2 !important; }
.tb-page .tb-signup__contact a { color: var(--tb-gold) !important; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.tb-signup__pipa { display: block; width: 54px; height: auto; margin-top: 34px; color: var(--tb-gold); opacity: .5; }
.tb-signup__form { padding: 26px 26px 18px; border-radius: 26px; background: var(--tb-ivory); color: var(--tb-ink); box-shadow: 0 40px 70px -40px #000; }
.tb-signup__form iframe { display: block; width: 100%; min-height: 420px; border: 0; }
.tb-signup__signature { margin: 64px 0 0 !important; padding-top: 28px; border-top: 1px solid #e0b36a26; text-align: center; color: #c9b4a2; font-size: .72rem; letter-spacing: .24em; }
.tb-form-help { margin: 0 0 16px; font-size: .88rem; }
.tb-signup__form .tb-form-help { margin: 12px 0 0; text-align: center; color: var(--tb-muted); }
.tb-form-help a, .tb-page .tb-form-help a { color: var(--tb-rose) !important; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Thank-you page (/dan-ty-ba/cam-on) ---------- */
.tb-thanks { position: relative; overflow: hidden; color: var(--tb-ivory);
  background: radial-gradient(60% 80% at 20% 30%, #5c211b 0%, transparent 62%), linear-gradient(165deg, var(--tb-lacquer-2) 0%, var(--tb-lacquer) 60%, #170a09 100%); }
.tb-thanks::before { content: ""; position: absolute; top: 0; bottom: 0; left: 41%; width: 64px; pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 15px, #e0b36a26 15px 16px); }
.tb-thanks__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 7%; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.tb-thanks__art { position: relative; width: 100%; max-width: 400px; justify-self: center; padding: 26px 34px 30px 30px; }
.tb-thanks__letter { padding: 46px 48px 40px; border-radius: 28px; background: var(--tb-ivory); color: var(--tb-ink); box-shadow: 0 40px 70px -40px #000; }
.tb-thanks h1 { margin-bottom: 26px; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1.05; color: var(--tb-lacquer); }
.tb-thanks__body p { color: var(--tb-muted); font-size: 1rem; line-height: 1.8; }
.tb-thanks__body p + p { margin-top: 16px; }
.tb-page .tb-thanks__call { padding: 16px 20px; border-left: 3px solid var(--tb-gold); border-radius: 0 14px 14px 0; background: var(--tb-silk); color: var(--tb-ink); font-weight: 600; }
.tb-thanks .tb-actions { margin-top: 24px; }
.tb-thanks__signature { display: flex; align-items: center; gap: 16px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--tb-line); }
.tb-thanks__signature svg { flex: none; width: 44px; height: 30px; color: var(--tb-lotus); }
.tb-thanks__signature p { font-family: Georgia, serif; font-style: italic; font-size: 1.15rem; line-height: 1.6; color: var(--tb-rose); }
.tb-thanks__signature strong { font-weight: 400; color: var(--tb-ink); }
.tb-page .tb-thanks__help { margin-top: 20px; color: var(--tb-muted); font-size: .85rem; }
.tb-thanks__help a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
@media (max-width: 991.98px) {
  .tb-thanks__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 44px; padding-bottom: 64px; }
  .tb-thanks::before { left: auto; right: 6%; }
  .tb-thanks__art { max-width: 320px; }
}
@media (max-width: 767.98px) {
  .tb-thanks__art { max-width: 270px; padding: 20px 26px 24px 24px; }
  .tb-thanks__letter { padding: 30px 22px 26px; border-radius: 22px; }
  .tb-thanks::before { display: none; }
}

/* ---------- Trial modal & popup ---------- */
.tb-trial-modal .modal-header { padding: 22px 24px; }
.tb-trial-modal .tb-eyebrow { color: var(--tb-rose); }
.tb-trial-modal .modal-title { font: 400 1.6rem/1.3 Georgia, serif; color: var(--tb-ink); }
.tb-trial-modal iframe { display: block; border: 0; }
.tb-trial-modal .tb-form-help { color: var(--tb-muted); }
.tb-trial-modal .tb-form-help.text-center { margin: 12px 0 0; }
.page-pages-dan_ty_ba .promo-popup__dialog { background: var(--tb-ivory); color: var(--tb-ink); }
.page-pages-dan_ty_ba .promo-popup__body h3 { font-family: Georgia, serif; font-weight: 400; color: var(--tb-ink); }
.page-pages-dan_ty_ba .promo-popup__body .text-muted { color: var(--tb-rose) !important; letter-spacing: .14em; }

/* ---------- Header & footer (outside .tb-page; shared by landing and thank-you pages) ---------- */
:is(.page-pages-dan_ty_ba, .page-pages-dan_ty_ba_thank_you) .site-header { background: rgba(36, 16, 14, .9); border-bottom-color: #e0b36a26; }
:is(.page-pages-dan_ty_ba, .page-pages-dan_ty_ba_thank_you) .site-header.scrolled { background: rgba(28, 12, 11, .97); }
:is(.page-pages-dan_ty_ba, .page-pages-dan_ty_ba_thank_you) .site-header__image-logo .site-logo { height: 52px; width: 52px; filter: none; }
:is(.page-pages-dan_ty_ba, .page-pages-dan_ty_ba_thank_you) .site-header__image-logo .site-header__tagline { color: #d8c3b0; border-left-color: #e0b36a40; }
:is(.page-pages-dan_ty_ba, .page-pages-dan_ty_ba_thank_you) .site-header :is(.nav-link, .dropdown-item).active { color: var(--tb-gold) !important; }
:is(.page-pages-dan_ty_ba, .page-pages-dan_ty_ba_thank_you) .site-header .dropdown-menu { background: rgba(36, 16, 14, .97); border-color: #e0b36a33; }
.page-pages-dan_ty_ba .site-header .btn-primary,
.page-pages-dan_ty_ba .site-header .btn-primary:hover,
.page-pages-dan_ty_ba .site-header .btn-primary:focus,
.page-pages-dan_ty_ba .site-header .btn-primary:active { background: var(--tb-gold) !important; border-color: transparent !important; color: var(--tb-lacquer) !important; box-shadow: 0 6px 18px -6px rgba(224, 179, 106, .5) !important; }
.page-pages-dan_ty_ba .site-header .btn-primary:hover { filter: brightness(1.06); }
:is(.page-pages-dan_ty_ba, .page-pages-dan_ty_ba_thank_you) .site-footer { background: #170a09; }
:is(.page-pages-dan_ty_ba, .page-pages-dan_ty_ba_thank_you) .site-footer__glow { background: radial-gradient(circle, #7a2a2240, transparent 70%); }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .tb-commitments { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 0; }
  .tb-commitments article:nth-child(3) { padding-left: 0; border-left: 0; }
  .tb-commitments article:nth-child(n + 3) { margin-top: 30px; }
}
@media (max-width: 991.98px) {
  .tb-section { padding: 72px 0; }
  .tb-hero__grid { gap: 40px; padding-top: 52px; padding-bottom: 64px; }
  .tb-hero::before { left: auto; right: 6%; }
  .tb-intro, .tb-video, .tb-faq, .tb-signup__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .tb-intro__photo { max-width: 420px; justify-self: center; width: 100%; }
  .tb-duet, .tb-tracks { gap: 32px; }
  .tb-instrument__body { padding: 26px 26px 30px; }
  .tb-locations { grid-template-columns: minmax(0, 1fr); }
  .tb-video__frame { margin-right: 18px; }
  .tb-signup__copy { padding-bottom: 0; }
  .tb-signup__pipa { display: none; }
}
@media (max-width: 767.98px) {
  .tb-page .container, .tb-signup .container { padding-left: 20px; padding-right: 20px; }
  .tb-section { padding: 56px 0; }
  .tb-heading { margin-bottom: 32px; }
  .tb-heading--split { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .tb-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 40px; padding-bottom: 52px; }
  .tb-hero h1 { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .tb-hero__kicker { font-size: 1rem; }
  .tb-hero::before { display: none; }
  .tb-hero__art { max-width: 360px; padding: 20px 26px 24px 40px; }
  .tb-hero__seal { width: 84px; height: 84px; }
  .tb-hero__glyph { font-size: 1.6rem; top: 20px; }
  .tb-hero__pipa { width: 36px; right: -2px; }
  .tb-actions .tb-button { flex: 1 1 100%; }
  .tb-nav > .container { gap: 22px; }
  .tb-nav a:first-child { margin-left: 0; }
  .tb-duet, .tb-tracks, .tb-reviews { grid-template-columns: minmax(0, 1fr); }
  .tb-locations__list { gap: 0 16px; }
  .tb-locations__list li { padding: 16px 0; }
  .tb-locations__list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .tb-page .tb-locations h3 { font-size: 1.12rem; }
  .tb-locations__list p { font-size: .8rem; line-height: 1.5; }
  .tb-duet__or { position: static; justify-self: center; order: 1; margin: -12px 0; width: 56px; height: 56px; transform: none; }
  .tb-instrument--cn { order: 2; }
  .tb-instrument__photo { aspect-ratio: 4 / 3.4; }
  .tb-level { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; }
  .tb-level__number { width: 36px; height: 36px; font-size: .85rem; }
  .tb-levels::before { left: 17px; }
  .tb-level__card { padding: 18px 18px 20px; }
  .tb-courses-cta { padding: 24px; }
  .tb-courses-cta .tb-button { width: 100%; }
  .tb-commitments { grid-template-columns: minmax(0, 1fr); }
  .tb-commitments article:nth-child(n) { margin-top: 0; padding: 26px 0; border-left: 0; }
  .tb-commitments article:nth-child(n + 2) { border-top: 1px solid #e0b36a26; }
  .tb-gallery { columns: 2; column-gap: 12px; }
  .tb-gallery figure { margin-bottom: 12px !important; }
  .tb-gallery figure:nth-child(4n + 1) .tb-gallery__photo { border-radius: 70px 70px 12px 12px; }
  .tb-gallery__number { left: 8px; bottom: 8px; font-size: .7rem; }
  .tb-review { padding: 26px 24px; }
  .tb-review blockquote p { font-size: 1.08rem; }
  .tb-pullquote p { font-size: 1.12rem; }
  .tb-contact { padding: 26px 22px; }
  .tb-signup { padding-top: 60px; }
  .tb-signup__form { padding: 18px 14px 14px; border-radius: 20px; }
  .tb-trial-modal .modal-title { font-size: 1.3rem; }
  .tb-photo-modal .modal-header { padding: 12px 14px; }
  :is(.page-pages-dan_ty_ba, .page-pages-dan_ty_ba_thank_you) .site-header__image-logo .site-logo { height: 46px; width: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .tb-page *, .tb-page *::before, .tb-page *::after, .tb-photo-modal *, .tb-trial-modal * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
