.story-18{--bg:#ffffff;--ink:#24364e;--accent:#315fc3;--panel:#e8effc}

.story{background:var(--bg);color:var(--ink);overflow:clip;font-family:"Yu Gothic UI",Meiryo,sans-serif;line-height:1.85}.story *{box-sizing:border-box}.story .wrap{width:min(1280px,90%);margin-inline:auto}.story h2,.story h3,.story p,.story figure{margin:0}.story .hero{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);align-items:center;gap:clamp(24px,4vw,72px);min-height:min(780px,86svh);padding-block:clamp(46px,7vw,108px)}.story .pitch{position:relative;z-index:1}.story h1{font-size:clamp(.9rem,1.22vw,1.1rem);font-weight:650;line-height:1.7;margin:.9rem 0 1.5rem}.story .display{font-size:clamp(2.35rem,4.1vw,4.6rem);font-weight:730;line-height:1.33;letter-spacing:-.055em;line-break:strict;word-break:auto-phrase}.story .lead{margin:1.35rem 0;max-width:36em}.story .word{font:italic 400 clamp(1.25rem,2.2vw,2.3rem)/1.15 Georgia,serif;color:var(--accent)}.story .visual{min-width:0}.story .visual svg{display:block;width:100%;height:auto}.story figcaption{display:flex;justify-content:space-between;gap:10px;border-top:1px solid currentColor;padding-top:.55rem;margin-top:.7rem;color:var(--accent);font:500 .76rem/1.5 monospace}.story .cta{display:inline-flex;align-items:center;justify-content:space-between;gap:1.5em;background:var(--ink);color:var(--bg);font-weight:700;padding:.65em 1.25em;text-decoration:none;min-height:46px}.story .cta::after{content:'↗';font-family:Arial}.story .cta:hover{box-shadow:inset 0 -3px var(--accent)}.story .intro,.story .demo,.story .service,.story .closing{padding-block:clamp(52px,7vw,110px)}.story .intro{border-top:1px solid color-mix(in srgb,var(--ink) 32%,transparent)}.story .kicker{font:600 .79rem/1.4 monospace;letter-spacing:.1em;color:var(--accent);margin-bottom:1rem}.story h2{font-size:clamp(1.75rem,3.3vw,3.4rem);line-height:1.4;letter-spacing:-.04em;word-break:auto-phrase}.story h3{font-size:clamp(1.18rem,1.85vw,1.6rem);line-height:1.5}.story .intro .inner,.story .service .inner,.story .closing .inner{display:grid;grid-template-columns:1fr 1fr;gap:clamp(25px,5vw,80px);align-items:start}.story .demo{background:var(--panel)}.story .demo .note{margin:1rem 0 1.75rem;max-width:58em}.story .instrument{display:grid;grid-template-columns:minmax(225px,.72fr) minmax(0,1.28fr);gap:clamp(14px,3vw,44px);border-top:2px solid var(--accent);padding-top:1.5rem}.story .keys{display:flex;align-content:flex-start;align-items:flex-start;gap:9px;flex-wrap:wrap}.story .keys label{display:flex;align-items:center;gap:.4em;flex-wrap:wrap;font-weight:650}.story select,.story button{color:var(--ink);background:var(--bg);border:1px solid currentColor;padding:.55em .85em;min-height:44px;border-radius:3px;font-size:1rem;max-width:100%}.story option{background:var(--bg);color:var(--ink)}.story button:active{transform:translateY(1px)}.story button:hover,.story button[aria-pressed=true]{background:var(--ink);color:var(--bg)}.story .keys select{width:100%}.story .keys input{width:20px;height:20px}.story [data-reset]{background:transparent;text-decoration:underline}.story .output{padding:clamp(20px,3vw,46px);background:var(--bg);min-height:12rem;overflow-wrap:anywhere;border-left:3px solid var(--accent)}.story .output h3,.story .output h4{margin:.4em 0}.story .output article,.story .output aside{padding:.8em 0;border-top:1px solid color-mix(in srgb,var(--ink) 30%,transparent)}.story .output article p{margin:.25em 0}.story .output small{font-weight:650;color:var(--accent)}.story .demo .cta{margin-top:1.7rem}.story .service article+article{border-top:1px solid var(--accent);margin-top:1.4em;padding-top:1.4em}.story .service h3,.story .closing h3{margin-bottom:.6rem}.story .closing{background:var(--panel)}.story details{border-block-start:1px solid currentColor;padding:.6em 0}.story summary{font-weight:700;padding:.65em 0;min-height:44px}.story details p{padding:.5em 0}.story .closing .cta{margin-top:1.2em}
@media(min-width:801px){.story .hero{position:relative}}
@media(max-width:800px){.story .hero,.story .instrument,.story .intro .inner,.story .service .inner,.story .closing .inner{grid-template-columns:1fr}.story .hero{min-height:0;gap:26px;padding-block:36px}.story .display{font-size:clamp(2.05rem,6vw,3.2rem)}.story .visual{width:min(100%,560px);margin:auto}.story .kicker{margin-bottom:.6rem}.story .intro,.story .demo,.story .service,.story .closing{padding-block:46px}.story .keys{align-items:center}.story .keys label{min-height:44px}.story h1{margin:.5rem 0 .9rem}.story .lead{margin:1em 0}}

.story-18 .hero{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}.story-18 .visual{grid-column:1;grid-row:1}.story-18 .pitch{grid-column:2;grid-row:1}.story-18 .visual path{transform-origin:center;animation:pointCompass .8s ease-out}.story-18 .demo{border-radius:clamp(12px,5vw,80px) 0}.story-18 .output{border-radius:0 48px 0 0}.story-18 .output:before{content:'➤';display:block;font-size:2.4rem;color:var(--accent);transform-origin:1rem 50%;transition:transform .55s}.story-18 [data-direction=review] .output:before{transform:rotate(-110deg)}.story-18 [data-direction=human] .output:before{transform:rotate(55deg)}
@keyframes pointCompass{from{transform:rotate(-26deg)}}
@media(max-width:800px){.story .hero,.story .instrument,.story .pitch{display:block}.story .visual{margin:20px auto 0;transform:none}.story .visual svg{height:auto;max-height:285px}.story .output{margin-top:1.2rem}.story .hero{padding-block:30px}.story .intro .inner,.story .service .inner,.story .closing .inner{grid-template-columns:minmax(0,1fr)}.story .keys select{width:100%}.story .keys label{flex:1 1 10rem}.story .visual figcaption{font-size:.73rem}}

.story-18 .stage-visual{grid-column:1/-1;display:block;min-width:0;overflow:hidden;margin-bottom:.5rem}
.story-18 .stage-visual svg{display:block;width:100%;height:auto;max-height:300px}
.story-18 .stage-visual svg g,.story-18 .stage-visual svg rect{transition:transform .6s cubic-bezier(.22,.72,.24,1),translate .6s,opacity .35s,scale .45s}
.story-18 .needle{transform-origin:144px 102px;transform:rotate(-90deg)}.story-18 [data-direction=trial] .needle{transform:rotate(-32deg)}.story-18 [data-direction=review] .needle{transform:rotate(0deg)}.story-18 [data-direction=human] .needle{transform:rotate(32deg)}.story-18 [data-direction=trial] .branch0,.story-18 [data-direction=review] .branch1,.story-18 [data-direction=human] .branch2{transform:translateX(48px)}
html[data-motion=reduced] .story-18 .stage-visual *,html[data-page-paused] .story-18 .stage-visual *{transition:none!important;animation:none!important}
@media(prefers-reduced-motion:reduce){.story-18 .stage-visual *{transition:none!important;animation:none!important}}

.hero .display { overflow-wrap: normal; line-break: strict; text-wrap: balance; }
.hero .display > [data-wrap-group] { display: inline-block; white-space: nowrap; }


.ai-feature,
.ai-notes {
  padding: clamp(48px, 7vw, 104px) 0;
}
.ai-frame {
  width: min(1150px, 90%);
  margin: 0 auto;
  min-width: 0;
}
.ai-frame > * {
  min-width: 0;
}
.ai-feature h2,
.ai-notes h2 {
  margin: 0 0 0.38em;
  font-size: clamp(1.85rem, 3.9vw, 3.9rem);
  line-height: 1.25;
  letter-spacing: -0.052em;
  color: inherit;
  word-break: auto-phrase;
  text-wrap: balance;
}
.ai-feature header > p:last-child,
.ai-feature .ai-frame > div:first-child > p:last-child {
  max-width: 35em;
}
.ai-caption {
  margin: 0 0 1rem;
  font-weight: 730;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}
.ai-feature p:not(.ai-caption),
.ai-notes p {
  line-height: 1.85;
}
.ai-notes h2 {
  font-size: clamp(1.55rem, 2.9vw, 2.8rem);
}
.ai-notes .ai-notes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 4.5vw, 66px);
  margin-top: 1.65rem;
}
.ai-notes h3 {
  margin: 0.4rem 0 0.65rem;
  font-size: clamp(1.1rem, 1.65vw, 1.48rem);
  line-height: 1.55;
  word-break: auto-phrase;
  text-wrap: balance;
}
.ai-notes p {
  margin: 0;
}
.ai-jump {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  margin: 0.24rem 0.6rem 0.24rem 0;
  min-height: 44px;
  padding: 0.35em 0;
  font-size: 0.86rem;
  font-weight: 700;
  color: inherit;
  text-underline-offset: 0.32em;
}
.ai-jump:after {
  content: "↓";
}
@media (max-width: 740px) {
  .ai-notes .ai-notes-grid {
    grid-template-columns: 1fr;
  }
  .ai-frame {
    width: 89%;
  }
}

.atlas {
  color: #fff;
  background: #19365f;
}
.atlas .ai-frame {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: clamp(22px, 6vw, 92px);
}
.atlas-instrument {
  background: #f2f6fb;
  color: #203c63;
  padding: clamp(16px, 3vw, 34px);
  box-shadow: 8px 8px #102947;
}
.atlas-plot {
  position: relative;
  height: clamp(160px, 16vw, 242px);
  border: 1px solid #7a9bb9;
  border-bottom: 3px solid #294e81;
  border-left: 3px solid #294e81;
  background-color: #deebf4;
  background-image: repeating-radial-gradient(
    ellipse at 80% 85%,
    transparent 0 21px,
    #8caac67a 22px 23px,
    transparent 24px 39px
  );
}
.atlas-y,
.atlas-x {
  position: absolute;
  font: 700 0.8rem/1.4 sans-serif;
  background: #f7fbff;
  padding: 0.24em 0.45em;
}
.atlas-y {
  left: 4px;
  top: 4px;
}
.atlas-x {
  right: 4px;
  bottom: 4px;
}
.atlas-plot i {
  position: absolute;
  left: 77%;
  top: 20%;
  width: 20px;
  height: 20px;
  border-radius: 100%;
  background: #285da9;
  border: 4px solid #fff;
  box-shadow:
    0 0 0 2px #285da9,
    0 0 0 9px #3562a929;
}
.atlas-instrument:has(input[value="terms"]:checked) .atlas-plot i {
  left: 21%;
  top: 72%;
}
.atlas-instrument:has(input[value="voice"]:checked) .atlas-plot i {
  left: 69%;
  top: 58%;
}
.atlas-instrument fieldset {
  border: 0;
  padding: 0;
  margin: 1em 0;
}
.atlas-instrument legend {
  font-weight: 720;
}
.atlas-instrument label {
  display: inline-flex;
  align-items: center;
  gap: 0.32em;
  min-height: 44px;
  margin-right: 0.6em;
  cursor: pointer;
}
.atlas-instrument input {
  accent-color: #285da9;
  width: 1.1rem;
  height: 1.1rem;
}
.atlas-readout {
  border-top: 1px solid #91a6bf;
  padding-top: 0.7em;
}
.atlas-readout h3 {
  font-size: 1.25rem;
}
.atlas-instrument:has(input[value="head"]:checked)
  .atlas-readout
  > div:not(.atlas-head),
.atlas-instrument:has(input[value="terms"]:checked)
  .atlas-readout
  > div:not(.atlas-terms),
.atlas-instrument:has(input[value="voice"]:checked)
  .atlas-readout
  > div:not(.atlas-voice) {
  display: none;
}
.story-18 .ai-notes {
  background: #e4ebef;
}
.story-18 .ai-notes article {
  border-top: 4px double #456788;
  padding-top: 1em;
}
@media (prefers-reduced-motion: no-preference) {
  html[data-motion="normal"] .atlas-plot i {
    transition:
      top 0.6s cubic-bezier(0.2, 0.74, 0.24, 1),
      left 0.6s cubic-bezier(0.2, 0.74, 0.24, 1);
  }
  html[data-motion="normal"] .atlas[data-seen="true"] .atlas-plot i {
    animation: atlas-pulse 1.2s 2;
  }
  @keyframes atlas-pulse {
    40% {
      box-shadow:
        0 0 0 2px #285da9,
        0 0 0 18px #3562a909;
    }
  }
}
@media (max-width: 740px) {
  .atlas .ai-frame {
    grid-template-columns: 1fr;
  }
}
.atlas {
  color: #173759;
  background: #f7fafc;
  background-image:
    linear-gradient(#95b5c52b 1px, transparent 1px),
    linear-gradient(90deg, #95b5c52b 1px, transparent 1px);
  background-size: 30px 30px;
  border-top: 1px solid #a3b9d0;
}
.atlas .ai-frame {
  grid-template-columns: 1.18fr 0.82fr;
}
.atlas header .ai-caption {
  color: #264f7b;
}
.atlas header h2 {
  font-family: "Yu Mincho", serif;
  font-size: clamp(1.95rem, 3.6vw, 3.6rem);
}
.atlas-instrument {
  background: #fffdf6;
  box-shadow: 0 5px 18px #29456326;
  border: 1px solid #869eb5;
}
.atlas-plot {
  height: clamp(180px, 20vw, 270px);
}
@media (min-width: 741px) {
  .atlas-instrument {
    grid-column: 1;
    grid-row: 1;
  }
  .atlas header {
    grid-column: 2;
    grid-row: 1;
  }
}
@media (max-width: 740px) {
  .atlas .ai-frame {
    grid-template-columns: 1fr;
  }
}

.story-18 .hero .decision-survey path { animation: none; }
.survey-needle { transform-origin: 231px 218px; transform: rotate(-38deg); }
@media (prefers-reduced-motion: no-preference) {
  html[data-motion="normal"] .survey-needle { animation: survey-bearings 8s cubic-bezier(.5,.02,.35,1) infinite; }
}
@keyframes survey-bearings {
  0%, 100% { transform: rotate(-62deg); }
  28% { transform: rotate(3deg); }
  41% { transform: rotate(-2deg); }
  64% { transform: rotate(66deg); }
  77% { transform: rotate(59deg); }
}
.story-18 .triage-files { grid-column: 1 / -1; margin: 0; width: 100%; }
.story-18 .triage-files figcaption { padding: .65rem 0; margin: 0; color: #2c4969; }
.triage-files ol { list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .7rem; margin: 0; padding: 2.2rem 1.1rem .5rem; }
.triage-files li {
  --file-x: -14px; --angle: -4deg; --edge: #4d739b;
  position: relative; min-width: 0; padding: .9rem .85rem 1.2rem; border: 1px solid #aebbc5; border-top: 3px solid var(--edge);
  background: #f0f4f7; color: #253849; box-shadow: 2px 3px 0 #d7dfe5;
  transform-origin: 50% 95%;
  transform: translateX(calc(var(--cg-progress, .55) * var(--file-x))) rotate(calc(var(--cg-progress, .55) * var(--angle)));
}
.triage-files li:nth-child(2) { --file-x: 0px; --angle: .9deg; --edge: #8b692f; background: #f6f1e5; }
.triage-files li:nth-child(3) { --file-x: 14px; --angle: 4deg; --edge: #5c7467; background: #edf3ed; }
.triage-files small { position: absolute; bottom: 100%; left: -1px; padding: .12rem .65rem; background: var(--edge); color: white; border-radius: 4px 7px 0 0; font-weight: 700; }
.triage-files strong { display: block; font-size: clamp(1rem, 2vw, 1.45rem); }
.story-18 .triage-files p { margin: .45em 0 0; font-size: .96rem; line-height: 1.65; }
@media (max-width: 800px) {
  .story-18 .hero { display: grid; grid-template-columns: minmax(0,1fr); gap: .7rem; }
  .story-18 .hero .pitch { display: contents; }
  .story-18 .hero .word { grid-row: 1; }
  .story-18 .hero h1 { grid-row: 2; margin: 0; }
  .story-18 .hero .display { grid-row: 3; }
  .story-18 .hero .visual { grid-column: 1; grid-row: 4; margin: 0; width: 100%; }
  .story-18 .hero .lead { grid-row: 5; margin: .4rem 0; }
  .story-18 .survey-actions { grid-row: 6; }
}
@media (max-width: 580px) {
  .triage-files ol { grid-template-columns: 1fr; gap: 1.75rem; padding: 1.8rem .8rem .3rem; }
  .triage-files li { --file-x: -8px; --angle: -1.8deg; padding: .6rem .85rem; }
  .triage-files li:nth-child(3) { --file-x: 8px; --angle: 1.8deg; }
}
