/* ============================================================
   GTMomentum — the operating company. Distinct parent identity.
   Premium dark, Radio Canada Big display + Radio Canada, GTM gradient,
   aurora light (no plasma shader), editorial index layout.
   Deliberately NOT the TSRE component system.
   ============================================================ */

:root {
  --bg:        #08080b;
  --bg-2:      #0c0c11;
  --panel:     #101017;
  --panel-2:   #15151d;
  --ink:       #f4f4f7;
  --ink-2:     #c6c6d0;
  --muted:     #a8a8b6;
  --dim:       #5c5c69;
  --line:      rgba(255,255,255,.08);
  --line-2:    rgba(255,255,255,.14);
  --g1:        #c21fe6;   /* magenta */
  --g2:        #7e2bf3;   /* violet */
  --g3:        #4f28ee;   /* indigo */
  --brand:     linear-gradient(100deg, var(--g1) 0%, var(--g2) 52%, var(--g3) 100%);
  --brand-soft: rgba(126,43,243,.16);
  --maxw:      1240px;
  --display: "Radio Canada Big", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font: "Radio Canada", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink-2); background: var(--bg);
  line-height: 1.65; font-size: 17px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }
::selection { background: var(--brand-soft); color: #fff; }

h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0 0 .5em; font-weight: 600; line-height: 1.02; letter-spacing: -.03em; }
h1 { font-size: clamp(2.9rem, 7vw, 6.2rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1rem; }
.grad { background: var(--brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.section { padding: clamp(80px, 11vw, 168px) 0; position: relative; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.kicker::before { content: ""; width: 24px; height: 1px; background: var(--brand); }
.shead { max-width: 740px; margin-bottom: 64px; }
.shead h2 { margin: 0 0 .35em; }
.shead p { font-size: 1.18rem; color: var(--muted); max-width: 52ch; }
.lead { font-size: 1.22rem; color: var(--ink-2); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .98rem; line-height: 1; padding: 16px 26px; border-radius: 100px; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .25s, background .2s, border-color .2s, opacity .2s; }
.btn svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-grad { background: #0000ff; color: #fff; box-shadow: 0 8px 30px -8px rgba(0,0,255,.5); }
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px rgba(0,0,255,.6); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--ink); background: rgba(255,255,255,.04); }

/* top bar */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(8,8,11,.82); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; transform: translateZ(0); }
.topbar.scrolled { border-bottom-color: var(--line); background: rgba(8,8,11,.95); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo { font-family: var(--display); font-weight: 700; font-size: 1.32rem; letter-spacing: -.04em; color: var(--ink); display: inline-flex; align-items: center; gap: 2px; }
.logo b { background: var(--brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; font-weight: 700; }
.navset { display: flex; align-items: center; gap: 34px; }
.navset a:not(.btn) { font-size: .92rem; color: var(--muted); transition: color .2s; }
.navset a:not(.btn):hover { color: var(--ink); }
.navset .btn { padding: 11px 20px; }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 1.5px; background: var(--ink); margin: 6px 0; transition: .2s; }

/* hero — centered statement + aurora */
.hero { position: relative; overflow: hidden; text-align: center; padding: clamp(20px, 3vw, 42px) 0 clamp(70px, 8vw, 140px); }
.aurora { position: absolute; inset: -20% -10% auto -10%; height: 80vh; z-index: 0; pointer-events: none; filter: blur(90px); opacity: .55;
  background:
    radial-gradient(40% 50% at 30% 30%, rgba(194,31,230,.5), transparent 70%),
    radial-gradient(40% 50% at 70% 35%, rgba(79,40,238,.5), transparent 70%),
    radial-gradient(50% 50% at 50% 60%, rgba(126,43,243,.4), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate3d(0,-4%,0) scale(1.06); } }
.hero-grain { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5; -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 35%, transparent 75%); mask-image: radial-gradient(120% 80% at 50% 0%, #000 35%, transparent 75%);
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 70px 70px; }
.hero-in { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; }
.hero h1 { margin: 22px 0 0; font-size: clamp(2.3rem, 5vw, 4.5rem); }
.hero-sub { font-size: clamp(1rem, 1.4vw, 1.18rem); color: var(--ink-2); max-width: 60ch; margin: 28px auto 38px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-meta { margin-top: 54px; display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; color: var(--muted); }
.hero-meta b { color: var(--ink); font-weight: 600; }

/* credibility strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0; }
.strip-row { display: flex; flex-wrap: wrap; gap: 14px 44px; align-items: center; justify-content: center; }
.strip-row .lbl { font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); width: 100%; text-align: center; margin-bottom: 6px; }
.strip-row span { font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--ink); letter-spacing: -.01em; }

/* index rows (services) — editorial, not tiles */
.index { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 64px 1.1fr 1.5fr auto; gap: 28px; align-items: baseline; padding: 40px 4px; border-bottom: 1px solid var(--line); transition: background .3s var(--ease), padding-left .3s var(--ease); }
.row:hover { background: linear-gradient(90deg, var(--brand-soft), transparent 60%); padding-left: 20px; }
.row .no { font-family: var(--mono); font-size: .9rem; color: transparent; background: var(--brand); -webkit-background-clip: text; background-clip: text; }
.row h3 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); margin: 0; color: var(--ink); }
.row p { margin: 0; color: var(--muted); }
.row .aud { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }

/* ventures (TFSE / TSRE as portfolio) */
.ventures { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.venture { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; padding: 40px; background: var(--panel); min-height: 300px; display: flex; flex-direction: column; transition: border-color .3s, transform .3s var(--ease); }
.venture:hover { border-color: var(--line-2); transform: translateY(-4px); }
.venture::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.venture:hover::after { transform: scaleX(1); }
.venture .tag { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.venture h3 { font-size: 1.9rem; color: var(--ink); }
.venture p { color: var(--muted); flex: 1; }
.venture .go { font-family: var(--mono); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); display: inline-flex; align-items: center; gap: 9px; }
.venture .go svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.venture:hover .go svg { transform: translateX(5px); }

/* principal strip */
.principal { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.principal-img { border-radius: 20px; width: 100%; height: auto; border: 1px solid var(--line); filter: grayscale(1) contrast(1.05); transition: filter .5s; }
.principal-img:hover { filter: grayscale(0); }
.principal ul { list-style: none; padding: 0; margin: 22px 0 0; }
.principal li { padding-left: 26px; position: relative; margin-bottom: 12px; color: var(--ink-2); }
.principal li::before { content: ""; position: absolute; left: 0; top: 10px; width: 12px; height: 2px; background: var(--brand); }

/* contact */
.contact-panel { border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(180deg, var(--panel), var(--bg-2)); padding: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-panel h2 { margin-top: 0; }
.cform label { display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.cform input, .cform textarea { width: 100%; margin-bottom: 16px; padding: 14px 16px; background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px; color: var(--ink); font: inherit; }
.cform input::placeholder, .cform textarea::placeholder { color: var(--dim); }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--g2); box-shadow: 0 0 0 3px var(--brand-soft); }
.cform .btn-grad { width: 100%; justify-content: center; cursor: pointer; }
.hp { position: absolute; left: -9999px; }
.fineprint { font-size: .8rem; color: var(--dim); margin-top: 14px; }
.form-status { font-size: .95rem; margin-top: 12px; }
.form-status.ok { color: #5fd0a8; } .form-status.err { color: #f1879a; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 72px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 48px; }
.footer-brand p { color: var(--muted); font-size: .95rem; max-width: 28em; margin-top: 16px; }
.footer h2 { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 11px; }
.footer a { color: var(--ink-2); font-size: .94rem; } .footer a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 26px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-family: var(--mono); font-size: .76rem; letter-spacing: .04em; color: var(--dim); }

/* consent */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 720px; margin: 0 auto; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 30px 70px rgba(0,0,0,.5); padding: 16px 18px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.consent p { margin: 0; font-size: .9rem; color: var(--ink-2); flex: 1; min-width: 220px; }
.consent .actions { display: flex; gap: 8px; }
.consent button { padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: .85rem; cursor: pointer; border: 1px solid var(--line-2); background: transparent; color: var(--ink); }
.consent button.accept { background: var(--brand); border-color: transparent; color: #fff; }

/* legal */
.legal { max-width: 760px; margin: 0 auto; padding: 80px 32px 110px; }
.legal-back { font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.legal h1 { margin-top: 22px; }
.legal-meta { font-family: var(--mono); color: var(--muted); margin-bottom: 32px; font-size: .82rem; }
.legal h2 { font-size: 1.4rem; margin-top: 38px; }
.legal-foot { margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }

/* reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"]{transition-delay:.08s} .reveal[data-d="2"]{transition-delay:.16s} .reveal[data-d="3"]{transition-delay:.24s}
@media (prefers-reduced-motion: reduce) { .reveal{opacity:1;transform:none;transition:none} .aurora{animation:none} html{scroll-behavior:auto} }

/* responsive */
@media (max-width: 920px) {
  .ventures, .principal, .contact-panel { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: 44px 1fr; }
  .row p, .row .aud { grid-column: 2; }
}
@media (max-width: 880px) {
  .navset { position: fixed; inset: 78px 0 auto 0; background: var(--bg-2); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px 32px 24px; transform: translateY(-140%); transition: transform .3s var(--ease); }
  .navset.open { transform: none; }
  .navset a { padding: 12px 0; width: 100%; }
  .burger { display: block; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* logo lockup — GTMomentum by Ben J. Abbey */
.logo { flex-direction: column; align-items: flex-start; gap: 0; line-height: 1.04; }
.logo-mark { font-family: var(--display); font-weight: 700; font-size: 1.32rem; letter-spacing: -.04em; color: var(--ink); }
.logo-by { font-family: var(--mono); font-size: .58rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-top: 3px; }
.footer-brand .logo { margin-bottom: 18px; }

/* rotating hero headline — cross-fade + rise + blur */
.hero-rotate { display: grid; }
.hero-rotate .rot { grid-area: 1 / 1; opacity: 0; transform: translateY(16px); filter: blur(7px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); }
.hero-rotate .rot-on { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  .hero-rotate .rot { transition: none; }
  .hero-rotate .rot:not(.rot-on) { display: none; }
}

/* wordmark logo image */
.logo-img { height: 26px; width: auto; display: block; }
.footer-brand .logo-img { height: 30px; }
.logo-by { margin-top: 6px; }

/* hero kicker — bright white */
.hero .kicker { color: #fff; }

/* hero headline accent — solid logo blue (no gradient) */
.hero h1 .grad {
  background: none;
  -webkit-text-fill-color: #0000ff;
  color: #0000ff;
}

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.qcard { margin: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); padding: 24px 26px; display: flex; flex-direction: column; }
.qcard blockquote { margin: 0 0 16px; font-size: .92rem; line-height: 1.5; color: var(--ink-2); flex: 1; }
.qcard blockquote::before { content: "\201C"; color: var(--g2); font-family: var(--display); font-size: 1.9rem; line-height: 0; vertical-align: -.3em; margin-right: .1em; }
.qcard .by { font-family: var(--mono); font-size: .7rem; letter-spacing: .03em; color: var(--muted); }
.qcard .by b { display: block; font-family: var(--font); font-weight: 600; font-size: .9rem; letter-spacing: -.01em; color: var(--ink); margin-bottom: 2px; }

/* trustpilot badge */
.tp-badge { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; font-family: var(--mono); font-size: .82rem; letter-spacing: .02em; color: var(--muted); }
.tp-badge .stars { color: #00b67a; letter-spacing: 1px; }
.tp-badge b { color: var(--ink); font-weight: 600; }

/* testimonials show-more (collapsed with fade) */
.quotes-wrap { position: relative; max-height: 760px; overflow: hidden; transition: max-height .6s var(--ease); }
.quotes-wrap.open { max-height: 9000px; }
.quotes-fade { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 220px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 14px; background: linear-gradient(to bottom, transparent, var(--bg) 72%); border: 0; cursor: pointer; }
.quotes-wrap.open .quotes-fade { position: static; height: auto; background: none; padding: 28px 0 0; }
.quotes-fade .pill2 { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); border: 1px solid var(--line-2); border-radius: 100px; padding: 12px 22px; background: var(--panel-2); transition: border-color .2s; }
.quotes-fade:hover .pill2 { border-color: var(--ink); }
.quotes-fade svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.quotes-wrap.open .quotes-fade svg { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .quotes-wrap { transition: none; } }

/* testimonial name -> linkedin */
.qcard .li { display: inline-flex; align-items: center; vertical-align: middle; margin-left: 7px; color: #cfe000; transition: color .2s, transform .2s; }
.qcard .li:hover { color: #e6f25a; transform: translateY(-1px); }
.qcard .li svg { width: 16px; height: 16px; }

/* testimonial filter pills */
.qfilter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.pill { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: transparent; border: 1px solid var(--line-2); border-radius: 100px; padding: 9px 16px; cursor: pointer; transition: color .2s, background .2s, border-color .2s; }
.pill:hover { color: var(--ink); border-color: var(--ink); }
.pill.on { color: #fff; background: var(--brand); border-color: transparent; }
.qcard.hide { display: none; }

/* hero stats grid (spec) */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(34px, 4vw, 52px); }
.stat { text-align: center; padding: 11px 16px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat-icon { width: 18px; height: 18px; margin: 0 auto 7px; color: #9b7bff; display: block; }
.stat-number { font-family: var(--display); font-weight: 700; font-size: clamp(21px, 2.8vw, 32px); line-height: 1.05; color: #9b7bff; letter-spacing: -.02em; }
.stat-label { font-size: 12px; color: var(--muted); margin-top: 5px; }
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
  .stat-number { font-size: 22px; }
}

/* hero sparkles canvas */
.hero-fx { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

/* hero stats card (animated gradient bg, black text) */
.stats-card { position: relative; margin-top: clamp(34px, 4vw, 52px); max-width: 720px; margin-left: auto; margin-right: auto; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 24px 60px -24px rgba(0,0,0,.6); }
.stats-bg { position: absolute; inset: 0; z-index: 0; }
.stats-card .stats-grid { position: relative; z-index: 1; margin-top: 0; }
.stats-card .stat { border-right-color: rgba(255,255,255,.3); border-bottom-color: rgba(255,255,255,.3); }
.stats-card .stat-icon { color: #fff; }
.stats-card .stat-number { color: #fff; }
.stats-card .stat-label { color: rgba(255,255,255,.85); }

/* hero sparkles dial-down (barely visible) */
.hero-fx { opacity: 1; }

/* animated gradient stats-card backdrop (pure CSS cross-fade, no JS lib) */
.stats-bg { background: #0000ff; }
.stats-bg .gl { display: none; }
.stats-bg .gl { position: absolute; inset: 0; opacity: 0; animation: glcycle 24s ease-in-out infinite; }
.stats-bg .gl1 { background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%); animation-delay: 0s; }
.stats-bg .gl2 { background: linear-gradient(135deg, #fbc2eb 0%, #a18cd1 100%); animation-delay: 6s; }
.stats-bg .gl3 { background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%); animation-delay: 12s; }
.stats-bg .gl4 { background: linear-gradient(135deg, #f9c5d1 0%, #c3a3f1 100%); animation-delay: 18s; }
@keyframes glcycle { 0%,4% { opacity: 0; } 9% { opacity: 1; } 25% { opacity: 1; } 33% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .stats-bg .gl { animation: none; } }

/* hero headline rotator */
.hero-rotate { position: relative; display: block; min-height: 2.4em; }
.hero-rotate .rot { position: absolute; left: 0; right: 0; top: 50%; opacity: 0; transform: translateY(calc(-50% + 14px)); transition: opacity .6s var(--ease), transform .6s var(--ease); will-change: opacity, transform; }
.hero-rotate .rot-on { opacity: 1; transform: translateY(-50%); }
@media (max-width: 600px) { .hero-rotate { min-height: 3.4em; } }
@media (prefers-reduced-motion: reduce) { .hero-rotate .rot { transition: none; } }

/* hero word-swap */
.hero h1 .seg { display: inline-block; white-space: nowrap; transition: transform .7s cubic-bezier(.4,0,.2,1); }
.hero h1 .chg { transition: transform .7s cubic-bezier(.4,0,.2,1), opacity .3s ease, filter .3s ease; }
.hero h1 .chg.chg-out { opacity: 0; filter: blur(10px); }
#hwOut { color: #0000ff; -webkit-text-fill-color: #0000ff; }

/* hand-drawn circle around the Book-a-call CTA */
.cta-circle-wrap { position: relative; display: inline-block; }
.cta-circle { position: absolute; top: 50%; left: 50%; width: 112%; height: 200%; transform: translate(-50%, -50%); pointer-events: none; overflow: visible; z-index: 2; opacity: 0; transition: opacity .35s ease; }
.cta-circle.draw { opacity: 1; }
.cta-circle.draw.fade { opacity: 0; transition: opacity 2.6s ease; }
.cta-circle path { fill: none; stroke: #ffffff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s cubic-bezier(.43,.13,.23,.96); }
.cta-circle.draw path { stroke-dashoffset: 0; }
\@media (prefers-reduced-motion: reduce) { .cta-circle path { transition: none; } .cta-circle { transition: none; } }

/* per-letter cascade reveal for changing words */
.hero h1 .ch { display: inline-block; white-space: pre; opacity: 1; filter: blur(0); transition: opacity .33s ease, filter .33s ease; }
.hero h1 .chars-hidden .ch { opacity: 0; filter: blur(9px); }

/* logo recolored to the brand blue via alpha mask */
.logo-img { display: inline-block; height: 26px; width: 219px; background: #0000ff; -webkit-mask: url(/logo.png?v=1) left center / contain no-repeat; mask: url(/logo.png?v=1) left center / contain no-repeat; }
.footer-brand .logo-img { height: 30px; width: 252px; }

/* lock hero headline to two rows (problem line, outcome line) */
.hero h1 .hline { display: block; }

/* services — two snappy cards */
.svcs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.svc { position: relative; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); padding: clamp(26px, 3vw, 38px); overflow: hidden; transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.svc:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 26px 56px -28px rgba(0,0,0,.7); }
.svc::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.svc:hover::before { transform: scaleX(1); }
.svc-no { font-family: var(--mono); font-weight: 700; font-size: .85rem; letter-spacing: .12em; color: #ffffff; margin-bottom: 16px; }
.svc h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin: 0 0 12px; }
.svc p { color: var(--muted); margin: 0 0 22px; }
.svc .aud { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
@media (max-width: 760px) { .svcs { grid-template-columns: 1fr; } }

/* services as before -> after transformations */
.svc h3 { } /* (legacy) */
.xform { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; margin: 16px 0 16px; }
.xform .from { font-size: .98rem; color: var(--dim); text-decoration: line-through; text-decoration-color: rgba(255,90,90,.55); text-decoration-thickness: 2px; }
.xform .xarrow { width: 22px; height: 22px; color: #3b7bff; }
.xform .to { font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 2.3vw, 2rem); line-height: 1.12; letter-spacing: -.02em; color: #ffffff; text-shadow: 0 0 30px rgba(50,100,255,.45); }
.svc .xnote { color: var(--muted); font-size: .95rem; margin: 0 0 20px; }

/* pop-in proof quotes above the credibility strip */
.proofquotes { padding: clamp(36px, 5vw, 64px) 0 clamp(16px, 2.4vw, 30px); }
.pq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pq { margin: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); padding: 26px; }
.pq blockquote { margin: 0 0 16px; font-size: 1.02rem; line-height: 1.5; color: var(--ink); }
.pq blockquote::before { content: "\201C"; color: #3b7bff; font-family: var(--display); font-size: 2rem; line-height: 0; vertical-align: -.35em; margin-right: .08em; }
.pq figcaption { font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; color: var(--muted); }
.pq figcaption b { display: block; font-family: var(--font); font-weight: 600; font-size: .95rem; color: var(--ink); letter-spacing: -.01em; margin-bottom: 2px; }
@media (max-width: 820px) { .pq-grid { grid-template-columns: 1fr; } }

/* services — A/B pain-to-joy columns */
.ab { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; margin: 16px 0 18px; }
.ab-l { font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; display: block; margin-bottom: 7px; }
.ab-a .ab-l { color: #e0607a; }
.ab-b .ab-l { color: #3b7bff; }
.ab-col p { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.05rem, 1.7vw, 1.4rem); line-height: 1.16; letter-spacing: -.01em; }
.ab-a p { color: var(--muted); }
.ab-b p { color: #fff; text-shadow: 0 0 26px rgba(50,100,255,.4); }
.ab-arrow { width: 22px; height: 22px; color: #3b7bff; flex: none; }
.bridge { color: var(--ink-2); font-size: .98rem; margin: 0 0 20px; }
.bridge b { color: #fff; }
@media (max-width: 560px) { .ab { grid-template-columns: 1fr; gap: 10px; } .ab-arrow { transform: rotate(90deg); justify-self: start; } }

/* bridge inline CTA link */
.bridge a { color: #3b7bff; text-decoration: none; border-bottom: 1px solid rgba(59,123,255,.4); }
.bridge a:hover { border-bottom-color: #3b7bff; }

/* services — full-width transformation rows */
.svcs { display: block; }
.svc-row { padding: clamp(28px, 3.6vw, 48px) 0; border-top: 1px solid var(--line); }
.svcs .svc-row:last-child { border-bottom: 1px solid var(--line); }
.svc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px 24px; flex-wrap: wrap; margin-bottom: 18px; }
.svc-head .svc-no { margin-bottom: 0; }
.svc-row .ab { margin: 0 0 18px; }
.svc-row .ab-col p { font-size: clamp(1.25rem, 2.6vw, 2.05rem); }
.svc-row .ab-arrow { width: 26px; height: 26px; }
.svc-row .bridge { max-width: 72ch; margin: 0; }

/* proof-quote stars + cleanup */
.pq { padding: 28px 28px 26px; }
.pq-stars { color: #cfe000; font-size: 1rem; letter-spacing: 4px; margin-bottom: 14px; }
.pq blockquote::before { content: none; }
.pq blockquote { font-size: 1.05rem; line-height: 1.55; }

/* proof quotes — flatter, tighter */
.proofquotes { padding: clamp(24px, 3vw, 40px) 0 clamp(10px, 1.6vw, 20px); }
.pq { padding: 16px 20px; }
.pq-stars { font-size: .82rem; letter-spacing: 3px; margin-bottom: 8px; }
.pq blockquote { font-size: .9rem; line-height: 1.45; margin: 0 0 11px; }
.pq figcaption { font-size: .68rem; }
.pq figcaption b { font-size: .88rem; margin-bottom: 1px; }

/* proof quotes — 4 across */
.pq-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 980px) { .pq-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pq-grid { grid-template-columns: 1fr; } }

/* services — redesigned cards with tinted before/after panels */
.svcs { display: block; }
.svc-row { border: 1px solid var(--line); border-radius: 18px; background: var(--panel); padding: clamp(24px, 3vw, 38px); margin-bottom: 18px; position: relative; overflow: hidden; }
.svcs .svc-row:last-child { border: 1px solid var(--line); margin-bottom: 0; }
.svc-row::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--brand); }
.svc-head { margin-bottom: 22px; }
.svc-row .ab { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 14px; max-width: 880px; margin: 0 0 20px; }
.ab-col { border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; justify-content: center; }
.ab-a { background: rgba(224,96,122,.07); border: 1px solid rgba(224,96,122,.16); }
.ab-b { background: rgba(59,123,255,.10); border: 1px solid rgba(59,123,255,.26); }
.svc-row .ab-col p { font-size: clamp(1.05rem, 1.8vw, 1.45rem); margin: 0; }
.ab-a p { color: var(--ink-2); }
.ab-b p { color: #fff; text-shadow: none; }
.ab-arrow { align-self: center; width: 24px; height: 24px; color: #3b7bff; }
@media (max-width: 620px) { .svc-row .ab { grid-template-columns: 1fr; max-width: none; } .ab-arrow { transform: rotate(90deg); justify-self: center; } }

/* services — bold type-led rows (giant number + punchy outcome) */
.svcs { display: block; }
.svc-row { display: grid; grid-template-columns: clamp(70px, 11vw, 170px) 1fr; gap: clamp(20px, 4vw, 56px); align-items: start; padding: clamp(34px, 5vw, 60px) 0; border: none; border-top: 1px solid var(--line); border-radius: 0; background: none; margin: 0; }
.svc-row::before { display: none; }
.svcs .svc-row:last-child { border: none; border-top: 1px solid var(--line); }
.svc-num { font-family: var(--display); font-weight: 700; font-size: clamp(3.4rem, 9vw, 8rem); line-height: .85; letter-spacing: -.04em; color: #0000ff; }
.svc-tag { font-family: var(--mono); font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; font-weight: 700; margin-bottom: 16px; }
.svc-tag span { color: var(--muted); }
.svc-out { font-family: var(--display); font-weight: 700; font-size: clamp(1.7rem, 3.6vw, 3.1rem); line-height: 1.04; letter-spacing: -.02em; color: #fff; margin: 0 0 16px; }
.svc-out .hl { color: #0000ff; }
.svc-desc { color: var(--ink-2); font-size: 1.04rem; line-height: 1.6; max-width: 62ch; margin: 0; }
.svc-desc a { color: #3b7bff; border-bottom: 1px solid rgba(59,123,255,.4); }
.svc-desc a:hover { border-bottom-color: #3b7bff; }
@media (max-width: 640px) { .svc-row { grid-template-columns: 1fr; gap: 6px; } .svc-num { font-size: 3.2rem; } }

/* let the What-I-do subhead sit on one line */
#b2b-sales-acceleration .shead p { max-width: 68ch; }

/* tag above, number+body below */
.svc-row { display: block; }
.svc-tag { margin-bottom: 20px; }
.svc-main { display: grid; grid-template-columns: clamp(70px, 11vw, 170px) 1fr; gap: clamp(20px, 4vw, 56px); align-items: start; }
@media (max-width: 640px) { .svc-main { grid-template-columns: 1fr; gap: 6px; } }

/* ventures — compact concordant cards */
#group-coaching.section { padding: clamp(56px, 8vw, 110px) 0; }
#group-coaching .shead { margin-bottom: 40px; }
.ventures { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.venture { display: block; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); padding: 26px 28px; transition: transform .25s var(--ease), border-color .25s; }
.venture:hover { transform: translateY(-3px); border-color: var(--line-2); }
.v-tag { display: inline-block; font-family: var(--mono); font-weight: 700; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: #0000ff; padding: 5px 11px; border-radius: 100px; margin-bottom: 14px; }
.venture h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin: 0 0 8px; color: var(--ink); }
.venture p { color: var(--ink-2); font-size: .98rem; line-height: 1.5; margin: 0 0 16px; }
.v-go { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: .82rem; letter-spacing: .02em; color: #3b7bff; }
.v-go svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.venture:hover .v-go svg { transform: translate(2px, -2px); }
@media (max-width: 760px) { .ventures { grid-template-columns: 1fr; } }

/* nav dropdown */
.navdrop { position: relative; }
.navdrop-btn { display: inline-flex; align-items: center; gap: 6px; font-family: inherit; font-size: .92rem; color: var(--muted); background: none; border: 0; padding: 0; cursor: pointer; transition: color .2s; }
.navdrop-btn:hover { color: var(--ink); }
.navdrop-btn svg { transition: transform .2s; }
.navdrop-menu { position: absolute; top: calc(100% + 12px); left: 50%; transform: translate(-50%, -6px); min-width: 232px; background: #101017; border: 1px solid var(--line-2); border-radius: 12px; padding: 8px; display: flex; flex-direction: column; gap: 2px; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; box-shadow: 0 22px 54px -22px rgba(0,0,0,.75); z-index: 60; }
.navdrop:hover .navdrop-menu, .navdrop.open .navdrop-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.navdrop:hover .navdrop-btn svg, .navdrop.open .navdrop-btn svg { transform: rotate(180deg); }
.navdrop-menu a { padding: 9px 12px; border-radius: 8px; font-size: .9rem; color: var(--ink-2); white-space: nowrap; }
.navdrop-menu a:hover { background: rgba(255,255,255,.05); color: var(--ink); }
@media (max-width: 880px) {
  .navdrop-menu { position: static; transform: none; opacity: 1; visibility: visible; min-width: 0; border: none; box-shadow: none; padding: 4px 0 4px 14px; background: none; }
  .navdrop-btn svg { display: none; }
}

/* B2B Sales Acceleration eyebrow — bright + bold */
#b2b-sales-acceleration .shead .kicker { color: #ffffff; font-weight: 700; }

/* Group Coaching eyebrow — bright + bold */
#group-coaching .shead .kicker { color: #ffffff; font-weight: 700; }

/* venture "what's included" chips */
.v-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; }
.v-chips span { font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: #ffffff; border: 1px solid var(--line-2); border-radius: 100px; padding: 4px 11px; }

/* bigger service tags (match program-name size) + one-line subheads */
.svc-tag { font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: .03em; }
#b2b-sales-acceleration .shead, #group-coaching .shead { max-width: none; }
#b2b-sales-acceleration .shead p, #group-coaching .shead p { max-width: none; }

/* swap: service name big, outcome smaller subline */
.svc-tag { font-size: clamp(1.7rem, 3.6vw, 3.1rem); letter-spacing: -.01em; line-height: 1.05; }
.svc-out { font-size: clamp(1.1rem, 1.7vw, 1.45rem); line-height: 1.25; }

/* outcome line = size GTM consulting was after first bump */
.svc-out { font-size: 1.05rem; line-height: 1.35; }

/* restore outcome line to pre-shrink size */
.svc-out { font-size: clamp(1.7rem, 3.6vw, 3.1rem); line-height: 1.05; }

/* brighter hero eyebrow */
.hero .kicker { color: #ffffff; }

/* outcome line — medium size (not tiny, not huge) */
.svc-out { font-size: clamp(1.1rem, 1.7vw, 1.45rem); line-height: 1.3; }

/* result pills under the B2B Sales Acceleration intro */
.res-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.res-chips span { font-family: var(--mono); font-weight: 700; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: #0000ff; border-radius: 100px; padding: 6px 13px; }

/* result pills: match the outlined venture chips */
.res-chips span { font-weight: 400; font-size: .64rem; letter-spacing: .1em; background: none; border: 1px solid var(--line-2); padding: 4px 11px; }

/* results lead + white-on-blue pills */
.res-lead { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 22px 0 10px; }
.res-chips { margin-top: 0; }
.res-chips span { background: #0000ff; border: none; color: #fff; font-weight: 700; padding: 6px 13px; }

/* results marquee (single scrolling row) */
.res-marquee { overflow: hidden; margin-top: 4px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.res-track { display: inline-flex; gap: 10px; white-space: nowrap; will-change: transform; animation: resscroll 42s linear infinite; }
.res-marquee:hover .res-track { animation-play-state: paused; }
.res-track span { flex: none; background: #0000ff; color: #fff; font-family: var(--mono); font-weight: 700; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; border-radius: 100px; padding: 7px 14px; }
@keyframes resscroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .res-track { animation: none; flex-wrap: wrap; white-space: normal; } }

/* testimonials: collapse to ~first row with a blurred peek */
.quotes-wrap { max-height: 340px; }
.quotes-fade { height: 210px; backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 55%); mask-image: linear-gradient(to bottom, transparent 0%, #000 55%); }
.quotes-wrap.open .quotes-fade { backdrop-filter: none; -webkit-backdrop-filter: none; -webkit-mask-image: none; mask-image: none; }

/* wider hero sub */
.hero-sub { max-width: 74ch; }

/* show full top row + small peek of the next */
.quotes-wrap { max-height: 470px; }
.quotes-fade { height: 150px; }

/* reveal items already on screen at load: show instantly, no pop */
.reveal.no-anim { transition: none; }

/* separator + tighter gap between B2B section and Group Coaching */
#group-coaching { border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 104px); }
#b2b-sales-acceleration { padding-bottom: clamp(56px, 7vw, 104px); }

/* ---- tighten vertical rhythm + alternating section contrast ---- */
.section { padding: clamp(52px, 7vw, 104px) 0; }
#b2b-sales-acceleration { padding-top: clamp(34px, 4.5vw, 70px); padding-bottom: clamp(46px, 6vw, 88px); }
#group-coaching.section { padding-top: clamp(46px, 6vw, 88px); padding-bottom: clamp(52px, 7vw, 100px); }
#group-coaching, #reviews { background: #0d0d13; }
#reviews { border-top: 1px solid var(--line); }

/* ===== Services merged: super eyebrow + segment variation v2 ===== */
.services-head { margin-bottom: clamp(38px, 5vw, 64px); }
.services-head h2 { margin: 0; }
.kicker-xl { font-size: .9rem; letter-spacing: .28em; font-weight: 800; margin-bottom: 16px;
  background: var(--brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.kicker-xl::before { width: 40px; }

/* both sub-eyebrows: white bold, consistent */
.svc-block .shead .kicker, #group-coaching .shead .kicker { color: #fff; font-weight: 700; }
.svc-block .shead h3 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1.04; letter-spacing: -.03em; color: var(--ink); margin: 0 0 .4em; }

/* divider + breathing room between the two service blocks */
#group-coaching { background: transparent; margin-top: clamp(44px, 6vw, 84px); padding-top: clamp(44px, 6vw, 84px); border-top: 1px solid var(--line); }

/* page alternation: services(base) / principal(light) / testimonials(base) / contact(light) */
#reviews { background: transparent; border-top: 1px solid var(--line); }
#principal { background: #0d0d13; border-top: 1px solid var(--line); }
#book-a-call { background: #0d0d13; border-top: 1px solid var(--line); }

/* Services eyebrow: centered, pronounced, more room above */
.services-head { text-align: center; padding-top: clamp(18px, 3.2vw, 48px); margin-bottom: clamp(44px, 5.5vw, 74px); }
.services-head .kicker-xl { display: inline-flex; align-items: center; justify-content: center; gap: 14px; font-size: 1.04rem; letter-spacing: .34em; margin-bottom: 0; }
.services-head .kicker-xl::after { content: ""; width: 40px; height: 1px; background: var(--brand); }

/* B2B block heading italic */
.svc-block:not(#group-coaching) .shead h3 { font-style: italic; }
/* service tags: underlined, matched to the block heading size */
.svc-tag { font-size: clamp(1.45rem, 2.9vw, 2.25rem); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }

/* group heading italic too + training chips spacing */
.svc-block .shead h3 { font-style: italic; }
.svc-chips { margin-top: 20px; }

/* balance the buffer above/below the block divider */
#group-coaching { margin-top: 0; padding-top: clamp(34px, 5vw, 60px); }

/* ===== a11y: skip link + visible focus (WCAG 2.4.1 / 2.4.7 / 1.4.11) ===== */
.skip-link { position: absolute; left: 8px; top: -64px; z-index: 200; background: #3b7bff; color: #04040a; font-weight: 700; font-size: .9rem; padding: 10px 16px; border-radius: 0 0 10px 10px; transition: top .15s ease; }
.skip-link:focus { top: 0; outline: 3px solid #cfe0ff; outline-offset: 2px; }
:focus-visible { outline: 3px solid #6ea2ff; outline-offset: 2px; border-radius: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid #6ea2ff; outline-offset: 2px; }
.cform input:focus-visible, .cform textarea:focus-visible { outline: 3px solid #6ea2ff; outline-offset: 1px; }

/* LinkedIn nav icon (top, TFSE/TSRE style) */
.nav-li { display: inline-flex; align-items: center; color: var(--muted); transition: color .2s, transform .2s; }
.nav-li:hover { color: var(--ink); transform: translateY(-1px); }
.nav-li svg { width: 18px; height: 18px; }

/* reviews heading italic */
#reviews .shead h2 { font-style: italic; }

/* contact + principal headings italic */
#book-a-call h2, #principal h2 { font-style: italic; }

/* scroll progress bar + active nav state (reuses --brand / --ink) */
#scrollProgress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 60; background: var(--brand); transition: width .1s linear; pointer-events: none; }
.navset a:not(.btn).active, .navdrop-btn.active { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { #scrollProgress { transition: none; } }

/* footer legal disclaimer */
.footer-disclaimer { margin: 22px 0 0; font-size: .72rem; line-height: 1.6; color: var(--muted); max-width: 900px; }

/* testimonials disclaimer */
.testi-disclaimer { margin: 30px auto 0; font-size: .72rem; line-height: 1.6; color: var(--muted); max-width: 900px; }

/* book-a-call modal (Google Calendar embed) */
.book-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.book-modal[hidden] { display: none; }
.book-overlay { position: absolute; inset: 0; background: rgba(4,4,8,.72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.book-dialog { position: relative; z-index: 1; width: min(860px, 100%); background: var(--panel); border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 90px -20px rgba(0,0,0,.75); }
.book-dialog iframe { display: block; width: 100%; height: min(82vh, 720px); background: #fff; }
.book-close { position: absolute; top: 10px; right: 12px; z-index: 2; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; transition: background .2s; }
.book-close:hover { background: rgba(0,0,0,.75); }
/* turnstile widget spacing */
.cform .cf-turnstile { margin: 4px 0 16px; }

/* fix: hidden attribute must override the flex layout */
.consent[hidden] { display: none; }

/* inline Google Calendar booking embed (contact section) */
.contact-book { margin-top: clamp(40px, 6vw, 72px); }
.book-h { font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 1.8rem); letter-spacing: -.02em; color: var(--ink); margin: 0 0 18px; }
.gcal-inline { width: 100%; height: min(78vh, 720px); border: 0; border-radius: 16px; background: #fff; }
.cmail { cursor: pointer; }

/* ===== bottom CTA panel (animated gradient + expanding-icon button) ===== */
.cta-panel {
  position: relative; z-index: 2; overflow: hidden;
  border-radius: 32px; padding: 88px 48px; text-align: center;
  background:
    radial-gradient(circle at 20% 0%, rgba(167,139,250,0.5) 0%, transparent 55%),
    linear-gradient(135deg, var(--accent, #0000ff) 0%, var(--accent-deep, #3A0FB0) 100%);
}
.cta-content { position: relative; z-index: 2; }
.cta-panel h2, .cta-panel p { color: #fff; }
.cta-panel h2 { font-family: var(--display), sans-serif; font-style: normal; font-weight: 700; font-size: clamp(28px, 4vw, 46px); letter-spacing: -0.02em; line-height: 1.04; margin: 0 0 14px; }
.cta-panel h2 em { font-style: italic; opacity: 0.85; }
.cta-panel p { opacity: 0.88; margin: 0 0 28px; }
.cta-badge { display: inline-block; margin-bottom: 20px; padding: 7px 16px; border-radius: 100px; background: rgba(255,255,255,0.15); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }

@property --cta-c1 { syntax: '<color>'; inherits: false; initial-value: #2d1b69; }
@property --cta-c2 { syntax: '<color>'; inherits: false; initial-value: #11998e; }
.cta-gradient {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(135deg, var(--cta-c1) 0%, var(--cta-c2) 100%);
  animation: ctaGradient 10s ease-in-out infinite;
}
@keyframes ctaGradient {
  0%,100% { --cta-c1:#2d1b69; --cta-c2:#11998e; }
  20%     { --cta-c1:#8e2de2; --cta-c2:#4a00e0; }
  40%     { --cta-c1:#0f3460; --cta-c2:#e94560; }
  60%     { --cta-c1:#134e5e; --cta-c2:#71b280; }
  80%     { --cta-c1:#2d1b69; --cta-c2:#11998e; }
}
.cta-veil { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse at center, rgba(8,6,20,0.35) 0%, rgba(8,6,20,0.7) 100%); }
@media (prefers-reduced-motion: reduce) { .cta-gradient { animation: none; } }

.btn-getstarted {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  overflow: hidden; height: 54px; padding: 0 30px; border-radius: 12px;
  background: #fff; color: #0A0B0D; text-decoration: none; cursor: pointer;
  font-family: var(--display), sans-serif; font-weight: 700; font-size: 16px;
  letter-spacing: -0.01em; box-shadow: 0 14px 34px -10px rgba(0,0,0,.45);
}
.btn-gs-label { margin-right: 44px; transition: opacity .5s ease; }
.btn-getstarted:hover .btn-gs-label, .btn-getstarted:focus-visible .btn-gs-label { opacity: 0; }
.btn-gs-icon {
  position: absolute; right: 6px; top: 6px; bottom: 6px; width: 26%;
  display: grid; place-items: center; border-radius: 8px;
  background: rgba(10,11,13,.12); color: var(--accent, #0000ff);
  transition: width .5s cubic-bezier(.22,1,.36,1), transform .2s ease, background .3s ease;
}
.btn-getstarted:hover .btn-gs-icon, .btn-getstarted:focus-visible .btn-gs-icon { width: calc(100% - 12px); background: rgba(0,0,255,.14); }
.btn-getstarted:active .btn-gs-icon { transform: scale(.96); }
.btn-gs-icon svg { width: 18px; height: 18px; }
@media (max-width: 700px) { .cta-panel { padding: 56px 24px; border-radius: 24px; } }

/* registered address (NAP) */
.foot-addr { font-style: normal; font-family: var(--mono); font-size: .74rem; letter-spacing: .02em; color: var(--muted); margin-top: 12px; line-height: 1.5; }

/* research & publications page */
.pub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.pub-card { display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); padding: 24px 26px; transition: border-color .2s, transform .2s, background .2s; }
.pub-card:hover { border-color: var(--line-2); transform: translateY(-2px); background: var(--panel-2); }
.pub-type { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: #3b7bff; }
.pub-card h3 { font-size: 1.15rem; color: var(--ink); margin: 0; }
.pub-card p { color: var(--muted); font-size: .95rem; margin: 0; flex: 1; }
.pub-go { font-family: var(--mono); font-size: .78rem; color: #3b7bff; display: inline-flex; align-items: center; gap: 6px; }
.pub-go svg { transition: transform .2s; }
.pub-card:hover .pub-go svg { transform: translateY(2px); }
