/* ============================================================
   WEB DEVELOPER JOHANNESBURG — COMPLETE EXPERIENCE CSS
   Light theme default · Dark via prefers-color-scheme
   ============================================================ */

:root {
  /* LIGHT THEME (Default) */
  color-scheme: light;
  --jhb-bg: #FCFbf8;
  --jhb-bg-soft: #F4EEE7;
  --jhb-ink: #110d0a;
  --jhb-muted: rgba(17, 13, 10, 0.65);
  --jhb-line: rgba(17, 13, 10, 0.12);
  --jhb-soft-line: rgba(17, 13, 10, 0.06);
  --jhb-primary: #7C3AED;
  --jhb-secondary: #F59E0B;
  --jhb-accent: #a855f7;
  --jhb-gold: #b45309;
  --jhb-gold-soft: #fbbf24;
  --jhb-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);

  --jhb-chrome-bg: #FCFbf8;
  --jhb-noise-blend: multiply;
  --jhb-noise-op: 0.1;
  --jhb-input-bg: rgba(0, 0, 0, 0.03);

  --jhb-display: 'Cormorant Garamond', 'Book Antiqua', 'Palatino Linotype', serif;
  --jhb-ui: 'Aptos', 'Inter', 'Gill Sans', sans-serif;
  --jhb-max: 1340px;
  --jhb-ease: cubic-bezier(.16, 1, .3, 1);
  --jhb-header-clearance: 8.5rem;
  --jhb-menu-width: 440px;
  --jhb-menu-surface: rgba(255, 255, 255, 0.94);
  --jhb-menu-pill-shadow: 0 18px 45px rgba(17, 13, 10, 0.12);
}

:root[data-jhb-theme="dark"] {
  color-scheme: dark;
  --jhb-bg: #070707;
  --jhb-bg-soft: #111111;
  --jhb-ink: #f2ede4;
  --jhb-muted: rgba(242, 237, 228, 0.55);
  --jhb-line: rgba(242, 237, 228, 0.08);
  --jhb-soft-line: rgba(242, 237, 228, 0.04);
  --jhb-gold: #d97706;
  --jhb-gold-soft: #fcd34d;
  --jhb-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  --jhb-chrome-bg: #070707;
  --jhb-noise-blend: screen;
  --jhb-noise-op: 0.035;
  --jhb-input-bg: rgba(255, 255, 255, 0.04);
  --jhb-menu-surface: rgba(17, 17, 17, 0.96);
  --jhb-menu-pill-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-jhb-theme="light"]) {
    color-scheme: dark;
    --jhb-bg: #070707;
    --jhb-bg-soft: #111111;
    --jhb-ink: #f2ede4;
    --jhb-muted: rgba(242, 237, 228, 0.55);
    --jhb-line: rgba(242, 237, 228, 0.08);
    --jhb-soft-line: rgba(242, 237, 228, 0.04);
    --jhb-gold: #d97706;
    --jhb-gold-soft: #fcd34d;
    --jhb-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
    --jhb-chrome-bg: #070707;
    --jhb-noise-blend: screen;
    --jhb-noise-op: 0.035;
    --jhb-input-bg: rgba(255, 255, 255, 0.04);
    --jhb-menu-surface: rgba(17, 17, 17, 0.96);
    --jhb-menu-pill-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
  }
}

/* ── LENIS ── */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--jhb-bg); color: var(--jhb-ink); font-family: var(--jhb-ui); -webkit-font-smoothing: antialiased; }
body { margin: 0; background: var(--jhb-bg); overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

::selection { background: rgba(207, 170, 112, 0.2); color: var(--jhb-gold-soft); }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--jhb-bg); }
::-webkit-scrollbar-thumb { background: var(--jhb-gold); opacity: 0.3; border-radius: 4px; }

/* ── TEXTURE ── */
.jhb-noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 100;
  opacity: var(--jhb-noise-op); mix-blend-mode: var(--jhb-noise-blend);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' fill='%23000'/%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.8' mix-blend-mode='screen'/%3E%3C/svg%3E");
}

/* ── PROGRESS BAR ── */
.jhb-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 1100; background: var(--jhb-soft-line); }
.jhb-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--jhb-primary), var(--jhb-gold), var(--jhb-accent)); }

/* ── SITE SHELL ── */
.jhb-site { position: relative; z-index: 2; min-height: 100vh; opacity: 1; visibility: visible; }
.jhb-shell { width: min(var(--jhb-max), calc(100vw - 2.8rem)); margin: 0 auto; }
.jhb-shell--narrow { width: min(880px, calc(100vw - 2.8rem)); margin: 0 auto; }

/* ── REVEAL ── */
.jhb-reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--jhb-ease), transform 1s var(--jhb-ease); }
.jhb-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* GSAP SplitType */
.split-line { overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }

/* ============================================================
   HEADER
   ============================================================ */
.jhb-header {
  position: fixed; inset: 0 0 auto; z-index: 1000;
  background: var(--jhb-chrome-bg);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--jhb-line);
  transition: box-shadow 0.4s ease;
}
.jhb-header.is-scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.06); }

.jhb-header-strip {
  display: flex; justify-content: space-between; padding: 0.6rem 2.8rem;
  background: var(--jhb-input-bg); font-size: 0.65rem; color: var(--jhb-muted);
  letter-spacing: 0.1em; text-transform: uppercase; border-bottom: 1px solid var(--jhb-line);
}
.jhb-header-main {
  width: min(var(--jhb-max), calc(100vw - 2.8rem)); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 1.4rem 0;
}

/* brand */
.jhb-brand { display: flex; align-items: center; gap: 1.2rem; }
.jhb-brand-cube {
  width: 44px; height: 44px; position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--jhb-gold); background: rgba(207, 170, 112, 0.05);
}
.jhb-brand-cube span { position: absolute; inset: 12px; background: linear-gradient(135deg, var(--jhb-primary), var(--jhb-accent)); }
.jhb-brand-copy strong {
  display: block; font-family: var(--jhb-display); font-size: 1.2rem;
  letter-spacing: .15em; text-transform: uppercase; color: var(--jhb-ink); font-weight: 400;
}
.jhb-brand-copy span {
  display: block; margin-top: .2rem; font-size: .55rem;
  letter-spacing: .25em; text-transform: uppercase; color: var(--jhb-gold);
}

/* signal strip */
.jhb-header-signal { display: none; }

/* nav + actions */
.jhb-header-actions { display: flex; align-items: center; gap: 1.2rem; margin-left: auto; flex-shrink: 0; }
.jhb-header-menu { display: inline-flex; align-items: center; justify-content: flex-end; }
.jhb-nav { display: flex; align-items: center; gap: 1.8rem; }
.jhb-nav a {
  font-size: .6rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--jhb-muted); transition: color .3s ease;
}
.jhb-nav a:hover { color: var(--jhb-gold); }

/* menu button pill */
.jhb-menu-button {
  display: inline-flex; align-items: center; gap: 0.85rem;
  padding: 0.78rem 1.35rem; background: rgba(255, 255, 255, 0.96); color: #110d0a;
  border: 1px solid rgba(17, 13, 10, 0.08); border-radius: 999px; font-size: 0.74rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; box-shadow: var(--jhb-menu-pill-shadow);
  cursor: pointer; transition: transform 0.4s var(--jhb-ease), box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.jhb-menu-button:hover,
.jhb-menu-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(17, 13, 10, 0.16);
  box-shadow: 0 22px 55px rgba(17, 13, 10, 0.16);
}
.jhb-menu-button:focus-visible { outline: 2px solid rgba(17, 13, 10, 0.18); outline-offset: 3px; }
.jhb-menu-lines {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.65rem; height: 1.65rem; border-radius: 999px; background: rgba(17, 13, 10, 0.06);
  position: relative;
}
.jhb-menu-lines span {
  position: absolute; width: 12px; height: 1.5px; background: currentColor; border-radius: 999px;
  transition: transform 0.35s var(--jhb-ease), opacity 0.2s ease;
}
.jhb-menu-lines span:nth-child(1) { transform: translateY(-4px); }
.jhb-menu-lines span:nth-child(2) { transform: translateY(0); }
.jhb-menu-lines span:nth-child(3) { transform: translateY(4px); }
.jhb-menu-button[aria-expanded="true"] .jhb-menu-lines span:nth-child(1) { transform: rotate(45deg); }
.jhb-menu-button[aria-expanded="true"] .jhb-menu-lines span:nth-child(2) { opacity: 0; }
.jhb-menu-button[aria-expanded="true"] .jhb-menu-lines span:nth-child(3) { transform: rotate(-45deg); }
.jhb-menu-label { line-height: 1; }


/* accent strip & side rail */
.jhb-accent-strip { display: none; }
.jhb-side-rail {
  position: fixed; right: 2rem; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 2rem;
  z-index: 100; mix-blend-mode: difference;
}
.jhb-side-rail span { writing-mode: vertical-rl; text-transform: uppercase; font-size: 0.65rem; letter-spacing: 0.2em; color: rgba(255,255,255,0.4); }
.jhb-side-rail-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--jhb-primary); margin-bottom: 1rem; }

/* ============================================================
   MENU OVERLAY – SLIDE FROM RIGHT
   ============================================================ */
.jhb-menu-overlay {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; justify-content: flex-end;
  width: 100vw; height: 100dvh;
  pointer-events: none; visibility: hidden; opacity: 0;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}
.jhb-menu-overlay[hidden] { display: none; }
.jhb-menu-overlay[data-menu-open="true"] {
  pointer-events: auto; visibility: visible; opacity: 1; transition-delay: 0s;
}
.jhb-menu-overlay.is-open {
  pointer-events: auto; visibility: visible; opacity: 1; transition-delay: 0s;
}

.jhb-menu-overlay-backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transition: opacity 0.4s ease; cursor: pointer;
}
.jhb-menu-overlay[data-menu-open="true"] .jhb-menu-overlay-backdrop,
.jhb-menu-overlay.is-open .jhb-menu-overlay-backdrop { opacity: 1; }

.jhb-menu-panel {
  position: relative; width: min(var(--jhb-menu-width), calc(100vw - 1.5rem)); max-width: var(--jhb-menu-width); height: 100%;
  background: var(--jhb-menu-surface); box-shadow: -24px 0 80px rgba(0,0,0,0.18);
  padding: 4rem 3rem; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.6s var(--jhb-ease);
  overflow-y: auto; overscroll-behavior: contain;
}
.jhb-menu-overlay[data-menu-open="true"] .jhb-menu-panel,
.jhb-menu-overlay.is-open .jhb-menu-panel { transform: translateX(0); }

.jhb-menu-panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4rem; }
.jhb-menu-close {
  background: none; border: 1px solid var(--jhb-line); color: var(--jhb-ink);
  padding: 0.6rem 1.2rem; border-radius: 999px; font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 0.1em; cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
}
.jhb-menu-close:hover { border-color: var(--jhb-gold); color: var(--jhb-gold); }

.jhb-menu-panel-body { flex: 1; display: flex; flex-direction: column; gap: 0; }
.jhb-menu-link {
  display: flex; align-items: baseline; gap: 1.2rem; padding: 1rem 0;
  border-bottom: 1px solid var(--jhb-soft-line);
  opacity: 0; transform: translateX(28px);
  transition: border-color 0.3s ease, transform 0.55s var(--jhb-ease), opacity 0.4s ease;
}
.jhb-menu-link:hover { border-color: var(--jhb-gold); transform: translateX(10px); }
.jhb-menu-link.is-cta { color: var(--jhb-primary); }
.jhb-menu-link-index { font-family: var(--jhb-display); font-size: 1.4rem; font-style: italic; color: var(--jhb-gold); opacity: 0.4; }
.jhb-menu-link-label { font-family: var(--jhb-display); font-size: 2.2rem; color: var(--jhb-ink); }
.jhb-menu-overlay[data-menu-open="true"] .jhb-menu-link,
.jhb-menu-overlay.is-open .jhb-menu-link { opacity: 1; transform: translateX(0); }
.jhb-menu-link:nth-child(1) { transition-delay: 0.04s; }
.jhb-menu-link:nth-child(2) { transition-delay: 0.1s; }
.jhb-menu-link:nth-child(3) { transition-delay: 0.16s; }
.jhb-menu-link:nth-child(4) { transition-delay: 0.22s; }
.jhb-menu-link:nth-child(5) { transition-delay: 0.28s; }
.jhb-menu-link:nth-child(6) { transition-delay: 0.34s; }
.jhb-menu-link:nth-child(7) { transition-delay: 0.4s; }
.jhb-menu-link:nth-child(8) { transition-delay: 0.46s; }

.jhb-menu-panel-foot { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--jhb-line); }
.jhb-menu-panel-foot p { font-family: var(--jhb-display); font-style: italic; font-size: 1rem; color: var(--jhb-muted); line-height: 1.7; margin: 0 0 1rem; }
.jhb-menu-panel-foot a { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--jhb-gold); }

/* ============================================================
   MARQUEE / TRUST BAR
   ============================================================ */
.jhb-marquee { border-top: 1px solid var(--jhb-line); border-bottom: 1px solid var(--jhb-line); padding: 0.8rem 0; overflow: hidden; }
.jhb-marquee-track {
  display: flex; gap: 8rem; width: max-content;
  animation: wdpMarquee 40s linear infinite;
}
.jhb-marquee-track span {
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--jhb-muted); white-space: nowrap;
}
@keyframes wdpMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* breadcrumbs */
.jhb-breadcrumbs {
  display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap;
  padding: 1rem 0 0; font-size: 0.68rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--jhb-muted);
}
.jhb-breadcrumbs a { color: inherit; transition: color 0.2s ease; }
.jhb-breadcrumbs a:hover { color: var(--jhb-gold); }
.jhb-breadcrumb-sep { opacity: 0.35; }

/* ============================================================
   MAIN CONTENT & HERO
   ============================================================ */
.jhb-main { padding-top: var(--jhb-header-clearance); position: relative; z-index: 2; }

.jhb-hero {
  position: relative; min-height: min(100vh, 900px);
  display: flex; align-items: center; padding: clamp(8rem, 15vw, 10.5rem) 0 clamp(6rem, 10vw, 8rem); overflow: hidden;
}
.jhb-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 30%, var(--jhb-line) 0%, transparent 60%);
  pointer-events: none; z-index: 0;
}
.jhb-hero-gridlines { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.jhb-hero-ghost {
  position: absolute; top: -0.15em; left: -0.02em; z-index: 0;
  font-family: var(--jhb-display); font-size: clamp(6rem, 14vw, 14rem);
  font-weight: 300; line-height: 0.85; letter-spacing: -0.04em;
  color: var(--jhb-soft-line); text-transform: uppercase; pointer-events: none;
  white-space: nowrap; overflow: hidden; max-width: 120%;
}

.jhb-hero-shell {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(380px, .9fr);
  gap: 5rem; align-items: start;
}
.jhb-hero-copy { position: relative; padding: clamp(1.5rem, 4vw, 3rem) 0 2rem; }

.jhb-kicker {
  display: inline-flex; align-items: center; gap: .8rem;
  font-family: var(--jhb-display); font-size: 1rem; font-style: italic; color: var(--jhb-gold);
}
.jhb-kicker::before { content: ''; width: 3rem; height: 1px; background: var(--jhb-gold); opacity: 0.4; }

.jhb-hero-copy h1 {
  margin: 1.5rem 0 0; font-family: var(--jhb-display); font-weight: 300;
  font-size: clamp(3.2rem, 6vw, 5.8rem); line-height: 1;
  letter-spacing: -0.02em; text-wrap: balance; max-width: 11ch;
}
.jhb-hero-copy p {
  margin: 1.8rem 0 0; max-width: 34rem; font-family: var(--jhb-display);
  font-style: italic; font-size: 1.25rem; line-height: 1.7; color: var(--jhb-muted);
}

/* buttons */
.jhb-button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 2.4rem;
  font-family: var(--jhb-ui); font-size: .65rem; font-weight: 500;
  letter-spacing: .25em; text-transform: uppercase;
  transition: all .3s var(--jhb-ease); cursor: pointer; border: 1px solid;
}
.jhb-button--solid { background: var(--jhb-ink); border-color: var(--jhb-ink); color: var(--jhb-bg); }
.jhb-button--solid:hover { opacity: 0.85; transform: translateY(-1px); }
.jhb-button--ghost { background: transparent; border-color: var(--jhb-line); color: var(--jhb-muted); }
.jhb-button--ghost:hover { border-color: var(--jhb-gold); color: var(--jhb-gold); }
.jhb-hero-actions { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: 2.8rem; }

/* proof line */
.jhb-proof-line { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--jhb-line); }
.jhb-proof-item strong { display: block; font-family: var(--jhb-display); font-size: 2.2rem; font-weight: 300; color: var(--jhb-gold-soft); }
.jhb-proof-item span { display: block; margin-top: .6rem; font-size: .55rem; letter-spacing: .2em; text-transform: uppercase; color: var(--jhb-muted); }

/* ============================================================
   STAGE (hero sidebar card)
   ============================================================ */
.jhb-stage { position: relative; align-self: start; padding: 3rem; display: grid; gap: 1.5rem; overflow: hidden; }
.jhb-stage-stack { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.jhb-stage-plane { position: absolute; border: 1px solid var(--jhb-line); border-radius: 24px; }
.jhb-stage-plane-one { inset: 0; background: var(--jhb-chrome-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: var(--jhb-shadow); }
.jhb-stage-plane-two { top: -1rem; right: -1rem; bottom: 1rem; left: 1rem; border-color: var(--jhb-gold); opacity: 0.15; }
.jhb-stage-plane-three { top: 1rem; right: 1rem; bottom: -1rem; left: -1rem; border-color: var(--jhb-primary); opacity: 0.1; }

.jhb-stage-topline {
  position: relative; z-index: 3; display: flex; justify-content: space-between;
  font-size: 0.65rem; color: var(--jhb-muted); letter-spacing: 0.2em; text-transform: uppercase;
  border-bottom: 1px solid var(--jhb-line); padding-bottom: 1.5rem;
}
.jhb-stage-visual {
  position: relative; z-index: 3; width: 100%; aspect-ratio: 16/10;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; border-radius: 12px; background: var(--jhb-bg-soft);
}
.jhb-stage-visual img { width: 100%; height: 100%; object-fit: contain; padding: 1.5rem; filter: drop-shadow(0 15px 35px rgba(0,0,0,0.08)); }
.jhb-lottie-canvas { width: 100%; height: 100%; max-width: 480px; opacity: 0.85; filter: drop-shadow(0 0 40px rgba(207, 170, 112, 0.15)); }

.jhb-stage-notes {
  position: relative; z-index: 3; display: flex; flex-direction: column; gap: 0.8rem;
  font-size: 0.8rem; color: var(--jhb-muted); border-left: 1px solid var(--jhb-line);
  padding-left: 1.5rem; margin-top: 1.5rem;
}
.jhb-stage-metrics {
  position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem; border-top: 1px solid var(--jhb-line); padding-top: 1.5rem;
}
.jhb-stage-metrics div { display: flex; flex-direction: column; gap: 0.4rem; }
.jhb-stage-metrics span { font-size: 0.6rem; color: var(--jhb-muted); text-transform: uppercase; letter-spacing: 0.1em; }
.jhb-stage-metrics strong { font-family: var(--jhb-display); font-size: 1.1rem; color: var(--jhb-gold); font-weight: 400; }

.jhb-stage-caption { position: relative; z-index: 3; font-style: italic; font-size: 0.85rem; color: var(--jhb-muted); text-align: center; margin-top: 1rem; }
.jhb-stage-ambient {
  position: relative; z-index: 3; margin-top: 1.25rem; border-radius: 16px;
  padding: 1rem; border: 1px solid var(--jhb-line); background: var(--jhb-input-bg);
}

.jhb-pullquote { position: relative; z-index: 3; margin-top: 2rem; padding: 2.5rem; border: 1px solid var(--jhb-line); border-radius: 16px; background: var(--jhb-input-bg); }
.jhb-pullquote blockquote { margin: 0; font-family: var(--jhb-display); font-size: 1.4rem; color: var(--jhb-gold-soft); font-style: italic; line-height: 1.6; }
.jhb-pullquote footer { margin-top: 1.5rem; font-size: 0.75rem; color: var(--jhb-muted); text-transform: uppercase; letter-spacing: 0.1em; }

/* ============================================================
   SCENE BAND (mid-page interlude)
   ============================================================ */
.jhb-scene-band {
  padding: 8rem 0; border-top: 1px solid var(--jhb-line);
  border-bottom: 1px solid var(--jhb-line); background: var(--jhb-input-bg); text-align: center;
}
.jhb-scene-band-inner {
  max-width: 48rem; margin: 0 auto; display: flex; flex-direction: column;
  align-items: center; gap: 1.5rem; padding: 0 2rem;
}
.jhb-scene-band h2 {
  margin: 0; font-family: var(--jhb-display); font-weight: 300;
  font-size: clamp(2.4rem, 4vw, 3.8rem); line-height: 1.1; color: var(--jhb-ink); text-wrap: balance;
}
.jhb-scene-band p { margin: 0; font-family: var(--jhb-display); font-size: 1.25rem; font-style: italic; color: var(--jhb-muted); line-height: 1.8; max-width: 38rem; }

/* search strip */
.jhb-search-strip {
  padding: 3rem 0 0; border-bottom: 1px solid var(--jhb-soft-line);
}
.jhb-search-strip-inner {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 2rem; align-items: start; padding-bottom: 3rem;
}
.jhb-search-strip-copy { display: grid; gap: 1rem; }
.jhb-search-strip-copy h2 {
  margin: 0; font-family: var(--jhb-display); font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 300; line-height: 1.08; color: var(--jhb-ink);
}
.jhb-search-strip-copy p {
  margin: 0; max-width: 36rem; font-size: 0.96rem; line-height: 1.85; color: var(--jhb-muted);
}
.jhb-search-pills { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.jhb-search-pills span {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0.45rem 0.9rem;
  border-radius: 999px; border: 1px solid var(--jhb-line); background: var(--jhb-input-bg);
  font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--jhb-gold);
}
.jhb-search-strip-links { display: grid; gap: 1rem; }
.jhb-search-link {
  display: grid; gap: 0.45rem; padding: 1.2rem 1.25rem; border: 1px solid var(--jhb-line);
  border-radius: 16px; background: linear-gradient(180deg, rgba(255,255,255,0.52), var(--jhb-input-bg));
  transition: border-color 0.2s ease, transform 0.25s var(--jhb-ease);
}
.jhb-search-link:hover { border-color: var(--jhb-gold); transform: translateY(-2px); }
.jhb-search-link strong {
  font-family: var(--jhb-display); font-size: 1.35rem; font-weight: 400; color: var(--jhb-ink);
}
.jhb-search-link span {
  font-size: 0.88rem; line-height: 1.75; color: var(--jhb-muted);
}

/* ============================================================
   SECTIONS (generic wrapper)
   ============================================================ */
.jhb-section { position: relative; padding: 12rem 0; border-top: 1px solid var(--jhb-soft-line); }
.jhb-section-heading { max-width: 48rem; margin: 0 auto 4rem; text-align: center; display: flex; flex-direction: column; align-items: center; }
.jhb-section-heading h2 {
  margin: 1rem 0 0; font-family: var(--jhb-display); font-weight: 300;
  font-size: clamp(2.6rem, 4.5vw, 4.2rem); line-height: 1.1;
  letter-spacing: -0.02em; text-wrap: balance;
}
.jhb-section-heading p { margin: 1.2rem 0 0; font-family: var(--jhb-display); font-style: italic; font-size: 1.2rem; color: var(--jhb-muted); line-height: 1.8; }

/* ============================================================
   EDITORIAL LIST (services / contact_methods)
   ============================================================ */
.jhb-editorial-list { display: grid; gap: 0; border-top: 1px solid var(--jhb-line); }
.jhb-editorial-item {
  display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 2rem;
  padding: 3rem 0; border-bottom: 1px solid var(--jhb-line);
  transition: background 0.3s ease, padding-left 0.3s ease;
}
.jhb-editorial-item.has-media {
  grid-template-columns: 80px minmax(250px, 0.95fr) minmax(0, 1.2fr);
  align-items: center;
}
.jhb-editorial-item:hover { background: var(--jhb-input-bg); padding-left: 2rem; border-radius: 12px; }
.jhb-editorial-index { font-family: var(--jhb-display); font-size: 1.8rem; font-style: italic; color: var(--jhb-gold); opacity: 0.3; }
.jhb-editorial-media {
  margin: 0; overflow: hidden; border-radius: 24px; border: 1px solid var(--jhb-line);
  background: linear-gradient(180deg, rgba(255,255,255,0.74), var(--jhb-bg-soft));
}
.jhb-editorial-media img {
  display: block; width: 100%; aspect-ratio: 16/11; object-fit: cover;
  transform: scale(1.04); transition: transform 0.35s ease;
}
.jhb-editorial-item:hover .jhb-editorial-media img { transform: scale(1.08); }
.jhb-editorial-media--illustration { padding: 1rem; }
.jhb-editorial-media--illustration img {
  aspect-ratio: 16/10; object-fit: contain; transform: none;
  padding: 1.1rem; background: rgba(255,255,255,0.72); border-radius: 18px;
}
.jhb-editorial-item:hover .jhb-editorial-media--illustration img { transform: none; }
.jhb-editorial-item h3 { margin: 0 0 1rem; font-family: var(--jhb-display); font-size: 1.8rem; font-weight: 400; color: var(--jhb-ink); }
.jhb-editorial-item p { margin: 0; font-size: 0.95rem; line-height: 1.8; color: var(--jhb-muted); max-width: 44rem; }
.jhb-editorial-item a { display: inline-flex; margin-top: 1.5rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--jhb-primary); font-weight: 600; }
.jhb-editorial-item a::after { content: ' \2192'; margin-left: 0.4rem; transition: transform 0.3s ease; }
.jhb-editorial-item a:hover::after { transform: translateX(5px); }

/* ============================================================
   ROUTE RAIL (feature panels / related nav)
   ============================================================ */
.jhb-route-rail { display: grid; gap: 0; }
.jhb-route-card {
  display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 2rem;
  padding: 3.5rem 0; border-bottom: 1px solid var(--jhb-line);
}
.jhb-route-card:last-child { border-bottom: none; }
.jhb-route-index { font-family: var(--jhb-display); font-size: 2.2rem; font-style: italic; color: var(--jhb-gold); opacity: 0.3; line-height: 1; }
.jhb-route-card h3 { margin: 0; font-family: var(--jhb-display); font-weight: 400; font-size: 2.2rem; letter-spacing: 0.02em; color: var(--jhb-gold-soft); text-wrap: balance; }
.jhb-route-card p { margin: 1rem 0 0; font-size: .95rem; line-height: 1.9; color: var(--jhb-muted); font-weight: 300; max-width: 42rem; }
.jhb-route-card a { display: inline-flex; margin-top: 1rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--jhb-primary); font-weight: 600; }
.jhb-route-card a::after { content: ' \2192'; margin-left: 0.4rem; }

/* ============================================================
   SPLIT STORY (intro / problem / text / checklist)
   ============================================================ */
.jhb-split-story { display: grid; grid-template-columns: minmax(0, .95fr) minmax(320px, .9fr); gap: 4rem; align-items: start; }
.jhb-story-lead h2 { margin: 1rem 0 0; font-family: var(--jhb-display); font-weight: 300; font-size: clamp(2.6rem, 4vw, 3.6rem); line-height: 1.1; text-wrap: balance; }
.jhb-story-copy { display: grid; gap: 1.5rem; }
.jhb-story-copy p { margin: 0; font-size: 1.05rem; line-height: 1.9; color: var(--jhb-muted); font-weight: 300; }

/* bullet rail (checklist items) */
.jhb-bullet-rail { display: grid; gap: 0; }
.jhb-bullet-item {
  display: grid; grid-template-columns: 40px 1fr; gap: 1rem; padding: 1.2rem 0;
  border-bottom: 1px solid var(--jhb-soft-line);
}
.jhb-bullet-item span { font-family: var(--jhb-display); font-size: 1.2rem; font-style: italic; color: var(--jhb-gold); opacity: 0.4; }
.jhb-bullet-item p { margin: 0; font-size: 0.95rem; line-height: 1.8; color: var(--jhb-muted); }

/* ============================================================
   GALLERY
   ============================================================ */
.jhb-gallery-band { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem; }
.jhb-gallery-frame { grid-column: span 4; display: grid; gap: 1.2rem; overflow: hidden; }
.jhb-gallery-frame.is-featured { grid-column: span 6; }
.jhb-gallery-frame.is-spotlight { grid-column: 1 / -1; }
.jhb-gallery-frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: grayscale(100%); transition: filter .5s ease; transform: scale(1.15); }
.jhb-gallery-frame:hover img { filter: grayscale(0%); }
.jhb-gallery-frame figcaption { display: grid; gap: .4rem; }
.jhb-gallery-frame strong { font-family: var(--jhb-display); font-size: 1.2rem; font-weight: 400; color: var(--jhb-gold-soft); }
.jhb-gallery-frame span { font-size: .8rem; color: var(--jhb-muted); font-style: italic; font-family: var(--jhb-display); }
.jhb-gallery-frame--illustration {
  padding: 1.1rem; border: 1px solid var(--jhb-line); border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), var(--jhb-bg-soft));
}
.jhb-gallery-frame--illustration img {
  aspect-ratio: 16/10; object-fit: contain; filter: none; transform: none;
  padding: 1.5rem; border-radius: 18px; background: rgba(255, 255, 255, 0.68);
}
.jhb-gallery-frame--illustration:hover img { filter: none; }
.jhb-gallery-frame.is-spotlight img { aspect-ratio: 16/9; }
.jhb-gallery-frame.is-spotlight.jhb-gallery-frame--illustration img { aspect-ratio: 16/8.8; }

/* ============================================================
   NOTES GRID (audience lenses)
   ============================================================ */
.jhb-notes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 4rem; }
.jhb-note-card { position: relative; padding-top: 1.5rem; }
.jhb-note-card::before { content: ''; position: absolute; top: 0; left: 0; width: 40px; height: 1px; background: var(--jhb-gold); }
.jhb-note-card strong { display: block; font-family: var(--jhb-display); font-size: 1.8rem; font-weight: 400; color: var(--jhb-gold-soft); margin-bottom: 1rem; }
.jhb-note-card p { margin: 0; font-size: .95rem; line-height: 1.9; color: var(--jhb-muted); font-weight: 300; }

/* ============================================================
   STEP TRACK (process)
   ============================================================ */
.jhb-step-track { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 3rem; }
.jhb-step-card { display: grid; gap: 1rem; padding-top: 2rem; border-top: 1px solid var(--jhb-line); }
.jhb-step-no { font-family: var(--jhb-display); font-size: 1.8rem; font-style: italic; color: var(--jhb-gold); opacity: 0.3; line-height: 1; }
.jhb-step-card h3 { margin: 0; font-family: var(--jhb-display); font-size: 1.4rem; font-weight: 400; color: var(--jhb-gold-soft); }
.jhb-step-card p { margin: 0; font-size: .95rem; line-height: 1.9; color: var(--jhb-muted); font-weight: 300; }

/* ============================================================
   INLINE CONVERSION
   ============================================================ */
.jhb-inline-conversion {
  margin-top: 2.5rem; padding: 2rem 2.2rem; border: 1px solid var(--jhb-line);
  border-radius: 22px; background: linear-gradient(180deg, rgba(255,255,255,0.54), var(--jhb-input-bg));
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: center;
}
.jhb-inline-conversion-copy { display: grid; gap: 0.7rem; }
.jhb-inline-conversion-copy h3 {
  margin: 0; font-family: var(--jhb-display); font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300; line-height: 1.05; color: var(--jhb-ink);
}
.jhb-inline-conversion-copy p {
  margin: 0; max-width: 42rem; font-size: 0.95rem; line-height: 1.85; color: var(--jhb-muted);
}
.jhb-inline-conversion-copy small {
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--jhb-gold);
}
.jhb-inline-conversion-actions {
  display: flex; align-items: center; justify-content: flex-end; gap: 1rem; flex-wrap: wrap;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.jhb-cta-band {
  text-align: center; padding: 6rem 0;
  border-top: 1px solid var(--jhb-line); border-bottom: 1px solid var(--jhb-line);
  display: flex; flex-direction: column; align-items: center; gap: 2rem;
}
.jhb-cta-band h2 { font-family: var(--jhb-display); font-weight: 300; font-size: clamp(2.4rem, 4vw, 3.8rem); line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
.jhb-cta-band p { margin: 0; font-family: var(--jhb-display); font-style: italic; font-size: 1.2rem; color: var(--jhb-muted); max-width: 32rem; }
.jhb-cta-actions { display: flex; gap: 1.2rem; flex-wrap: wrap; justify-content: center; margin-top: 1rem; }

/* ============================================================
   FAQ
   ============================================================ */
.jhb-faq-stack { display: grid; gap: 0; border-top: 1px solid var(--jhb-line); }
.jhb-faq-item { border-bottom: 1px solid var(--jhb-line); }
.jhb-faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 2rem 0; font-family: var(--jhb-display); font-size: 1.5rem; color: var(--jhb-ink); }
.jhb-faq-item summary::-webkit-details-marker { display: none; }
.jhb-faq-plus { font-size: 1.5rem; font-weight: 300; color: var(--jhb-gold); transition: transform .3s ease; }
.jhb-faq-item[open] .jhb-faq-plus { transform: rotate(45deg); color: var(--jhb-primary); }
.jhb-faq-item div, .jhb-faq-item p { padding-bottom: 2rem; font-size: 1rem; line-height: 1.9; color: var(--jhb-muted); max-width: 48rem; }

/* ============================================================
   FORM
   ============================================================ */
.jhb-form-wrap { padding: 4rem 0; border-top: 1px solid var(--jhb-line); }
.jhb-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 3rem; }
.jhb-field { display: flex; flex-direction: column; gap: .8rem; }
.jhb-field.is-full { grid-column: 1 / -1; }
.jhb-field label {
  font-size: .6rem; letter-spacing: .25em; text-transform: uppercase; color: var(--jhb-gold);
}
.jhb-field input, .jhb-field select, .jhb-field textarea {
  background: var(--jhb-input-bg); border: 1px solid var(--jhb-line); color: var(--jhb-ink);
  padding: 1rem; border-radius: 0; font: inherit; font-size: 0.95rem;
  transition: border-color .3s ease;
}
.jhb-field input:focus, .jhb-field select:focus, .jhb-field textarea:focus { outline: none; border-color: var(--jhb-gold); background: var(--jhb-soft-line); }
.jhb-field textarea { min-height: 160px; resize: vertical; }
.jhb-field.is-error input, .jhb-field.is-error select, .jhb-field.is-error textarea { border-color: var(--jhb-primary); }
.jhb-error { font-size: 0.75rem; color: var(--jhb-primary); }
.jhb-checkbox { display: flex; gap: 0.7rem; align-items: flex-start; cursor: pointer; }
.jhb-checkbox input { width: auto; flex-shrink: 0; margin-top: 0.18rem; accent-color: var(--jhb-gold); }
.jhb-form-actions { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: 2rem; }

/* notices */
.jhb-notice { padding: 1rem 1.5rem; border-radius: 8px; font-size: 0.9rem; margin-bottom: 1.5rem; border: 1px solid var(--jhb-line); }
.jhb-notice--success { border-color: rgba(127, 198, 75, 0.35); color: #5a8a3c; background: rgba(127, 198, 75, 0.06); }
.jhb-notice--error { border-color: rgba(242, 70, 26, 0.35); color: var(--jhb-primary); background: rgba(242, 70, 26, 0.04); }

/* ============================================================
   FOOTER
   ============================================================ */
.jhb-footer { padding: 6rem 0 4rem; border-top: 1px solid var(--jhb-line); margin-top: 4rem; }
.jhb-footer-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) 160px 160px 140px; gap: 3rem; }
.jhb-footer-brand p { font-family: var(--jhb-display); font-style: italic; font-size: 1.1rem; color: var(--jhb-muted); max-width: 24rem; margin-top: 1rem; }
.jhb-footer-parent { display: inline-flex; margin-top: 1rem; font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--jhb-gold); }
.jhb-footer-col h3 {
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--jhb-muted); margin: 0 0 1.2rem; font-weight: 600;
}
.jhb-footer-links { display: grid; gap: 0.6rem; }
.jhb-footer-links a { font-size: 0.9rem; color: var(--jhb-muted); transition: color 0.2s; }
.jhb-footer-links a:hover { color: var(--jhb-ink); }

.jhb-footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--jhb-soft-line);
}
.jhb-footer-bottom small { font-size: 0.72rem; color: var(--jhb-muted); }

/* back to top */
.jhb-back-top {
  display: inline-flex; align-items: center; gap: 0.6rem; background: none;
  border: 1px solid var(--jhb-line); border-radius: 999px; padding: 0.5rem 1.2rem;
  font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--jhb-muted); cursor: pointer; transition: border-color 0.3s, color 0.3s;
}
.jhb-back-top:hover { border-color: var(--jhb-gold); color: var(--jhb-gold); }
.jhb-back-top-line { width: 12px; height: 1px; background: var(--jhb-gold); transform: rotate(-90deg); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .jhb-side-rail { display: none; }
  .jhb-header-strip { display: none; }
  .jhb-header-signal { display: none; }
  :root { --jhb-header-clearance: 6.75rem; }
}

@media (max-width: 1080px) {
  .jhb-hero-shell { grid-template-columns: 1fr; gap: 3rem; }
  .jhb-split-story { grid-template-columns: 1fr; gap: 3rem; }
  .jhb-search-strip-inner { grid-template-columns: 1fr; }
  .jhb-gallery-band { grid-template-columns: repeat(2, 1fr); }
  .jhb-gallery-frame, .jhb-gallery-frame.is-featured { grid-column: span 1; }
  .jhb-footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .jhb-nav { display: none; }
  .jhb-header-main { width: min(var(--jhb-max), calc(100vw - 2rem)); }
  .jhb-inline-conversion { grid-template-columns: 1fr; }
  .jhb-inline-conversion-actions { justify-content: flex-start; }
  .jhb-editorial-item.has-media { grid-template-columns: 80px 1fr; }
  .jhb-editorial-media { grid-column: 2; }
}

@media (max-width: 768px) {
  :root { --jhb-header-clearance: 5.6rem; }
  .jhb-hero { min-height: auto; padding: 3.75rem 0 4rem; }
  .jhb-gallery-band { grid-template-columns: 1fr; }
  .jhb-form-grid { grid-template-columns: 1fr; }
  .jhb-proof-line { grid-template-columns: 1fr; gap: 1rem; }
  .jhb-stage { padding: 2rem; }
  .jhb-header-main { width: min(var(--jhb-max), calc(100vw - 1.5rem)); gap: 1rem; }
  .jhb-brand-copy span { letter-spacing: 0.18em; }
  .jhb-menu-panel { width: min(100vw, calc(100vw - 0.75rem)); padding: 3rem 1.5rem 2rem; }
  .jhb-menu-link-label { font-size: 1.8rem; }
  .jhb-editorial-item,
  .jhb-editorial-item.has-media { grid-template-columns: 1fr; gap: 1.2rem; }
  .jhb-editorial-media { grid-column: auto; }
}
