/* Isolated homepage scene; the existing header and inner pages keep their styles. */
html:has(.brand-journey), .reference-home:has(.brand-journey) { scroll-snap-type:none; }
body:has(.brand-journey) { overflow-x:clip; }
body:has(.brand-journey)::before { display:none; }
.reference-home > .brand-journey {
  --ink:#192329; --muted:#627277; --blue:#2b59d0; --cyan:#00c6d3; --line:#dce5e6;
  position:relative; width:100%; max-width:none; margin:0; padding:0;
  height:100svh; min-height:720px; color:var(--ink); background:#f3f7f9; scroll-snap-align:none;
}
.reference-home > .brand-journey.scene-enhanced { height:250svh; }
.brand-journey * { letter-spacing:0; box-sizing:border-box; }
.brand-journey [hidden] { display:none!important; }
.brand-journey .stage { position:sticky; top:0; height:100svh; min-height:720px; overflow:hidden; background:#f3f7f9; }
.brand-journey #scene, .brand-journey .scene-poster { position:absolute; inset:0; width:100%; height:100%; display:block; }
.brand-journey .scene-poster { transition:opacity .6s; }
.brand-journey .scene-poster img { display:block; height:100%; width:100%; object-fit:cover; }
.brand-journey.webgl-ready .scene-poster { opacity:0; }
.brand-journey .hero-copy, .brand-journey .network-copy { position:absolute; z-index:3; left:7%; top:27%; width:430px; pointer-events:none; }
.brand-journey .hero-copy a, .brand-journey .network-copy a { pointer-events:auto; }
.brand-journey .eyebrow { font-size:11px; font-weight:650; color:var(--blue); margin:0 0 23px; line-height:1.7; overflow-wrap:anywhere; }
.brand-journey h1 { font-size:56px; line-height:1.3; font-weight:650; margin:0 0 25px; white-space:pre-line; overflow-wrap:anywhere; }
.brand-journey h1 > span { display:block; }
.brand-journey .intro { color:var(--muted); font-size:15px; line-height:1.95; margin:0 0 28px; white-space:pre-line; overflow-wrap:anywhere; }
.brand-journey .brand-actions { display:flex; align-items:center; flex-wrap:wrap; gap:12px 24px; }
.brand-journey .primary-link { width:max-content; max-width:100%; display:inline-flex; gap:24px; align-items:center; min-height:48px; background:var(--blue); color:#fff; padding:12px 20px; border-radius:3px; font-size:13px; font-weight:550; text-decoration:none; }
.brand-journey .scene-icon { display:block; width:20px; height:20px; flex-shrink:0; }
.brand-journey .primary-link .scene-icon { filter:brightness(0) invert(1); transition:transform .25s; }
.brand-journey .primary-link:hover .scene-icon { transform:translateX(4px); }
.brand-journey .primary-link:hover { background:#1744b8; }
.brand-journey .text-link { display:inline-flex; align-items:center; gap:12px; color:var(--blue); font-size:13px; min-height:44px; text-decoration:none; }
.brand-journey .text-link:hover { text-decoration:underline; text-underline-offset:5px; }
.brand-journey .network-copy { opacity:0; visibility:hidden; top:23%; width:355px; }
.brand-journey .network-copy h2 { font-size:43px; line-height:1.45; margin:0 0 23px; font-weight:600; }
.brand-journey .scene-caption { position:absolute; right:7%; bottom:132px; display:flex; align-items:center; gap:17px; font-size:11px; color:#64757d; }
.brand-journey .scene-caption span:first-child { color:var(--blue); font-variant-numeric:tabular-nums; }
.brand-journey .chapter-rail { position:absolute; bottom:0; width:100%; height:90px; background:rgba(255,255,255,.76); border-top:1px solid var(--line); display:flex; align-items:center; padding:0 7%; gap:38px; backdrop-filter:blur(10px); z-index:5; }
.brand-journey .chapter-buttons { display:flex; gap:32px; height:100%; }
.brand-journey .chapter-buttons button { position:relative; border:0; background:none; padding:0; font-size:12px; color:#627277; white-space:nowrap; }
.brand-journey .chapter-buttons button span { margin-right:8px; font-size:10px; }
.brand-journey .chapter-buttons button[aria-pressed="true"] { color:var(--blue); }
.brand-journey .chapter-buttons button[aria-pressed="true"]::before { content:""; position:absolute; height:2px; left:0; right:0; top:-1px; background:var(--blue); }
.brand-journey .rail-line { width:150px; height:1px; background:#cedde1; margin-left:auto; }
.brand-journey .rail-line span { display:block; height:1px; width:100%; transform:scaleX(0); transform-origin:left; background:var(--blue); }
.brand-journey .scroll-cue { display:flex; align-items:center; gap:15px; font-size:11px; color:var(--muted); text-decoration:none; }
.brand-journey .scroll-cue .scene-icon { height:17px; width:17px; }
.brand-journey .scene-controls { display:flex; gap:6px; }
.brand-journey button { font:inherit; cursor:pointer; color:inherit; touch-action:manipulation; }
.brand-journey button:disabled { cursor:default; opacity:.5; }
.brand-journey .icon-button { background:none; border:0; width:42px; height:42px; display:grid; place-items:center; border-radius:4px; }
.brand-journey .icon-button:hover { background:#eaf0f3; }
.brand-journey :is(a,button):focus-visible { outline:3px solid var(--blue); outline-offset:4px; }
.brand-journey .node-layer { position:absolute; inset:0; pointer-events:none; z-index:4; }
.brand-journey .node-label { position:absolute; left:0; top:0; display:flex; gap:10px; align-items:center; min-height:36px; background:rgba(255,255,255,.96); border:1px solid #d5e2e8; border-radius:3px; padding:8px 12px; font-size:12px; white-space:nowrap; pointer-events:auto; box-shadow:0 3px 14px #2048660a; }
.brand-journey .node-label .scene-icon { width:12px; height:12px; }
.brand-journey .node-label:hover, .brand-journey .node-label:focus-visible { color:var(--blue); border-color:var(--blue); }
.brand-journey .node-dot { width:5px; height:5px; background:var(--blue); border-radius:50%; }
.brand-journey dialog { position:fixed; width:min(480px,calc(100% - 32px)); max-height:calc(100svh - 48px); padding:32px; border:1px solid var(--line); border-radius:6px; margin:auto 4% auto auto; background:#fff; color:var(--ink); box-shadow:0 24px 90px #1d36512b; }
.brand-journey dialog::backdrop { background:#1a324945; backdrop-filter:blur(3px); }
.brand-journey .dialog-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:28px; }
.brand-journey .dialog-header .eyebrow { margin:0; }
.brand-journey dialog h2 { font-size:30px; line-height:1.4; margin:0 0 18px; }
.brand-journey #detail-intro { font-size:15px; line-height:1.85; color:var(--muted); white-space:pre-line; }
.brand-journey .dialog-boundary { font-size:11px; line-height:1.8; color:#65767d; margin:28px 0 24px; }
@media (min-width:1800px) { .brand-journey .hero-copy, .brand-journey .network-copy { left:calc(50% - 720px); } }
@media (max-width:1080px) {
  html:has(.brand-journey) .home-header .top-nav:not(.open) { opacity:0!important; visibility:hidden!important; pointer-events:none; }
}
@media (max-width:1100px) and (min-width:901px) {
  .brand-journey .hero-copy { left:5%; width:340px; }
  .brand-journey h1 { font-size:46px; }
  .brand-journey .network-copy { left:5%; width:270px; }
  .brand-journey .network-copy h2 { font-size:36px; }
}
@media (max-width:900px) {
  .reference-home > .brand-journey.scene-enhanced { height:230svh; }
  .brand-journey .hero-copy { left:26px; right:26px; width:auto; top:116px; }
  .brand-journey .eyebrow { font-size:10px; margin-bottom:14px; }
  .brand-journey h1 { font-size:36px; line-height:1.3; margin-bottom:16px; }
  .brand-journey .intro { font-size:12px; line-height:1.8; margin-bottom:17px; }
  .brand-journey .primary-link { font-size:12px; min-height:42px; padding:10px 16px; gap:16px; }
  .brand-journey .brand-actions { gap:10px 16px; }
  .brand-journey .network-copy { left:26px; right:26px; top:110px; width:auto; }
  .brand-journey .network-copy h2 { font-size:30px; line-height:1.45; margin-bottom:14px; }
  .brand-journey .text-link { font-size:12px; }
  .brand-journey .scene-caption { bottom:95px; left:26px; right:26px; font-size:10px; justify-content:space-between; }
  .brand-journey .chapter-rail { height:68px; padding:0 20px; gap:10px; }
  .brand-journey .chapter-buttons { gap:20px; }
  .brand-journey .chapter-buttons button { font-size:11px; }
  .brand-journey .rail-line, .brand-journey .scroll-cue { display:none; }
  .brand-journey .scene-controls { margin-left:auto; gap:0; }
  .brand-journey .scene-controls .icon-button { width:33px; }
  .brand-journey .scene-controls .scene-icon { width:17px; }
  .brand-journey .node-label { padding:7px 9px; font-size:10px; gap:6px; min-height:32px; }
  .brand-journey .node-dot { width:4px; height:4px; }
  .brand-journey .node-label .scene-icon { width:10px; }
  .brand-journey dialog { margin:auto; padding:24px; }
  .brand-journey dialog h2 { font-size:28px; }
}
@media (prefers-reduced-motion:reduce) {
  .brand-journey *, .brand-journey *::before { transition:none!important; }
}
