/* One live DOM index: centered at opening, then translated into the left rail. */
.osaka-home .hero-index.edition-motion-index{position:fixed;inset:auto;left:var(--nav-start-x,calc(50% - 170px));top:var(--nav-start-y,calc(50svh - 232px));transform:none;translate:none;z-index:8;overflow:visible;pointer-events:none;transition:border-color .52s cubic-bezier(.25,.46,.45,.94),background-color .52s cubic-bezier(.25,.46,.45,.94);will-change:auto}
.osaka-home .edition-motion-index .edition-motion-title{position:relative;transform-origin:left top;transition:transform .6s cubic-bezier(.41,.19,.13,.95);pointer-events:none}
.osaka-home .edition-motion-index .edition-motion-title a{display:block;width:fit-content;max-width:100%;color:inherit;text-decoration:none;pointer-events:auto}
.osaka-home .edition-motion-index .edition-motion-subtitle{transition:opacity .52s cubic-bezier(.25,.46,.45,.94)}
.osaka-home .edition-motion-index .edition-motion-list{width:var(--nav-list-start-width,100%);margin-inline-start:0;margin-inline-end:auto;transition:transform .6s cubic-bezier(.41,.19,.13,.95),width .6s cubic-bezier(.41,.19,.13,.95);pointer-events:none}
.osaka-home[dir=rtl] .edition-motion-index .edition-motion-title{transform-origin:right top}
.osaka-home .edition-motion-index .edition-motion-link{pointer-events:auto;white-space:nowrap;transition:transform .6s cubic-bezier(.41,.19,.13,.95);transition-delay:calc(var(--nav-link-index,0)*20ms)}
.osaka-home .edition-mobile-chapters{position:fixed;inset-inline:24px;top:var(--nav-mobile-top,72px);z-index:12;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 14px;background:rgba(239,237,227,.96);border:1px solid #272b2540;color:#272b25;font-size:10px;line-height:1.2;box-shadow:0 5px 18px #00000012}
.osaka-home .edition-mobile-chapters>span{white-space:nowrap;opacity:.65}
.osaka-home .edition-mobile-chapters select{min-width:0;max-width:70%;border:0;background:transparent;color:inherit;font:inherit;font-size:12px;cursor:pointer;padding:4px 18px 4px 0}
.osaka-home[dir=rtl] .edition-mobile-chapters select{padding-inline:0 18px}
.osaka-home.nav-motion-measuring .edition-motion-index .edition-motion-title,.osaka-home.nav-motion-measuring .edition-motion-index .edition-motion-list,.osaka-home.nav-motion-measuring .edition-motion-index .edition-motion-link{transform:none!important;transition:none!important}
.osaka-home.nav-motion-measuring .edition-motion-index .edition-motion-list{width:100%!important}
@media(min-width:940px){
  .osaka-home .edition-motion-index .edition-motion-title{font-size:32px;line-height:30.4px}
  .osaka-home .edition-motion-index .edition-motion-link{font-size:18px;line-height:17.1px;min-height:17.1px}
  .osaka-home[dir=ltr] .edition-motion-index .edition-motion-link{height:16.875px;min-height:16.875px;flex:0 0 16.875px;align-items:center}
  .osaka-home[dir=ltr] .edition-motion-index .edition-motion-link .index-roman{line-height:1}
  .osaka-home.nav-scrolled .hero-index.edition-motion-index{border-color:transparent;background:transparent;backdrop-filter:none}
  .osaka-home.nav-scrolled .edition-motion-index .edition-motion-title{transform:translate(var(--nav-title-x,0px),var(--nav-title-y,0px)) scale(.75)}
  .osaka-home.nav-scrolled .edition-motion-index .edition-motion-list{width:145px;transform:translateY(var(--nav-list-y,0px))}
  .osaka-home.nav-scrolled .edition-motion-index .edition-motion-link{transform:translateX(var(--nav-list-x,0px))}
  .osaka-home.nav-scrolled .edition-motion-index .edition-motion-subtitle{opacity:0;visibility:hidden}
  .osaka-home.over-editorial .edition-motion-index{color:var(--ink,#272b25)}
  .osaka-home .edition-mobile-chapters{display:none}
}
@media(max-width:939px){
  .osaka-home .hero-index.edition-motion-index{position:absolute}
  .osaka-home.nav-mobile-past-hero .edition-motion-index{visibility:hidden;opacity:0}
  .osaka-home .edition-motion-index .edition-motion-title,.osaka-home .edition-motion-index .edition-motion-list,.osaka-home .edition-motion-index .edition-motion-link{transform:none;transition:none}
}
.osaka-home.nav-motion-reduced .edition-motion-index,.osaka-home.nav-motion-reduced .edition-motion-index *{transition:none!important;animation:none!important}
@media(prefers-reduced-motion:reduce){.osaka-home .edition-motion-index,.osaka-home .edition-motion-index *{transition:none!important;animation:none!important}}

/* Original geometric contour studies; no raster art or reference wordmark. */
.osaka-home .edition-contours{position:fixed;inset:0;width:100%;height:100svh;z-index:6;overflow:hidden;pointer-events:none;color:#f7f7ee;user-select:none}
.osaka-home.over-editorial .edition-contours{color:#77786b}
.osaka-home .edition-contours-loader,.osaka-home .edition-contours-complete{stroke:currentColor;stroke-width:1;stroke-linecap:square;stroke-dasharray:1;stroke-dashoffset:1;opacity:1;pointer-events:none;transition:opacity .52s cubic-bezier(.25,.46,.45,.94),stroke-dashoffset 1s cubic-bezier(.72,.16,.19,.96)}
.osaka-home[data-contour-state=loading] .edition-contours-loader{animation:osaka-contour-load 6s cubic-bezier(.45,.28,.34,.84) both}
.osaka-home:is([data-contour-state=loading],[data-contour-state=completing]) .hero-index.edition-motion-index{border-color:transparent}
.osaka-home[data-contour-state=completing] .edition-contours-loader{stroke-dashoffset:.2}
.osaka-home[data-contour-state=completing] .edition-contours-complete{stroke-dashoffset:0}
.osaka-home:is([data-contour-state=fading],[data-contour-state=ready]) .edition-contours-loader,.osaka-home:is([data-contour-state=fading],[data-contour-state=ready]) .edition-contours-complete{opacity:0;stroke-dashoffset:0}
.osaka-home .edition-contour-guide{stroke:currentColor;stroke-width:.4;stroke-opacity:.15;stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 3s cubic-bezier(.34,.22,.47,.84),stroke-opacity 3s cubic-bezier(.34,.22,.47,.84) 2.1s}
.osaka-home .edition-contour-guide[data-active=true]{stroke-dashoffset:0}
.osaka-home[data-contour-state=loading] .edition-contour-guide[data-active=true]{animation:osaka-contour-glow 4s ease-out forwards}
.osaka-home.nav-motion-reduced .edition-contours *{transition:none!important;animation:none!important}
@keyframes osaka-contour-load{from{stroke-dashoffset:1}to{stroke-dashoffset:.2}}
@keyframes osaka-contour-glow{from{stroke-opacity:.75}to{stroke-opacity:.15}}
@media(prefers-reduced-motion:reduce){.osaka-home .edition-contours *{transition:none!important;animation:none!important}}

/* Theme ownership comes from the actual visible paper wipe whenever available.
   DOM editorial classes remain the native/static fallback, not a competing clock. */
.osaka-home[data-title-theme=light] .edition-motion-index .edition-motion-title{color:#292919}
.osaka-home[data-title-theme=dark] .edition-motion-index .edition-motion-title{color:#f7f7ee}
.osaka-home[data-sidebar-theme=light] .edition-motion-index .edition-motion-list{color:#292919}
.osaka-home[data-sidebar-theme=dark] .edition-motion-index .edition-motion-list{color:#f7f7ee}
.osaka-home[data-theme-source=scene][data-nav-theme=light] .edition-contours{color:#909083}
.osaka-home[data-theme-source=scene][data-nav-theme=dark] .edition-contours{color:#f7f7ee}
body:has(.osaka-home[data-theme-source=scene][data-nav-theme=light]) .site-header.is-home:not(.menu-open){color:#292919;background:transparent;transition:background .25s}
body:has(.osaka-home[data-theme-source=scene][data-nav-theme=dark]) .site-header.is-home:not(.menu-open){color:#f7f7ee;background:transparent;transition:background .25s}
body:has(.osaka-home[data-theme-source=scene][data-nav-theme=light].header-over-editorial) .site-header.is-home:not(.menu-open){background:rgba(237,236,226,.94)}
body:has(.osaka-home[data-theme-source=scene][data-nav-theme=light]) .site-header.is-home:not(.menu-open) .brand img{filter:brightness(.26)}
body:has(.osaka-home[data-theme-source=scene][data-nav-theme=dark]) .site-header.is-home:not(.menu-open) .brand img{filter:none}
body:has(.osaka-home[data-theme-source=scene][data-nav-theme=light]) .site-header.is-home:not(.menu-open) .nav-order{background:#292919;color:#f7f7ee!important}
body:has(.osaka-home[data-theme-source=scene][data-nav-theme=dark]) .site-header.is-home:not(.menu-open) .nav-order{background:#f7f7ee;color:#292919!important}

/* The real DOM paper band owns contrast when it physically crosses the header.
   This follows the scene rules so an outgoing canvas wipe cannot restore white
   navigation over an already visible cream editorial module. */
body:has(.osaka-home.header-over-paper[data-theme-source]) .site-header.is-home:not(.menu-open){color:#292919;background:rgba(237,236,226,.96);transition:background .25s}
body:has(.osaka-home.header-over-paper[data-theme-source]) .site-header.is-home:not(.menu-open) .brand img{content:url('/assets/Wide-Logo-Dark.webp');filter:none}
body:has(.osaka-home.header-over-paper[data-theme-source]) .site-header.is-home:not(.menu-open) .nav-order{background:#292919;color:#f7f7ee!important}
body:has(.osaka-home[data-theme-source=scene][data-nav-theme=dark]:not(.header-over-paper)) .site-header.is-home:not(.menu-open){background:linear-gradient(180deg,rgba(5,17,13,.65),rgba(5,17,13,.35) 65%,rgba(5,17,13,0))}
body:has(.osaka-home[data-theme-source=scene][data-nav-theme=light]) .site-header.is-home:not(.menu-open){background:rgba(237,236,226,.96)}
@media(max-width:939px){body:has(.osaka-home) .site-header.is-home:not(.menu-open){background:#080b08!important;color:#f7f7ee!important}body:has(.osaka-home) .site-header.is-home .brand img{filter:none!important}body:has(.osaka-home) .site-header.is-home .nav-order{background:#f7f7ee!important;color:#20261e!important}.site-header.is-home .global-nav{height:60px;width:calc(100% - 24px);gap:10px}.site-header.is-home .brand>span{display:none}.site-header.is-home .brand img{width:118px}.site-header.is-home .nav-center{order:3;margin-inline-start:5px}.site-header.is-home .nav-end{order:2;margin-inline-start:auto;gap:10px}.site-header.is-home .nav-order{font-size:12px;padding:9px 15px;line-height:1.2}.site-header.is-home .nav-order>span{display:none}.site-header.is-home .nav-menu-toggle{font-size:0;width:24px;height:24px;position:relative;padding:0;min-width:24px}.site-header.is-home .nav-menu-toggle>span{display:none}.site-header.is-home .nav-menu-toggle::before{content:"";position:absolute;inset:4px 0;background:linear-gradient(currentColor,currentColor) center top/100% 2px no-repeat,linear-gradient(currentColor,currentColor) center/100% 2px no-repeat,linear-gradient(currentColor,currentColor) center bottom/100% 2px no-repeat}.edition-mobile-chapters{inset-block-start:68px!important;min-height:40px!important}}
@media(max-width:939px){body:has(.osaka-home[data-theme-source=scene][data-nav-theme]) .site-header.is-home:not(.menu-open) .nav-order{background:#f7f7ee!important;color:#20261e!important}.site-header.is-home .global-nav{gap:6px}.site-header.is-home .nav-center{margin-inline-start:0}.site-header.is-home .nav-end{gap:6px}.site-header.is-home .locale-toggle,.site-header.is-home .nav-cart{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:0}.site-header.is-home .nav-menu-toggle{width:44px;min-width:44px;height:44px}.site-header.is-home .nav-menu-toggle::before{inset:13px 10px}.site-header.is-home .nav-order{padding-inline:12px}}
