/* Shared path nav and photo-first layout. Give URL lives in /js/site-config.js. */
.d2j-top { position: sticky; top: 0; z-index: 1100; background: #060F22; color: #fff; border-bottom: 3px solid #BF0A30; }
.d2j-top .skip { position: absolute; left: 12px; top: -48px; background: #fff; color: #0A1F44; padding: 8px 12px; z-index: 2; }
.d2j-top .skip:focus { top: 8px; }
.d2j-bar { width: min(1180px, calc(100% - 28px)); margin: 0 auto; min-height: 68px; display: flex; align-items: center; gap: 18px; }
.d2j-brand { text-decoration: none; color: #fff; flex-shrink: 0; }
.d2j-top .wordmark { font-family: "Bebas Neue", Impact, sans-serif; font-size: 1.9rem; letter-spacing: 0.04em; line-height: 1; color: #fff; }
.d2j-top .wordmark .two { color: #BF0A30; -webkit-text-stroke: 1px #fff; paint-order: stroke fill; }
.d2j-nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.d2j-nav > a, .d2j-drop > a { color: #fff; text-decoration: none; font-weight: 800; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 10px 12px; border-radius: 4px; }
.d2j-nav > a:hover, .d2j-drop > a:hover, .d2j-nav > a[aria-current], .d2j-drop > a[aria-current] { background: rgba(255,255,255,0.08); }
.d2j-drop { position: relative; }
.d2j-drop > a::after { content: ""; display: inline-block; margin-left: 6px; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; vertical-align: 2px; }
.d2j-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff; color: #0A1F44; border-radius: 10px; padding: 8px; box-shadow: 0 16px 40px rgba(6,15,34,0.22); }
.d2j-drop:hover .d2j-menu, .d2j-drop:focus-within .d2j-menu { display: block; }
.d2j-menu a { display: block; text-decoration: none; color: #0A1F44; font-weight: 700; padding: 10px 12px; border-radius: 6px; }
.d2j-menu a:hover, .d2j-menu a[aria-current="page"] { background: #F7F9FC; color: #BF0A30; }
.d2j-give { margin-left: auto; background: #BF0A30; color: #fff !important; text-decoration: none; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.82rem; padding: 10px 16px; border-radius: 4px; border: 2px solid #BF0A30; min-height: 44px; display: inline-flex; align-items: center; }
.d2j-give:hover { background: #8C1224; border-color: #8C1224; }
a.d2j-live { color: #fff; text-decoration: none; font-weight: 800; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 10px 12px; border-radius: 4px; white-space: nowrap; }
a.d2j-live:hover, a.d2j-live[aria-current="page"] { background: rgba(255,255,255,0.08); }
.d2j-burger { display: none; margin-left: 8px; width: 44px; height: 44px; border: 0; background: transparent; color: #fff; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
.d2j-burger span { display: block; width: 18px; height: 2px; background: #fff; }
.d2j-mobile { background: #060F22; padding: 8px 22px 22px; border-top: 1px solid rgba(255,255,255,0.08); }
.d2j-mobile[hidden] { display: none !important; }
.d2j-mobile a, .d2j-mobile p { display: block; color: #fff; text-decoration: none; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.d2j-mobile p { margin: 12px 0 0; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 800; color: #F4C7D0; border-bottom: 0; padding-bottom: 0; }
.d2j-mobile .d2j-give { margin: 16px 0 0; justify-content: center; }
.d2j-mobile a.d2j-live { display: block; font-size: 1rem; font-weight: 700; letter-spacing: 0; text-transform: none; white-space: normal; padding: 11px 0; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.d2j-mobile a.d2j-live:hover { background: transparent; text-decoration: underline; }

.d2j-photo { margin: 0; }
.d2j-photo img { width: 100%; height: min(52vw, 460px); object-fit: cover; display: block; }
.d2j-photo figcaption { padding: 8px 16px 0; color: #3E4C5E; font-size: 0.9rem; }

body.d2j-home { margin: 0; font-family: Inter, "Segoe UI", Arial, sans-serif; color: #fff; background: #07111f; }
.home-top .d2j-bar { justify-content: space-between; }
.home-nav { margin-left: auto; gap: 0; }
.home-nav > a:not(.d2j-give) { padding: 10px 8px; font-size: 0.74rem; letter-spacing: 0.12em; }
.home-nav > a.d2j-live { padding-right: 0; }
.home-top .d2j-give { margin-left: 14px; padding: 8px 16px; min-height: 40px; }
.nav-pipe { color: rgba(255,255,255,0.45); font-weight: 500; padding: 0 2px; }
.home-hero { text-align: center; padding: 28px 20px 22px; }
.home-hero h1 { margin: 0; font-family: "Bebas Neue", Impact, sans-serif; font-weight: 400; font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: 0.04em; line-height: 0.95; }
.home-hero p { margin: 10px 0 0; color: #d5dbe6; font-size: 1.05rem; }
.home-cards { width: min(1200px, calc(100% - 48px)); margin: 0 auto 28px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; row-gap: 10px; align-items: stretch; }
.home-card { display: flex; flex-direction: column; height: 100%; border-radius: 14px; overflow: hidden; text-decoration: none; color: #fff; background: #0c1c33; box-shadow: 0 10px 28px rgba(0,0,0,0.28); transition: transform 0.22s ease, box-shadow 0.22s ease; }
.home-card-media { display: block; aspect-ratio: 16/9; overflow: hidden; background: #10233f; flex-shrink: 0; }
.home-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: center center; display: block; transition: transform 0.35s ease; }
.home-card-shop .home-card-media img { object-position: center 42%; }
.home-card-body { display: flex; flex-direction: column; flex: 1; background: #0c1c33; padding: 18px 20px 20px; }
.home-cta { margin-top: auto; }
.home-card h2 { margin: 0 0 8px; font-size: 1.05rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 800; }
.home-card p { margin: 0 0 14px; color: #d5dbe6; font-size: 0.98rem; line-height: 1.45; }
.home-cta { color: #f07184; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.82rem; }
.home-arrow { display: inline-block; transition: transform 0.22s ease; }
.home-card:hover, .home-card:focus-visible { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,0,0,0.38); }
.home-card:hover img, .home-card:focus-visible img { transform: scale(1.06); }
.home-card:hover .home-arrow, .home-card:focus-visible .home-arrow { transform: translateX(5px); }
.home-subs { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; }
.home-subs a { color: #fff; font-weight: 800; text-decoration: none; }
.home-subs a:hover, .home-card h2 a:hover { text-decoration: underline; }
.home-card h2 a { color: #fff; text-decoration: none; }
.home-subs p { margin: 4px 0 0; }
.market-video { width: min(960px, calc(100% - 40px)); margin: 18px auto 28px; }
.d2j-player { position: relative; }
.d2j-player video { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; object-position: center center; display: block; background: #10233f; border-radius: 12px; }
.d2j-play { position: absolute; left: 50%; top: 63%; transform: translate(-50%, -50%); width: 18%; max-width: 148px; min-width: 64px; aspect-ratio: 1; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.d2j-player.is-playing .d2j-play { display: none; }
.pillar-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 68vh; }
.pillar { position: relative; display: flex; align-items: flex-end; min-height: 68vh; color: #fff; text-decoration: none; overflow: hidden; }
.pillar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pillar-edu img { object-position: 62% 42%; }
.pillar-market { overflow: hidden; }
.pillar-market img { object-position: left center; transform: scale(1.85); transform-origin: 12% center; }
@media (max-width: 980px) {
  .pillar-market img { transform: scale(2.7); transform-origin: left center; }
}
.pillar-copy { position: relative; width: 100%; min-height: 30%; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px 28px 26px; background: linear-gradient(transparent, rgba(6,15,34,0.55) 18%, rgba(6,15,34,0.92)); }
.pillar h2 { margin: 0; font-family: "Bebas Neue", Impact, sans-serif; font-weight: 400; font-size: clamp(2.4rem, 4vw, 3.6rem); letter-spacing: 0.03em; line-height: 0.95; }
.pillar p { margin: 8px 0 0; max-width: 36ch; font-size: 1.05rem; line-height: 1.35; }
.pillar-edu:hover img, .pillar-edu:focus-visible img { transform: scale(1.04); }
.pillar img { transition: transform 0.4s ease; }
.give-strip { display: grid; grid-template-columns: 160px 1fr auto; gap: 18px; align-items: center; background: #0A1F44; color: #fff; }
.give-strip img { width: 160px; height: 84px; object-fit: cover; object-position: 62% 40%; display: block; }
.give-strip p { margin: 0; padding: 16px 0; font-size: 1.05rem; }
.give-strip .d2j-give { margin: 0 22px 0 0; }
.signup { background: #F7F9FC; color: #0A1F44; padding: 36px 20px 48px; }
.signup-inner { width: min(760px, 100%); margin: 0 auto; }
.signup h2 { margin: 0 0 6px; font-size: 1.6rem; }
.signup .fine, .signup .note { color: #3E4C5E; margin: 0 0 16px; }
.signup form { display: grid; gap: 12px; }
.signup .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.signup label { display: block; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.signup input, .signup select { width: 100%; margin-top: 6px; min-height: 44px; padding: 10px 12px; border: 1px solid #D1D5DB; border-radius: 4px; font: inherit; color: #0A1F44; background: #fff; }
.signup button { min-height: 44px; background: #0A1F44; color: #fff; border: 0; border-radius: 4px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; padding: 12px 18px; }
.signup button:hover { background: #BF0A30; }
.home-foot { background: #060F22; color: #fff; padding: 22px; text-align: center; font-size: 0.92rem; }
.home-foot a { color: #fff; font-weight: 700; }
.home-foot nav { display: flex; flex-wrap: wrap; gap: 12px 18px; justify-content: center; margin-bottom: 10px; }

.hub-hero { position: relative; min-height: 62vh; width: 100%; display: flex; align-items: flex-end; color: #fff; background: #060F22; overflow: hidden; }
.hub-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 42%; }
.hub-hero-copy { position: relative; width: min(1100px, calc(100% - 36px)); margin: 0 auto; min-height: 34%; padding: 36px 8px 32px; background: linear-gradient(transparent, rgba(6,15,34,0.72) 22%, rgba(6,15,34,0.94)); }
.hub-hero h1 { margin: 0; font-family: "Bebas Neue", Impact, sans-serif; font-weight: 400; font-size: clamp(2.8rem, 6vw, 4.6rem); letter-spacing: 0.03em; line-height: 0.92; }
.hub-hero p { margin: 8px 0 0; max-width: 46ch; font-size: 1.08rem; }
.hub-jumps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hub-jumps a, .text-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 4px; background: #BF0A30; color: #fff; text-decoration: none; font-weight: 800; }
.hub-jumps a.ghost, .text-btn.ghost { background: transparent; border: 2px solid #fff; }
.story-hit { position: absolute; inset: 0; z-index: 1; }
.hub-hero-copy { z-index: 2; }

.step-grid, .path-grid { width: min(1100px, calc(100% - 32px)); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.step, .path-card { background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; overflow: hidden; }
.step img, .split-photo img { width: 100%; height: 180px; object-fit: cover; display: block; }
.step div, .path-card { padding: 16px 18px 20px; }
.step h2, .path-card h3 { margin: 0 0 8px; color: #0A1F44; }
.path-card h3 { font-size: 1.25rem; }
.step p, .path-card p, .prose-block p { color: #3E4C5E; line-height: 1.5; }
.path-card ul, .source-list { margin: 8px 0 0; padding-left: 18px; color: #3E4C5E; }
.kicker { margin: 0 0 4px; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #BF0A30; }
.band { background: #F7F9FC; padding: 28px 0; }
.plain { padding: 28px 0; }
.page-wrap { width: min(1100px, calc(100% - 32px)); margin: 0 auto; }
.page-wrap h1 { font-family: "Bebas Neue", Impact, sans-serif; font-weight: 400; font-size: clamp(2.6rem, 6vw, 4.2rem); letter-spacing: 0.03em; line-height: 0.95; margin: 0; }
.crumbs { color: #E6EAF2; margin: 0 0 10px; }
.crumbs a { color: #fff; }
.about-grid, .donate-grid { width: min(1100px, calc(100% - 32px)); margin: 0 auto; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: start; }
.about-grid img { width: 100%; height: auto; border-radius: 12px; display: block; }
.form-card label { display: block; font-weight: 700; margin-bottom: 12px; }
.form-card input, .form-card select { width: 100%; margin-top: 6px; min-height: 44px; padding: 10px 12px; border: 1px solid #D1D5DB; border-radius: 6px; font: inherit; }
.form-card button, .text-btn.navy { background: #BF0A30; color: #fff; border: 0; min-height: 44px; padding: 10px 16px; border-radius: 4px; font-weight: 800; cursor: pointer; }
.launch-hero { position: relative; min-height: 52vh; display: flex; align-items: flex-end; color: #fff; background: #060F22; }
.launch-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 18% 50%; }
.launch-hero .hub-hero-copy { position: relative; }

body.d2j-hub .hero { padding-top: 28px !important; min-height: 0 !important; }
.page-hero { padding-top: 48px !important; }
.page-hero em, .hero-headline em { color: #fff; font-style: italic; }
body .btn-primary { background: #BF0A30; border-color: #BF0A30; color: #fff; }
body .eyebrow { color: #BF0A30; }

@media (max-width: 980px) {
  .d2j-nav { display: none; }
  .home-top .d2j-nav { display: flex; }
  .home-nav > a:not(.d2j-give), .home-nav .nav-pipe, .d2j-bar > a.d2j-live { display: none; }
  .d2j-burger { display: flex; }
  .pillar-grid, .step-grid, .path-grid, .about-grid, .donate-grid, .signup .row, .home-cards { grid-template-columns: 1fr; }
  .give-strip { grid-template-columns: 1fr; }
  .give-strip img { width: 100%; height: 120px; }
  .give-strip .d2j-give { margin: 0 18px 18px; justify-content: center; }
  .pillar, .pillar-grid { min-height: 78vw; }
  .home-card-media { max-height: 200px; }
  .home-cards { width: min(1200px, calc(100% - 28px)); column-gap: 0; row-gap: 18px; }
  .home-card-note { grid-column: auto; margin-top: -6px; }
}
@media (prefers-reduced-motion: reduce) {
  .pillar img, .home-card, .home-card-media img, .home-arrow { transition: none; }
  .home-card:hover, .home-card:focus-visible { transform: none; }
  .home-card:hover img, .home-card:focus-visible img, .home-card:hover .home-arrow, .home-card:focus-visible .home-arrow { transform: none; }
}
