/* Preview-only. Original LP, artwork and title choreography remain unchanged. */
/* One composition, not independently pinned corners. The canvas reads the
   resulting native title bounds; no animation coordinates are hard-coded here. */
:root{
  --opening-header:clamp(64px,8svh,86px);
  --opening-edge:max(var(--gutter),calc((100vw - 1600px)/2));
}
/* The red strokes stay still. Their separate halos follow the blue sweep in
   sequence, then settle before the signature curtain clears. */
.signature-mark{overflow:visible}
.signature-mark .signature-a,.signature-mark .signature-a-aura{stroke:var(--red)}
.signature-mark .signature-a-aura{stroke-width:15;opacity:.1}
.signature.is-ready .signature-a-aura{
  animation:signature-a-ignite .9s ease-in-out both;
}
.signature.is-ready .aura-1{animation-delay:.36s}
.signature.is-ready .aura-2{animation-delay:.62s}
@keyframes signature-a-ignite{
  0%{opacity:.1}
  50%{opacity:1}
  100%{opacity:.24}
}
/* One small cached halo survives the canvas-to-native title handoff. No
   second glow takes over: a single quiet pulse fades out completely. */
#album-title .title-a-aura{stroke:var(--red);stroke-width:10;opacity:.1}
.opening-a-glow{position:absolute;display:block;pointer-events:none;z-index:2;max-width:none;opacity:0;will-change:opacity}
html[data-opening="lines"] #album-title[data-a-glow]>.opening-a-glow{
  animation:hero-a-ignite 1.5s linear both;
  animation-play-state:var(--a-glow-play-state,running);
}
html[data-opening="lines"] #album-title[data-a-glow] .title-a-aura,
html[data-opening="lines"] #album-title[data-a-glow-settled] .title-a-aura{animation:none;opacity:0}
@keyframes hero-a-ignite{
  0%{opacity:0;animation-timing-function:cubic-bezier(.08,0,.18,1)}
  26%{opacity:.95;animation-timing-function:cubic-bezier(.4,0,.2,1)}
  100%{opacity:0}
}
.header{height:var(--opening-header);padding-inline:var(--opening-edge)}
.hero{
  height:calc(100svh - var(--opening-header));
  min-height:480px;
  max-height:1040px;
  padding:clamp(20px,3.5svh,36px) var(--opening-edge) 0;
  display:grid;
  grid-template-columns:minmax(0,1.16fr) minmax(0,1fr);
  grid-template-rows:auto minmax(0,1fr) 56px;
  grid-template-areas:"meta meta" "copy art" "foot foot";
  column-gap:clamp(16px,1.8vw,40px);
  row-gap:20px;
}
.hero-meta{grid-area:meta;min-width:0;gap:16px}
.hero-visual{
  grid-area:art;
  position:relative;
  inset:auto;
  width:min(100%,clamp(280px,69svh,780px));
  height:auto;
  aspect-ratio:1254/948;
  max-width:none;
  align-self:center;
  justify-self:center;
  /* Small optical lift connects the crest to the title, not the page corner. */
  margin:0 0 clamp(12px,3svh,32px);
}
.hero-visual img{width:100%;height:100%;object-fit:contain;object-position:center}
.hero-copy{
  grid-area:copy;
  position:relative;
  inset:auto;
  align-self:center;
  min-width:0;
  padding-block:24px;
}
.hero-note{margin-bottom:clamp(20px,3.6svh,40px)}
.hero h1{
  font-size:clamp(68px,min(10.5vw,18svh),176px);
  line-height:1;
  gap:.32em;
}
.hero-bottom{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  flex-wrap:wrap;
  gap:24px clamp(24px,3vw,50px);
  margin-top:clamp(24px,4.4svh,48px);
}
.hero-tagline{font-size:clamp(15px,1.35vw,21px);line-height:1.85}
.start-listening{margin:0;gap:14px;font-size:12px;min-height:56px;flex-shrink:0}
.start-listening small{font-size:8px;margin-top:8px}
.round-arrow{width:50px;height:50px;font-size:26px;flex-shrink:0}
.hero-footer{grid-area:foot;position:relative;inset:auto;height:100%;min-width:0}

/* Short/narrow landscape windows still form one left/right composition.
   A minimum hero height allows scrolling instead of colliding with the footer. */
@media (max-width:1100px){
  .hero h1{font-size:clamp(62px,min(10.3vw,18svh),116px)}
  .hero-note{font-size:9px;margin-bottom:24px}
  .hero-tagline{font-size:15px}
  .hero-bottom{gap:22px;margin-top:28px}
  .start-listening{gap:11px;font-size:11px}
  .start-listening small{font-size:7px;letter-spacing:.09em}
  .round-arrow{width:44px;height:44px;font-size:24px}
}
@media (min-width:651px) and (max-height:600px){
  .hero{min-height:440px;row-gap:12px;grid-template-rows:auto minmax(0,1fr) 48px}
  .hero-note{margin-bottom:18px}
  .hero-copy{padding-block:16px}
  .hero-bottom{margin-top:22px;gap:18px 28px}
  .hero-visual{width:min(100%,clamp(260px,64svh,780px));margin-bottom:12px}
}

/* Portrait tablets and phone widths read artwork → title → listening.
   No fixed vertical pins: content may grow with text size or a short viewport. */
@media (max-width:900px) and (max-aspect-ratio:6/5), (max-width:650px){
  .hero{
    height:auto;
    min-height:calc(100svh - var(--opening-header));
    max-height:none;
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:auto minmax(0,1fr) auto 52px;
    grid-template-areas:"meta" "art" "copy" "foot";
    row-gap:clamp(20px,3svh,30px);
  }
  .hero-visual{width:min(100%,clamp(260px,56svh,610px));margin:8px 0 0;justify-self:center}
  .hero-copy{padding:0 0 8px;align-self:start}
  .hero h1{font-size:clamp(52px,17vw,138px);gap:.32em}
  .hero-note{font-size:9px;margin-bottom:20px}
  .hero-bottom{margin-top:26px;gap:24px 40px}
  .hero-tagline{font-size:18px}
  .start-listening{font-size:12px;gap:14px}
  .start-listening small{font-size:8px}
}
@media (max-width:650px){
  .header{gap:14px}
  .hero{padding-top:22px;row-gap:20px}
  .hero-meta .eyebrow{font-size:8px}
  .hero h1{font-size:17vw;letter-spacing:-.035em;gap:.32em}
  .hero-note{font-size:8px;margin-bottom:18px}
  .hero-bottom{flex-direction:column;align-items:flex-start;gap:18px;margin-top:24px}
  .hero-tagline{font-size:16px}
  .start-listening{font-size:11px;gap:12px}
  .start-listening small{font-size:7px}
  .hero-footer{font-size:7px;gap:8px;letter-spacing:.04em}
}

/* THE ALBUM: a small halo follows only the existing travelling highlights.
   Keep their crisp stroke, base paths and existing travel timing unchanged. */
.concept .three-lines.is-running .thread-flow{
  filter:drop-shadow(0 0 1.5px rgba(236,102,92,.55)) drop-shadow(0 0 5px rgba(236,102,92,.24));
}
/* The existing center emits at each branch departure: 0 / 1.65 / 3.3 s.
   One shared 5.8 s clock replaces its unrelated slow heartbeat. The 174 ms
   rise overlaps the highlight emerging from the center, then settles by 638 ms. */
.concept .thread-center{
  fill:var(--red);opacity:.8;filter:none;
  animation:thread-source 5.8s ease-in-out infinite;
  animation-play-state:paused;
}
.concept .three-lines.is-running .thread-center{animation-play-state:running}
@keyframes thread-source{
  0%,11%,28.448276%,39.448276%,56.896552%,67.896552%,100%{
    fill:var(--red);opacity:.8;transform:scale(1);
    filter:drop-shadow(0 0 2px rgba(236,102,92,0)) drop-shadow(0 0 7px rgba(236,102,92,0));
  }
  3%,31.448276%,59.896552%{
    fill:#ed7a70;opacity:1;transform:scale(1.22);
    filter:drop-shadow(0 0 2px rgba(236,102,92,.62)) drop-shadow(0 0 7px rgba(236,102,92,.28));
  }
}
.concept .three-lines:not(.is-running) .thread-center,.motion-off .concept .thread-center{
  fill:var(--red)!important;opacity:.8!important;filter:none!important;transform:none!important;
}
@media (prefers-reduced-motion:reduce){
  .concept .thread-center{
    animation-play-state:paused!important;fill:var(--red)!important;
    opacity:.8!important;filter:none!important;transform:none!important;
  }
}
/* Flow dash head reaches pathLength=100 at 83.81% of its 5.8-second cycle.
   Begin one delicate endpoint ripple at 84%, with matching per-branch delays.
   All four phases remain paused/resumed together by the existing scene state. */
.concept .thread-arrival{
  fill:none;
  stroke:#d96960;
  stroke-width:.8;
  vector-effect:non-scaling-stroke;
  opacity:0;
  filter:drop-shadow(0 0 1.5px rgba(236,102,92,.18));
  transform-box:fill-box;
  transform-origin:center;
  pointer-events:none;
  animation:thread-arrival 5.8s cubic-bezier(.22,.55,.3,1) infinite;
  animation-play-state:paused;
}
.concept .arrival-two{animation-delay:1.65s}
.concept .arrival-three{animation-delay:3.3s}
.concept .three-lines.is-running .thread-arrival{animation-play-state:running}
.concept .three-lines:not(.is-running) .thread-arrival,.motion-off .concept .thread-arrival{visibility:hidden}
@keyframes thread-arrival{
  0%,84%{opacity:0;transform:scale(.5)}
  87%{opacity:.32;transform:scale(1.15)}
  94%{opacity:.12;transform:scale(2.4)}
  100%{opacity:0;transform:scale(3.5)}
}
@media (prefers-reduced-motion:reduce){.concept .thread-arrival{display:none;animation:none}}

/* Native Japanese type stays in place, with one shared union mask revealing it.
   Only decoration is hidden from assistive technology; no text is split/retyped. */
.heading-reveal-active{position:relative;color:transparent!important}
.heading-reveal-active>span:not(.heading-reveal-ink){color:transparent!important}
.heading-reveal-active>.heading-reveal-ink{
  display:block;position:absolute;inset:0;margin:0;padding:0;
  color:var(--heading-ink)!important;pointer-events:none;user-select:none;
}
.heading-reveal-lines{position:absolute;display:block;max-width:none;overflow:hidden;pointer-events:none}
.motion-off .heading-reveal-active{color:var(--heading-ink)!important}
.motion-off .heading-reveal-active>span:not(.heading-reveal-ink){color:var(--red)!important}
.motion-off .heading-reveal-ink,.motion-off .heading-reveal-lines{display:none!important}
@media (prefers-reduced-motion:reduce){
  .heading-reveal-active{color:var(--heading-ink)!important}
  .heading-reveal-active>span:not(.heading-reveal-ink){color:var(--red)!important}
  .heading-reveal-ink,.heading-reveal-lines{display:none!important}
}

/* A quiet signpost to the earlier LIMINARA work. The entire footer row remains
   the existing link; this gives its destination a visible resting affordance. */
.footer-main small{
  display:table;
  position:relative;
  width:max-content;
  margin-top:8px;
  padding:5px 2px 7px 15px;
  border-bottom:1px solid rgba(114,197,224,.65);
  color:#d6e9ed;
  font-size:10px;
  font-weight:500;
  letter-spacing:.12em;
  transition:color .25s,border-color .25s;
}
.footer-main small::before{
  content:"";
  position:absolute;
  left:2px;
  top:50%;
  width:4px;
  height:4px;
  border-radius:50%;
  background:var(--blue);
  transform:translateY(-50%);
}
.footer-main:hover small,.footer-main:focus-visible small{
  color:var(--blue);
  border-color:var(--blue);
}
@media (max-width:650px){.footer-main small{font-size:9px}}

#album-title{position:relative}
.opening-contours{position:absolute;display:block;pointer-events:none;z-index:1;max-width:none}
.opening-prepared>.title-word,.opening-prepared>.title-a{opacity:var(--opening-native,0)}
.opening-prepared>.opening-contours{opacity:var(--opening-lines,1)}
.motion-off .opening-prepared>.title-word,.motion-off .opening-prepared>.title-a{opacity:1!important}
.motion-off .opening-contours{display:none!important}
.hero-relief.is-css-relief.has-relief img{opacity:1;transform:var(--preview-relief-transform);transform-origin:50% 45%;will-change:transform}
.hero-relief.is-css-relief .hero-canvas{opacity:0!important}
.hero-relief.is-css-relief:not(.has-relief) img,.motion-off .hero-relief.is-css-relief img{transform:none;will-change:auto}
@media (prefers-reduced-motion:reduce){.hero-relief.is-css-relief img{transform:none!important;will-change:auto}}
@media (prefers-reduced-motion:reduce){.opening-prepared>.title-word,.opening-prepared>.title-a{opacity:1!important}.opening-contours{display:none!important}}
