.story-14{--bg:#eaf3fc;--ink:#223b50;--accent:#165a9c;--panel:#dbeaf7}

.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-14 .hero{background:radial-gradient(ellipse at 83% 48%,#c5e3fb,transparent 46%)}.story-14 .visual svg>g{animation:slidePhone .8s ease-out}.story-14 .cta,.story-14 .output{border-radius:20px}.story-14 .output article{padding:1rem;border-radius:12px;background:#f2f7fc;margin:.6rem 0}.story-14 .output article:last-child{animation:slidePhone .45s ease-out}.story-14 .service .inner{border-left:6px solid #86b8df;padding-left:5%}
@keyframes slidePhone{from{transform:translateY(24px)}}
@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-14 .stage-visual{grid-column:1/-1;display:block;min-width:0;overflow:hidden;margin-bottom:.5rem}
.story-14 .stage-visual svg{display:block;width:100%;height:auto;max-height:300px}
.story-14 .stage-visual svg g,.story-14 .stage-visual svg rect{transition:transform .6s cubic-bezier(.22,.72,.24,1),translate .6s,opacity .35s,scale .45s}
.story-14 .receipt-reel{transform:translateY(calc(var(--stage,0)* -184px))}.story-14 .receipt-pin{transform:translateY(calc(var(--stage,0)*32px))}
html[data-motion=reduced] .story-14 .stage-visual *,html[data-page-paused] .story-14 .stage-visual *{transition:none!important;animation:none!important}
@media(prefers-reduced-motion:reduce){.story-14 .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; }

.it-feature,
.it-notes {
  --line:color-mix(in srgb,var(--ink) 32%,transparent);
  width: min(1180px, 90%);
  margin-inline: auto;
  padding-block: clamp(44px, 7vw, 104px);
}
.it-feature {
  border-block-start: 2px solid var(--accent);
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr);
  gap: clamp(22px, 5vw, 90px);
  align-items: center;
}
.it-feature h2,
.it-notes h2 {
  font-size: clamp(1.65rem, 3vw, 3.25rem);
  line-height: 1.35;
  letter-spacing: -.045em;
  text-wrap: balance;
  word-break: auto-phrase;
}
.it-feature h2 + p,
.it-feature p + p,
.it-notes h2 + p {
  margin-top: .9rem;
}
.it-deck {
  line-height: 1.85;
  max-width: 44em;
}
.it-sample-label {
  display: block;
  margin-block-end: .9rem;
  color: var(--accent);
  letter-spacing: .08em;
  font-weight: 750;
  font-size: .8rem;
}
.it-lab {
  background: var(--lab-bg);
  color: var(--lab-ink);
  border: 1px solid var(--lab-line);
  padding: clamp(16px, 2.6vw, 42px);
  min-width: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.it-lab .it-title {
  display: block;
  font-size: clamp(1.18rem, 2vw, 1.65rem);
  line-height: 1.48;
  font-weight: 750;
}
.it-lab .it-meter {
  display: block;
  font: 600 .75rem/1.6 ui-monospace, monospace;
  letter-spacing: .07em;
  overflow-wrap: anywhere;
}
.it-lab .it-instrument {
  margin-block: 1.3rem;
}
.it-lab .it-controls {
  display: flex;
  align-items: flex-end;
  gap: .55rem;
  flex-wrap: wrap;
}
.it-lab .it-controls button,
.it-lab .it-controls input,
.it-lab .it-controls select {
  min-height: 44px;
  max-width: 100%;
  min-width: 0;
  border: 1px solid var(--lab-line);
  background: var(--lab-bg);
  color: var(--lab-ink);
  padding: .5em .85em;
  border-radius: 3px;
  font: inherit;
}
.it-lab .it-controls button {
  font-weight: 680;
  cursor: pointer;
}
.it-lab .it-controls button:is(:hover, [aria-pressed=true]) {
  background: var(--lab-ink);
  color: var(--lab-bg);
}
.it-lab .it-controls label {
  display: grid;
  gap: .25rem;
  min-width: 0;
  max-width: 100%;
  font-size: .9rem;
  font-weight: 650;
}
.it-lab .it-status {
  display: block;
  min-height: 2.6em;
  margin-top: 1rem;
  padding-top: .75rem;
  border-top: 1px solid var(--lab-line);
  line-height: 1.65;
  font-size: .94rem;
  overflow-wrap: anywhere;
}
.it-note-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3.8vw, 60px);
  margin: 2rem 0 0;
}
.it-note-list article {
  min-width: 0;
  border-top: 1px solid var(--line);
  padding-block: 1.15rem;
}
.it-note-list h3 {
  font-size: clamp(1.1rem, 1.7vw, 1.55rem);
  color: var(--accent);
  line-height: 1.45;
  margin: 0 0 .7rem;
}
.it-notes p,
.it-feature p {
  max-width: 48em;
  line-height: 1.9;
}
.it-next {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 650;
  text-underline-offset: 4px;
  margin-top: 10px;
}
@media (max-width: 760px) {
  .it-feature,
  .it-note-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .it-notes,
  .it-feature {
    width: 90%;
  }
  .it-note-list {
    gap: 0;
  }
  .it-lab .it-controls label {
    flex: 1 1 8rem;
  }
}
html[data-motion=reduced] .it-lab *,
html[data-page-paused] .it-lab * {
  animation: none !important;
  transition: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .it-lab * {
    animation: none !important;
    transition: none !important;
  }
}
.it-feature {
  --lab-bg:#173a50;
  --lab-ink:#fff6de;
  --lab-line:#8daab4;
  grid-template-columns: 1.04fr 1fr;
}
.it-lab {
  border: 5px solid #1d3344;
  border-radius: 30px;
  background-image:
    linear-gradient(
      150deg,
      #315873,
      #15374a);
  box-shadow: inset 0 0 0 1px #658391;
}
.field-receipt {
  width: min(300px, 96%);
  margin: auto;
  position: relative;
  padding-top: 6px;
}
.receipt-slit {
  height: 10px;
  border: 2px solid #5c8195;
  border-radius: 8px;
  background: #071d2a;
}
.field-slip {
  min-height: 115px;
  margin: -3px 9px 0;
  padding: 14px 18px 20px;
  background: #f8eac9;
  color: #37362c;
  clip-path: polygon(0 0, 100% 0, 100% 94%, 95% 100%, 90% 94%, 85% 100%, 80% 94%, 75% 100%, 70% 94%, 65% 100%, 60% 94%, 55% 100%, 50% 94%, 45% 100%, 40% 94%, 35% 100%, 30% 94%, 25% 100%, 20% 94%, 15% 100%, 10% 94%, 5% 100%, 0 94%);
  transform-origin: top;
  overflow-wrap: anywhere;
}
.field-slip > * {
  display: block;
}
.field-slip b {
  font-size: 1.05rem;
  margin-block: .25rem;
}
.field-slip span {
  font-size: .8rem;
}
.it-lab .it-controls label {
  flex: 1 1 14rem;
}
.it-lab .it-controls input {
  width: 100%;
  background: #f1f4ed;
  color: #17364a;
}
.it-note-list article {
  border-radius: 16px 16px 0 0;
  border-top: 4px solid var(--accent);
  background: var(--panel);
  padding: 20px;
}
.it-note-list {
  gap: 1rem;
}
[data-seen=true] .field-slip,
.it-lab[data-mode=copied] .field-slip {
  animation: receiptFeeds .85s cubic-bezier(.2, .68, .28, 1);
}
@keyframes receiptFeeds {
  from {
    transform: scaleY(.48) translateY(-5px);
  }
  to {
    transform: scaleY(1);
  }
}
@media (max-width: 760px) {
  .it-feature {
    grid-template-columns: 1fr;
  }
  .it-note-list {
    gap: 1rem;
  }
}

@media (min-width: 900px) {
  .it-feature {
    width: min(1010px, 90%);
    grid-template-columns: minmax(300px, .78fr) minmax(0, 1fr);
    grid-template-areas: "pocket copy";
    gap: clamp(48px, 7vw, 110px);
  }
  .it-feature .it-deck { grid-area: copy; }
  .it-feature .it-lab { grid-area: pocket; }
  .field-receipt { padding-block: 14px; }
}

.story-14 .pocket-desk {
  position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1fr);
  align-items: center; gap: 4%; min-height: clamp(260px,28vw,415px); padding: 5% 7% 6%;
  background: radial-gradient(ellipse at 65% 43%,#f5faff 2%,transparent 60%),linear-gradient(148deg,#dceaf2,#b9d6e4 72%,#d2e5ee);
  border-radius: 25px 25px 6px 6px; overflow: hidden;
}
.pocket-office { position: relative; height: 205px; align-self: center; transform: rotate(-5deg); }
.office-caption { position: absolute; top: 11px; width: 100%; text-align: center; color: #315971; font-weight: 700; font-size: clamp(.72rem,1.5vw,1.05rem); }
.office-slot { position: absolute; top: 48px; left: 0; right: 0; height: 19px; border-radius: 8px; border: 1px solid #739aad; background: linear-gradient(#a2bdc7 0 36%, #3b5a69 37% 76%, #ccdee5 77%); box-shadow: 0 4px 8px #456c781e; }
.office-ticket {
  position: absolute; top: 61px; left: 8%; width: 84%; min-height: 125px; padding: 10px 12% 15px;
  display: grid; gap: 2px; color: #274451; background: repeating-linear-gradient(0deg,#fffcf2 0 3px,#f4f0e6 3px 4px);
  border-top: 2px solid #b2b3a3; clip-path: polygon(0 0,100% 0,100% 96%,90% 100%,80% 96%,70% 100%,60% 96%,50% 100%,40% 96%,30% 100%,20% 96%,10% 100%,0 96%);
  transform-origin: top; transform: translateY(0) scaleY(1); animation: pocket-print 5.8s cubic-bezier(.32,.04,.21,1) -1s infinite;
}
.office-ticket span { font-size: .75rem; font-weight: 700; } .office-ticket b { font: 700 clamp(1.25rem,2.9vw,2.2rem)/1 ui-monospace,monospace; }
.office-ticket em { width: fit-content; margin: 2px 0; border: 1px solid #7f9b93; padding: 1px 4px; font-style: normal; font-size: .71rem; }
.receipt-barcode { align-self: end; height: 12px; background: repeating-linear-gradient(90deg,#425956 0 2px,transparent 2px 4px,#425956 4px 5px,transparent 5px 7px,#425956 7px 11px,transparent 11px 13px); }
.pocket-device {
  position: relative; justify-self: center; display: grid; gap: 6px; align-content: start; min-width: 0; width: min(100%,220px);
  padding: 25px 9% 14px; background: #fbfdff; color: #203d50; border: 5px solid #1b3546; border-radius: 26px;
  box-shadow: 4px 6px 0 #7299ab, 6px 14px 16px #294e6336; transform: rotate(5deg);
}
.device-lens { position: absolute; width: 25%; height: 5px; top: 7px; left: 37.5%; background: #294453; border-radius: 8px; }
.pocket-device > span, .device-note small, .device-shelf small { font-size: .68rem; color: #446175; }
.pocket-device > b { font-size: clamp(.95rem,2.1vw,1.5rem); line-height: 1.3; }
.device-note, .device-shelf { display: grid; line-height: 1.5; padding: 6px 7%; border-radius: 5px; }
.device-note { background: #d9ebf3; } .device-note strong { font: 700 clamp(1.04rem,2.3vw,1.4rem)/1.25 ui-monospace,monospace; }
.device-shelf { background: #edf1ee; } .device-shelf strong { font-size: clamp(.8rem,1.7vw,1.1rem); }
.device-ack { display: flex; align-items: center; gap: 5px; padding-top: 4px; color: #245b54; font-weight: 700; font-size: clamp(.65rem,1.2vw,.8rem); white-space: nowrap; }
.device-ack i { width: 17px; height: 17px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #33736a; font: 700 .7rem/1 sans-serif; }
@keyframes pocket-print {
  0%, 100% { transform: translateY(-5px) scaleY(.78); }
  27% { transform: translateY(1px) scaleY(.91); }
  52%, 74% { transform: translateY(10px) scaleY(1.04); }
}
.story-14 .intro.field-brief .inner { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 12px clamp(24px,5vw,82px); }
.field-brief h2,.field-brief p { grid-column: 1; }
.story-14 .field-manifest { grid-column: 2; grid-row: 1 / 3; align-self: center; margin: 0; }
.manifest-spread { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: #f9fbf9; border: 1px solid #92acb4; color: #243f4c; box-shadow: 0 4px 0 #d2dee0; }
.manifest-side { display: grid; align-content: center; gap: 4px; padding: 17px 12%; min-height: 112px; line-height: 1.4; }
.manifest-side:first-child { background: #dcebf2; } .manifest-side:nth-child(2) { border-left: 1px dashed #7d9eac; }
.manifest-side small,.manifest-side span { font-size: .74rem; } .manifest-side b { font-size: clamp(1.2rem,2.8vw,2rem); }
.manifest-fold { position: absolute; top: 0; bottom: 0; left: 9%; width: 33%; pointer-events: none; border-block: 3px solid #3e7996; transform: translateX(calc(var(--cg-progress,.62) * 155%)) skewX(calc(-3deg + var(--cg-progress,.62) * 6deg)); }
.manifest-fold i { position: absolute; inset-block: -3px; width: 7px; border-block: 6px solid #32718e; }
.manifest-fold i:first-child { left: -2px; border-left: 2px solid #32718e; } .manifest-fold i:last-child { right: -2px; border-right: 2px solid #32718e; }
.story-14 .field-manifest figcaption { display: block; margin: 10px 0 0; padding: 0; border: 0; color: #395569; font: inherit; font-size: .92rem; line-height: 1.7; }
@media (max-width: 800px) {
  .story-14 .intro.field-brief .inner { display: block; }
  .field-brief h2 + p { margin: 10px 0 22px; }
  .story-14 .pocket-desk { min-height: 218px; padding: 13px 7% 17px; }
  .pocket-office { height: 174px; }
}

[data-scroll-scene] h2 .it-phrase, .hero figcaption i { display: inline-block; white-space: nowrap; }
.hero figcaption i { font-style: normal; }
