/* Longplay — Bold alternate theme.
   Reuses the bound Longplay Design System tokens (--lp-*, --font-*).
   Loaded ON TOP of site.css / academy-hifi.css. All classes namespaced .b-*
   so the original pages are untouched. */

.bold {
  --b-ink: var(--lp-navy);
  --b-paper: var(--lp-off-white);
  --b-accent: var(--lp-teal);
  --b-accent-2: var(--lp-mint);
  --b-lav: var(--lp-lavender);
  position: relative;
  color: var(--lp-navy);
  background:
    radial-gradient(120% 90% at 12% -8%, rgba(93,140,220,0.42), transparent 62%),
    radial-gradient(90% 70% at 100% 8%, rgba(120,166,232,0.14), transparent 58%),
    linear-gradient(135deg, #A9C2EA 0%, #C9DAF2 28%, #E9F1FB 60%, #FFFFFF 100%);
  background-attachment: fixed;
  overflow-x: clip;
}
/* grid overlay removed site-wide */
.bold::before { content: none; }
.bold > * { position: relative; z-index: 1; }
/* header must outrank the page bands so its nav dropdowns are clickable
   (overrides the z-index:1 from `.bold > *` via higher specificity) */
.bold > .site-header { position: sticky; top: 0; z-index: 90; }
.bold ::selection { background: var(--lp-mint); color: var(--lp-navy); }

/* ---------- Full-bleed bands (all transparent so the gradient + grid show) ---------- */
.b-band { position: relative; width: 100%; overflow: clip; }
.b-band--paper { background: transparent; }
.b-band--ink { background: rgba(140,164,210,0.10); color: var(--lp-navy); }
.b-band--wash { background: rgba(255,255,255,0.34); }
.b-band--lilac { background: var(--lp-lilac-wash, rgba(180,174,221,0.16)); }
.b-wrap { max-width: 1200px; margin: 0 auto; padding: clamp(58px, 9vh, 120px) clamp(22px, 5vw, 56px); position: relative; z-index: 2; }
.b-wrap--tight { padding-top: clamp(38px, 6vh, 72px); padding-bottom: clamp(38px, 6vh, 72px); }

/* hairline rule between bands */
.b-hr { height: 1px; background: rgba(27,34,82,0.12); border: 0; margin: 0; }


/* ---------- Typography ---------- */
.b-display {
  font-family: var(--font-accent); font-weight: 700;
  line-height: 0.98; letter-spacing: -0.02em; text-wrap: balance; margin: 0;
  color: var(--b-ink);
}

.b-hero-title { font-size: clamp(32px, 4.4vw, 64px); }
.b-h-xl { font-size: clamp(29px, 4.2vw, 62px); }
.b-h-lg { font-size: clamp(23px, 2.8vw, 38px); }
.b-em {
  font-family: var(--font-serif); font-weight: 400; font-style: italic; letter-spacing: 0;
  background: none; -webkit-background-clip: border-box; background-clip: border-box;
  -webkit-text-fill-color: var(--lp-accent-word); color: var(--lp-accent-word);
  -webkit-text-stroke: 0;
}

.b-underline { background: linear-gradient(transparent 64%, rgba(126,207,202,0.55) 64%); padding: 0 0.04em; }

.b-eyebrow {
  font-family: var(--font-body); font-weight: 700; font-size: 12px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--b-accent);
  display: inline-flex; align-items: center; gap: 10px;
}
.b-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--b-accent); display: inline-block; }
.b-eyebrow--center { justify-content: center; }
.b-lede {
  font-family: var(--font-body); font-weight: 400; font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.62; color: var(--lp-slate); max-width: 60ch; text-wrap: pretty; margin: 0;
}

.b-kicker {
  font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--lp-gray-blue);
}

/* ---------- Headline reveal + parallax (scroll-driven via JS; visible base) ---------- */
.b-rise-mask { display: block; }
.b-rise { display: block; transform: none; opacity: 1; will-change: transform, opacity, filter; }
.b-rise .b-em { background: none; -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: var(--lp-accent-word); color: var(--lp-accent-word); }

/* ---------- Chess / brand glass graphics (parallax decoration) ---------- */
.b-chess { position: absolute; z-index: 0; pointer-events: none; height: auto; filter: drop-shadow(0 24px 40px rgba(27,34,82,0.18)); }

/* floating tint blobs */
.b-blob { position: absolute; border-radius: 50%; filter: blur(8px); pointer-events: none; z-index: 1; opacity: 0.5; }

/* ---------- Reveal on scroll ---------- */
.b-reveal { transform: translateY(28px); opacity: 1; transition: transform 0.75s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.b-reveal.in { transform: none; }
.b-reveal[data-d="1"] { transition-delay: 0.07s; }
.b-reveal[data-d="2"] { transition-delay: 0.14s; }
.b-reveal[data-d="3"] { transition-delay: 0.21s; }
.b-reveal[data-d="4"] { transition-delay: 0.28s; }
@media (prefers-reduced-motion: reduce) {
  .b-reveal { opacity: 1 !important; transform: none !important; }
  .b-rise { transform: none !important; opacity: 1 !important; filter: none !important; }
  .b-rise .b-em { background-size: 100% 100% !important; }
  [data-parallax] { transform: none !important; }
}

/* ---------- Hero ---------- */
.b-hero { min-height: 78vh; display: flex; align-items: center; padding-bottom: 67px; }
.b-hero-inner { position: relative; z-index: 3; max-width: min(940px, 100%); }
.b-hero-sub { margin-top: 26px; max-width: 56ch; }
.b-hero-cta { margin-top: 32px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
/* Scroll cue — animated "mouse" that pulls the eye downward */
.b-scrollcue {
  position: absolute; left: clamp(22px, 5vw, 56px); bottom: 34px; z-index: 3;
  font-family: var(--font-body); font-weight: 700; font-size: 10px; letter-spacing: 0.24em;
  text-transform: uppercase; color: rgba(27,34,82,0.5);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.b-scrollcue::before {
  content: ""; width: 22px; height: 34px; border: 1.5px solid rgba(27,34,82,0.32);
  border-radius: 12px;
}
.b-scrollcue::after {
  content: ""; position: absolute; top: 8px; left: 50%; width: 3px; height: 6px;
  border-radius: 2px; background: var(--b-accent);
  animation: b-cue 1.8s cubic-bezier(.4,0,.2,1) infinite;
}
@keyframes b-cue {
  0% { opacity: 0; transform: translate(-50%, 0); }
  25% { opacity: 1; }
  70% { opacity: 1; transform: translate(-50%, 12px); }
  100% { opacity: 0; transform: translate(-50%, 12px); }
}
@media (prefers-reduced-motion: reduce) { .b-scrollcue::after { animation: none; opacity: 1; } }

/* ---------- Buttons ---------- */
.b-btn {
  font-family: var(--font-body); font-weight: 700; font-size: 15px; cursor: pointer;
  padding: 16px 30px; border-radius: 999px; border: 0; display: inline-flex; align-items: center; gap: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease; text-decoration: none;
}
.b-btn--accent { background: var(--gradient-brand); color: #fff; box-shadow: 0 16px 38px -12px rgba(37,99,230,0.55), inset 0 1px 0 rgba(255,255,255,0.28); }
.b-btn--accent:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -12px rgba(37,99,230,0.7), inset 0 1px 0 rgba(255,255,255,0.34); }
/* same glass/gradient/border family as .nav-cta, darkened so it pops as the primary hero CTA */
.b-btn--diagnostic {
  color: #000;
  background: linear-gradient(180deg, color-mix(in srgb, #4E93F5 62%, #fff), color-mix(in srgb, #4E93F5 38%, #fff));
  border: 1.5px solid color-mix(in srgb, #4E93F5 75%, #fff);
  box-shadow: 0 18px 36px -16px rgba(78,147,245,0.45), inset 0 1px 0 rgba(255,255,255,0.4);
}
.b-btn--diagnostic:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, #4E93F5 90%, #fff);
  box-shadow: 0 24px 46px -16px rgba(78,147,245,0.55), inset 0 1px 0 rgba(255,255,255,0.45);
}
.b-btn--light { background: #fff; color: var(--lp-navy); }
.b-btn--light:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -16px rgba(0,0,0,0.4); }
.b-btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.b-btn--ghost:hover { transform: translateY(-3px); }
.b-link {
  font-family: var(--font-body); font-weight: 700; font-size: 14px; color: var(--b-ink);
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; text-decoration: none;
}

.b-link .b-arrow { transition: transform 0.25s ease; }
.b-link:hover .b-arrow { transform: translateX(6px); }

/* ---------- Section heading block ---------- */
.b-head { display: flex; flex-direction: column; gap: 20px; margin-bottom: clamp(32px, 5vh, 58px); max-width: 900px; }
.b-head--center { align-items: center; text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- Marquee ---------- */
.b-marquee { overflow: hidden; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.b-marquee-track { display: flex; gap: clamp(40px, 6vw, 90px); width: max-content; animation: b-scroll 38s linear infinite; align-items: center; }
.b-marquee-track + .b-marquee-track { margin-top: clamp(20px, 3vh, 32px); }
.b-marquee-track--reverse { animation-direction: reverse; }
.b-marquee:hover .b-marquee-track { animation-play-state: paused; }
@keyframes b-scroll { to { transform: translateX(-50%); } }
.b-marquee-logo { height: 52px; width: 144px; object-fit: contain; filter: grayscale(1); opacity: 0.7; flex: 0 0 auto; mix-blend-mode: multiply; }

.b-marquee--words .b-marquee-track { animation-duration: 30s; }
.b-mword { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 52px); color: var(--b-ink); opacity: 0.9; flex: 0 0 auto; }
.b-mword .b-dot { color: var(--b-accent); font-style: italic; }

/* ---------- Stats ---------- */
.b-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(18px, 2.4vw, 34px); }
.b-stat { position: relative; padding-top: 26px; }
.b-stat::before { content: ""; position: absolute; top: 0; left: 0; width: 42px; height: 4px; background: var(--b-accent); }
.b-stat-val {
  font-family: var(--font-serif); font-size: clamp(40px, 4.6vw, 74px); line-height: 0.95;
  color: var(--lp-navy);
}
.b-stat-label { margin-top: 12px; font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lp-teal); }
.b-stat-desc { margin: 10px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--lp-slate); }

/* ---------- Layer panels (three layers) ---------- */
.b-layers { display: flex; flex-direction: column; gap: 26px; }
.b-layer {
  position: relative; background: #fff; border-radius: 26px; overflow: hidden;
  border: 1px solid rgba(27,34,82,0.08); box-shadow: 0 30px 70px -50px rgba(27,34,82,0.5);
  display: grid; grid-template-columns: 1fr 1.25fr 1.15fr; gap: clamp(24px, 3vw, 46px); align-items: center;
  padding: clamp(28px, 3.4vw, 46px); transition: transform 0.4s cubic-bezier(.2,.7,.2,1), box-shadow 0.4s ease;
}
/* CTA tinted to the card's own colour — bordered + soft gradient, high-end */
.b-layer-cta {
  margin-top: 24px; color: var(--lp-navy);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--tint) 26%, #fff), color-mix(in srgb, var(--tint) 9%, #fff));
  border: 1.5px solid color-mix(in srgb, var(--tint) 60%, #fff);
  box-shadow: 0 10px 26px -16px color-mix(in srgb, var(--tint) 80%, transparent), inset 0 1px 0 rgba(255,255,255,0.85);
}
.b-layer-cta:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--tint) 80%, #fff);
  box-shadow: 0 18px 34px -16px color-mix(in srgb, var(--tint) 85%, transparent), inset 0 1px 0 rgba(255,255,255,0.9);
}
.b-layer:hover { transform: translateY(-6px); box-shadow: 0 44px 90px -48px rgba(27,34,82,0.6); }
.b-layer::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--tint, var(--lp-teal)); }
.b-layer-num { font-family: var(--font-display); font-size: clamp(56px, 6vw, 96px); line-height: 0.8; color: var(--lp-navy); opacity: 0.14; }
.b-layer-name { font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 34px); color: var(--lp-navy); margin: 8px 0 12px; line-height: 1.05; }
.b-layer-desc { font-size: 15.5px; line-height: 1.6; color: var(--lp-slate); margin: 0; }
.b-layer-side { display: flex; flex-direction: column; gap: 18px; }
.b-mini-head { font-family: var(--font-body); font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lp-gray-blue); margin: 0 0 12px; }
.b-bullets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.b-bullets li { display: flex; gap: 10px; font-size: 15.5px; line-height: 1.5; color: var(--lp-slate); }
.b-bullets li::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%; background: var(--b-accent); margin-top: 8px; }
.b-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.b-chip {
  font-family: var(--font-body); font-weight: 700; font-size: 14px; padding: 7px 16px;
  border-radius: 999px; background: rgba(126,207,202,0.16); color: var(--lp-navy); white-space: nowrap;
}
.b-chip--lav { background: rgba(180,174,221,0.22); }
.b-chip--ghost { background: transparent; box-shadow: inset 0 0 0 1px rgba(27,34,82,0.2); }

/* ---------- Chat bubbles (structural problem) ---------- */
.b-chat { display: flex; flex-direction: column; gap: 14px; }
.b-bubble {
  background: #fff; border-radius: 18px; padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start;
  box-shadow: 0 24px 50px -40px rgba(27,34,82,0.6); border: 1px solid rgba(27,34,82,0.06);
}
.b-bubble:nth-child(even) { margin-left: clamp(20px, 6vw, 70px); }
.b-avatar { width: 42px; height: 42px; border-radius: 12px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; font-family: var(--font-body); font-weight: 700; font-size: 14px; color: var(--lp-navy); }
.b-bubble-name { font-family: var(--font-body); font-weight: 700; font-size: 13.5px; color: var(--lp-navy); }
.b-bubble-time { font-size: 11px; color: var(--lp-gray-blue); margin-left: 8px; }
.b-bubble-text { margin: 4px 0 0; font-size: 15.5px; line-height: 1.45; color: var(--lp-slate); }

/* ---------- Differentiator cards ---------- */
.b-diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.b-diff {
  background: #fff; border-radius: 20px; padding: 30px; border: 1px solid rgba(27,34,82,0.08);
  position: relative; overflow: hidden; transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.b-diff:hover { transform: translateY(-5px); box-shadow: 0 34px 70px -44px rgba(27,34,82,0.55); }
.b-diff-idx { font-family: var(--font-display); font-size: 22px; color: var(--b-accent); }
.b-diff-title { font-family: var(--font-display); font-size: 23px; line-height: 1.12; color: var(--lp-navy); margin: 14px 0 12px; }
.b-diff-desc { font-size: 14.5px; line-height: 1.6; color: var(--lp-slate); margin: 0; }
.b-diff--dark { background: var(--lp-navy); color: #fff; }
.b-diff--dark .b-diff-title { color: #fff; }
.b-diff--dark .b-diff-desc { color: rgba(255,255,255,0.78); }

/* ---------- Growth tabs (bold) ---------- */
.b-gtabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 30px; }
.b-gtab {
  text-align: left; cursor: pointer; padding: 18px 20px; border-radius: 16px; background: #fff;
  border: 1.5px solid rgba(27,34,82,0.12); transition: all 0.3s ease; color: var(--lp-navy);
}
.b-gtab:hover { border-color: var(--b-accent); }
.b-gtab.on { background: var(--lp-navy); border-color: var(--lp-navy); color: #fff; transform: translateY(-3px); box-shadow: 0 24px 50px -28px rgba(27,34,82,0.7); }
.b-gtab-tab { font-family: var(--font-display); font-size: 21px; line-height: 1.05; display: block; }
.b-gtab-tag { font-family: var(--font-body); font-weight: 700; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7; display: block; margin-top: 8px; }
.b-gcols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.b-panel { background: #fff; border-radius: 20px; padding: 30px; border: 1px solid rgba(27,34,82,0.08); }
.b-panel--lav { background: rgba(180,174,221,0.12); }
.b-work-grid { display: grid; gap: 18px; margin-top: 22px; }
.b-work-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.b-work-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Lifecycle / ring section frame ---------- */
.b-ring-frame { display: flex; justify-content: center; }

/* ---------- CTA ---------- */
.b-cta { text-align: center; position: relative; z-index: 3; }
.b-cta .b-display { margin: 0 auto; max-width: 16ch; }

/* ---------- Section index counter ---------- */
.b-num-tag { font-family: var(--font-display); font-size: 20px; color: var(--b-accent); opacity: 0.9; }

/* ---------- Academy specifics ---------- */
.b-area-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.b-pill {
  font-family: var(--font-body); font-weight: 700; font-size: 14px; padding: 9px 20px; border-radius: 999px;
  cursor: pointer; border: 1.5px solid rgba(27,34,82,0.2); color: var(--lp-navy); background: rgba(255,255,255,0.5);
  transition: all 0.25s ease;
}
.b-pill:hover { border-color: var(--lp-teal); color: var(--lp-teal); }
.b-pill.on { background: var(--lp-teal); border-color: var(--lp-teal); color: #fff; }
.b-dir { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.b-dir-card {
  position: relative; overflow: hidden; background: #fff; border-radius: 22px; padding: 32px;
  border: 1px solid rgba(27,34,82,0.08); display: flex; flex-direction: column; gap: 14px; min-height: 230px;
  transition: transform 0.35s ease, box-shadow 0.35s ease; cursor: pointer; text-decoration: none;
}
.b-dir-card:hover { transform: translateY(-6px); box-shadow: 0 40px 80px -46px rgba(27,34,82,0.55); }
.b-dir-card--wide { grid-column: 1 / -1; flex-direction: row; align-items: center; min-height: 0; }
.b-dir-icon { width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: var(--b-accent); background: rgba(126,207,202,0.16); flex: 0 0 auto; }
.b-dir-icon--lav { background: rgba(180,174,221,0.22); }
.b-dir-num { position: absolute; right: 22px; top: 8px; font-family: var(--font-display); font-size: 92px; color: var(--lp-navy); opacity: 0.06; }
.b-dir-title { font-family: var(--font-display); font-size: 28px; color: var(--lp-navy); margin: 0; display: flex; align-items: center; gap: 12px; }
.b-dir-count { font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; padding: 3px 11px; border-radius: 999px; background: rgba(27,34,82,0.06); color: var(--lp-slate); }
.b-dir-blurb { font-size: 15px; line-height: 1.58; color: var(--lp-slate); margin: 0; max-width: 52ch; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .b-layer { grid-template-columns: 1fr; }
  .b-stats { grid-template-columns: repeat(2, 1fr); }
  .b-diff-grid { grid-template-columns: 1fr 1fr; }
  .b-gtabs { grid-template-columns: 1fr 1fr; }
  .b-gcols, .b-work-grid.cols-2, .b-work-grid.cols-3, .b-dir { grid-template-columns: 1fr; }
  .b-dir-card--wide { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .b-stats, .b-diff-grid, .b-gtabs { grid-template-columns: 1fr; }
  .b-bubble:nth-child(even) { margin-left: 0; }
}

/* ---------- Testimonial wall (home) ---------- */
.b-tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.b-tcard {
  display: flex; flex-direction: column;
  background: rgba(255,255,255,0.48); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid rgba(255,255,255,0.75); border-radius: 18px; padding: 28px 28px 30px;
  box-shadow: 0 24px 54px -26px rgba(27,34,82,0.42), inset 0 1px 0 rgba(255,255,255,0.8);
}
/* brand logo at the top of the card (30% smaller) */
.b-tcard-top { display: flex; align-items: center; min-height: 74px; margin-bottom: 4px; }
.b-tcard-logo { height: 70px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; display: block; }
.b-tcard-word { font-family: var(--font-display); font-size: 26px; color: var(--lp-navy); letter-spacing: 0.01em; }
.b-tcard-head { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.b-tcard-ava {
  flex: 0 0 auto; width: 56px; height: 56px; border-radius: 50%;
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 20px; overflow: hidden;
  box-shadow: 0 6px 18px -8px rgba(27,34,82,0.5);
}
.b-tcard-ava--initials { background: linear-gradient(135deg, #5BBFB9, #8E86C9); }
.b-tcard-ava img { width: 100%; height: 100%; object-fit: cover; }
.b-tcard-name { font-family: var(--font-body); font-weight: 700; font-size: 16.5px; color: var(--lp-navy); line-height: 1.2; }
.b-tcard-role { font-size: 14px; color: var(--lp-gray-blue); margin-top: 3px; }
.b-tcard-rule { height: 1px; background: rgba(27,34,82,0.10); margin: 20px 0 0; }
.b-tcard-quote { font-size: 16.5px; line-height: 1.5; color: var(--lp-navy); margin: 16px 0 0; }
/* highlight sits near the top, bold + italic */
.b-tcard-result { font-size: 17px; font-weight: 700; font-style: italic; color: var(--lp-navy); margin: 4px 0 0; }
/* ---------- Our work — horizontally scrolling gallery ---------- */
.b-work { position: relative; overflow: hidden; }
/* header showcase variant: tucked under the hero, tight spacing */
.b-workband { padding: 4px 0 35px; }
.b-workband .b-workscroll { margin-top: 0; }
/* bold, work-forward hero */
.b-hero--showcase { min-height: auto; display: block; align-items: initial; padding-bottom: clamp(24px, 4vh, 45px); }
.b-hero-top { padding-top: clamp(35px, 6vh, 74px); padding-bottom: clamp(16px, 2.4vh, 27px); }
.b-hero-inner--center { max-width: 1000px; margin: 0 auto; text-align: center; }
.b-hero--showcase .b-hero-title { font-size: clamp(37px, 5.4vw, 79px); line-height: 0.98; }
.b-hero--showcase .b-hero-sub { margin: 26px auto 0; max-width: 66ch; }
.b-hero--showcase .b-hero-cta { justify-content: center; }
.b-hero-worklink { text-align: center; margin-top: 22px; padding: 0 24px; }
/* ---------- Tilted "wall of work" (masonry columns, natural sizes) ---------- */
.b-wall {
  position: relative; overflow: hidden;
  height: clamp(480px, 66vh, 700px);
  margin-top: clamp(28px, 4.5vh, 56px);
  background: radial-gradient(120% 90% at 50% 0%, #1b2252 0%, #0f1430 100%);
}
/* soft fade at the top/bottom so the dark band blends into the light hero */
.b-wall::before, .b-wall::after {
  content: ""; position: absolute; left: 0; right: 0; height: 90px; z-index: 3; pointer-events: none;
}
.b-wall::before { top: 0; background: linear-gradient(180deg, rgba(219,230,244,0.9), transparent); }
.b-wall::after { bottom: 0; background: linear-gradient(0deg, rgba(219,230,244,0.9), transparent); }
.b-wall-rot {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-7deg) scale(1.14);
  display: flex; gap: clamp(12px, 1.1vw, 16px);
  width: max-content;
}
.b-wall-col { flex: 0 0 auto; width: clamp(150px, 12.5vw, 178px); }
.b-wall-track {
  display: flex; flex-direction: column; gap: clamp(12px, 1.4vw, 20px);
  animation: b-wall-up 52s linear infinite; will-change: transform;
}
.b-wall-col--down .b-wall-track { animation-name: b-wall-down; animation-duration: 60s; }
.b-wall:hover .b-wall-track { animation-play-state: paused; }
@keyframes b-wall-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes b-wall-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.b-walltile {
  margin: 0; border-radius: 12px; overflow: hidden; background: #fff;
  border: 1px solid rgba(255,255,255,0.10); box-shadow: 0 24px 50px -22px rgba(0,0,0,0.65);
  aspect-ratio: 3 / 4.3;   /* bound the very-long captures; varied below for an organic wall */
}
.b-walltile:nth-child(3n) { aspect-ratio: 3 / 3.5; }
.b-walltile:nth-child(4n) { aspect-ratio: 3 / 5.2; }
.b-walltile:nth-child(5n) { aspect-ratio: 3 / 3.9; }
.b-walltile img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
@media (prefers-reduced-motion: reduce) { .b-wall-track { animation: none; } }
@media (max-width: 760px) {
  .b-wall-rot { transform: translate(-50%, -50%) rotate(-8deg) scale(1.25); }
  .b-wall-col:nth-child(n+5) { display: none; }
}
.b-workscroll {
  overflow: hidden; margin-top: 46px; position: relative; z-index: 2;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.b-workscroll-track { display: flex; gap: 20px; width: max-content; align-items: stretch; animation: b-workscroll 80s linear infinite; }
.b-workscroll-track + .b-workscroll-track { margin-top: 20px; }
.b-workscroll-track--reverse { animation-direction: reverse; }
.b-workscroll:hover .b-workscroll-track { animation-play-state: paused; }
@keyframes b-workscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.b-worktile {
  position: relative; margin: 0; flex: 0 0 auto; height: 360px; border-radius: 14px; overflow: hidden; background: #fff;
  border: 1px solid rgba(27,34,82,0.06); box-shadow: 0 26px 54px -32px rgba(27,34,82,0.55);
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1), box-shadow 0.35s ease;
}
.b-worktile:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -34px rgba(27,34,82,0.62); }
.b-worktile img { height: 100%; width: auto; display: block; }
.b-worktile-tag {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  font-family: var(--font-body); font-weight: 700; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff; background: rgba(15,20,45,0.66); backdrop-filter: blur(6px);
  padding: 5px 11px; border-radius: 999px;
}
@media (prefers-reduced-motion: reduce) { .b-workscroll-track { animation: none; } }
@media (max-width: 700px) { .b-worktile { height: 280px; } }

.b-worktile--phone { width: 210px; background: linear-gradient(160deg, #eef2fb, #e2e8f6); }
.b-worktile--desktop { width: 420px; background: linear-gradient(160deg, #eef2fb, #e2e8f6); }
@media (max-width: 700px) { .b-worktile--phone { width: 168px; } .b-worktile--desktop { width: 320px; } }

.phone-frame {
  position: absolute; inset: 0; margin: auto; width: 156px; height: calc(100% - 40px); top: 20px;
  border-radius: 26px; background: #0b1030; box-shadow: 0 20px 44px -22px rgba(11,16,48,0.55), inset 0 0 0 2px rgba(255,255,255,0.08);
}
.phone-frame-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 54px; height: 14px;
  background: #0b1030; border-radius: 0 0 10px 10px; z-index: 3;
}
.phone-frame-screen {
  position: absolute; inset: 4px; border-radius: 20px; overflow: hidden; background: #fff;
}
.phone-frame-screen img {
  position: absolute; top: 0; left: 0; width: 100%; height: auto; display: block;
  animation: phone-scroll 48s ease-in-out infinite;
}
@keyframes phone-scroll {
  0%, 6% { transform: translateY(0); }
  94%, 100% { transform: translateY(-62%); }
}
.b-worktile--phone:hover .phone-frame-screen img { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .phone-frame-screen img { animation: none; } }

.desktop-frame {
  position: absolute; inset: 0; margin: auto; width: calc(100% - 32px); height: calc(100% - 40px); top: 20px;
  border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 20px 44px -22px rgba(11,16,48,0.55);
  display: flex; flex-direction: column;
}
.desktop-frame-bar {
  flex: 0 0 auto; height: 26px; background: linear-gradient(180deg, #eef1f8, #e2e6f0);
  border-bottom: 1px solid rgba(27,34,82,0.08); display: flex; align-items: center; gap: 5px; padding: 0 10px;
}
.desktop-frame-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(27,34,82,0.18); }
.desktop-frame-url { margin-left: 8px; flex: 1 1 auto; height: 12px; border-radius: 6px; background: rgba(27,34,82,0.06); }
.desktop-frame-screen { position: relative; flex: 1 1 auto; overflow: hidden; }
.desktop-frame-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }

@media (max-width: 960px) { .b-tgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .b-tgrid { grid-template-columns: 1fr; } }
/* Sans display now needs explicit weight (DM Serif was heavy at 400; Sora is not) */
.b-tcard-word, .b-mword, .b-diff-title, .b-diff-idx,
.b-dir-title, .b-dir-num, .b-gtab-tab, .b-num-tag, .b-layer-num, .b-layer-name { font-weight: 700; }
