/* ============================================================
   The Teaching Studio - site-wide header (nav.css)
   Markup is drawn by /js/nav.js; the menu itself is edited there.
   Loads after /leads/style/site.css on every page.
   ============================================================ */

:root {
	--tnav-navy: #04054f;
	--tnav-navy-deep: #0a0b3a;
	--tnav-orange: #f5840c;
	--tnav-orange-dark: #c86802;
	--tnav-sky: #17dafd;
	--tnav-grad: linear-gradient(to right, #f5d613 0%, #e69c64 26%, #cc41f2 50%, #9274f6 66%, #17dafd 100%);
	--tnav-h: 60px;
}

html { scroll-padding-top: calc(var(--tnav-h) + 12px); }

/* ── Bar ──────────────────────────────────────────────────── */
.tnav { position: relative; z-index: 990; background: var(--tnav-navy); color: #fff; font-family: 'Poppins', sans-serif; box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.tnav:after { content: ''; display: block; height: 3px; background: var(--tnav-grad); }
.tnav.is-fixed { position: fixed; top: 0; left: 0; right: 0; box-shadow: 0 10px 30px rgba(4,5,79,.28); }
.tnav_spacer { display: none; height: calc(var(--tnav-h) + 3px); }
.tnav_spacer.is-on { display: block; }
.tnav.is-hidden { transform: translateY(-100%); }
.tnav { transition: transform .28s ease; }

.tnav_in { max-width: 1240px; margin: 0 auto; padding: 0 20px; height: var(--tnav-h); display: flex; align-items: center; gap: 18px; }

.tnav_logo, .tnav_logo:visited { flex: none; width: 178px; height: 34px; font-size: 0; line-height: 0; background: url(/images/logo.png) left center/contain no-repeat; color: #fff; }
.tnav_logo:focus-visible { outline: 2px solid var(--tnav-sky); outline-offset: 4px; border-radius: 4px; }

/* ── Desktop menu ─────────────────────────────────────────── */
.tnav_menu { display: none; flex: 1; justify-content: center; }
.tnav_list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.tnav_item { position: relative; }
.tnav_top, .tnav_top:visited { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 13px; border: 0; border-radius: 20px; background: transparent; color: rgba(255,255,255,.88); font: 600 14px/1 'Poppins', sans-serif; letter-spacing: .1px; cursor: pointer; white-space: nowrap; transition: background .15s ease, color .15s ease; -webkit-appearance: none; }
.tnav_top:hover, .tnav_item.is-open > .tnav_top, .tnav_item.is-active > .tnav_top { color: #fff; background: rgba(255,255,255,.1); }
.tnav_item.is-current > .tnav_top { color: #fff; box-shadow: inset 0 -2px 0 var(--tnav-orange); border-radius: 20px 20px 4px 4px; }
.tnav_top:focus-visible { outline: 2px solid var(--tnav-sky); outline-offset: 2px; }
.tnav_caret { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .7; transition: transform .2s ease; }
.tnav_item.is-open .tnav_caret { transform: translateY(1px) rotate(225deg); }

.tnav_dd { position: absolute; left: 0; top: calc(100% + 8px); min-width: 230px; padding: 6px; background: #fff; color: var(--tnav-navy); border-radius: 12px; box-shadow: 0 18px 44px rgba(4,5,79,.26), 0 0 0 1px rgba(4,5,79,.06); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s; }
.tnav_dd:before { content: ''; position: absolute; left: 0; right: 0; top: -8px; height: 8px; } /* keeps hover alive crossing the gap */
.tnav_dd:after { content: ''; position: absolute; left: 14px; right: 14px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--tnav-grad); }
.tnav_item.is-open > .tnav_dd { opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s; }
.tnav_dd a, .tnav_dd a:visited { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 14px; border-radius: 8px; color: var(--tnav-navy); font: 600 15px/1.25 'Poppins', sans-serif; white-space: nowrap; transition: background .12s ease; }
.tnav_dd a:hover, .tnav_dd a:focus-visible { background: #eef0fb; color: var(--tnav-navy); outline: none; }
.tnav_dd a.is-current { background: #eef0fb; }
.tnav_dd a.is-current:after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--tnav-orange); }

/* ── Right-hand cluster ───────────────────────────────────── */
.tnav_cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.tnav_phone, .tnav_phone:visited { display: none; color: rgba(255,255,255,.85); font: 600 14px/1 'Poppins', sans-serif; padding: 0 10px; height: 40px; align-items: center; white-space: nowrap; }
.tnav_phone:hover { color: #fff; }
.tnav_dash, .tnav_dash:visited { display: none; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border: 1.5px solid rgba(255,255,255,.3); border-radius: 19px; color: #fff; font: 600 13px/1 'Poppins', sans-serif; white-space: nowrap; transition: border-color .15s ease, background .15s ease; }
.tnav_dash:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.tnav_dash svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tnav_dash_txt { display: inline; }
.tnav_book, .tnav_book:visited { display: none; align-items: center; height: 38px; padding: 0 18px; border-radius: 19px; background: var(--tnav-orange); color: #fff; font: 600 14px/1 'Poppins', sans-serif; white-space: nowrap; transition: background .15s ease; }
.tnav_book:hover { background: var(--tnav-orange-dark); color: #fff; }
.tnav_book:focus-visible, .tnav_dash:focus-visible, .tnav_phone:focus-visible { outline: 2px solid var(--tnav-sky); outline-offset: 2px; }

/* Mobile-only buttons: call + menu */
.tnav_callbtn, .tnav_callbtn:visited { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 21px; border: 1.5px solid rgba(255,255,255,.3); color: #fff; }
.tnav_callbtn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tnav_burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 42px; padding: 0 11px; border: 0; border-radius: 21px; background: rgba(255,255,255,.1); cursor: pointer; -webkit-appearance: none; }
.tnav_burger span { display: block; height: 2.5px; border-radius: 2px; background: #fff; transition: transform .25s ease, opacity .2s ease; transform-origin: center; }
.tnav_burger:focus-visible { outline: 2px solid var(--tnav-sky); outline-offset: 2px; }

/* ── Mobile panel ─────────────────────────────────────────── */
.tnav_panel { position: fixed; inset: 0; z-index: 9990; display: flex; flex-direction: column; background: var(--tnav-navy); color: #fff; font-family: 'Poppins', sans-serif; transform: translateX(100%); visibility: hidden; transition: transform .3s cubic-bezier(.22,.8,.3,1), visibility 0s linear .3s; overscroll-behavior: contain; }
.tnav_panel.is-open { transform: translateX(0); visibility: visible; transition-delay: 0s; }
.tnav_panel_head { flex: none; display: flex; align-items: center; justify-content: space-between; height: var(--tnav-h); padding: 0 16px 0 20px; }
.tnav_panel_head:after { content: none; }
.tnav_panel_close { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px 0 16px; border: 0; border-radius: 21px; background: rgba(255,255,255,.1); color: #fff; font: 600 14px/1 'Poppins', sans-serif; cursor: pointer; -webkit-appearance: none; }
.tnav_panel_close i { font-style: normal; font-size: 20px; line-height: 1; }
.tnav_panel_rule { flex: none; height: 3px; background: var(--tnav-grad); }
.tnav_panel_body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 10px 20px 24px 20px; }

.tnav_group { padding: 14px 0 6px 0; }
.tnav_group + .tnav_group, .tnav_group + .tnav_direct, .tnav_direct + .tnav_group { border-top: 1px solid rgba(255,255,255,.1); }
.tnav_group_label { display: block; padding: 0 0 4px 2px; font: 600 13px/1.4 'Poppins', sans-serif; color: rgba(255,255,255,.55); }
.tnav_group a, .tnav_group a:visited, .tnav_direct a, .tnav_direct a:visited { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 50px; padding: 4px 6px 4px 12px; border-radius: 10px; color: #fff; font: 600 17px/1.3 'Poppins', sans-serif; transition: background .12s ease; }
.tnav_group a:active, .tnav_direct a:active { background: rgba(255,255,255,.1); }
.tnav_group a:after, .tnav_direct a:after { content: ''; flex: none; width: 9px; height: 9px; margin-right: 8px; border-right: 2px solid rgba(255,255,255,.45); border-top: 2px solid rgba(255,255,255,.45); transform: rotate(45deg); }
.tnav_group a.is-current, .tnav_direct a.is-current { background: rgba(255,255,255,.1); box-shadow: inset 3px 0 0 var(--tnav-orange); }
.tnav_direct { padding: 6px 0; }
.tnav_direct a { font-size: 18px; font-weight: 700; }

.tnav_panel_foot { flex: none; padding: 14px 20px calc(16px + env(safe-area-inset-bottom, 0px)) 20px; background: var(--tnav-navy-deep); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tnav_panel_foot a, .tnav_panel_foot a:visited { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 14px; border-radius: 24px; border: 1.5px solid rgba(255,255,255,.3); color: #fff; font: 600 14px/1 'Poppins', sans-serif; white-space: nowrap; }
.tnav_panel_foot a svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tnav_panel_foot .tnav_panel_book { grid-column: 1 / -1; border-color: var(--tnav-orange); background: var(--tnav-orange); font-size: 16px; }

html.tnav-locked, body.tnav-locked { overflow: hidden !important; }

/* Hero pages (corporate / townhalls / political / training-coaching / encore / SEO pages)
   lost their in-hero logo row, so pull the hero up a touch */
body.has_sitenav .header { padding-top: 0; }
body.has_sitenav .header .hero_block { margin-top: 70px; }

/* ── Desktop ──────────────────────────────────────────────── */
@media only screen and (min-width: 1024px) {
	:root { --tnav-h: 68px; }
	.tnav_in { gap: 24px; }
	.tnav_logo { width: 188px; height: 36px; }
	.tnav_menu { display: flex; }
	.tnav_dash, .tnav_book { display: inline-flex; }
	.tnav_callbtn, .tnav_burger, .tnav_panel { display: none; }
	body.has_sitenav .header .hero_block { margin-top: 60px; }
}
@media only screen and (max-width: 1199px) and (min-width: 1024px) {
	.tnav_dash { padding: 0 11px; }
	.tnav_dash_txt { display: none; } /* icon only when space is tight */
}
@media only screen and (min-width: 1280px) {
	.tnav_phone { display: inline-flex; }
}
@media only screen and (max-width: 959px) {
	body.has_sitenav .header .hero_block { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
	.tnav, .tnav_panel, .tnav_dd, .tnav_caret, .tnav_burger span { transition: none !important; }
}

/* ============================================================
   Header video - entry page only (Oct 2026). nav.js adds the
   class "tts-crumb" to <html> on pages reached by clicking around
   the site: the header video is hidden and the breadcrumb strip
   (.tcrumb, drawn by nav.js) takes its place.
   ============================================================ */

/* hide the header video (band pages + the older hero pages) */
html.tts-crumb .band { display: none !important; }
html.tts-crumb .hero_video_inner, html.tts-crumb .hero_video_mobile_inner, html.tts-crumb .hero_video_mobile > video { display: none !important; }
html.tts-crumb .bc_nav { display: none; } /* the SEO pages' own breadcrumb row: the strip covers it */

/* older hero pages: with the video gone the copy runs full width, with the ticker + buttons under it */
html.tts-crumb .header .hero_block { flex-wrap: wrap; }
html.tts-crumb .header .hero_block figcaption { padding-right: 0; max-width: 900px; }
html.tts-crumb .hero_video_wrap { width: 100%; margin-top: 4px; }
html.tts-crumb .hero_video_wrap .hero_trust_bar { margin-top: 0; }
@media only screen and (min-width: 960px) {
	html.tts-crumb body.has_sitenav .header .hero_block { margin-top: 40px; margin-bottom: 80px; }
}

/* ── Breadcrumb strip ─────────────────────────────────────── */
.tcrumb { position: relative; background: var(--tnav-navy-deep); color: #fff; font-family: 'Poppins', sans-serif; overflow: hidden; }
.tcrumb:before { content: ''; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(55% 160% at 100% 50%, rgba(23,218,253,.18), transparent 62%), radial-gradient(45% 140% at 0% 100%, rgba(204,65,242,.18), transparent 62%); }
.tcrumb:after { content: ''; position: relative; display: block; height: 3px; background: var(--tnav-grad); }
.tcrumb_in { position: relative; max-width: 1240px; margin: 0 auto; padding: 13px 20px 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tcrumb_trail { min-width: 0; }
.tcrumb_list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 7px; font: 600 11px/1.3 'Poppins', sans-serif; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.5); }
.tcrumb_list li { display: inline-flex; align-items: center; gap: 7px; }
.tcrumb_list li:after { content: '\203A'; font-size: 15px; line-height: 1; color: var(--tnav-orange); letter-spacing: 0; }
.tcrumb_list.is-home li:after { content: none; }
.tcrumb_list a, .tcrumb_list a:visited { color: rgba(255,255,255,.72); transition: color .15s ease; }
.tcrumb_list a:hover { color: #fff; }
.tcrumb_list a:focus-visible { outline: 2px solid var(--tnav-sky); outline-offset: 3px; border-radius: 3px; }
.tcrumb_here { display: block; padding-top: 3px; font: 900 20px/1.15 'Nexa', 'Poppins', sans-serif; color: #fff; letter-spacing: -.2px; }
.tcrumb_reel, .tcrumb_reel:visited { display: none; align-items: center; gap: 8px; flex: none; height: 38px; padding: 0 16px 0 12px; border-radius: 19px; border: 1.5px solid rgba(255,255,255,.3); color: #fff; font: 600 13px/1 'Poppins', sans-serif; white-space: nowrap; transition: border-color .15s ease, background .15s ease; }
.tcrumb_reel svg { width: 18px; height: 18px; fill: currentColor; }
.tcrumb_reel:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.tcrumb_reel:focus-visible { outline: 2px solid var(--tnav-sky); outline-offset: 2px; }
.tcrumb_reel[hidden] { display: none !important; }
@media only screen and (min-width: 1024px) {
	.tcrumb_in { padding: 15px 20px 17px 20px; }
	.tcrumb_list { font-size: 12px; letter-spacing: 1.8px; }
	.tcrumb_here { font-size: 26px; padding-top: 4px; }
	.tcrumb_reel { display: inline-flex; }
}

/* ── Studio reel block (in the page body; player drawn by nav.js) ── */
.reel_block { position: relative; background: var(--tnav-navy); color: #fff; font-family: 'Poppins', sans-serif; padding: 40px 20px 42px 20px; overflow: hidden; }
.reel_block:before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--tnav-grad); }
.reel_block_in { max-width: 1180px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.reel_block_eyebrow { font: 600 12px/1 'Poppins', sans-serif; letter-spacing: 1.6px; text-transform: uppercase; color: rgba(255,255,255,.6); padding: 0 0 10px 0; }
.reel_block_text h2 { font: 900 28px/1.1 'Nexa', 'Poppins', sans-serif; color: #fff; padding: 0 0 10px 0; letter-spacing: -.2px; }
.reel_block_text p { font: 400 16px/1.55 'Poppins', sans-serif; color: rgba(255,255,255,.82); padding: 0; }
.reel_block_text p.reel_block_eyebrow { font-weight: 600; font-size: 12px; line-height: 1; padding-bottom: 10px; color: rgba(255,255,255,.6); }
.reel_block_text p strong { color: #fff; font-weight: 600; }
.reel_block_frame { position: relative; padding: 3px; border-radius: 20px; background: var(--tnav-grad); box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.reel_block_frame video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 17px; background: #000; }
.reel_block_frame.is-playing video { object-fit: contain; }
@supports not (aspect-ratio: 1 / 1) { .reel_block_frame video { height: auto; min-height: 180px; } }
.reel_block_play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; z-index: 2; border: none; padding: 0; background: url(/images/icons/play.png) center center/contain no-repeat; cursor: pointer; animation: reel_block_pulse 2s ease-out infinite; }
.reel_block_play:focus-visible { outline: 3px solid var(--tnav-sky); outline-offset: 4px; border-radius: 50%; }
.reel_block_frame.is-playing .reel_block_play { display: none; }
.reel_block_note { text-align: center; padding: 10px 0 0 0; font: 500 13px/1 'Poppins', sans-serif; color: rgba(255,255,255,.55); }
.reel_block_frame.is-playing + .reel_block_note { visibility: hidden; }
@keyframes reel_block_pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.45); border-radius: 50%; } 70% { box-shadow: 0 0 0 22px rgba(255,255,255,0); border-radius: 50%; } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); border-radius: 50%; } }
@media only screen and (min-width: 960px) {
	.reel_block { padding: 56px 24px 60px 24px; }
	.reel_block_in { flex-direction: row; align-items: center; gap: 48px; }
	.reel_block_text { flex: 0 0 36%; }
	.reel_block_text h2 { font-size: 36px; }
	.reel_block_player { flex: 1; min-width: 0; }
	.reel_block_play { width: 110px; height: 110px; margin: -55px 0 0 -55px; }
}
@media (prefers-reduced-motion: reduce) { .reel_block_play { animation: none; } }
