/* ============================================================
   PRIMENESS — Work With Us (the closer page)
   Reuses styles.css primitives (.container, .btn, .eyebrow, .h2,
   .wire form, [data-reveal], cursor). This file adds the page
   chrome: hero, deal cards, proof band, breaker switch finale.
   ============================================================ */

/* Headings unselectable (site-wide pattern) */
.wwu h1, .wwu h2, .wwu h3, .wwu .eyebrow, .wwu .proof, .wwu-brand, .wwu-chips,
.breaker, .connect__status, .ctile__lbl, .wwu-scope__h, .standard__foot {
  -webkit-user-select: none; user-select: none;
}

/* ---------- Top bar ---------- */
.wwu-top {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 14px clamp(20px, 4vw, 44px);
  background: rgba(10, 10, 11, .82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.wwu-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); }
.wwu-brand__mark { color: var(--volt); display: grid; place-items: center; }
.wwu-brand__text { display: grid; line-height: 1.05; }
.wwu-brand__name { font: 700 15px/1 var(--font-display); letter-spacing: .06em; color: var(--white); }
.wwu-brand__sub { font: 500 8.5px/1 var(--font-mono); letter-spacing: .3em; color: var(--muted); margin-top: 3px; }
.wwu-top__links { display: inline-flex; align-items: center; gap: clamp(16px, 3vw, 30px); }
.wwu-top__tel { font: 700 14px/1 var(--font-mono); letter-spacing: .06em; color: var(--volt); transition: text-shadow .25s; }
.wwu-top__tel:hover { text-shadow: 0 0 14px var(--volt-glow); }
.wwu-top__back { font: 500 13px/1 var(--font-mono); letter-spacing: .04em; color: var(--muted); transition: color .25s; }
.wwu-top__back:hover { color: var(--white); }

/* ---------- Hero ---------- */
.wwu-hero { position: relative; overflow: hidden; padding-block: clamp(90px, 15vh, 170px) clamp(70px, 10vh, 120px); }
.wwu-hero #bgCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .9; }
.wwu-hero__inner { position: relative; z-index: 2; }
.wwu-title { font: 700 clamp(42px, 7.4vw, 96px) var(--font-display); line-height: .98; letter-spacing: -.03em; color: var(--white); margin-top: 18px; }
.wwu-title span { display: block; white-space: nowrap; }
.wwu-lead { max-width: 56ch; margin-top: 26px; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.65; color: var(--muted); }
.wwu-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.wwu-badges { list-style: none; padding: 0; }

/* ---------- The deal ---------- */
.deal__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 26px); margin-top: clamp(36px, 5vw, 56px); }
.deal {
  position: relative; padding: clamp(26px, 3vw, 38px); background: var(--bg-2);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .35s var(--ease), border-color .35s;
}
.deal:hover { transform: translateY(-5px); border-color: rgba(191, 255, 0, .45); }
.deal__icon { display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid var(--line); border-radius: 14px; color: var(--volt); transition: box-shadow .35s, border-color .35s; }
.deal:hover .deal__icon { border-color: var(--volt); box-shadow: 0 0 22px -4px var(--volt-glow); }
.deal h3 { font: 600 clamp(19px, 2vw, 23px)/1.2 var(--font-display); color: var(--white); margin-top: 20px; }
.deal p { margin-top: 12px; font-size: 15.5px; line-height: 1.65; color: var(--muted); }

/* ---------- Proof band ---------- */
.wwu-proof { border-block: 1px solid var(--line); background: rgba(255, 255, 255, .015); }
.proof__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof { padding: clamp(26px, 3.4vw, 44px) 10px; text-align: center; }
.proof + .proof { border-left: 1px solid var(--line); }
.proof b { display: block; font: 700 clamp(30px, 4vw, 52px)/1 var(--font-display); letter-spacing: -.02em; color: var(--volt); font-variant-numeric: tabular-nums; }
.proof span { display: block; margin-top: 10px; font: 500 11px/1.4 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Risk reversal ---------- */
.wwu-scope__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.wwu-scope .btn { margin-top: 34px; }
.wwu-scope__side { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); padding: clamp(24px, 3vw, 36px); }
.wwu-scope__h { display: block; font: 500 11px/1 var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--volt); }
.wwu-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; list-style: none; padding: 0; }
.wwu-chips li { padding: 9px 15px; border: 1px solid var(--line); border-radius: 100px; font: 500 13px/1 var(--font-mono); letter-spacing: .03em; color: var(--ink); transition: border-color .25s, color .25s; }
.wwu-chips li:hover { border-color: var(--volt); color: var(--volt); }
.wwu-scope__link { display: inline-flex; align-items: center; gap: 7px; margin-top: 22px; font: 600 13.5px/1 var(--font-mono); letter-spacing: .03em; color: var(--white); border-bottom: 1px solid var(--volt); padding-bottom: 4px; transition: color .25s; }
.wwu-scope__link:hover { color: var(--volt); }

/* ---------- The standard: flip the switch, the lights come on ---------- */
.standard__sub { max-width: 58ch; margin-top: 18px; font-size: clamp(15px, 1.6vw, 18px); line-height: 1.65; color: var(--muted); }
.standard__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 24px); margin-top: clamp(34px, 5vw, 54px); }
/* Cards sit dark until the section enters view, then power on like fixtures */
.spec { padding: clamp(24px, 2.6vw, 34px); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); opacity: 0; transition: transform .3s var(--ease), border-color .3s; }
.standard.is-lit .spec { animation: specFlicker .85s steps(1) forwards; }
.standard.is-lit .spec:nth-child(1) { animation-delay: .05s; }
.standard.is-lit .spec:nth-child(2) { animation-delay: .18s; }
.standard.is-lit .spec:nth-child(3) { animation-delay: .31s; }
.standard.is-lit .spec:nth-child(4) { animation-delay: .44s; }
.standard.is-lit .spec:nth-child(5) { animation-delay: .57s; }
.standard.is-lit .spec:nth-child(6) { animation-delay: .70s; }
.spec:hover { transform: translateY(-4px); border-color: rgba(191, 255, 0, .45); }
.spec__icon { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 12px; color: var(--volt); transition: border-color .3s, box-shadow .3s; }
.spec:hover .spec__icon { border-color: var(--volt); box-shadow: 0 0 20px -4px var(--volt-glow); }
.spec h3 { font: 600 clamp(17px, 1.8vw, 20px)/1.25 var(--font-display); color: var(--white); margin-top: 16px; }
.spec p { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.standard__foot { margin-top: clamp(26px, 3.6vw, 40px); font: 700 11.5px/1.6 var(--font-mono); letter-spacing: .26em; color: var(--volt); text-transform: uppercase; opacity: 0; }
.standard.is-lit .standard__foot { animation: specFlicker .85s steps(1) .88s forwards; }
@keyframes specFlicker {
  0% { opacity: 0; }
  9% { opacity: .9; }
  18% { opacity: .12; }
  30% { opacity: 1; }
  42% { opacity: .35; }
  55%, 100% { opacity: 1; }
}
@media (max-width: 900px) { .standard__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .standard__grid { grid-template-columns: 1fr; } }

/* ---------- The switch (finale) ---------- */
.wwu-connect { position: relative; overflow: hidden; border-top: 1px solid var(--line); background: #060607; }
.wwu-connect #footerCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .8; }
.wwu-connect__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; }
.connect__sub { margin-top: 14px; font: 500 13px/1.5 var(--font-mono); letter-spacing: .08em; color: var(--muted); }

/* Breaker */
.breaker {
  position: relative; margin-top: clamp(34px, 5vw, 54px);
  width: 150px; padding: 18px 16px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px;
  cursor: pointer; transition: border-color .3s, box-shadow .3s, transform .2s;
}
.breaker:hover { border-color: rgba(191, 255, 0, .55); transform: translateY(-2px); }
.breaker.is-on { border-color: var(--volt); box-shadow: 0 0 44px -8px var(--volt-glow); cursor: default; }
.breaker__plate { font: 700 9px/1 var(--font-mono); letter-spacing: .22em; color: var(--muted); }
.breaker__led { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--line); background: transparent; transition: background .3s, border-color .3s; }
.breaker.is-on .breaker__led { background: var(--volt); border-color: var(--volt); animation: blip 1.6s var(--ease) infinite; }
.breaker__track { position: relative; width: 62px; height: 128px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); display: block; }
.breaker__on, .breaker__off { position: absolute; left: 50%; transform: translateX(-50%); font: 700 9px/1 var(--font-mono); letter-spacing: .18em; color: var(--faint); font-style: normal; }
.breaker__on { top: 9px; }
.breaker__off { bottom: 9px; }
.breaker.is-on .breaker__on { color: #07090A; }
.breaker__handle {
  position: absolute; left: 5px; right: 5px; bottom: 5px; height: 56px; border-radius: 10px;
  background: #1A1A1E; border: 1px solid var(--line);
  transition: transform .38s cubic-bezier(.55, -.3, .3, 1.4), background .25s, box-shadow .25s;
}
.breaker__handle::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 26px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .18); }
.breaker.is-on .breaker__handle { transform: translateY(-61px); background: var(--volt); border-color: var(--volt); box-shadow: 0 0 26px var(--volt-glow); }
.breaker.is-on .breaker__handle::after { background: rgba(7, 9, 10, .5); }

/* Sparks — fire once when the breaker closes */
.breaker .spark { position: absolute; top: 34%; left: 50%; width: 3px; height: 11px; border-radius: 2px; background: var(--volt); opacity: 0; pointer-events: none; }
.breaker.is-on .spark { animation: sparkFly .55s var(--ease-out) forwards; }
.breaker.is-on .spark:nth-child(4) { --sx: -52px; --sy: -34px; --sr: -60deg; animation-delay: .02s; }
.breaker.is-on .spark:nth-child(5) { --sx: -30px; --sy: -56px; --sr: -25deg; animation-delay: .06s; }
.breaker.is-on .spark:nth-child(6) { --sx: -8px;  --sy: -64px; --sr: -6deg;  animation-delay: .01s; }
.breaker.is-on .spark:nth-child(7) { --sx: 10px;  --sy: -62px; --sr: 8deg;   animation-delay: .08s; }
.breaker.is-on .spark:nth-child(8) { --sx: 34px;  --sy: -52px; --sr: 28deg;  animation-delay: .03s; }
.breaker.is-on .spark:nth-child(9) { --sx: 54px;  --sy: -30px; --sr: 62deg;  animation-delay: .05s; }
@keyframes sparkFly {
  0%   { opacity: 0; transform: translate(-50%, 0) rotate(var(--sr, 0deg)) scaleY(.4); }
  15%  { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--sx, 0px)), var(--sy, -50px)) rotate(var(--sr, 0deg)) scaleY(1); }
}

/* Energized line under the breaker */
.connect__line { position: relative; display: block; width: min(560px, 82%); height: 2px; margin-top: clamp(26px, 4vw, 40px); background: var(--line); overflow: visible; }
.connect__line::before { content: ""; position: absolute; inset: 0; background: var(--volt); box-shadow: 0 0 12px var(--volt-glow); transform: scaleX(0); transform-origin: center; transition: transform .8s var(--ease-out) .15s; }
.wwu-connect.is-live .connect__line::before { transform: scaleX(1); }
.connect__line::after { content: ""; position: absolute; top: 50%; left: 0; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 2px var(--volt-glow); transform: translate(-50%, -50%); opacity: 0; }
.wwu-connect.is-live .connect__line::after { animation: wirePulse 1.8s var(--ease) .9s infinite; }

.connect__status { margin-top: 18px; min-height: 15px; font: 700 12px/1 var(--font-mono); letter-spacing: .26em; color: var(--volt); text-transform: uppercase; }

/* Contact panel — revealed by the switch */
.connect__panel { width: 100%; max-width: 980px; margin-top: clamp(30px, 4vw, 46px); opacity: 0; visibility: hidden; transform: translateY(28px); transition: opacity .6s var(--ease-out) .25s, transform .6s var(--ease-out) .25s, visibility 0s linear .85s; }
.wwu-connect.is-live .connect__panel { opacity: 1; visibility: visible; transform: none; transition: opacity .6s var(--ease-out) .25s, transform .6s var(--ease-out) .25s; }

.connect__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 22px); text-align: left; }
.ctile { position: relative; display: grid; align-content: start; gap: 8px; padding: clamp(20px, 2.4vw, 28px); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s var(--ease), border-color .3s; }
a.ctile:hover { transform: translateY(-4px); border-color: var(--volt); }
.ctile__lbl { font: 700 10.5px/1 var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--volt); }
.ctile__val { font: 600 clamp(16px, 1.7vw, 19px)/1.3 var(--font-display); color: var(--white); overflow-wrap: anywhere; }
.ctile__val--email { font-size: clamp(13.5px, 1.3vw, 15.5px); word-break: break-all; }
.ctile__note { font: 500 12px/1.5 var(--font-mono); color: var(--faint); }
/* copy chip in the tile corner */
.ctile__copy { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: var(--bg); transition: color .25s, border-color .25s, box-shadow .25s; }
.ctile__copy:hover { color: var(--volt); border-color: var(--volt); box-shadow: 0 0 14px -4px var(--volt-glow); }
.ctile__copy.is-copied { color: #07090A; background: var(--volt); border-color: var(--volt); }

/* The GO SEQUENCE — what starts the moment they reach out */
.goseq { list-style: none; padding: 0; margin: 0 auto; width: min(680px, 100%); text-align: left; display: grid; gap: 0; }
.go { position: relative; display: grid; grid-template-columns: 168px 1fr; gap: 18px; padding: 18px 0 18px 26px; border-left: 2px solid var(--line); opacity: 0; }
.wwu-connect.is-live .go { animation: specFlicker .8s steps(1) forwards; }
.wwu-connect.is-live .go:nth-child(1) { animation-delay: .10s; }
.wwu-connect.is-live .go:nth-child(2) { animation-delay: .28s; }
.wwu-connect.is-live .go:nth-child(3) { animation-delay: .46s; }
.wwu-connect.is-live .go:nth-child(4) { animation-delay: .64s; }
.wwu-connect.is-live .go:nth-child(5) { animation-delay: .82s; }
.wwu-connect.is-live .go:nth-child(6) { animation-delay: 1.00s; }
.go::before { content: ""; position: absolute; left: -6px; top: 26px; width: 10px; height: 10px; border-radius: 50%; background: var(--bg-2); border: 2px solid var(--volt); box-shadow: 0 0 10px var(--volt-glow); }
.go__t { font: 700 10.5px/1.7 var(--font-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--volt); -webkit-user-select: none; user-select: none; }
.go__body h3 { font: 600 clamp(17px, 1.8vw, 20px)/1.25 var(--font-display); color: var(--white); }
.go__body p { margin-top: 6px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.goseq__cta { margin-top: clamp(22px, 3vw, 32px); }
@media (max-width: 640px) {
  .go { grid-template-columns: 1fr; gap: 6px; padding-left: 20px; }
}

/* The Prime Pack — grab and go for PMs */
.pack { margin-top: clamp(18px, 2.6vw, 28px); padding: clamp(18px, 2.4vw, 26px); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(19, 19, 22, .6); text-align: left; }
.pack__h { display: block; font: 700 10.5px/1 var(--font-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--volt); -webkit-user-select: none; user-select: none; }
.pack__row { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: 14px; }
.pack__item { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border: 1px solid var(--line); border-radius: 100px; font: 600 13px/1 var(--font-mono); letter-spacing: .02em; color: var(--ink); transition: color .25s, border-color .25s, box-shadow .25s; }
.pack__item:hover { color: var(--volt); border-color: var(--volt); box-shadow: 0 0 16px -6px var(--volt-glow); }
.pack__item svg { color: var(--volt); flex: none; }

/* ---------- Bottom bar ---------- */
.wwu-bottom { border-top: 1px solid var(--line); background: #060607; }
.wwu-bottom__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 24px; font: 500 12.5px/1.5 var(--font-mono); color: var(--faint); }
.wwu-bottom a { color: var(--muted); transition: color .25s; }
.wwu-bottom a:hover { color: var(--volt); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .wwu-scope__grid { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  .deal__grid { grid-template-columns: 1fr; }
  .proof__grid { grid-template-columns: 1fr 1fr; }
  .proof:nth-child(3) { border-left: none; }
  .proof:nth-child(n+3) { border-top: 1px solid var(--line); }
  .connect__tiles { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .wwu-top__back { display: none; }
  .wwu-title span { white-space: normal; }
}
