/* TOVA 3D homepage (2026-09-30). Scoped to body.tova-3d so no other page changes.
   The 3D story sits on top; every existing homepage section follows on the light sheet. */
body.tova-3d { background: #0B1630; }
body.tova-3d #t3-gl { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; z-index: 0; opacity: 0; transition: opacity .8s ease; }
body.tova-3d #t3-gl.on { opacity: 1; }
body.tova-3d .t3-fallback { position: fixed; inset: 0; z-index: 0; background: radial-gradient(60% 50% at 70% 40%, rgba(229,200,121,.28), transparent 60%), radial-gradient(80% 80% at 20% 90%, #16284B, #0B1630); }
body.tova-3d #tova-site-header { position: sticky; top: 0; background: rgba(11,22,48,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
body.tova-3d #main { position: relative; z-index: 2; background: transparent; }

.t3 { --t3-navy: #0B1630; --t3-gold: #E5C879; --t3-ink: #FFFFFF; --t3-soft: #FFFFFF; --t3-line: rgba(229,200,121,.24); --t3-ease: cubic-bezier(.2,.7,.1,1);
  color: var(--t3-ink); font-family: "DM Sans", DM, Arial, sans-serif; }
.t3 .t3-wrap { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }
.t3 h1, .t3 h2 { margin: 0; letter-spacing: -0.03em; line-height: 1.02; font-weight: 600; color: var(--t3-ink); }
.t3 .t3-gold { color: var(--t3-gold); }
.t3 .t3-btn { display: inline-flex; gap: 6px; align-items: center; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; transition: transform .25s var(--t3-ease), background .25s; }
.t3 .t3-btn-gold { background: var(--t3-gold); color: var(--t3-navy); }
.t3 .t3-btn-gold:hover, .t3 .t3-btn-gold:focus-visible { transform: translateY(-2px); background: #F0D894; }
.t3 .t3-btn-line { border: 1.5px solid rgba(244,241,234,.45); color: var(--t3-ink); }
.t3 .t3-btn-line:hover, .t3 .t3-btn-line:focus-visible { border-color: var(--t3-gold); }
.t3 a:focus-visible { outline: 3px solid #E5C879; outline-offset: 4px; }

.t3 .t3-act { min-height: 150vh; display: flex; align-items: center; pointer-events: none; }
.t3 .t3-act .t3-wrap { pointer-events: auto; }
.t3 .t3-hero { min-height: 110vh; }
.t3 .t3-copy { max-width: 600px; padding-top: 30px; }
.t3 .t3-kicker { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--t3-gold); margin: 0 0 22px; font-weight: 600; }
.t3 .t3-hero h1 { font-size: clamp(48px, 7vw, 100px); }
.t3 .t3-hero h1 .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.t3 .t3-hero h1 .ln > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--t3-ease); }
.t3.ready .t3-hero h1 .ln > span { transform: none; }
.t3 .t3-hero h1 .ln:nth-child(2) > span { transition-delay: .12s; }
.t3 .t3-lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--t3-soft); max-width: 46ch; margin: 26px 0 34px; line-height: 1.6; }
.t3 .t3-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.t3 .t3-facts { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 54px 0 0; padding: 0; list-style: none; }
.t3 .t3-facts li { font-size: 14px; color: var(--t3-soft); }
.t3 .t3-facts b { display: block; font-size: 26px; color: var(--t3-ink); letter-spacing: -0.02em; }

.t3 .t3-panel { max-width: 470px; background: rgba(11,22,48,.6); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); border: 1px solid var(--t3-line); border-radius: 26px; padding: 36px 34px; opacity: 0; transform: translateY(40px); transition: opacity .9s var(--t3-ease), transform .9s var(--t3-ease); }
.t3 .t3-panel.in, .t3 .t3-panel:focus-within { opacity: 1; transform: none; }
.t3 .t3-panel:focus-within { transition: none; }
.t3 .t3-right .t3-wrap { display: flex; justify-content: flex-end; }
.t3 .t3-n { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--t3-gold); font-weight: 600; margin: 0 0 16px; }
.t3 .t3-panel h2 { font-size: clamp(34px, 3.6vw, 50px); }
.t3 .t3-panel p { color: var(--t3-soft); margin: 18px 0 0; font-size: 17px; line-height: 1.6; }
.t3 .t3-price { display: flex; align-items: baseline; gap: 10px; margin: 26px 0 0; padding-top: 20px; border-top: 1px solid var(--t3-line); }
.t3 .t3-price b { font-size: 40px; letter-spacing: -0.03em; color: var(--t3-gold); }
.t3 .t3-price span { font-size: 15px; color: var(--t3-soft); }
.t3 .t3-more { display: inline-block; margin-top: 20px; font-weight: 600; color: var(--t3-ink); text-decoration: underline; text-decoration-color: var(--t3-gold); text-underline-offset: 5px; }

/* The site's heading rules (body.tova-candidate h1..h4, h1 span) would repaint the 3D copy; restate it. */
body.tova-3d .t3 h1, body.tova-3d .t3 h2 { margin: 0; color: var(--t3-ink); font-weight: 600; letter-spacing: -0.03em; line-height: 1.02; }
body.tova-3d .t3 h1 span { color: inherit; }
body.tova-3d .t3 .t3-gold, body.tova-3d .t3 h1 .t3-gold, body.tova-3d .t3 h2 .t3-gold { color: var(--t3-gold); }
body.tova-3d .t3 p { color: var(--t3-soft); }
body.tova-3d .t3 .t3-kicker, body.tova-3d .t3 .t3-n { color: var(--t3-gold); }
body.tova-3d .t3 a.t3-btn-gold { color: var(--t3-navy); }
body.tova-3d .t3 a.t3-btn-line, body.tova-3d .t3 a.t3-more { color: var(--t3-ink); }

/* the existing homepage, on a light sheet that rises over the 3D */
body.tova-3d .t3-sheet { position: relative; z-index: 3; background: #F6F4EF; border-radius: 36px 36px 0 0; margin-top: 8vh; }
body.tova-3d .t3-sheet .blend, body.tova-3d .t3-sheet .brand-opening { background: transparent; border: 0; }
body.tova-3d .t3-sheet .opening { padding-block: clamp(48px, 7vw, 96px) 12px; }
body.tova-3d .t3-sheet .opening .eyebrow { color: #765923; }
body.tova-3d .t3-sheet .opening .t3-opening-title { max-width: 850px; margin: 0; color: #0B1630; font-size: clamp(38px, 5.2vw, 72px); font-weight: 600; line-height: 1.05; letter-spacing: -0.025em; }
body.tova-3d .t3-sheet .opening .t3-start-lead { margin: 18px 0 0; max-width: 46ch; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: #0B1630; }
body.tova-3d #tova-site-footer, body.tova-3d .tova-site-footer { position: relative; z-index: 3; }
/* pause control for the moving 3D (shown only while the 3D is on screen) */
body.tova-3d .t3-motion { position: fixed; right: 16px; bottom: 16px; z-index: 5; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(229,200,121,.45); background: rgba(11,22,48,.72); color: #FFFFFF; font: 600 14px/1 "DM Sans", DM, Arial, sans-serif; cursor: pointer; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
body.tova-3d .t3-motion:hover, body.tova-3d .t3-motion:focus-visible { border-color: #E5C879; outline: 3px solid #E5C879; outline-offset: 3px; }
body.tova-3d.t3-on-sheet .t3-motion { display: none; }
@media (max-width: 820px) { body.tova-3d .t3-motion { bottom: auto; top: 88px; right: 12px; min-height: 44px; padding: 0 14px; font-size: 13px; } }
/* phones: the jump dock waits until the light sheet is on screen, so it never covers the 3D panels */
@media (max-width: 680px) {
  body.tova-3d .dock { transform: translateY(110%); visibility: hidden; transition: transform .35s ease, visibility 0s linear .35s; }
  body.tova-3d.t3-on-sheet .dock { transform: none; visibility: visible; transition: transform .35s ease; }
}

@media (max-width: 820px) {
  .t3 .t3-act.t3-hero { min-height: 100svh; align-items: flex-start; padding: 37vh 0 6vh; }
  .t3 .t3-copy { padding-top: 0; }
  .t3 .t3-hero h1 { font-size: clamp(38px, 11vw, 54px); }
  .t3 .t3-lead { margin: 14px 0 20px; font-size: 16px; }
  .t3 .t3-ctas .t3-btn { min-height: 46px; padding: 0 18px; font-size: 15px; }
  .t3 .t3-facts { display: none; }
  .t3 .t3-kicker { margin-bottom: 12px; }
  .t3 .t3-act { min-height: 130vh; align-items: flex-end; padding-bottom: 6vh; }
  .t3 .t3-right .t3-wrap { justify-content: flex-start; }
  .t3 .t3-panel { padding: 20px; max-width: none; }
  .t3 .t3-panel h2 { font-size: 27px; }
  .t3 .t3-panel p { font-size: 15px; margin-top: 12px; }
  .t3 .t3-price { margin-top: 16px; padding-top: 14px; }
  .t3 .t3-price b { font-size: 30px; }
  .t3 .t3-more { margin-top: 12px; }
  body.tova-3d .t3-sheet { border-radius: 24px 24px 0 0; }
  body.tova-3d .t3-sheet .opening .t3-opening-title { font-size: clamp(33px, 9.8vw, 45px); line-height: 1.08; }
}
@media (prefers-reduced-motion: reduce) {
  body.tova-3d #t3-gl { transition: none; }
  body.tova-3d .dock { transition: none; }
  .t3 .t3-panel { opacity: 1; transform: none; transition: none; }
  .t3 .t3-hero h1 .ln > span { transform: none; transition: none; }
}
