/* ============================================================
   GTMomentum — the operating company. Distinct parent identity.
   Premium dark, Bricolage Grotesque display + Inter, 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:     #8b8b98;
  --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: var(--brand); color: #fff; box-shadow: 0 8px 30px -8px rgba(126,43,243,.6); }
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px rgba(126,43,243,.7); }
.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,.6); backdrop-filter: saturate(160%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.topbar.scrolled { border-bottom-color: var(--line); background: rgba(8,8,11,.85); }
.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(40px, 6vw, 84px) 0 clamp(70px, 9vw, 130px); }
.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: 980px; margin: 0 auto; }
.hero h1 { margin: 22px 0 0; }
.hero-sub { font-size: clamp(1.15rem, 1.9vw, 1.45rem); 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(--dim); width: 100%; text-align: center; margin-bottom: 6px; }
.strip-row span { font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--muted); 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%; 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 h5 { 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: 600px) {
  .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; }
  .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;
}
