/* ============================================================
   TheJamieFarrell.com — shared styles
   Vibe: dark & techy base · clean spacing · bold type · warm accents
   ============================================================ */

:root {
  /* Surfaces */
  --bg: #0c0f14;
  --bg-raise: #12161e;
  --bg-card: #151a23;
  --line: #232a36;

  /* Ink */
  --ink: #f2f4f8;
  --ink-2: #aab3c2;
  --ink-3: #6b7686;

  /* Accents — warm amber + electric teal */
  --amber: #f5a524;
  --amber-soft: #ffd07a;
  --teal: #2dd4bf;
  --teal-deep: #0d9488;   /* validated chart mark color */
  --amber-mark: #b45309;  /* validated chart mark color */

  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1120px;

  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
section[id], header[id] { scroll-margin-top: 80px; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(245, 165, 36, .35); }

img { max-width: 100%; display: block; }

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--amber-soft); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 15, 20, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.05rem; letter-spacing: .02em;
  color: var(--ink);
  display: flex; align-items: center; gap: 10px;
}
.brand:hover { color: var(--ink); }
.brand .mono {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--amber), #e2762d);
  color: #16100a; font-weight: 800; font-size: .85rem;
}
.brand-logo { height: 24px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a {
  color: var(--ink-2); font-size: .93rem; font-weight: 500;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active { border-bottom: 2px solid var(--amber); padding-bottom: 4px; }
.btn-nav {
  background: var(--amber); color: #16100a !important;
  padding: 9px 18px; border-radius: 999px; font-weight: 600;
}
.btn-nav:hover { background: var(--amber-soft); }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-weight: 600; font-size: .97rem;
  padding: 13px 26px; border-radius: 999px; transition: all .18s ease;
}
.btn-primary { background: var(--amber); color: #16100a; }
.btn-primary:hover { background: var(--amber-soft); color: #16100a; transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }

/* ---------- Hero ---------- */
.hero { padding: 54px 0 72px; position: relative; overflow: hidden; }
.hero .kicker {
  font-family: var(--font-display); font-size: .82rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--teal);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.05; letter-spacing: -.02em; font-weight: 800;
  max-width: 100%;
}
.hero h1 .warm {
  background: linear-gradient(92deg, var(--amber) 10%, #ff8e5e 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lede {
  margin-top: 24px; max-width: 620px;
  color: var(--ink-2); font-size: 1.16rem;
}
.hero .cta-row { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }

/* soft warm glow */
.glow {
  position: absolute; pointer-events: none; border-radius: 50%;
  filter: blur(90px); opacity: .17;
}
.glow-amber { width: 480px; height: 480px; background: var(--amber); top: -180px; right: -120px; }
.glow-teal  { width: 420px; height: 420px; background: var(--teal); bottom: -220px; left: -140px; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; position: relative; }
.section.alt { background: var(--bg-raise); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { margin-bottom: 44px; max-width: 720px; }
.sec-num {
  font-family: var(--font-display); font-weight: 800; font-size: .9rem;
  color: var(--ink-3); letter-spacing: .18em;
}
.sec-head h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem); letter-spacing: -.015em;
  margin-top: 8px;
}
.sec-head p { color: var(--ink-2); margin-top: 14px; font-size: 1.05rem; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: #34405a; transform: translateY(-3px); }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  font-size: 1.3rem; margin-bottom: 18px;
  background: rgba(45, 212, 191, .12); color: var(--teal);
}
.card .icon.warm { background: rgba(245, 165, 36, .13); color: var(--amber); }
.card .icon svg { width: 22px; height: 22px; }
.contact-line .ci svg { width: 18px; height: 18px; }
.card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: .97rem; }
.card .more { display: inline-block; margin-top: 16px; font-weight: 600; font-size: .93rem; }

/* ---------- Feature / case-study rows ---------- */
.case {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
  padding: 40px 0;
}
.case.flip { grid-template-columns: .9fr 1.1fr; }
.case.flip .case-body { order: 2; }
.case.flip .case-visual { order: 1; }
.case h3 { font-family: var(--font-display); font-size: 1.65rem; font-weight: 700; }
.case .tagline { color: var(--amber); font-weight: 600; font-size: .95rem; margin: 6px 0 14px; }
.case p { color: var(--ink-2); }
.case ul { margin: 18px 0 0; padding-left: 0; list-style: none; }
.case ul li {
  padding: 7px 0 7px 28px; color: var(--ink-2); position: relative; font-size: .97rem;
}
.case ul li::before {
  content: "→"; position: absolute; left: 0; color: var(--teal); font-weight: 700;
}
.case .case-cta { margin-top: 24px; }
.case-visual {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px; min-height: 260px;
  display: flex; flex-direction: column; justify-content: center;
}

/* ---------- Case-study SVG art ---------- */
.case-art { width: 100%; max-width: 300px; height: auto; margin: 0 auto 4px; display: block; }

/* ---------- Nav dropdowns ---------- */
.nav-links .has-sub { position: relative; }
.nav-links .sub {
  position: absolute; top: 100%; left: -14px; margin-top: 14px;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 12px; padding: 8px; list-style: none;
  min-width: 210px; display: none; flex-direction: column; gap: 2px;
  box-shadow: 0 14px 40px rgba(0,0,0,.45);
}
.nav-links .has-sub:hover .sub, .nav-links .has-sub:focus-within .sub { display: flex; }
.nav-links .sub a {
  display: block; padding: 9px 12px; border-radius: 8px;
  font-size: .9rem; color: var(--ink-2); white-space: nowrap;
}
.nav-links .sub a:hover { background: rgba(45,212,191,.09); color: var(--ink); }
.nav-links .sub a::after { display: none; }
/* v13 hover bridge: spans the 14px gap between the nav item and its dropdown so
   the pointer never leaves :hover on the way down. */
.nav-links .has-sub::after {
  content: ""; position: absolute; top: 100%; left: -14px; right: -14px; height: 20px;
}
@media (max-width: 640px) {
  /* on mobile the bridge would sit on top of the first sub-link and eat taps */
  .nav-links .has-sub::after { display: none; }
}
.caret { display: inline-block; margin-left: 5px; font-size: .62em; opacity: .65; vertical-align: middle; }

/* ---------- Badges / pills ---------- */
.pill {
  display: inline-block; font-size: .78rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; margin-right: 8px; margin-bottom: 8px;
  background: rgba(45, 212, 191, .1); color: var(--teal);
  border: 1px solid rgba(45, 212, 191, .25);
}
.pill.warm { background: rgba(245, 165, 36, .1); color: var(--amber); border-color: rgba(245, 165, 36, .3); }
.pill.neutral { background: transparent; color: var(--ink-3); border-color: var(--line); }

/* ---------- Stat tiles ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.stat {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 28px;
}
.stat .num {
  font-family: var(--font-display); font-size: 2.1rem; font-weight: 800;
  letter-spacing: -.02em;
}
.stat .lbl { color: var(--ink-3); font-size: .88rem; margin-top: 4px; }

/* ---------- Chart ---------- */
.chart-wrap { width: 100%; }
.chart-title { font-size: .92rem; font-weight: 600; color: var(--ink-2); margin-bottom: 14px; }
.chart-svg { width: 100%; height: auto; }
.chart-svg .bar { fill: var(--teal-deep); rx: 4; transition: fill .15s ease; cursor: default; }
.chart-svg .bar:hover { fill: var(--teal); }
.chart-svg .axis-lbl { fill: #6b7686; font-size: 11px; font-family: Inter, sans-serif; }
.chart-svg .val-lbl { fill: #aab3c2; font-size: 11.5px; font-weight: 600; font-family: Inter, sans-serif; }
.chart-note { color: var(--ink-3); font-size: .82rem; margin-top: 12px; }
.chart-tip {
  position: fixed; z-index: 90; pointer-events: none; display: none;
  background: #1d2430; border: 1px solid #34405a; border-radius: 8px;
  padding: 8px 12px; font-size: .85rem; color: var(--ink);
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}

/* ---------- Testimonials ---------- */
.quote-card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px;
}
.quote-card .mark { color: var(--amber); font-size: 2rem; font-family: var(--font-display); line-height: 1; }
.quote-card p { color: var(--ink-2); font-style: italic; margin-top: 10px; }
.quote-card .who { margin-top: 18px; color: var(--ink-3); font-size: .9rem; font-style: normal; }
.coming-soon {
  border: 1px dashed var(--line); border-radius: var(--radius-lg);
  padding: 46px 30px; text-align: center; color: var(--ink-3);
}

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px;
}
.step .n {
  font-family: var(--font-display); font-weight: 800; font-size: 1.6rem;
  color: var(--amber);
}
.step h4 { font-family: var(--font-display); margin: 10px 0 8px; font-size: 1.05rem; }
.step p { color: var(--ink-2); font-size: .92rem; }

/* ---------- CTA band ---------- */
.cta-band {
  margin: 40px 0 90px;
  background: linear-gradient(120deg, rgba(245,165,36,.12), rgba(45,212,191,.10));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 56px 48px; text-align: center;
}
.cta-band h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
.cta-band p { color: var(--ink-2); margin: 14px auto 28px; max-width: 520px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.form label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink-2); margin: 18px 0 7px; }
.form input, .form textarea, .form select {
  width: 100%; background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 10px; padding: 13px 15px; color: var(--ink);
  font-family: var(--font-body); font-size: .97rem;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none; border-color: var(--teal);
}
.form button { margin-top: 24px; border: 0; cursor: pointer; font-family: var(--font-body); }
.contact-line { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.contact-line .ci {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center; background: rgba(245,165,36,.12); color: var(--amber);
}
.contact-line h4 { font-family: var(--font-display); font-size: 1rem; }
.contact-line p, .contact-line a { font-size: .93rem; color: var(--ink-2); }
.contact-line a:hover { color: var(--teal); }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line); padding: 44px 0 54px;
  color: var(--ink-3); font-size: .9rem;
}
.foot-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; }
.foot-links { display: flex; gap: 22px; list-style: none; }
.foot-links a { color: var(--ink-3); }
.foot-links a:hover { color: var(--ink); }

/* ---------- Spiffy upgrades ---------- */
/* gradient square grid across the whole page (injected by main.js) */
.grid-bg {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: linear-gradient(135deg, var(--teal), var(--amber));
  opacity: .07;   /* EDIT: grid visibility */
  -webkit-mask-image:
    linear-gradient(to bottom, #000 1.5px, transparent 1.5px),
    linear-gradient(to right, #000 1.5px, transparent 1.5px);
  -webkit-mask-size: 54px 54px;
  mask-image:
    linear-gradient(to bottom, #000 1.5px, transparent 1.5px),
    linear-gradient(to right, #000 1.5px, transparent 1.5px);
  mask-size: 54px 54px;
}
.hero .wrap { position: relative; z-index: 1; }

/* live-data badge with pulsing dot */
.live-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 600; color: var(--teal);
  background: rgba(45,212,191,.08); border: 1px solid rgba(45,212,191,.25);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.live-badge .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--teal);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(45,212,191,.5); }
  50% { box-shadow: 0 0 0 7px rgba(45,212,191,0); }
}

/* gradient top-edge accent on hover cards */
.card { position: relative; overflow: hidden; }
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--amber));
  opacity: 0; transition: opacity .25s ease;
}
.card:hover::before { opacity: 1; }
.card:hover { box-shadow: 0 12px 40px rgba(0,0,0,.35); }

/* animated underline on nav links */
.nav-links a:not(.btn-nav) { position: relative; }
.nav-links a:not(.btn-nav):not(.active)::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 2px; width: 0;
  background: var(--amber); transition: width .22s ease;
}
.nav-links a:not(.btn-nav):hover::after { width: 100%; }

/* signal bars (Remwake scoring weights) */
.signal-row { margin-bottom: 18px; }
.signal-row .sig-head {
  display: flex; justify-content: space-between; font-size: .9rem;
  margin-bottom: 7px;
}
.signal-row .sig-name { color: var(--ink-2); font-weight: 600; }
.signal-row .sig-val { color: var(--ink); font-weight: 700; font-family: var(--font-display); }
.signal-row .sig-track {
  height: 10px; border-radius: 5px; background: #1a212c; overflow: hidden;
}
.signal-row .sig-fill {
  height: 100%; border-radius: 5px; background: var(--teal-deep);
  width: 0; transition: width 1s cubic-bezier(.22,.9,.35,1);
}
.in .sig-fill, .sig-fill.go { /* filled when revealed */ }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.22,.9,.35,1), transform .7s cubic-bezier(.22,.9,.35,1); }
.reveal.in { opacity: 1; transform: none; }
/* directional + scale variants */
.reveal-l { opacity: 0; transform: translateX(-34px); transition: opacity .7s cubic-bezier(.22,.9,.35,1), transform .7s cubic-bezier(.22,.9,.35,1); }
.reveal-r { opacity: 0; transform: translateX(34px);  transition: opacity .7s cubic-bezier(.22,.9,.35,1), transform .7s cubic-bezier(.22,.9,.35,1); }
.reveal-s { opacity: 0; transform: scale(.94);        transition: opacity .7s cubic-bezier(.22,.9,.35,1), transform .7s cubic-bezier(.22,.9,.35,1); }
.reveal-l.in, .reveal-r.in, .reveal-s.in { opacity: 1; transform: none; }
/* children of a .stagger parent cascade in one after another (delay set in JS) */

/* ---------- Matrix money rain (canvas injected by main.js) ---------- */
.money-rain {
  position: absolute; inset: 0; pointer-events: none;
  opacity: .22;   /* EDIT: rain visibility (0 = invisible, 1 = full Matrix) */
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 100;
  background: linear-gradient(90deg, var(--teal), var(--amber));
}

/* ---------- Hero entrance ---------- */
@keyframes riseIn { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
.hero .live-badge, .hero .kicker, .hero h1, .hero .lede, .hero .cta-row {
  animation: riseIn .8s cubic-bezier(.22,.9,.35,1) backwards;
}
.hero .kicker { animation-delay: .08s; }
.hero h1 { animation-delay: .16s; }
.hero .lede { animation-delay: .28s; }
.hero .cta-row { animation-delay: .4s; }

/* ---------- League marquee ticker ---------- */
.marquee {
  overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 16px 0; background: var(--bg-raise);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; gap: 56px; width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  letter-spacing: .18em; color: var(--ink-3); white-space: nowrap;
}
.marquee-track span b { color: var(--teal); font-weight: 700; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reduced motion: calm everything down ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-l, .reveal-r, .reveal-s { opacity: 1; transform: none; transition: none; }
  .hero .live-badge, .hero .kicker, .hero h1, .hero .lede, .hero .cta-row { animation: none; }
  .marquee-track { animation: none; }
  .live-badge .dot { animation: none; }
  .glow { transform: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .stats, .steps { grid-template-columns: 1fr 1fr; }
  .case, .case.flip { grid-template-columns: 1fr; gap: 28px; }
  .case.flip .case-body { order: 1; }
  .case.flip .case-visual { order: 2; }
  .contact-grid { grid-template-columns: 1fr; }
}
/* v21: the old 640px block moved into the v21 responsive section at the bottom. */

/* ============================================================
   v11 — PREMIUM LAYER
   Everything below is the "cool elements" pass. All of it is
   EDIT-safe: tweak the numbers marked EDIT, or delete a whole
   block to remove that effect. Every motion effect is disabled
   automatically for visitors with reduced-motion turned on.
   ============================================================ */

/* ---------- 1. Film grain (sits over everything) ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none;
  opacity: .16;                 /* EDIT: grain strength */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  animation: grainShift 8s steps(6) infinite;
  will-change: transform;
}
@keyframes grainShift {
  0%,100% { transform: translate(0,0) }
  20% { transform: translate(-2%, 1%) }
  40% { transform: translate(1%, -2%) }
  60% { transform: translate(-1%, -1%) }
  80% { transform: translate(2%, 1%) }
}

/* ---------- 2. Aurora: slow drifting colour blobs ---------- */
.aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora i {
  position: absolute; display: block; border-radius: 50%;
  filter: blur(90px); opacity: .16;     /* EDIT: aurora intensity */
  will-change: transform;
}
.aurora i:nth-child(1) { width: 46vw; height: 46vw; background: var(--teal);  top: -12vw; left: -8vw;  animation: drift1 26s ease-in-out infinite; }
.aurora i:nth-child(2) { width: 40vw; height: 40vw; background: var(--amber); top: 18vh;  right: -10vw; animation: drift2 32s ease-in-out infinite; }
.aurora i:nth-child(3) { width: 34vw; height: 34vw; background: #6366f1;      bottom: -8vw; left: 28vw; animation: drift3 38s ease-in-out infinite; opacity: .1; }
@keyframes drift1 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(8vw,6vh) scale(1.15)} }
@keyframes drift2 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-7vw,10vh) scale(.9)} }
@keyframes drift3 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(6vw,-8vh) scale(1.2)} }

/* v12: custom cursor removed on purpose. Do not reintroduce. */

/* ---------- 4. Card tilt + cursor spotlight ---------- */
.card, .bento > *:not(.b-full), .stat, .step, .case-visual {
  transform: perspective(1000px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(var(--ty,0));
  transform-style: preserve-3d;
  transition: transform .35s cubic-bezier(.22,.9,.35,1), border-color .25s, box-shadow .35s;
}
.card.tilting, .bento > *:not(.b-full).tilting, .stat.tilting, .step.tilting, .case-visual.tilting { transition: transform .06s linear, border-color .25s, box-shadow .35s; }
.card:hover, .bento > *:not(.b-full):hover, .step:hover { --ty: -4px; }
.card::after, .bento > *:not(.b-full)::after, .stat::after, .step::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(340px circle at var(--mx,50%) var(--my,50%), rgba(45,212,191,.14), transparent 62%);
  opacity: 0; transition: opacity .3s ease;
}
.card:hover::after, .bento > *:not(.b-full):hover::after, .stat:hover::after, .step:hover::after { opacity: 1; }
/* the Live-from-Cap.Space wrapper stays flat; its .stat boxes carry the effect */
.bento > .b-full { transform: none !important; }
.bento > .b-full::after { display: none; }
.stat { position: relative; overflow: hidden; }
.card.warm-spot::after, .bento > .warm-spot::after {
  background: radial-gradient(340px circle at var(--mx,50%) var(--my,50%), rgba(245,165,36,.15), transparent 62%);
}
.step { position: relative; overflow: hidden; }

/* ---------- 5. Rotating gradient border (featured surfaces) ---------- */
@property --spin { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.glow-edge { position: relative; }
.glow-edge::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.4px;
  background: conic-gradient(from var(--spin), transparent 52%, var(--teal) 74%, var(--amber) 88%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: spinEdge 7s linear infinite;   /* EDIT: border rotation speed */
  pointer-events: none; z-index: 2;
}
@keyframes spinEdge { to { --spin: 360deg; } }

/* ---------- 6. Shimmer on gradient text ---------- */
.hero h1 .warm {
  background: linear-gradient(100deg, var(--amber) 20%, #ff8e5e 42%, #ffe6b0 50%, #ff8e5e 58%, var(--amber) 80%);
  background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: shimmer 7s ease-in-out infinite;   /* EDIT: shimmer speed */
}
@keyframes shimmer { 0%,100% { background-position: 130% 0 } 50% { background-position: -30% 0 } }

/* ---------- 7. Kinetic hero type (words rise behind a mask) ---------- */
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; }
.hero h1 .wi {
  display: inline-block; transform: translateY(105%);
  animation: wordUp .9s cubic-bezier(.19,1,.22,1) forwards;
  animation-delay: calc(var(--i) * 55ms + .15s);   /* EDIT: word stagger */
}
@keyframes wordUp { to { transform: none } }

/* ---------- 8. Animated rule beside section numbers ---------- */
.sec-num { display: flex; align-items: center; gap: 14px; }
.sec-num::after {
  content: ""; height: 1px; width: 0;
  background: linear-gradient(90deg, var(--teal), transparent);
  transition: width 1s cubic-bezier(.22,.9,.35,1) .15s;
}
.sec-head.in .sec-num::after { width: 140px; }

/* ---------- 9. Bento grid ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.bento > * {
  position: relative; overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 22px; padding: 30px;
}
.bento > *:hover { border-color: #34405a; box-shadow: 0 16px 44px rgba(0,0,0,.4); }
.b-lg   { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
.b-wide { grid-column: span 2; }
.b-full { grid-column: 1 / -1; }
.bento h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; }
.bento .b-eyebrow {
  font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 14px;
}
.bento p { color: var(--ink-2); font-size: .96rem; }
.bento .more { display: inline-block; margin-top: 16px; font-weight: 600; font-size: .92rem; }
.b-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 22px; }
.b-links a {
  font-size: .86rem; font-weight: 600; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink-2); transition: all .2s;
}
.b-links a:hover { border-color: var(--teal); color: var(--teal); background: rgba(45,212,191,.07); }

/* ---------- 10. Page transition wipe ---------- */
.wipe {
  position: fixed; inset: 0; z-index: 120; pointer-events: none;
  background: linear-gradient(120deg, var(--bg) 40%, #16202b);
  transform: translateY(100%);
}
.wipe.out { animation: wipeIn .5s cubic-bezier(.76,0,.24,1) forwards; }
.wipe.in  { animation: wipeOut .6s cubic-bezier(.76,0,.24,1) forwards; }
@keyframes wipeIn  { to { transform: translateY(0) } }
@keyframes wipeOut { from { transform: translateY(0) } to { transform: translateY(-100%) } }

/* keep content above the fixed background layers */
/* v13 ROOT CAUSE: .nav must NOT be in this rule. It has equal specificity to the
   base .nav rule but comes later, so it silently reset sticky -> relative and
   z-index 50 -> 1, letting later sections paint over the dropdowns. */
.hero, .section, footer, .marquee { position: relative; z-index: 1; }
.nav { z-index: 70; }              /* above .spy (60) */
.nav-links .sub { z-index: 5; }

/* ---------- Reduced motion: strip the motion, keep the style ---------- */
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .aurora i { animation: none; }
  .card, .bento > *, .stat, .step, .case-visual { transform: none !important; transition: none; }
  .stock-bars { display: none; }
  .hero h1 .hl::before { animation: none; transform: scaleX(1); }
  .glow-edge::before { animation: none; }
  .hero h1 .warm { animation: none; }
  .hero h1 .wi { transform: none; animation: none; }
  .sec-num::after { transition: none; width: 140px; }
  .wipe { display: none; }
}


/* ---------- v14: .stage backdrop panel behind the bento grid ---------- */
.stage {
  position: relative;
  border-radius: 30px;
  padding: 34px;
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(45, 212, 191, .07), transparent 60%),
    radial-gradient(110% 90% at 88% 100%, rgba(245, 165, 36, .06), transparent 62%),
    var(--bg-raise);
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .45);
}
.stage::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .55;   /* EDIT: dot-field strength */
}
.stage > * { position: relative; }
@media (max-width: 900px) { .stage { padding: 20px; border-radius: 22px; } }

/* ---------- v15: plain section (no raised background) ---------- */
.section.plain { background: var(--bg); }

/* ---------- v15: teal highlighter swipe on hero words ---------- */
.hero h1 .hl { position: relative; display: inline-block; }
.hero h1 .hl::before {
  content: ""; position: absolute; z-index: -1;
  left: -.07em; right: -.07em; bottom: .15em; height: .42em;
  background: linear-gradient(90deg, rgba(45, 212, 191, .5), rgba(45, 212, 191, .18));
  border-radius: .1em;
  transform: scaleX(0); transform-origin: left center;
  animation: hlSwipe .68s cubic-bezier(.22, .9, .35, 1) .62s forwards;   /* EDIT: swipe timing */
}
.hero h1 .hl + .hl::before, .hero h1 .hl ~ .hl::before { animation-delay: .82s; }
@keyframes hlSwipe { to { transform: scaleX(1); } }

/* ---------- v16-v19: hero ticker line (canvas injected by main.js) ---------- */
.stock-bars {
  position: absolute; inset: 0; pointer-events: none;
  opacity: .55;   /* EDIT: ticker line visibility */
  -webkit-mask-image: linear-gradient(180deg, transparent 8%, #000 40%);
  mask-image: linear-gradient(180deg, transparent 8%, #000 40%);
}

/* ============================================================
   v21 — PORTFOLIO LAYOUT + RESPONSIVE PASS (Sep 2026)
   Layout only. Colours, type, and every motion effect above are
   unchanged. Sections: nav (desktop + mobile panel), hero facts,
   the .work project grid, service cards, meta strips on project
   pages, table styling, and the responsive rules at the bottom.
   ============================================================ */

/* ---------- Nav: brand wordmark (v23) + dropdown polish ---------- */
.brand-wordmark { height: 24px; width: auto; display: block; overflow: visible; }
@media (max-width: 420px) { .brand-wordmark { height: 19px; } }
.brand-mark { width: 30px; height: 30px; display: block; flex-shrink: 0; }
.brand-mark svg { width: 100%; height: 100%; display: block; overflow: visible; }
.nav-links .has-sub > a { display: inline-flex; align-items: center; }
.nav-links .sub .sub-head {
  font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-3); padding: 8px 12px 4px;
}
.nav-links .sub a small { display: block; color: var(--ink-3); font-weight: 400; font-size: .78rem; margin-top: 1px; }
.nav-links .sub a:hover small { color: var(--ink-2); }
.nav-toggle {
  width: 44px; height: 44px; border-radius: 10px; display: none;
  align-items: center; justify-content: center; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--ink);
  border-radius: 2px; position: absolute; left: 11px; transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { left: 0; top: -7px; }
.nav-toggle span::after  { left: 0; top: 7px; }
.nav.open .nav-toggle span { background: transparent; }
.nav.open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span::after  { transform: translateY(-7px) rotate(-45deg); }

/* active item inside a dropdown: tint, not the underline used on top-level links */
.nav-links .sub a.active { border-bottom: 0; padding-bottom: 9px; background: rgba(45,212,191,.09); color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .hero-facts, .meta { animation: none; } }

/* ---------- Hero: facts row ---------- */
.hero-facts {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px;
  margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line);
  color: var(--ink-3); font-size: .9rem;
  animation: riseIn .8s cubic-bezier(.22,.9,.35,1) .5s backwards;
}
.hero-facts b { font-family: var(--font-display); font-weight: 800; color: var(--ink); font-size: 1.05rem; margin-right: 4px; }
.hero .lede { max-width: 640px; }

/* ---------- Project meta strip (project pages, under the hero CTAs) ---------- */
.meta {
  display: flex; flex-wrap: wrap; gap: 14px 40px;
  margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line);
  animation: riseIn .8s cubic-bezier(.22,.9,.35,1) .5s backwards;
}
.meta div { min-width: 120px; }
.meta dt { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.meta dd { margin: 4px 0 0; font-size: .95rem; color: var(--ink); font-weight: 500; }
.meta dd a { color: var(--teal); }
.meta dd a:hover { color: var(--amber-soft); }

/* ---------- The work grid (home) ---------- */
.work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 22px;
  color: var(--ink); transition: border-color .25s, box-shadow .35s;
}
.work-card:hover { color: var(--ink); border-color: #34405a; box-shadow: 0 16px 44px rgba(0,0,0,.4); }
.work-feat { grid-column: 1 / -1; display: grid; grid-template-columns: .9fr 1.1fr; }
.work-art {
  padding: 28px; display: grid; place-items: center; min-height: 190px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(120% 100% at 20% 0%, rgba(45,212,191,.10), transparent 60%), var(--bg-raise);
}
.work-art.art-amber { background: radial-gradient(120% 100% at 80% 0%, rgba(245,165,36,.10), transparent 60%), var(--bg-raise); }
.work-art svg { width: 100%; max-width: 250px; height: auto; transition: transform .5s cubic-bezier(.22,.9,.35,1); }
.work-card:hover .work-art svg { transform: translateY(-4px) scale(1.03); }
.work-feat .work-art { border-bottom: 0; border-right: 1px solid var(--line); min-height: 100%; }
.work-feat .work-art svg { max-width: 360px; }
.work-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.work-body h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; margin-top: 12px; }
.work-feat .work-body h3 { font-size: 1.8rem; letter-spacing: -.01em; }
.work-body .work-tag { color: var(--amber); font-weight: 600; font-size: .95rem; margin: 4px 0 10px; }
.work-body p { color: var(--ink-2); font-size: .96rem; }
.work-body .more { display: inline-block; margin-top: auto; padding-top: 18px; font-weight: 600; font-size: .92rem; color: var(--teal); }
.work-card:hover .more { color: var(--amber-soft); }
.pills { display: flex; flex-wrap: wrap; gap: 0; }
.pills .pill { margin-bottom: 0; }
.work-stats { margin-top: 22px; gap: 12px; }
.work-stats .stat { padding: 16px 18px; border-radius: 12px; }
.work-stats .stat .num { font-size: 1.5rem; }
.work-stats .stat .lbl { font-size: .8rem; }
.num-teal { color: var(--teal); }
.num-amber { color: var(--amber); }

/* work cards get the same spotlight as .card, but as <a> */
.work-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,50%), rgba(45,212,191,.12), transparent 62%);
  opacity: 0; transition: opacity .3s ease;
}
.work-card:hover::after { opacity: 1; }

/* ---------- Service cards as links ---------- */
.card.svc { color: var(--ink); display: flex; flex-direction: column; }
.card.svc:hover { color: var(--ink); }
.card.svc .more { margin-top: auto; padding-top: 16px; color: var(--teal); }
.card.svc:hover .more { color: var(--amber-soft); }

/* ---------- Stats: explicit column classes (no inline styles) ---------- */
.stats-4 { grid-template-columns: repeat(4, 1fr); }
.stats-3 { grid-template-columns: repeat(3, 1fr); }
.stats.tight { margin-bottom: 26px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.center { text-align: center; }

/* ---------- Data table (cap-space) ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -8px; padding: 0 8px; }
.data-table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
.data-table th { color: var(--ink-3); text-align: left; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; padding: 10px 12px; font-weight: 600; }
.data-table td { padding: 12px; border-top: 1px solid var(--line); white-space: nowrap; }
.data-table td.dim { color: var(--ink-2); }
.data-table td.up { color: var(--teal); font-weight: 700; }

/* ---------- CTA band extras ---------- */
.cta-alt { margin-top: 16px; color: var(--ink-3); font-size: .9rem; }

/* ---------- Case visual captions (were inline styles) ---------- */
.art-title { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; margin-top: 12px; }
.art-sub { color: var(--ink-3); font-size: .9rem; margin-top: 6px; }
.case-visual.flat { min-height: 0; }

/* ============================================================
   RESPONSIVE (v21). Breakpoints: 1024 / 900 / 760 / 640 / 420.
   ============================================================ */
@media (max-width: 1024px) {
  .work-feat .work-art svg { max-width: 300px; }
}
@media (max-width: 900px) {
  .work { grid-template-columns: 1fr 1fr; }
  .work-feat { grid-template-columns: 1fr; }
  .work-feat .work-art { border-right: 0; border-bottom: 1px solid var(--line); min-height: 200px; }
  .stats-4 { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .b-lg { grid-row: auto; }
  .section { padding: 68px 0; }
}
@media (max-width: 760px) {
  /* mobile nav: full-width panel under the bar, dropdowns become inline groups */
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    max-height: calc(100vh - 68px); overflow-y: auto;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px 20px;
  }
  .nav.open .nav-links { display: flex; }
  /* Chromium renders an absolutely positioned child of a backdrop-filtered parent
     semi-transparently; drop the filter while the panel is open */
  .nav.open { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .nav-links { background: var(--bg); backdrop-filter: none; }
  .nav-links > li { border-bottom: 1px solid var(--line); }
  .nav-links > li:last-child { border-bottom: 0; padding-top: 16px; }
  .nav-links > li > a { display: block; padding: 14px 4px; font-size: 1.05rem; color: var(--ink); }
  .nav-links a.active { border-bottom: 0; padding-bottom: 14px; }
  .nav-links a:not(.btn-nav)::after { display: none; }
  .nav-links .has-sub::after { display: none; }
  .nav-links .sub {
    position: static; display: flex; margin: 0 0 8px; box-shadow: none;
    background: transparent; border: 0; padding: 0 0 0 4px; min-width: 0; gap: 0;
  }
  .nav-links .sub .sub-head { display: none; }
  .nav-links .sub a { padding: 9px 10px; font-size: .95rem; white-space: normal; }
  .nav-links .sub a small { display: none; }
  .btn-nav { display: block; text-align: center; padding: 13px 18px; }
  .caret { display: none; }
  .hero { padding: 40px 0 52px; }
  .hero h1 { font-size: clamp(2.05rem, 8.6vw, 3rem); }
  .hero .lede { font-size: 1.05rem; margin-top: 20px; }
  .hero .cta-row { margin-top: 28px; }
  .hero .cta-row .btn { flex: 1 1 auto; text-align: center; }
  .marquee { padding: 12px 0; }
  .marquee-track span { font-size: .82rem; }
  .sec-head { margin-bottom: 30px; }
  .sec-head.in .sec-num::after { width: 80px; }
  .grid-3, .grid-2, .steps, .work { grid-template-columns: 1fr; }
  .grid { gap: 16px; }
  .card { padding: 24px; }
  .stage { padding: 14px; border-radius: 18px; }
  .work-body { padding: 22px 22px 24px; }
  .work-feat .work-body h3 { font-size: 1.5rem; }
  .work-art { min-height: 150px; padding: 22px; }
  .bento { grid-template-columns: 1fr; }
  .b-lg, .b-wide { grid-column: auto; }
  .bento > * { padding: 24px; }
  .stats, .stats-3, .stats-4 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 18px 18px; }
  .stat .num { font-size: 1.7rem; }
  .case-visual { padding: 22px; }
  .case h3 { font-size: 1.4rem; }
  .cta-band { padding: 40px 22px; margin: 20px 0 50px; }
  footer { padding: 34px 0 40px; }
  .foot-inner { flex-direction: column; align-items: flex-start; }
  .foot-links { flex-wrap: wrap; gap: 12px 18px; }
  /* effects: lighter on phones */
  .money-rain { display: none; }
  .grain { opacity: .1; }
  .aurora i { filter: blur(60px); }
}
@media (max-width: 420px) {
  .wrap { padding: 0 18px; }
  .hero h1 { font-size: clamp(1.9rem, 9.4vw, 2.4rem); letter-spacing: -.025em; }
  .hero-facts { gap: 8px 18px; }
  .meta { gap: 12px 24px; }
  .work-stats { grid-template-columns: 1fr 1fr; }
  .work-stats .stat .num { font-size: 1.3rem; }
  .btn { padding: 12px 20px; font-size: .93rem; }
}
/* touch devices: no tilt transforms, no magnetic pull (JS also gates on hover:hover) */
@media (hover: none) {
  .card, .bento > *, .stat, .step, .case-visual { transform: none !important; }
}

/* ============================================================
   v22 — BRAND BLEND LAYER
   Each company subpage sets  <body data-brand="…" data-blend="25|50|75">.
   data-brand picks the kit (colours, display font, shapes).
   data-blend picks how far the page leans toward that brand:
     25 = JF page with the brand's accent, logo and one signature visual
     50 = + brand display type, brand-coloured alt sections and buttons
     75 = + brand background, palette everywhere, JF effects dimmed
   Kits were captured from the live sites; see claude/brand-kits.md.
   ============================================================ */

.stats-2 { grid-template-columns: 1fr 1fr; }
.stats-2 .stat .lbl { font-size: .82rem; }

/* ---------- kits ---------- */
body[data-brand="capspace"], .work-card[data-brand="capspace"] {
  --b-accent: #3B9DFF; --b-accent-2: #2F7BE0; --b-accent-ink: #061225;
  --b-pos: #34D399; --b-neg: #F8657A;
  --b-bg: #080B12; --b-bg-2: #0C1119; --b-card: #111826; --b-line: #1C2534;
  --b-ink: #EAF0F8; --b-muted: #8A97AC;
  --b-alt-bg: #0C1119; --b-alt-ink: #EAF0F8; --b-alt-muted: #8A97AC; --b-alt-card: #111826; --b-alt-line: #1C2534;
  --b-display: "Inter", "Segoe UI", sans-serif; --b-display-weight: 800; --b-display-tt: none; --b-display-ls: -.025em;
  --b-radius: 14px; --b-btn-radius: 10px;
}
body[data-brand="tfc"], .work-card[data-brand="tfc"] {
  --b-accent: #C8A44D; --b-accent-2: #E3C97B; --b-accent-ink: #101D36;
  --b-pos: #34D399; --b-neg: #F8657A;
  --b-bg: #101D36; --b-bg-2: #1B2C4D; --b-card: #16264A; --b-line: #263A61;
  --b-ink: #F5F3EE; --b-muted: #A9B0BC;
  --b-alt-bg: #F5F3EE; --b-alt-ink: #1A2233; --b-alt-muted: #5A6478; --b-alt-card: #FFFFFF; --b-alt-line: #E2E6ED;
  --b-display: "Sora", "Segoe UI", sans-serif; --b-display-weight: 800; --b-display-tt: none; --b-display-ls: -.02em;
  --b-radius: 14px; --b-btn-radius: 8px;
}
body[data-brand="remwake"], .work-card[data-brand="remwake"] {
  --b-accent: #FF8A5C; --b-accent-2: #FFD27A; --b-accent-ink: #1A0E08;
  --b-pos: #FFD27A; --b-neg: #FF8A5C;
  --b-bg: #0A1128; --b-bg-2: #0E1633; --b-card: #1B2A4A; --b-line: #243659;
  --b-ink: #F5F2EC; --b-muted: #A9B1C4;
  --b-alt-bg: #0E1633; --b-alt-ink: #F5F2EC; --b-alt-muted: #A9B1C4; --b-alt-card: #1B2A4A; --b-alt-line: #243659;
  --b-display: "Poppins", "Segoe UI", sans-serif; --b-display-weight: 600; --b-display-tt: none; --b-display-ls: -.015em;
  --b-radius: 18px; --b-btn-radius: 999px;
}
body[data-brand="belleza"], .work-card[data-brand="belleza"] {
  --b-accent: #0C8BCE; --b-accent-2: #F5A524; --b-accent-ink: #FFFFFF;
  --b-pos: #0C8BCE; --b-neg: #C4713B;
  --b-bg: #FBF7F0; --b-bg-2: #FBE8D2; --b-card: #FFFFFF; --b-line: #EADFCF;
  --b-ink: #201616; --b-muted: #6B5F5A;
  --b-alt-bg: #FBE8D2; --b-alt-ink: #201616; --b-alt-muted: #6B5F5A; --b-alt-card: #FFFFFF; --b-alt-line: #EADFCF;
  --b-display: "Libre Baskerville", Georgia, serif; --b-display-weight: 400; --b-display-tt: none; --b-display-ls: 0;
  --b-radius: 4px; --b-btn-radius: 2px;
}
body[data-brand="plexon"], .work-card[data-brand="plexon"] {
  --b-accent: #38E1FF; --b-accent-2: #C6F24B; --b-accent-ink: #070A12;
  --b-pos: #2FBF71; --b-neg: #E23D42; --b-warn: #FFB44D;
  --b-bg: #070A12; --b-bg-2: #0D1220; --b-card: #151C2E; --b-line: #1F2940;
  --b-ink: #FBF9F5; --b-muted: #8894AC;
  --b-alt-bg: #F4F1EA; --b-alt-ink: #0D1220; --b-alt-muted: #55617D; --b-alt-card: #FBF9F5; --b-alt-line: #E8E4DB;
  --b-display: "Barlow Condensed", Impact, "Arial Narrow", sans-serif; --b-display-weight: 700; --b-display-tt: uppercase; --b-display-ls: .01em;
  --b-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --b-radius: 14px; --b-btn-radius: 10px;
}

/* ============================================================
   LEVEL 25 — accent, logo, signature visual
   ============================================================ */
/* the brand accent takes over the places the site uses amber/teal for emphasis */
body[data-brand] .hero .kicker { color: var(--b-accent); }
body[data-brand] .hero h1 .warm {
  background: linear-gradient(100deg, var(--b-accent) 20%, var(--b-accent-2) 50%, var(--b-accent) 80%);
  background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
body[data-brand] .hero h1 .hl::before { background: linear-gradient(90deg, color-mix(in srgb, var(--b-accent) 50%, transparent), color-mix(in srgb, var(--b-accent) 18%, transparent)); }
body[data-brand] .live-badge { color: var(--b-accent); border-color: color-mix(in srgb, var(--b-accent) 30%, transparent); background: color-mix(in srgb, var(--b-accent) 8%, transparent); }
body[data-brand] .live-badge .dot { background: var(--b-accent); animation: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--b-accent) 25%, transparent); }
body[data-brand] .btn-primary { background: var(--b-accent); color: var(--b-accent-ink); }
body[data-brand] .btn-primary:hover { background: var(--b-accent-2); color: var(--b-accent-ink); }
body[data-brand] .btn-ghost:hover { border-color: var(--b-accent); color: var(--b-accent); }
body[data-brand] .pill { color: var(--b-accent); background: color-mix(in srgb, var(--b-accent) 10%, transparent); border-color: color-mix(in srgb, var(--b-accent) 30%, transparent); }
body[data-brand] .pill.warm { color: var(--b-accent-2); background: color-mix(in srgb, var(--b-accent-2) 10%, transparent); border-color: color-mix(in srgb, var(--b-accent-2) 30%, transparent); }
body[data-brand] .meta dt { color: var(--b-accent); opacity: .85; }
body[data-brand] .meta dd a { color: var(--b-accent); }
body[data-brand] .sec-num::after { background: linear-gradient(90deg, var(--b-accent), transparent); }
body[data-brand] .case .tagline { color: var(--b-accent); }
body[data-brand] .case ul li::before { color: var(--b-accent); }
body[data-brand] .card .icon { background: color-mix(in srgb, var(--b-accent) 12%, transparent); color: var(--b-accent); }
body[data-brand] .card .icon.warm { background: color-mix(in srgb, var(--b-accent-2) 13%, transparent); color: var(--b-accent-2); }
body[data-brand] .step .n { color: var(--b-accent); }
body[data-brand] .num-teal { color: var(--b-accent); }
body[data-brand] .num-amber { color: var(--b-accent-2); }
body[data-brand] .sig-fill { background: var(--b-accent); }
body[data-brand] .chart-svg .bar { fill: var(--b-accent); }
body[data-brand] .data-table td.up { color: var(--b-pos); }
body[data-brand] .card::before { background: linear-gradient(90deg, var(--b-accent), var(--b-accent-2)); }
body[data-brand] .card::after, body[data-brand] .stat::after, body[data-brand] .step::after {
  background: radial-gradient(340px circle at var(--mx,50%) var(--my,50%), color-mix(in srgb, var(--b-accent) 14%, transparent), transparent 62%);
}
body[data-brand] .glow-amber { background: var(--b-accent-2); }
body[data-brand] .glow-teal { background: var(--b-accent); }
body[data-brand] .cta-band { background: linear-gradient(120deg, color-mix(in srgb, var(--b-accent) 12%, transparent), color-mix(in srgb, var(--b-accent-2) 10%, transparent)); }
body[data-brand] .glow-edge::before { background: conic-gradient(from var(--spin), transparent 52%, var(--b-accent) 74%, var(--b-accent-2) 88%, transparent 100%); }
body[data-brand] .marquee-track span b { color: var(--b-accent); }
body[data-brand] a:hover { color: var(--b-accent-2); }
body[data-brand] .scroll-progress { background: linear-gradient(90deg, var(--b-accent), var(--b-accent-2)); }

/* hero becomes two columns: copy | brand visual */
.hero.has-visual .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero.has-visual .hero-copy { min-width: 0; }
.hero.has-visual h1 { font-size: clamp(2.1rem, 3.6vw, 3.3rem); }
.hero.has-visual .lede { max-width: 560px; }
.brand-visual {
  position: relative; min-width: 0;
  animation: riseIn .9s cubic-bezier(.22,.9,.35,1) .35s backwards;
}
@media (prefers-reduced-motion: reduce) { .brand-visual { animation: none; } }
@media (max-width: 900px) {
  .hero.has-visual .wrap { grid-template-columns: 1fr; gap: 34px; }
  .hero.has-visual h1 { font-size: clamp(2.05rem, 6vw, 3rem); }
}

/* brand logo lockup shown in the hero kicker */
.brand-lockup { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.brand-lockup .kicker { margin-bottom: 0; }
.brand-lockup .bl-mark { height: 22px; width: auto; display: block; }
.brand-lockup .bl-mark.tall { height: 28px; }

/* ---------- signature visual cards (shared chrome) ---------- */
.bv-card {
  background: var(--b-card); border: 1px solid var(--b-line); border-radius: var(--b-radius);
  color: var(--b-ink); box-shadow: 0 30px 70px rgba(0,0,0,.45); overflow: hidden;
}
.bv-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--b-line); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--b-muted); }
.bv-head .dots { display: flex; gap: 5px; }
.bv-head .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--b-line); display: block; }
.bv-body { padding: 16px; }
.bv-title { font-family: var(--b-display); font-weight: var(--b-display-weight); text-transform: var(--b-display-tt); letter-spacing: var(--b-display-ls); font-size: 1rem; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: baseline; }
.bv-title small { font-family: var(--font-body); font-weight: 600; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--b-accent); }
.bv-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--b-line); border-radius: calc(var(--b-radius) - 4px); background: color-mix(in srgb, var(--b-bg) 55%, transparent); margin-bottom: 8px; }
.bv-row:last-child { margin-bottom: 0; }
.bv-av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .72rem; flex-shrink: 0; color: var(--b-accent-ink); background: var(--b-accent); }
.bv-row .bv-name { font-weight: 600; font-size: .92rem; line-height: 1.2; }
.bv-row .bv-sub { font-size: .7rem; color: var(--b-muted); letter-spacing: .08em; text-transform: uppercase; margin-top: 2px; }
.bv-row .bv-tag { margin-left: auto; font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.bv-tag.ok { background: color-mix(in srgb, var(--b-pos) 18%, transparent); color: var(--b-pos); }
.bv-tag.warn { background: color-mix(in srgb, #FFB44D 18%, transparent); color: #FFB44D; }
.bv-tag.bad { background: color-mix(in srgb, var(--b-neg) 18%, transparent); color: var(--b-neg); }
.bv-note { margin-top: 12px; padding: 12px 14px; border-radius: calc(var(--b-radius) - 4px); border: 1px solid color-mix(in srgb, var(--b-accent) 30%, transparent); background: color-mix(in srgb, var(--b-accent) 8%, transparent); font-size: .84rem; color: var(--b-ink); }
.bv-note b { color: var(--b-accent); }
.bv-mono, body[data-brand="plexon"] .bv-head, body[data-brand="plexon"] .bv-row .bv-sub, body[data-brand="plexon"] .bv-title small { font-family: var(--b-mono, var(--font-body)); }
/* two-column figure rows (cap table, leak table) */
.bv-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.bv-table td { padding: 9px 6px; border-top: 1px solid var(--b-line); }
.bv-table tr:first-child td { border-top: 0; }
.bv-table td:last-child { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.bv-table .pos { color: var(--b-pos); } .bv-table .neg { color: var(--b-neg); }
.bv-table .tm { display: inline-flex; align-items: center; gap: 8px; }
.bv-table .tm i { width: 22px; height: 22px; border-radius: 50%; background: var(--b-line); display: inline-grid; place-items: center; font-size: .6rem; font-weight: 700; color: var(--b-muted); font-style: normal; }
.bv-table .lbl { color: var(--b-muted); font-size: .8rem; }
.bv-foot { padding: 10px 16px; border-top: 1px solid var(--b-line); font-size: .74rem; color: var(--b-muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.bv-foot b { color: var(--b-accent); font-weight: 600; }
/* stat tiles inside a visual */
.bv-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.bv-stats div { background: color-mix(in srgb, var(--b-bg) 55%, transparent); border: 1px solid var(--b-line); border-radius: calc(var(--b-radius) - 4px); padding: 10px 12px; }
.bv-stats b { display: block; font-family: var(--b-display); font-weight: var(--b-display-weight); font-size: 1.35rem; letter-spacing: var(--b-display-ls); }
.bv-stats span { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--b-muted); }

/* RemWake: night sky + morning report */
.bv-sky { position: relative; border-radius: var(--b-radius); overflow: hidden; border: 1px solid var(--b-line);
  background: radial-gradient(120% 80% at 50% 120%, rgba(255,138,92,.38), rgba(255,210,122,.12) 40%, transparent 70%), linear-gradient(180deg, #0A1128 0%, #0E1633 60%, #1B2A4A 100%);
  box-shadow: 0 30px 70px rgba(0,0,0,.45); }
.bv-sky .stars { position: absolute; inset: 0; background-image:
  radial-gradient(1.2px 1.2px at 12% 18%, #fff 60%, transparent), radial-gradient(1px 1px at 30% 40%, #fff 60%, transparent),
  radial-gradient(1.4px 1.4px at 52% 12%, #fff 60%, transparent), radial-gradient(1px 1px at 70% 30%, #fff 60%, transparent),
  radial-gradient(1.2px 1.2px at 86% 16%, #fff 60%, transparent), radial-gradient(1px 1px at 22% 62%, #fff 60%, transparent),
  radial-gradient(1px 1px at 44% 55%, #fff 60%, transparent), radial-gradient(1.3px 1.3px at 64% 66%, #fff 60%, transparent),
  radial-gradient(1px 1px at 92% 52%, #fff 60%, transparent), radial-gradient(1px 1px at 8% 80%, #fff 60%, transparent);
  opacity: .8; }
.bv-sky .report { position: relative; margin: 44px 22px 22px; background: rgba(14,22,51,.78); backdrop-filter: blur(8px); border: 1px solid #243659; border-radius: 18px; padding: 18px 20px; }
.bv-sky .report .eyebrow { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: #A9B1C4; }
.bv-sky .report .time { font-family: var(--b-display); font-weight: 600; font-size: 3rem; line-height: 1; margin: 6px 0 4px;
  background: linear-gradient(90deg, #FF8A5C, #FFD27A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bv-sky .report .crest { font-weight: 600; color: #F5F2EC; }
.bv-sky .report p { font-size: .84rem; color: #A9B1C4; margin-top: 8px; }
.bv-sky .wave { display: block; width: 100%; height: auto; margin-top: 12px; }
.bv-sky .window { position: relative; margin: 0 22px 22px; display: flex; justify-content: space-between; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #A9B1C4; }
.bv-sky .window b { color: #FFD27A; }

/* Belleza: golden-hour product card */
.bv-glow { position: relative; border-radius: var(--b-radius); overflow: hidden; border: 1px solid #F0D9BF;
  background: linear-gradient(180deg, #FFF3E2 0%, #FBE1C4 45%, #F6C79A 75%, #EFA97A 100%); color: #201616;
  box-shadow: 0 30px 70px rgba(80,40,10,.25); min-height: 320px; display: flex; flex-direction: column; justify-content: space-between; }
.bv-glow .sun { position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -60px; top: -70px;
  background: radial-gradient(circle, #FFE8B0 0%, #FFC978 45%, rgba(255,201,120,0) 72%); }
.bv-glow .script { position: relative; font-family: var(--b-display); font-style: italic; font-size: 2.3rem; color: #0C8BCE; padding: 26px 26px 0; }
.bv-glow .tag { position: relative; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: #0C8BCE; padding: 4px 26px 0; font-style: italic; font-weight: 600; }
.bv-glow .product { position: relative; margin: 22px 22px 22px; background: rgba(255,255,255,.82); border: 1px solid #F0D9BF; border-radius: 6px; padding: 14px 16px; display: flex; align-items: center; gap: 14px; }
.bv-glow .bottle { width: 34px; height: 76px; border-radius: 8px 8px 10px 10px; background: linear-gradient(180deg, #FFFDF9, #F4E6D6); border: 1px solid #E7D3BC; position: relative; flex-shrink: 0; }
.bv-glow .bottle::before { content: ""; position: absolute; left: 9px; right: 9px; top: -12px; height: 14px; border-radius: 3px; background: linear-gradient(180deg, #E3C97B, #C8A44D); }
.bv-glow .bottle::after { content: "Belleza"; position: absolute; left: 0; right: 0; top: 30px; text-align: center; font-family: var(--b-display); font-style: italic; font-size: .5rem; color: #0C8BCE; }
.bv-glow .product b { display: block; font-family: var(--b-display); font-weight: 400; font-size: 1rem; color: #201616; }
.bv-glow .product span { font-size: .8rem; color: #6B5F5A; }
.bv-glow .product .price { margin-left: auto; font-weight: 600; color: #201616; }
.bv-glow .btns { position: relative; display: flex; gap: 10px; padding: 0 22px 22px; }
.bv-glow .btns span { font-size: .8rem; padding: 9px 16px; border: 1px solid #201616; border-radius: 2px; color: #201616; background: rgba(255,255,255,.6); }
.bv-glow .btns span:first-child { background: #fff; }

/* TFC: navy diagnostic card with gold rule */
body[data-brand="tfc"] .bv-card { background: #16264A; }
body[data-brand="tfc"] .bv-title::before { content: ""; display: block; }
.bv-rule { width: 46px; height: 2px; background: var(--b-accent); margin: 0 0 12px; }
.bv-eyebrow { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--b-accent); font-weight: 700; margin-bottom: 6px; }

/* ============================================================
   LEVEL 50 — brand display type + brand alt sections + brand buttons
   ============================================================ */
body[data-blend="50"] .hero h1, body[data-blend="75"] .hero h1,
body[data-blend="50"] .sec-head h2, body[data-blend="75"] .sec-head h2,
body[data-blend="50"] .case h3, body[data-blend="75"] .case h3,
body[data-blend="50"] .cta-band h2, body[data-blend="75"] .cta-band h2 {
  font-family: var(--b-display); font-weight: var(--b-display-weight);
  text-transform: var(--b-display-tt); letter-spacing: var(--b-display-ls);
}
body[data-blend="50"][data-brand="plexon"] .hero h1, body[data-blend="75"][data-brand="plexon"] .hero h1 { font-size: clamp(2.6rem, 4.6vw, 4.2rem); line-height: .96; }
body[data-blend="50"][data-brand="plexon"] .sec-head h2, body[data-blend="75"][data-brand="plexon"] .sec-head h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); line-height: 1; }
body[data-blend="50"][data-brand="belleza"] .hero h1, body[data-blend="75"][data-brand="belleza"] .hero h1 { font-size: clamp(2rem, 3.3vw, 3rem); line-height: 1.12; }
body[data-blend="50"][data-brand="belleza"] .hero h1 .warm, body[data-blend="75"][data-brand="belleza"] .hero h1 .warm { font-style: italic; }
body[data-blend="50"] .hero .kicker, body[data-blend="75"] .hero .kicker,
body[data-blend="50"] .sec-num, body[data-blend="75"] .sec-num,
body[data-blend="50"] .meta dt, body[data-blend="75"] .meta dt { font-family: var(--b-mono, var(--font-display)); }
body[data-blend="50"] .btn, body[data-blend="75"] .btn, body[data-blend="50"] .btn-nav, body[data-blend="75"] .btn-nav { border-radius: var(--b-btn-radius); }
body[data-blend="50"][data-brand="plexon"] .btn-primary, body[data-blend="75"][data-brand="plexon"] .btn-primary { background: var(--b-accent-2); box-shadow: 0 0 0 1px color-mix(in srgb, var(--b-accent-2) 40%, transparent), 0 8px 24px color-mix(in srgb, var(--b-accent-2) 22%, transparent); }
body[data-blend="50"][data-brand="plexon"] .btn-ghost, body[data-blend="75"][data-brand="plexon"] .btn-ghost { border-color: color-mix(in srgb, var(--b-accent) 45%, transparent); color: var(--b-accent); }
body[data-blend="50"][data-brand="remwake"] .btn-primary, body[data-blend="75"][data-brand="remwake"] .btn-primary { background: linear-gradient(90deg, #FF8A5C, #FFD27A); }
body[data-blend="50"][data-brand="belleza"] .btn-primary, body[data-blend="75"][data-brand="belleza"] .btn-primary { background: #fff; color: #201616; border: 1px solid #201616; }
body[data-blend="50"][data-brand="belleza"] .btn-ghost, body[data-blend="75"][data-brand="belleza"] .btn-ghost { border-color: #201616; color: #201616; }
body[data-blend="50"][data-brand="tfc"] .hero .kicker::after, body[data-blend="75"][data-brand="tfc"] .hero .kicker::after { content: ""; display: block; width: 46px; height: 2px; background: var(--b-accent); margin-top: 10px; }

/* alt sections take the brand's secondary surface (light for TFC / Plexon / Belleza) */
body[data-blend="50"] .section.alt, body[data-blend="75"] .section.alt {
  background: var(--b-alt-bg); color: var(--b-alt-ink); border-color: var(--b-alt-line);
}
body[data-blend="50"] .section.alt .sec-head p, body[data-blend="75"] .section.alt .sec-head p,
body[data-blend="50"] .section.alt .card p, body[data-blend="75"] .section.alt .card p,
body[data-blend="50"] .section.alt .case p, body[data-blend="75"] .section.alt .case p,
body[data-blend="50"] .section.alt .case ul li, body[data-blend="75"] .section.alt .case ul li,
body[data-blend="50"] .section.alt .step p, body[data-blend="75"] .section.alt .step p,
body[data-blend="50"] .section.alt .stat .lbl, body[data-blend="75"] .section.alt .stat .lbl,
body[data-blend="50"] .section.alt .chart-note, body[data-blend="75"] .section.alt .chart-note,
body[data-blend="50"] .section.alt .signal-row .sig-name, body[data-blend="75"] .section.alt .signal-row .sig-name { color: var(--b-alt-muted); }
body[data-blend="50"] .section.alt .sec-num, body[data-blend="75"] .section.alt .sec-num { color: var(--b-accent); }
body[data-blend="50"] .section.alt .card, body[data-blend="75"] .section.alt .card,
body[data-blend="50"] .section.alt .step, body[data-blend="75"] .section.alt .step,
body[data-blend="50"] .section.alt .stat, body[data-blend="75"] .section.alt .stat,
body[data-blend="50"] .section.alt .case-visual, body[data-blend="75"] .section.alt .case-visual,
body[data-blend="50"] .section.alt .quote-card, body[data-blend="75"] .section.alt .quote-card {
  background: var(--b-alt-card); border-color: var(--b-alt-line); color: var(--b-alt-ink);
}
body[data-blend="50"] .section.alt .card:hover, body[data-blend="75"] .section.alt .card:hover { border-color: var(--b-accent); }
body[data-blend="50"] .section.alt .card h3, body[data-blend="75"] .section.alt .card h3,
body[data-blend="50"] .section.alt .step h4, body[data-blend="75"] .section.alt .step h4,
body[data-blend="50"] .section.alt .stat .num, body[data-blend="75"] .section.alt .stat .num,
body[data-blend="50"] .section.alt .sec-head h2, body[data-blend="75"] .section.alt .sec-head h2,
body[data-blend="50"] .section.alt .case h3, body[data-blend="75"] .section.alt .case h3,
body[data-blend="50"] .section.alt .art-title, body[data-blend="75"] .section.alt .art-title,
body[data-blend="50"] .section.alt .plain-list li, body[data-blend="75"] .section.alt .plain-list li,
body[data-blend="50"] .section.alt .card.svc .more, body[data-blend="75"] .section.alt .card.svc .more { color: var(--b-alt-ink); }
body[data-blend="50"] .section.alt .card.svc .more, body[data-blend="75"] .section.alt .card.svc .more { color: var(--b-accent); }
body[data-blend="50"][data-brand="plexon"] .section.alt .card.svc .more, body[data-blend="75"][data-brand="plexon"] .section.alt .card.svc .more { color: #0A7286; }
body[data-blend="50"][data-brand="plexon"] .section.alt .sec-num, body[data-blend="75"][data-brand="plexon"] .section.alt .sec-num { color: #0A7286; }
body[data-blend="50"] .section.alt .stat .num.num-teal, body[data-blend="75"] .section.alt .stat .num.num-teal { color: var(--b-accent); }
body[data-blend="50"][data-brand="plexon"] .section.alt .num-teal, body[data-blend="75"][data-brand="plexon"] .section.alt .num-teal { color: #0A7286; }
body[data-blend="50"] .section.alt .card .icon, body[data-blend="75"] .section.alt .card .icon { background: color-mix(in srgb, var(--b-accent) 14%, transparent); }
body[data-blend="50"] .section.alt .signal-row .sig-val, body[data-blend="75"] .section.alt .signal-row .sig-val,
body[data-blend="50"] .section.alt .chart-title, body[data-blend="75"] .section.alt .chart-title { color: var(--b-alt-ink); }
body[data-blend="50"] .section.alt .sig-track, body[data-blend="75"] .section.alt .sig-track { background: var(--b-alt-line); }
body[data-blend="50"] .section.alt .chart-svg .axis-lbl, body[data-blend="75"] .section.alt .chart-svg .axis-lbl,
body[data-blend="50"] .section.alt .chart-svg .val-lbl, body[data-blend="75"] .section.alt .chart-svg .val-lbl { fill: var(--b-alt-muted); }
body[data-blend="50"] .section.alt .data-table td, body[data-blend="75"] .section.alt .data-table td { border-color: var(--b-alt-line); }
body[data-blend="50"] .section.alt .data-table td.dim, body[data-blend="75"] .section.alt .data-table td.dim { color: var(--b-alt-muted); }
/* light-surface pages: the TFC diagnostic table + dashboard card need dark ink */
body[data-blend="50"] .section.alt .card::after, body[data-blend="75"] .section.alt .card::after { background: radial-gradient(340px circle at var(--mx,50%) var(--my,50%), color-mix(in srgb, var(--b-accent) 10%, transparent), transparent 62%); }

/* ============================================================
   LEVEL 75 — the brand's own canvas; JF keeps nav, footer, structure
   ============================================================ */
body[data-blend="75"] { background: var(--b-bg); color: var(--b-ink); }
body[data-blend="75"] .section.plain, body[data-blend="75"] .section:not(.alt) { background: var(--b-bg); }
body[data-blend="75"] .hero { background: linear-gradient(180deg, var(--b-bg-2), var(--b-bg)); }
body[data-blend="75"] .card, body[data-blend="75"] .step, body[data-blend="75"] .stat, body[data-blend="75"] .case-visual, body[data-blend="75"] .quote-card, body[data-blend="75"] .coming-soon { background: var(--b-card); border-color: var(--b-line); }
body[data-blend="75"] .card p, body[data-blend="75"] .step p, body[data-blend="75"] .case p, body[data-blend="75"] .case ul li, body[data-blend="75"] .stat .lbl, body[data-blend="75"] .sec-head p, body[data-blend="75"] .hero .lede, body[data-blend="75"] .chart-note, body[data-blend="75"] .cta-band p, body[data-blend="75"] .meta dd, body[data-blend="75"] .sig-name { color: var(--b-muted); }
body[data-blend="75"] .meta dd, body[data-blend="75"] .card h3, body[data-blend="75"] .step h4, body[data-blend="75"] .stat .num, body[data-blend="75"] .sig-val, body[data-blend="75"] .chart-title { color: var(--b-ink); }
body[data-blend="75"] .meta, body[data-blend="75"] .hero-facts { border-color: var(--b-line); }
body[data-blend="75"] .sec-num { color: var(--b-muted); }
body[data-blend="75"] .marquee { background: var(--b-bg-2); border-color: var(--b-line); }
body[data-blend="75"] .marquee-track span { color: var(--b-muted); }
body[data-blend="75"] .cta-band { border-color: var(--b-line); }
body[data-blend="75"] .nav { background: color-mix(in srgb, var(--b-bg) 85%, transparent); border-color: var(--b-line); }
body[data-blend="75"] .nav.open { background: var(--b-bg); }
body[data-blend="75"] .nav-links { background: var(--b-bg); }
body[data-blend="75"] .btn-nav { background: var(--b-accent); color: var(--b-accent-ink) !important; }
body[data-blend="75"] .btn-nav:hover { background: var(--b-accent-2); }
body[data-blend="75"] .nav-links a.active { border-color: var(--b-accent); }
body[data-blend="75"] .nav-links a:not(.btn-nav):not(.active)::after { background: var(--b-accent); }
body[data-blend="75"] .nav-links .sub { background: var(--b-card); border-color: var(--b-line); }
body[data-blend="75"] footer { border-color: var(--b-line); color: var(--b-muted); }
body[data-blend="75"] .foot-links a { color: var(--b-muted); }
body[data-blend="75"] .grid-bg { opacity: .04; background: linear-gradient(135deg, var(--b-accent), var(--b-accent-2)); }
body[data-blend="75"] .grain { opacity: .07; }
body[data-blend="75"] .aurora i:nth-child(1) { background: var(--b-accent); opacity: .1; }
body[data-blend="75"] .aurora i:nth-child(2) { background: var(--b-accent-2); opacity: .1; }
body[data-blend="75"] .aurora i:nth-child(3) { display: none; }
body[data-blend="75"] .money-rain, body[data-blend="75"] .stock-bars { display: none; }
body[data-blend="75"][data-brand="capspace"] .stock-bars { display: block; }
body[data-blend="75"] .wipe { background: var(--b-bg); }
body[data-blend="75"] .btn-ghost { border-color: var(--b-line); color: var(--b-ink); }
body[data-blend="75"] .form input, body[data-blend="75"] .form textarea, body[data-blend="75"] .form select { background: var(--b-card); border-color: var(--b-line); color: var(--b-ink); }
/* light-canvas brands (Belleza) need the dark text everywhere at 75 */
body[data-blend="75"][data-brand="belleza"] { --ink: #201616; --ink-2: #6B5F5A; --ink-3: #8A7E78; --line: #EADFCF; --bg-card: #FFFFFF; --bg-raise: #FBE8D2; --bg: #FBF7F0; }
body[data-blend="75"][data-brand="belleza"] .nav { background: rgba(251,247,240,.88); }
body[data-blend="75"][data-brand="belleza"] .brand { color: #201616; }
body[data-blend="75"][data-brand="belleza"] .nav-links a { color: #6B5F5A; }
body[data-blend="75"][data-brand="belleza"] .nav-links a:hover, body[data-blend="75"][data-brand="belleza"] .nav-links a.active { color: #201616; }
body[data-blend="75"][data-brand="belleza"] .hero h1, body[data-blend="75"][data-brand="belleza"] .sec-head h2, body[data-blend="75"][data-brand="belleza"] .case h3, body[data-blend="75"][data-brand="belleza"] .cta-band h2 { color: #0C8BCE; }
body[data-blend="75"][data-brand="belleza"] .hero h1 .warm { -webkit-text-fill-color: #201616; color: #201616; background: none; }
body[data-blend="75"][data-brand="belleza"] .hero h1 .hl::before { background: rgba(251,232,210,.9); }
body[data-blend="75"][data-brand="belleza"] .grain, body[data-blend="75"][data-brand="belleza"] .aurora, body[data-blend="75"][data-brand="belleza"] .grid-bg { display: none; }
body[data-blend="75"][data-brand="belleza"] .glow { opacity: .35; }
body[data-blend="75"][data-brand="belleza"] .cta-band { background: linear-gradient(120deg, #FBE8D2, #FFF3E2); }
body[data-blend="75"][data-brand="belleza"] .marquee { background: #FBE8D2; }
body[data-blend="75"][data-brand="belleza"] .card, body[data-blend="75"][data-brand="belleza"] .step, body[data-blend="75"][data-brand="belleza"] .stat, body[data-blend="75"][data-brand="belleza"] .case-visual { box-shadow: 0 10px 30px rgba(120,80,40,.08); }
body[data-blend="75"][data-brand="belleza"] .card:hover { box-shadow: 0 16px 40px rgba(120,80,40,.14); }
body[data-blend="75"][data-brand="belleza"] .wipe { background: #FBF7F0; }
/* TFC at 75: marble sections between navy, the way tfcsolutions.biz alternates */
body[data-blend="75"][data-brand="tfc"] .section:not(.alt):not(.plain) { background: var(--b-bg); }
body[data-blend="75"][data-brand="tfc"] .cta-band { background: linear-gradient(120deg, rgba(200,164,77,.16), rgba(200,164,77,.05)); border-color: rgba(200,164,77,.35); }
/* Plexon at 75: mono labels everywhere, condensed uppercase headings, bone sections */
body[data-blend="75"][data-brand="plexon"] .pill, body[data-blend="75"][data-brand="plexon"] .sec-num, body[data-blend="75"][data-brand="plexon"] .hero-facts, body[data-blend="75"][data-brand="plexon"] .marquee-track span { font-family: var(--b-mono); letter-spacing: .14em; }
body[data-blend="75"][data-brand="plexon"] .card h3, body[data-blend="75"][data-brand="plexon"] .step h4, body[data-blend="75"][data-brand="plexon"] .work-body h3 { font-family: var(--b-display); text-transform: uppercase; letter-spacing: .02em; font-size: 1.35rem; }
/* RemWake at 75: starfield on the hero */
body[data-blend="75"][data-brand="remwake"] .hero { background:
  radial-gradient(1.2px 1.2px at 12% 18%, #fff 60%, transparent), radial-gradient(1px 1px at 30% 40%, #fff 60%, transparent),
  radial-gradient(1.4px 1.4px at 52% 12%, #fff 60%, transparent), radial-gradient(1px 1px at 70% 30%, #fff 60%, transparent),
  radial-gradient(1.2px 1.2px at 86% 16%, #fff 60%, transparent), radial-gradient(1px 1px at 22% 62%, #fff 60%, transparent),
  radial-gradient(1px 1px at 44% 75%, #fff 60%, transparent), radial-gradient(1.3px 1.3px at 64% 66%, #fff 60%, transparent),
  radial-gradient(1px 1px at 92% 52%, #fff 60%, transparent), radial-gradient(1px 1px at 8% 88%, #fff 60%, transparent),
  radial-gradient(120% 60% at 50% 115%, rgba(255,138,92,.28), transparent 70%), linear-gradient(180deg, #0A1128, #0E1633); }
body[data-blend="75"][data-brand="remwake"] .glow { display: none; }
/* Cap.Space at 75: blue link colour, tighter Inter headings */
body[data-blend="75"][data-brand="capspace"] a:not(.btn):not(.btn-nav):not(.nav-links a) { color: var(--b-accent); }
body[data-blend="75"][data-brand="capspace"] .hero h1 { letter-spacing: -.03em; }

@media (max-width: 760px) {
  .bv-stats { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .bv-stats b { font-size: 1.1rem; }
  .bv-sky .report .time { font-size: 2.4rem; }
  .bv-glow { min-height: 0; }
}

/* v22 extras */
.plain-list { list-style: none; padding: 0; margin: 12px 0 0; }
.plain-list li { padding: 7px 0 7px 26px; position: relative; color: var(--ink-2); font-size: .95rem; }
.plain-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
body[data-brand] .plain-list li::before { color: var(--b-accent); }
body[data-blend="75"] .plain-list li { color: var(--b-muted); }
.card .pills { margin-bottom: 8px; }

/* ---------- v22 motion pieces + real logos ---------- */
.brand-canvas { position: absolute; inset: 0; pointer-events: none; }
.hero.has-visual { overflow: hidden; }
/* Cap.Space keeps the JF ticker line and the rain, recoloured to its palette */
body[data-brand="capspace"] { --rain-a: rgba(59,157,255,.78); --rain-b: rgba(52,211,153,.9); --tick-line: rgba(59,157,255,.95); --tick-fill: rgba(59,157,255,.26); --tick-head: #34D399; }
body[data-blend="75"][data-brand="capspace"] .money-rain, body[data-blend="75"][data-brand="capspace"] .stock-bars { display: block; }
body[data-brand="capspace"] .money-rain { opacity: .3; }
body[data-brand="capspace"] .stock-bars { opacity: .6; }
/* the other brands replace them with their own piece */
body[data-brand]:not([data-brand="capspace"]) .money-rain, body[data-brand]:not([data-brand="capspace"]) .stock-bars { display: none; }

/* RemWake: wave canvas sits low in the hero, fades out under the copy */
.rw-wave { opacity: .9; -webkit-mask-image: linear-gradient(180deg, transparent 18%, #000 55%); mask-image: linear-gradient(180deg, transparent 18%, #000 55%); }
body[data-brand="remwake"] .hero { background: radial-gradient(1.2px 1.2px at 12% 18%, #fff 60%, transparent), radial-gradient(1px 1px at 30% 40%, #fff 60%, transparent), radial-gradient(1.4px 1.4px at 52% 12%, #fff 60%, transparent), radial-gradient(1px 1px at 70% 30%, #fff 60%, transparent), radial-gradient(1.2px 1.2px at 86% 16%, #fff 60%, transparent), radial-gradient(1px 1px at 22% 62%, #fff 60%, transparent), radial-gradient(1px 1px at 44% 75%, #fff 60%, transparent), radial-gradient(1.3px 1.3px at 64% 66%, #fff 60%, transparent), radial-gradient(1px 1px at 92% 52%, #fff 60%, transparent), radial-gradient(1px 1px at 8% 88%, #fff 60%, transparent), radial-gradient(120% 60% at 50% 115%, rgba(255,138,92,.28), transparent 70%), linear-gradient(180deg, #0A1128, #0E1633); animation: rwTwinkle 6s ease-in-out infinite; }
@keyframes rwTwinkle { 0%,100% { background-position: 0 0; } 50% { background-position: 0 0, 1px 0, 0 1px, -1px 0, 0 -1px, 1px 1px, 0 0, -1px 1px, 0 0, 1px 0, 0 0, 0 0; } }
body[data-brand="remwake"] .glow { display: none; }

/* TFC: marble under the hero, lightning on top of it */
.tfc-marble { position: absolute; inset: 0; pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='500'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='turbulence' baseFrequency='0.006 0.012' numOctaves='3' seed='11'/%3E%3CfeColorMatrix values='0 0 0 0 0.86  0 0 0 0 0.71  0 0 0 0 0.36  0 0 0 -3.2 1.15'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E") center / cover,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='500'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.003 0.006' numOctaves='5' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0.96  0 0 0 0 0.95  0 0 0 0 0.93  0 0 0 -2.6 1.5'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E") center / cover;
  opacity: .16;   /* EDIT: marble strength at rest */
  transition: opacity .12s ease, filter .12s ease;
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
.hero.flash .tfc-marble { animation: tfcFlash .52s steps(1, end); }
@keyframes tfcFlash { 0% { opacity: .42; filter: brightness(1.5); } 12% { opacity: .2; } 20% { opacity: .36; filter: brightness(1.3); } 45% { opacity: .24; } 100% { opacity: .16; filter: none; } }
.tfc-bolt { mix-blend-mode: screen; }
body[data-brand="tfc"] .glow { opacity: .1; }
body[data-brand="tfc"] .section.alt { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='500'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.003 0.006' numOctaves='5' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0.35  0 0 0 0 0.33  0 0 0 0 0.3  0 0 0 -2.6 1.45'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E"); background-size: cover; background-blend-mode: soft-light; }

/* Belleza: golden-hour sun drifting up behind the copy, slow rays, a shine sweep on the product card */
.bz-sun { position: absolute; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; right: -12vw; top: -20vw; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,232,176,.95) 0%, rgba(255,201,120,.7) 32%, rgba(255,170,110,.25) 55%, rgba(255,170,110,0) 72%);
  animation: bzRise 22s ease-in-out infinite; filter: blur(2px); }
@keyframes bzRise { 0%,100% { transform: translate(0, 0) scale(1); opacity: .85; } 50% { transform: translate(-3vw, 4vw) scale(1.08); opacity: 1; } }
.bz-rays { position: absolute; inset: -40%; pointer-events: none; opacity: .28;
  background: conic-gradient(from 0deg at 78% 22%, rgba(255,214,140,0) 0deg, rgba(255,214,140,.5) 6deg, rgba(255,214,140,0) 12deg, rgba(255,214,140,0) 40deg, rgba(255,214,140,.45) 46deg, rgba(255,214,140,0) 52deg, rgba(255,214,140,0) 100deg, rgba(255,214,140,.4) 106deg, rgba(255,214,140,0) 112deg, rgba(255,214,140,0) 200deg, rgba(255,214,140,.35) 206deg, rgba(255,214,140,0) 212deg, rgba(255,214,140,0) 300deg, rgba(255,214,140,.4) 306deg, rgba(255,214,140,0) 312deg, rgba(255,214,140,0) 360deg);
  animation: bzSpin 90s linear infinite; }
@keyframes bzSpin { to { transform: rotate(360deg); } }
body[data-brand="belleza"] .glow { display: none; }
body[data-brand="belleza"] .hero { background: linear-gradient(180deg, #FFF6E8, #FBF7F0); }
.bv-glow::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: -40%; width: 30%; pointer-events: none; transform: skewX(-18deg);
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.55), rgba(255,255,255,0)); animation: bzShine 7s ease-in-out infinite; }
@keyframes bzShine { 0%, 70% { left: -40%; } 100% { left: 130%; } }

/* Plexon: network canvas, faded under the copy column */
.px-net { opacity: .75; -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.35), #000 55%); mask-image: linear-gradient(90deg, rgba(0,0,0,.35), #000 55%); }
body[data-brand="plexon"] .glow { display: none; }

/* real logos in the hero lockup */
.brand-lockup .bl-mark.real { height: 26px; width: auto; }
.brand-lockup svg[aria-label="TFC"] { height: 24px; }
.brand-lockup .belleza-mark { height: 34px; }
.brand-lockup .plexon-mark { height: 28px; }
.plexon-word { font-family: "Barlow Condensed", Impact, sans-serif; font-weight: 700; font-size: 24px; letter-spacing: 2.4px; text-transform: uppercase; color: #FBF9F5; margin-left: -4px; }
.remwake-word { font-family: "Poppins", sans-serif; font-weight: 500; font-size: 20.8px; line-height: 1; }
.remwake-word .grad { background: linear-gradient(90deg, #FF8A5C 0%, #FFD27A 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.remwake-word .wake { color: #F5F2EC; }
/* the nav brand on the light Belleza page reads better dark */
body[data-brand="belleza"] .brand-lockup .kicker { color: #0C8BCE; }

@media (max-width: 760px) {
  .px-net, .rw-wave { opacity: .5; }
  .bz-sun { width: 90vw; height: 90vw; right: -30vw; top: -30vw; }
  .tfc-marble { opacity: .12; }
}
@media (prefers-reduced-motion: reduce) {
  .bz-sun, .bz-rays, .bv-glow::after, body[data-brand="remwake"] .hero { animation: none; }
  .hero.flash .tfc-marble { animation: none; }
}
/* TFC's long headline needs one notch smaller beside the visual */
body[data-brand="tfc"] .hero.has-visual h1 { font-size: clamp(2rem, 3.05vw, 2.8rem); }
/* wordmark on the light Belleza canvas: silver chrome becomes dark steel so JAMIE stays legible */
body[data-brand="belleza"] .brand-wordmark #wmS stop:nth-child(1) { stop-color: #4A5568; }
body[data-brand="belleza"] .brand-wordmark #wmS stop:nth-child(2) { stop-color: #2B3444; }
body[data-brand="belleza"] .brand-wordmark #wmS stop:nth-child(3) { stop-color: #141A26; }
body[data-brand="belleza"] .brand-wordmark #wmS stop:nth-child(4) { stop-color: #3C4658; }

/* ---------- v24: theJamieFarrell in each brand's own style (nav on brand pages) ---------- */
.brand-wordmark.bw-capspace { height: 26px; }
.brand-wordmark.bw-tfc { height: 24px; }
.bw-remwake { font-family: "Poppins", sans-serif; font-weight: 500; font-size: 21px; line-height: 1; letter-spacing: -.01em; }
.bw-remwake .the { color: #A9B1C4; font-weight: 400; font-size: .72em; margin-right: 2px; }
.bw-remwake .grad { background: linear-gradient(90deg, #FF8A5C 0%, #FFD27A 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bw-remwake .wake { color: #F5F2EC; }
.bw-belleza { font-family: "Damion", "Pacifico", cursive; font-size: 27px; line-height: 1; color: #0C8BCE; position: relative; display: inline-block; padding: 0 4px 9px 0; -webkit-text-stroke: .55px #0C8BCE; letter-spacing: -.01em; }
.bw-belleza .sw { position: absolute; left: 14%; bottom: 0; width: 86%; height: 9px; display: block; }
.bw-belleza .the { font-size: .62em; opacity: .85; margin-right: 2px; -webkit-text-stroke: .3px #0C8BCE; }
.bw-plexon { font-family: "Barlow Condensed", Impact, sans-serif; font-weight: 700; font-size: 24px; letter-spacing: 2.4px; text-transform: uppercase; color: #FBF9F5; line-height: 1; display: inline-flex; align-items: baseline; }
.bw-plexon .the { font-family: "JetBrains Mono", ui-monospace, monospace; font-weight: 600; font-size: .5em; letter-spacing: .18em; color: #38E1FF; margin-right: 8px; align-self: center; }
.bw-plexon .node { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #38E1FF; margin-left: 6px; box-shadow: 0 0 0 3px rgba(56,225,255,.18); align-self: center; }
@media (max-width: 420px) { .bw-remwake, .bw-belleza, .bw-plexon { font-size: 19px; } .brand-wordmark.bw-capspace { height: 22px; } .brand-wordmark.bw-tfc { height: 20px; } }

/* v27: Belleza nav mark is a hand-built brush SVG */
.bw-belleza-img { display: inline-flex; align-items: flex-start; gap: 3px; margin: -9px 0; line-height: 1; }
.bw-belleza-img img { height: 46px; width: auto; display: block; }
.bw-belleza-img .the { font-family: "Kaushan Script", "Pacifico", cursive; font-size: 17px; color: #0C8BCE; margin-top: 1px; transform: rotate(-8deg); }
@media (max-width: 420px) { .bw-belleza-img img { height: 34px; } .bw-belleza-img .the { font-size: 15px; } }

/* ============================================================
   v29: All-projects page (projects.html) + "see all" link on the home work grid
   ============================================================ */
.work-more { text-align: center; margin-top: 28px; }
.plist { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-card); overflow: hidden; }
.plist-row {
  display: grid; grid-template-columns: 1.1fr 2fr .9fr 1.4fr; gap: 16px; align-items: center;
  padding: 16px 22px; border-top: 1px solid var(--line);
  font-size: .95rem; color: var(--ink-2);
}
.plist-row:first-child { border-top: 0; }
.plist-head { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); background: var(--bg-raise); }
.plist-name { font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.plist-status {
  display: inline-block; font-size: .78rem; font-weight: 600; padding: 3px 10px;
  border-radius: 999px; border: 1px solid var(--line); white-space: nowrap;
}
.plist-status.live { color: var(--teal); border-color: rgba(45,212,191,.3); background: rgba(45,212,191,.08); }
.plist-status.soon { color: var(--amber); border-color: rgba(245,165,36,.3); background: rgba(245,165,36,.08); }
.plist-row a { white-space: nowrap; }
@media (max-width: 760px) {
  .plist-head { display: none; }
  .plist-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 18px; }
  .plist-row a { white-space: normal; }
}

/* ============================================================
   v30: brand-true tiles on projects.html — each .work-card carries
   data-brand="…" and inherits that product's kit (colours, display
   font, radius) instead of the JF teal/amber. Clashing is the point.
   ============================================================ */
.work-card.branded {
  background: var(--b-bg); border-color: var(--b-line); color: var(--b-ink);
  border-radius: var(--b-radius, 22px);
}
.work-card.branded:hover { color: var(--b-ink); border-color: color-mix(in srgb, var(--b-accent) 55%, var(--b-line)); box-shadow: 0 16px 44px rgba(0,0,0,.4); }
.work-card.branded::after { background: radial-gradient(420px circle at var(--mx,50%) var(--my,50%), color-mix(in srgb, var(--b-accent) 13%, transparent), transparent 62%); }
.work-card.branded .work-art {
  background: var(--b-bg-2); border-color: var(--b-line);
  display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 16px;
  padding: 20px 20px 22px; min-height: 0;
}
.work-card.branded .work-art .brand-lockup { margin-bottom: 0; }
.work-card.branded .work-art .brand-lockup .kicker { margin-bottom: 0; color: var(--b-muted); }
.work-card.branded .work-art .bv-card, .work-card.branded .work-art .bv-sky, .work-card.branded .work-art .bv-glow { zoom: .8; box-shadow: none; }
.work-card.branded .work-art .bv-sky .report { margin: 26px 16px 16px; }
.work-card.branded .work-art .bv-glow { min-height: 0; }
.work-card:hover .work-art .bv-card, .work-card:hover .work-art .bv-sky, .work-card:hover .work-art .bv-glow { transform: translateY(-3px); transition: transform .5s cubic-bezier(.22,.9,.35,1); }
.work-card.branded .work-body { font-family: var(--b-body, var(--font-body)); }
.work-card.branded .work-body h3 {
  font-family: var(--b-display); font-weight: var(--b-display-weight);
  text-transform: var(--b-display-tt); letter-spacing: var(--b-display-ls); color: var(--b-ink);
}
.work-card.branded .work-body .work-tag { color: var(--b-accent); font-weight: 600; }
.work-card.branded .work-body p { color: var(--b-muted); }
.work-card.branded .pill { color: var(--b-accent); background: color-mix(in srgb, var(--b-accent) 10%, transparent); border-color: color-mix(in srgb, var(--b-accent) 30%, transparent); }
.work-card.branded .pill.warm { color: var(--b-accent-2); background: color-mix(in srgb, var(--b-accent-2) 10%, transparent); border-color: color-mix(in srgb, var(--b-accent-2) 30%, transparent); }
.work-card.branded .pill.neutral { color: var(--b-muted); background: transparent; border-color: var(--b-line); }
/* the tile's link becomes the product's own button */
.work-card.branded .work-cta { margin-top: auto; padding-top: 20px; }
.work-card.branded .work-cta .more {
  display: inline-block; margin: 0; padding: 10px 18px; border-radius: var(--b-btn-radius, 10px);
  background: var(--b-accent); color: var(--b-accent-ink); font-weight: 700; font-size: .9rem;
  font-family: var(--b-body, var(--font-body)); transition: background .2s;
}
.work-card.branded:hover .work-cta .more { background: var(--b-accent-2); color: var(--b-accent-ink); }
.work-card.branded .work-stats .stat { background: var(--b-card); border-color: var(--b-line); }
.work-card.branded .work-stats .lbl { color: var(--b-muted); }
.work-card.branded .num-teal { color: var(--b-accent); }
.work-card.branded .num-amber { color: var(--b-accent-2); }
.work-card.branded.work-feat .work-art { border-right: 1px solid var(--b-line); justify-content: center; }
@media (max-width: 900px) { .work-card.branded.work-feat .work-art { border-right: 0; } }

/* ---------- v30 kits captured from the products' own sites (tiles only) ---------- */
/* Plexon: the demo hub at plexon-deploy / plexon.io (teal glass), not the portfolio re-tokenising */
.work-card[data-brand="plexon"] {
  --b-accent: #4FD1C5; --b-accent-2: #63E2D6; --b-accent-ink: #04211D;
  --b-pos: #5BE49B; --b-neg: #E23D42; --b-warn: #F6C55B;
  --b-bg: #080D14; --b-bg-2: #0E1520; --b-card: #141D2B; --b-line: rgba(255,255,255,.10);
  --b-ink: #E9EFF6; --b-muted: #8CA0B6;
  --b-display: "Barlow Condensed", "Oswald", "Arial Narrow", sans-serif; --b-display-weight: 600; --b-display-tt: uppercase; --b-display-ls: .02em;
  --b-radius: 14px; --b-btn-radius: 9px;
}
.work-card[data-brand="plexon"] .work-art { background: radial-gradient(420px 260px at 12% -8%, rgba(79,209,197,.16), transparent 60%), radial-gradient(360px 240px at 96% 4%, rgba(90,140,255,.12), transparent 62%), var(--b-bg-2); }
/* TFC: the live PHP site (paper, navy, gold, Fraunces) */
.work-card[data-brand="tfc"] {
  --b-accent: #c4842a; --b-accent-2: #14947a; --b-accent-ink: #ffffff;
  --b-pos: #14947a; --b-neg: #b3261e;
  --b-bg: #fbfaf8; --b-bg-2: #f4f1ec; --b-card: #ffffff; --b-line: #e3ded6;
  --b-ink: #0a1a2f; --b-muted: #5c6b7a;
  --b-display: "Fraunces", Georgia, "Times New Roman", serif; --b-display-weight: 600; --b-display-tt: none; --b-display-ls: -.02em;
  --b-radius: 14px; --b-btn-radius: 999px;
}
.work-card[data-brand="tfc"] .work-art { background: radial-gradient(380px 200px at 88% -8%, rgba(224,160,60,.18), transparent 62%), radial-gradient(320px 200px at -6% 106%, rgba(20,148,122,.14), transparent 60%), var(--b-bg-2); }
.work-card[data-brand="tfc"] .work-cta .more { background: #0a1a2f; color: #fff; }
.work-card[data-brand="tfc"]:hover .work-cta .more { background: #1e3a56; color: #fff; }
.work-card[data-brand="tfc"] .work-art .bv-card { box-shadow: 0 2px 4px rgba(10,26,47,.06), 0 18px 48px rgba(10,26,47,.12); }
/* Localroll: off-white paper, film-yellow, Bricolage; the dark film strip is the signature */
.work-card[data-brand="localroll"] {
  --b-accent: #f3c623; --b-accent-2: #ffd84a; --b-accent-ink: #17181a;
  --b-pos: #4f8cff; --b-neg: #c4413b;
  --b-bg: #f7f6f2; --b-bg-2: #1d1e21; --b-card: #ffffff; --b-line: #dcdad1;
  --b-ink: #17181a; --b-muted: #5f605b;
  --b-display: "Bricolage Grotesque", "Arial Narrow", sans-serif; --b-display-weight: 800; --b-display-tt: none; --b-display-ls: -.01em;
  --b-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif; --b-mono: "IBM Plex Mono", Consolas, monospace;
  --b-radius: 4px; --b-btn-radius: 4px;
}
.work-card[data-brand="localroll"] .pill { color: #8a6d00; background: #fbedb4; border-color: #f3c623; }
.work-card[data-brand="localroll"] .pill.warm { color: #17181a; background: #f3c623; border-color: #f3c623; }
.work-card[data-brand="localroll"] .work-body h3 { font-variation-settings: "wdth" 80, "opsz" 96; }
.work-card[data-brand="localroll"] .work-cta .more { border: 1.5px solid #17181a; box-shadow: 3px 3px 0 #17181a; }
.work-card[data-brand="localroll"]:hover .work-cta .more { box-shadow: 1px 1px 0 #17181a; transform: translate(2px,2px); }
/* Estuary: deep navy, teal, glass, Sora */
.work-card[data-brand="estuary"] {
  --b-accent: #31d0c9; --b-accent-2: #5b8def; --b-accent-ink: #ffffff;
  --b-pos: #31d0c9; --b-neg: #ff7a90;
  --b-bg: #0b1224; --b-bg-2: #0e1a34; --b-card: rgba(255,255,255,.045); --b-line: rgba(150,180,255,.14);
  --b-ink: #e9efff; --b-muted: #a6b3d1;
  --b-display: "Sora", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif; --b-display-weight: 700; --b-display-tt: none; --b-display-ls: -.035em;
  --b-body: "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, sans-serif;
  --b-radius: 16px; --b-btn-radius: 13px;
}
.work-card[data-brand="estuary"] .work-cta .more { background: linear-gradient(135deg, #2f6fed, #0f8fb8 118%); color: #fff; box-shadow: 0 12px 34px rgba(47,111,237,.36); }
.work-card[data-brand="estuary"]:hover .work-cta .more { background: linear-gradient(135deg, #3f7ffd, #31d0c9 118%); color: #fff; }
.work-card[data-brand="estuary"] .work-art { background: repeating-linear-gradient(180deg, transparent 0 39px, rgba(150,180,255,.07) 39px 40px), var(--b-bg-2); }
/* Touch Grass: riso flyer, pink + blue misregistered on near-black green, zero radius */
.work-card[data-brand="touchgrass"] {
  --b-accent: #FF6FA2; --b-accent-2: #8CFF1A; --b-accent-ink: #0E1311;
  --b-pos: #5FC98D; --b-neg: #FF4A8D;
  --b-bg: #0E1311; --b-bg-2: #1C2320; --b-card: #161C19; --b-line: #2B342E;
  --b-ink: #E9EDE7; --b-muted: #98A49C;
  --b-display: "Big Shoulders Display", "Big Shoulders", "Arial Narrow", Arial, sans-serif; --b-display-weight: 800; --b-display-tt: uppercase; --b-display-ls: -.02em;
  --b-body: "Archivo", -apple-system, "Segoe UI", Roboto, sans-serif; --b-mono: "DM Mono", ui-monospace, Menlo, Consolas, monospace;
  --b-radius: 0px; --b-btn-radius: 0px;
}
.work-card[data-brand="touchgrass"] { border-width: 2px; border-color: #3D4841; }
.work-card[data-brand="touchgrass"] .work-art { border-bottom: 2px solid #3D4841; }
.work-card[data-brand="touchgrass"] .work-body h3 { font-size: 2.1rem; line-height: .85; text-shadow: .055em .045em 0 #2E88D8; }
.work-card[data-brand="touchgrass"] .pill { border-radius: 0; font-family: var(--b-mono); letter-spacing: .18em; }
.work-card[data-brand="touchgrass"] .work-cta .more { background: var(--b-ink); color: var(--b-bg); border: 2px solid var(--b-ink); }
.work-card[data-brand="touchgrass"]:hover .work-cta .more { background: #FF4A8D; border-color: #FF4A8D; color: #fff; }
/* FilmSage: chalkboard, sage, chalk, penalty gold (docs/brand-filmsage.md) */
.work-card[data-brand="filmsage"] {
  --b-accent: #87A96B; --b-accent-2: #E8B54A; --b-accent-ink: #20241F;
  --b-pos: #87A96B; --b-neg: #D9776A;
  --b-bg: #22352B; --b-bg-2: #1B2B23; --b-card: #2A4034; --b-line: #3A5245;
  --b-ink: #F4F1E6; --b-muted: #B8C4B0;
  --b-display: "Archivo Black", "Arial Black", Impact, sans-serif; --b-display-weight: 400; --b-display-tt: none; --b-display-ls: -.01em;
  --b-mono: "IBM Plex Mono", Consolas, monospace;
  --b-radius: 10px; --b-btn-radius: 8px;
}
.work-card[data-brand="filmsage"] .work-cta .more { background: #5F7A52; color: #F4F1E6; }
.work-card[data-brand="filmsage"]:hover .work-cta .more { background: #E8B54A; color: #20241F; }
.work-card[data-brand="filmsage"] .work-stats .stat .num { font-family: var(--b-mono); font-weight: 600; }
/* Belleza tile sits on its own cream ground; the JF page around it stays dark */
.work-card[data-brand="belleza"] .work-art { background: linear-gradient(180deg, #FFF3E2 0%, #FBE1C4 100%); }

/* ---------- tile-local brand lockups (the marks the products actually use) ---------- */
.tl { display: flex; align-items: center; gap: 10px; min-height: 30px; }
.tl svg, .tl img { display: block; height: 28px; width: auto; flex-shrink: 0; }
.tl .tl-word { font-family: var(--b-display); font-weight: var(--b-display-weight); text-transform: var(--b-display-tt); letter-spacing: var(--b-display-ls); color: var(--b-ink); font-size: 1.15rem; line-height: 1; }
.tl .tl-sub { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--b-muted); font-weight: 600; margin-left: 2px; }
.tl-capspace svg { height: 26px; }
.tl-localroll .mark { width: 28px; height: 28px; border-radius: 6px; background: #f3c623; position: relative; flex-shrink: 0; }
.tl-localroll .mark::before { content: ""; position: absolute; inset: 7px 6px; background: #17181a; border-radius: 3px; }
.tl-localroll .mark::after { content: ""; position: absolute; left: 10px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: #f3c623; }
.tl-localroll .tl-word { font-family: "IBM Plex Sans", "Segoe UI", sans-serif; font-weight: 600; font-size: 18px; letter-spacing: 0; text-transform: none; color: #ecebe4; }
.tl-tfc .mark { width: 40px; height: 40px; border-radius: 10px; background: #0a1a2f; color: #e0a03c; font-family: "Fraunces", Georgia, serif; font-size: 1.05rem; font-weight: 700; letter-spacing: -.03em; display: grid; place-items: center; flex-shrink: 0; }
.tl-tfc .tl-name { font-family: "Fraunces", Georgia, serif; font-size: 1.12rem; font-weight: 600; color: #0a1a2f; line-height: 1.1; }
.tl-tfc .tl-sub { display: block; margin: 2px 0 0; color: #5c6b7a; font-size: .68rem; letter-spacing: .12em; }
.tl-plexon svg { height: 38px; }
.tl-plexon .tl-word { font-size: 25px; letter-spacing: .06em; text-transform: none; font-weight: 600; }
.tl-plexon .tl-sub { display: block; font-family: var(--font-body); font-size: 11.5px; letter-spacing: .14em; margin-top: 3px; }
.tl-estuary svg { height: 30px; border-radius: 9px; box-shadow: 0 3px 12px rgba(11,18,36,.5); }
.tl-estuary .tl-word { font-size: 18px; letter-spacing: -.03em; }
.tl-touchgrass svg { height: 36px; overflow: visible; }
.tl-touchgrass .tl-word { font-size: 27px; line-height: .9; letter-spacing: -.01em; text-shadow: .05em .04em 0 #2E88D8; }
.tl-touchgrass .tl-sub { display: block; font-family: var(--b-mono); font-size: 8.5px; letter-spacing: .2em; color: #A6FF3D; margin-top: 3px; }
.tl-filmsage svg { height: 30px; }
.tl-filmsage .tl-word { font-size: 1.2rem; }
.tl-filmsage .tl-word b { color: #87A96B; font-weight: inherit; }
.tl .remwake-word { font-size: 22px; }
.tl-belleza svg { height: 38px; }
.tl-belleza .tl-sub { font-family: "Kaushan Script", cursive; text-transform: none; letter-spacing: 0; font-size: .95rem; color: #0C8BCE; font-weight: 400; }

/* ---------- Localroll film strip (signature) ---------- */
.lr-strip { position: relative; background: #1d1e21; padding: 14px 0; overflow: hidden; margin: 0 -20px -22px; }
.lr-strip::before, .lr-strip::after { content: ""; position: absolute; left: 0; right: 0; height: 8px; background: repeating-linear-gradient(90deg, transparent 0 10px, #f7f6f2 10px 20px, transparent 20px 26px); opacity: .9; }
.lr-strip::before { top: 3px; } .lr-strip::after { bottom: 3px; }
.lr-frames { display: flex; gap: 8px; padding: 0 14px; width: max-content; animation: lrRun 26s linear infinite; }
.work-card:hover .lr-frames { animation-play-state: paused; }
@keyframes lrRun { to { transform: translateX(-50%); } }
.lr-frame { width: 92px; height: 62px; border-radius: 2px; position: relative; flex-shrink: 0; }
.lr-frame span { position: absolute; left: 4px; bottom: 3px; font-family: "IBM Plex Mono", Consolas, monospace; font-size: 7px; color: rgba(255,255,255,.8); letter-spacing: .02em; }
.lr-frame i { position: absolute; right: 4px; top: 4px; font-style: normal; font-family: "IBM Plex Mono", monospace; font-size: 6.5px; text-transform: uppercase; letter-spacing: .1em; color: #f3c623; }
.lr-frame.g1 { background: linear-gradient(160deg, #3b6f9a, #7cc6e6 60%, #f2d7a1); }
.lr-frame.g2 { background: linear-gradient(200deg, #2f4f2b, #7a9d54 55%, #dbe4a2); }
.lr-frame.g3 { background: linear-gradient(160deg, #6b3a5b, #c76b8c 55%, #f6c1a7); }
.lr-frame.g4 { background: #101216; border: 1px solid #262b38; }
.lr-frame.g5 { background: linear-gradient(140deg, #f2a65a, #e04f5f 60%, #5b2a86); }
.lr-frame.g6 { background: linear-gradient(180deg, #d9d9d9, #8f8f8f); }
@media (prefers-reduced-motion: reduce) { .lr-frames { animation: none; } }

/* ---------- Estuary inbox mock ---------- */
.es-frame { background: rgba(255,255,255,.045); border: 1px solid rgba(150,180,255,.14); border-radius: 14px; overflow: hidden; backdrop-filter: blur(8px); }
.es-bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-bottom: 1px solid rgba(150,180,255,.14); font-size: .7rem; color: #a6b3d1; }
.es-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.18); display: block; }
.es-bar span { margin-left: 6px; font-family: "Sora", sans-serif; font-weight: 600; }
.es-row { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; padding: 8px 12px; border-top: 1px solid rgba(150,180,255,.08); font-size: .78rem; color: #e9efff; }
.es-row:first-of-type { border-top: 0; }
.es-row .acct { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: .6rem; font-weight: 700; color: #fff; }
.es-row .acct.g { background: #ea4335; } .es-row .acct.o { background: #0f6cbd; } .es-row .acct.s { background: #31d0c9; color: #06231f; }
.es-row .who { font-weight: 600; } .es-row .what { display: block; color: #a6b3d1; font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 170px; }
.es-row .when { color: #8391b0; font-size: .68rem; }

/* ---------- Touch Grass lawn + flyer wall ---------- */
.tg-lawn { height: 22px; background: #8CFF1A; clip-path: polygon(0 100%, 0 45%, 2% 15%, 4% 55%, 6% 10%, 8% 60%, 10% 25%, 13% 65%, 15% 5%, 17% 50%, 19% 30%, 21% 70%, 23% 15%, 26% 60%, 28% 25%, 30% 70%, 32% 5%, 34% 45%, 36% 20%, 39% 75%, 41% 20%, 43% 50%, 45% 10%, 47% 60%, 49% 25%, 52% 65%, 54% 5%, 56% 50%, 58% 30%, 60% 70%, 62% 15%, 65% 60%, 67% 25%, 69% 70%, 71% 5%, 73% 45%, 75% 20%, 78% 75%, 80% 20%, 82% 50%, 84% 10%, 86% 60%, 88% 25%, 91% 65%, 93% 5%, 95% 50%, 97% 30%, 100% 65%, 100% 100%); margin-top: -8px; }
.tg-wall { display: flex; gap: 10px; padding: 12px 0 4px; overflow: hidden; }
.tg-flyer { flex: 1 1 0; min-width: 0; background: #161C19; border: 2px solid #3D4841; padding: 8px 8px 9px; transform: rotate(-1.5deg); transition: transform .25s, box-shadow .25s; }
.tg-flyer:nth-child(2) { transform: rotate(1.2deg); }
.tg-flyer:nth-child(3) { transform: rotate(-.8deg); }
.work-card:hover .tg-flyer { transform: none; box-shadow: 3px 3px 0 #FF4A8D; }
.tg-flyer .k { font-family: "DM Mono", monospace; font-size: 7.5px; letter-spacing: .2em; text-transform: uppercase; color: #FF6FA2; }
.tg-flyer .t { font-family: "Big Shoulders Display", "Arial Narrow", sans-serif; font-weight: 800; text-transform: uppercase; font-size: 1.05rem; line-height: .9; color: #E9EDE7; margin: 4px 0 3px; }
.tg-flyer .v { font-family: "Archivo", sans-serif; font-size: .66rem; color: #98A49C; }
.tg-ticker { font-family: "DM Mono", monospace; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: #98A49C; border-top: 2px solid #3D4841; padding-top: 8px; white-space: nowrap; overflow: hidden; }
.tg-ticker b { color: #8CFF1A; font-weight: 500; }

/* ---------- FilmSage chalkboard ---------- */
.fs-board { background: #22352B; border: 1px solid #3A5245; border-radius: 10px; padding: 12px; }
.fs-board svg { display: block; width: 100%; height: auto; }
.fs-read { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.fs-read span { font-family: "IBM Plex Mono", Consolas, monospace; font-size: .64rem; letter-spacing: .06em; padding: 3px 8px; border: 1px solid #3A5245; border-radius: 4px; color: #F4F1E6; background: #1B2B23; }
.fs-read span b { color: #E8B54A; font-weight: 600; }

/* Pagecraft: pagecraft.quest dark studio (navy, lime, Inter + Georgia italics for the emphasis words) */
.work-card[data-brand="pagecraft"] {
  --b-accent: #a8f542; --b-accent-2: #45ddc5; --b-accent-ink: #08111c;
  --b-pos: #83e4a5; --b-neg: #ff7168;
  --b-bg: #07111f; --b-bg-2: #0d1b2d; --b-card: #0e1b2b; --b-line: #26374a;
  --b-ink: #eaf3f0; --b-muted: #8ea2ad;
  --b-display: "Inter", ui-sans-serif, -apple-system, "Segoe UI", sans-serif; --b-display-weight: 800; --b-display-tt: none; --b-display-ls: -.045em;
  --b-body: "Inter", ui-sans-serif, -apple-system, "Segoe UI", sans-serif; --b-mono: ui-monospace, Menlo, Consolas, monospace;
  --b-radius: 16px; --b-btn-radius: 9px;
}
.work-card[data-brand="pagecraft"] .work-art { background: radial-gradient(circle at 14% 24%, rgba(168,245,66,.08), transparent 30%), var(--b-bg-2); }
.work-card[data-brand="pagecraft"] .work-body h3 { font-size: 1.75rem; line-height: 1.02; }
.work-card[data-brand="pagecraft"] .work-body h3 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-style: italic; letter-spacing: -.035em; color: var(--b-accent); }
.work-card[data-brand="pagecraft"] .pill { border-radius: 99px; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.work-card[data-brand="pagecraft"] .work-cta .more { font-size: .8rem; font-weight: 750; letter-spacing: .015em; box-shadow: 0 8px 24px rgba(168,245,66,.13); }
.work-card[data-brand="pagecraft"]:hover .work-cta .more { box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.tl-pagecraft svg { height: 30px; }
.tl-pagecraft .tl-word { font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: 18px; letter-spacing: 0; text-transform: none; }
.tl-pagecraft .tl-sub { margin-left: 6px; padding: 3px 8px; border: 1px solid rgba(168,245,66,.3); border-radius: 99px; background: rgba(168,245,66,.1); color: #a8f542; font-size: 8px; font-weight: 800; letter-spacing: .06em; }
.pc-studio { border: 1px solid #2a4156; border-radius: 12px; overflow: hidden; background: linear-gradient(145deg, rgba(16,34,54,.96), rgba(8,20,34,.96)); box-shadow: 0 18px 44px rgba(0,0,0,.28); transition: transform .5s cubic-bezier(.22,.9,.35,1); }
.work-card:hover .pc-studio { transform: translateY(-3px); }
.pc-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 30px; padding: 0 12px; border-bottom: 1px solid #2b4153; color: #708895; font-family: "Inter", sans-serif; font-size: 7.5px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.pc-dots { color: #415b69; font-size: 6px; letter-spacing: 3px; }
.pc-arrow { justify-self: end; color: #a8f542; font-size: 13px; }
.pc-art { position: relative; min-height: 168px; padding: 14px 16px 12px; overflow: hidden; background: radial-gradient(circle at 75% 52%, rgba(168,245,66,.12), transparent 28%), linear-gradient(145deg, #11243a, #091726); }
.pc-art::before { content: ""; position: absolute; inset: 0; opacity: .32; background-image: linear-gradient(rgba(116,153,169,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(116,153,169,.16) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(135deg, #000, transparent 85%); mask-image: linear-gradient(135deg, #000, transparent 85%); }
.pc-label { position: relative; color: #8ca3ac; font-family: "Inter", sans-serif; font-size: 7px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.pc-h { position: relative; z-index: 2; max-width: 150px; margin: 18px 0 0; color: #f2f9f6; font-family: "Inter", sans-serif; font-size: 1.55rem; font-weight: 800; line-height: .96; letter-spacing: -.055em; }
.pc-h em { color: #a8f542; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-style: italic; }
.pc-orbit { position: absolute; right: 18px; top: 34px; display: grid; place-items: center; width: 66px; height: 66px; border: 1px solid rgba(168,245,66,.24); border-radius: 50%; background: rgba(7,17,31,.7); box-shadow: 0 0 0 10px rgba(168,245,66,.025), 0 0 36px rgba(69,221,197,.12); transform: rotate(8deg); }
.pc-orbit::after { content: ""; position: absolute; inset: -6px; border-top: 1px solid #a8f542; border-radius: 50%; transform: rotate(42deg); }
.pc-orbit svg { width: 38px; height: 38px; filter: drop-shadow(0 8px 14px rgba(0,0,0,.3)); }
.pc-tag { position: absolute; z-index: 3; right: 22px; top: 98px; padding: 5px 7px; border-radius: 3px; background: #a8f542; color: #09131f; font-family: "Inter", sans-serif; font-size: 7px; font-weight: 850; letter-spacing: .03em; transform: rotate(-2deg); }
.pc-bottom { position: relative; z-index: 2; display: flex; justify-content: space-between; margin-top: 40px; color: #748c97; font-family: "Inter", sans-serif; font-size: 7px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.pc-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #2a4154; background: #0b1a2b; }
.pc-strip > div { padding: 11px 10px 12px; min-width: 0; }
.pc-strip > div + div { border-left: 1px solid #263c50; }
.pc-strip span { display: block; margin-bottom: 5px; color: #a8f542; font-family: "Inter", sans-serif; font-size: 7px; font-weight: 850; letter-spacing: .12em; }
.pc-strip strong { display: block; color: #e8f2ee; font-family: "Inter", sans-serif; font-size: 8.5px; font-weight: 700; line-height: 1.3; }
.pc-strip p { margin: 3px 0 0; color: #708893; font-family: "Inter", sans-serif; font-size: 7px; line-height: 1.45; }
