/* UNLOCK: the thermal reading becomes a visible route, with detail on demand. */
.hero__support { margin-top: 1.5rem; }
.visor__cta-short { display: none; }
.hero__support .hero__ticks { margin: 0; padding: 0; border: 0; }
.read-more { border-top: 1px solid var(--frame); }
.read-more:last-child { border-bottom: 1px solid var(--frame); }
.read-more summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
  padding: 0.85rem 0;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}
.read-more summary::-webkit-details-marker { display: none; }
.read-more summary:hover { color: var(--amber); }
.read-more summary:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
.read-more summary svg {
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: var(--kitsunebi);
  stroke-width: 1.6;
  stroke-linecap: round;
  transition: rotate 220ms var(--ease-out), stroke 220ms var(--ease-out);
}
.read-more[open] > summary svg { rotate: 45deg; stroke: var(--amber); }
.read-more__body { padding: 0.25rem 0 1.35rem; }
.read-more__body p { color: var(--ink-soft); font-size: var(--body); line-height: 1.55; }
.read-more__body p strong { color: var(--ink); }
.step .read-more { margin-top: 1rem; }
.section__head .read-more { margin-top: 1.5rem; }
.situation__symbol {
  width: 2rem;
  height: 2rem;
  margin-bottom: 1.25rem;
  fill: none;
  stroke: var(--kitsunebi);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.is-hot .situation__symbol { stroke: var(--char); }

/* A product enters the gate; a deliberate direction leaves it. */
.direction-route { margin: 0 0 2.5rem; }
.direction-route svg { display: block; width: 100%; height: auto; overflow: visible; }
.direction-route svg path { fill: none; stroke-width: 1.5; }
.direction-route__track { stroke: var(--frame-strong); }
.direction-route__energy { stroke: var(--amber); stroke-dasharray: 536; stroke-dashoffset: 0; }
.direction-route svg circle { fill: var(--kitsunebi); }
.direction-route svg .direction-route__gate { fill: var(--night); stroke: var(--amber); }
.direction-route svg .direction-route__key { fill: var(--amber); stroke: none; }
.direction-route__arrow { stroke: var(--amber); }
.direction-route figcaption { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; color: var(--cold); font-size: 0.8125rem; }
.direction-route figcaption strong { color: var(--amber); }
.direction-route figcaption span:last-child { color: var(--ink); text-align: right; }

/* The three equal time blocks describe the session rather than a progress claim. */
.session-map { margin: 0 0 2.75rem; }
.session-map > figcaption { margin-bottom: 2rem; color: var(--ink); font-size: 1.15rem; font-weight: 650; }
.session-map__rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.session-map__rail::before,
.session-map__rail::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; }
.session-map__rail::before { background: var(--frame-strong); }
.session-map__rail::after { background: linear-gradient(90deg, var(--kitsunebi), var(--flame), var(--amber)); }
.session-map__rail li { position: relative; padding-top: 1.4rem; }
.session-map__rail li::before { content: ''; position: absolute; z-index: 1; top: -3px; left: 0; width: 7px; height: 7px; background: var(--kitsunebi); }
.session-map__rail li:nth-child(2)::before { background: var(--flame); }
.session-map__rail li:nth-child(3)::before { background: var(--amber); }
.session-map__rail li > * { display: block; }
.session-map__time { color: var(--cold); font-size: 0.75rem; font-variant-numeric: tabular-nums; }
.session-map__rail strong { margin: 0.5rem 0; color: var(--ink); font-size: clamp(1.05rem, 1.8vw, 1.45rem); font-weight: 750; }
.session-map__rail li > span:last-child { max-width: 20ch; color: var(--ink-soft); font-size: 0.875rem; line-height: 1.5; }

/* A small working document, explicitly an example, gives the output a shape. */
.action-sheet {
  position: relative;
  margin: 2.75rem 0 0;
  padding: clamp(1.4rem, 4vw, 2.5rem);
  border-radius: var(--radius);
  background: var(--white-hot);
  color: var(--char);
}
.action-sheet figcaption { margin-bottom: 1rem; color: var(--char-soft); font-size: 0.8125rem; }
.action-sheet__header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.25rem; border-bottom: 1px solid rgba(26,7,7,0.25); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 750; line-height: 1.1; text-wrap: balance; }
.action-sheet__header svg { flex: none; width: 2rem; height: 2rem; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.action-sheet dl { margin: 0; }
.action-sheet dl div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(26,7,7,0.2); }
.action-sheet dt { font-size: 0.8125rem; font-weight: 650; }
.action-sheet dd { margin: 0; font-size: 0.9375rem; line-height: 1.45; }
.action-sheet > p { margin: 1.25rem 0 0; color: var(--char-soft); font-size: 0.8125rem; line-height: 1.5; }
.tools-thesis { color: var(--ink) !important; font-size: clamp(1.4rem, 3vw, 1.9rem) !important; font-weight: 650; line-height: 1.15 !important; }

/* Images belong in the mobile story as well as in the desktop camera. */
.has-visor .case__media {
  position: relative;
  width: 100%;
  height: auto;
  margin: 0;
  overflow: hidden;
  border: 0;
  clip-path: none;
  white-space: normal;
}
.stage .case__media--tall { width: 100%; }
.case__media--tall img { max-height: 35rem; object-fit: contain; background: #f5eddb; }
.case__media figcaption { display: block; padding: 0.9rem 0; border-bottom: 1px solid var(--frame); color: var(--cold); font-size: 0.8125rem; line-height: 1.5; }
.case__thesis { margin: 0 0 1.5rem; color: var(--ink); font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 650; line-height: 1.2; text-wrap: balance; }
.case__name { margin-bottom: 1rem; }
.case .story { margin: 1rem 0 0; }
.has-visor .me__photo {
  position: relative;
  width: 9rem;
  height: 11rem;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip-path: none;
  white-space: normal;
}
.me__photo img { height: 100%; object-fit: cover; }
.me__copy .read-more { margin-top: 1.5rem; }
.next .read-more { margin-top: 1.25rem; }

/* Content remains visible by default. One-shot effects start only at arrival. */
@media (prefers-reduced-motion: no-preference) {
  .direction-route.has-arrived .direction-route__energy { animation: unlock-route 750ms cubic-bezier(0.16,1,0.3,1) both; }
  .session-map.has-arrived .session-map__rail::after { animation: unlock-rail 750ms cubic-bezier(0.16,1,0.3,1) both; }
  .session-map.has-arrived .session-map__rail li::before { animation: unlock-node 500ms ease-out both; }
  .session-map.has-arrived .session-map__rail li:nth-child(2)::before { animation-delay: 130ms; }
  .session-map.has-arrived .session-map__rail li:nth-child(3)::before { animation-delay: 260ms; }
  .action-sheet.has-arrived { animation: unlock-document 600ms cubic-bezier(0.16,1,0.3,1) both; }
  .case__media.has-arrived img { animation: unlock-picture 650ms cubic-bezier(0.16,1,0.3,1) both; }
}
@keyframes unlock-route { from { stroke-dashoffset: 536; } to { stroke-dashoffset: 0; } }
@keyframes unlock-rail { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes unlock-node { from { scale: 0.6; filter: brightness(0.5); } to { scale: 1; filter: brightness(1); } }
@keyframes unlock-document { from { clip-path: inset(0 0 18% 0); transform: perspective(900px) rotateX(4deg); } to { clip-path: inset(0); transform: perspective(900px) rotateX(0); } }
@keyframes unlock-picture { from { filter: saturate(0.2); clip-path: inset(0 3%); } to { filter: saturate(1); clip-path: inset(0); } }
@media (max-width: 820px) {
  .hero { padding-bottom: 0; }
  .hero__main { padding: 1.5rem 1.25rem; }
  .hero__lead { margin-top: 1.25rem; }
  .hero__lead p { font-size: 0.9375rem; line-height: 1.5; }
  .hero__cta { margin-top: 1.25rem; }
  .hero__support { margin-top: 1rem; }
  .section { padding-top: clamp(3.75rem, 9vh, 5rem); }
  .stage .section__head { margin-bottom: 1.75rem; }
  .situation__door {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0.4rem 0.9rem;
    min-height: 0;
    padding: 1.1rem;
    text-align: left;
  }
  .stage .situation-item.is-open .situation__door { min-height: 0; }
  .situation__symbol { grid-column: 1; grid-row: 1 / span 2; align-self: center; margin: 0; }
  .situation__door .door__line { grid-column: 2; grid-row: 1; margin: 0; padding: 0; border: 0; font-size: 0.75rem; }
  .situation__door .door__answer { grid-column: 2; grid-row: 2; font-size: 1.0625rem; line-height: 1.25; }
  .situation__door .door__toggle { width: 1rem; height: 1rem; }
  .session-map__rail { gap: 0.7rem; }
  .session-map__time { font-size: 0.6875rem; }
  .session-map__rail li > span:last-child { font-size: 0.8125rem; }
  .action-sheet dl div { grid-template-columns: 5.25rem 1fr; gap: 0.75rem; }
  .stage .me { row-gap: 1.5rem; }
  .me__copy .split-title { font-size: clamp(1.75rem, 7vw, 2.25rem); }
  .case__media--tall img { max-height: 30rem; }
}
@media (prefers-reduced-motion: reduce) {
  .read-more summary svg { transition: none; }
}
@media (max-width: 360px) {
  .visor__offer { gap: 0.5rem; }
  .visor__price { flex: none; }
  .visor__offer .price { font-size: 1.25rem; }
  .visor__offer .price small { font-size: 0.6875rem; }
  .visor__offer .price-note { font-size: 0.625rem; }
  .visor__cta { gap: 0.4rem; padding: 0.65rem 0.6rem; font-size: 0.8125rem; }
  .visor__cta-full { display: none; }
  .visor__cta-short { display: inline; }
  .visor__cta svg { width: 0.9rem; height: 0.9rem; }
}
