.story-23{--bg:#ffffff;--ink:#222b28;--accent:#415d13;--panel:#edf0ea}

.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-23 .hero{display:flex;flex-direction:column;align-items:stretch;gap:1.3em}.story-23 .pitch{max-width:970px}.story-23 .visual{background:#edf0e8;border-bottom:6px solid #a4bf39}.story-23 .visual svg{height:clamp(180px,23vw,280px)}.story-23 .visual rect{animation:rhythmOrder .8s ease-out}.story-23 .instrument{grid-template-columns:minmax(150px,.42fr) minmax(0,1.58fr)}.story-23 .output article{border-left:6px solid #a3be38;padding:.8rem 1rem}.story-23 .output.changed article{animation:rhythmOrder .45s ease-out}
@keyframes rhythmOrder{from{transform:translateX(-18px)}}
@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-23 .stage-visual{grid-column:1/-1;display:block;min-width:0;overflow:hidden;margin-bottom:.5rem}
.story-23 .stage-visual svg{display:block;width:100%;height:auto;max-height:300px}
.story-23 .stage-visual svg g,.story-23 .stage-visual svg rect{transition:transform .6s cubic-bezier(.22,.72,.24,1),translate .6s,opacity .35s,scale .45s}
.story-23 .rhythm-sheet{background:#edf0e7;padding:14px clamp(8px,2vw,25px);color:#25352b}.story-23 .rhythm-axis{display:flex;justify-content:space-between;font-size:.85rem;font-weight:700;padding-bottom:.5rem}.story-23 .rhythm-slots{position:relative;height:var(--board-height,98px);transition:height .45s;background:repeating-linear-gradient(90deg,#c7d0c2 0 1px,transparent 1px 12.5%)}.story-23 .rhythm-piece{position:absolute;top:var(--y);left:var(--x);width:var(--w);height:36px;line-height:36px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;background:#354c3e;color:white;padding:0 .7em;border-radius:3px;border-left:8px solid #74936c;font-size:clamp(.75rem,1.35vw,1rem);transition:top .55s,left .55s,width .55s,background .2s}.story-23 .rhythm-piece[data-high=true]{background:#d1e172;color:#213222;border-color:#415730}

html[data-motion=reduced] .story-23 .stage-visual *,html[data-page-paused] .story-23 .stage-visual *{transition:none!important;animation:none!important}
@media(prefers-reduced-motion:reduce){.story-23 .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:#f4f0e1;
  --lab-ink:#28362b;
  --lab-line:#64745d;
}
.it-lab {
  border: 2px solid #374439;
  background-image:
    linear-gradient(
      90deg,
      transparent 28px,
      #d79281 29px,
      transparent 30px),
    repeating-linear-gradient(transparent 0 26px, #718f7d24 26px 27px);
  padding-left: clamp(29px, 3.8vw, 56px);
}
.rhythm-cues {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  padding: 16px 0;
}
.cue {
  position: relative;
  min-width: 0;
  background: #f4d799;
  padding: 16px 9px 9px;
  box-shadow: 1px 3px 0 #33433033;
  transform: rotate(-4deg);
  transition:
    translate .5s,
    rotate .5s,
    background .5s;
}
.cue:before {
  content: "";
  position: absolute;
  width: 26%;
  height: 9px;
  background: #e1dfbbd9;
  top: -5px;
  left: 38%;
  transform: rotate(-3deg);
}
.cue small,
.cue b {
  display: block;
}
.cue small {
  font-size: .78rem;
}
.cue b {
  font-size: clamp(.9rem, 1.8vw, 1.3rem);
}
.cue-print {
  background: #e9b8a8;
  transform: rotate(4deg);
}
.cue-setup {
  background: #bdd4b3;
  transform: rotate(-1deg);
}
.it-lab[data-mode=approved] .cue-print {
  translate: 0 -10px;
  rotate: -6deg;
  background: #bdd4b3;
}
.it-lab[data-mode=approved] .cue-copy {
  translate: 0 7px;
}
.it-note-list article {
  padding: 18px;
  background: #f3edda;
  border-top: 3px solid #826944;
}
.it-note-list article:nth-child(2) {
  background: #e9e4f1;
  border-color: #75618c;
}
.it-note-list article:nth-child(3) {
  background: #e0ecdf;
  border-color: #587d5e;
}
[data-seen=true] .cue {
  animation: layCue .65s backwards;
}
[data-seen=true] .cue:nth-child(2) {
  animation-delay: .12s;
}
[data-seen=true] .cue:nth-child(3) {
  animation-delay: .24s;
}
@keyframes layCue {
  from {
    translate: 3px -20px;
    rotate: 7deg;
  }
  to {
    translate: 0 0;
    rotate: 0deg;
  }
}
@media (max-width: 760px) {
  .it-note-list {
    gap: 12px;
  }
}
@media (max-width: 380px) {
  .rhythm-cues {
    gap: 4px;
  }
  .cue {
    padding-inline: 5px;
  }
  .cue small {
    font-size: .72rem;
  }
}

.rhythm-cues {
  padding: 28px 12px 16px;
  overflow: clip;
}

@media (min-width: 900px) {
  .it-feature {
    width: min(1040px, 90%);
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .it-feature .it-deck { max-width: 66em; }
  .it-feature .it-deck p { display: inline; }
  .it-feature .it-deck h2 { margin-bottom: .9rem; }
  .it-lab { rotate: -.45deg; }
  .rhythm-cues { gap: 4%; }
  .cue { padding: 18px; }
  .cue b { font-size: 1.65rem; }
}

.schedule-score { padding: clamp(12px,2vw,24px) clamp(15px,3.4vw,48px) clamp(18px,2.5vw,31px); background: #e9eddb; color: #2d382e; }
.score-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; border-bottom: 2px solid #465a41; }
.score-head strong { font: 700 clamp(1.15rem,2.4vw,1.9rem)/1.65 "Yu Gothic UI", sans-serif; letter-spacing: -.03em; }
.score-head > span { color: #536349; font-size: clamp(.7rem,1.2vw,.86rem); }
.score-axis, .score-lane { display: grid; grid-template-columns: minmax(38px,13%) minmax(0,1fr); align-items: center; }
.score-axis { min-height: 29px; border-bottom: 1px solid #a2ac90; }
.score-axis span,.score-lane > span { color: #4b5948; font-size: clamp(.73rem,1.4vw,.95rem); font-weight: 650; }
.score-axis > div { display: grid; grid-template-columns: repeat(3,1fr); }
.score-axis b { padding-left: 5%; font-size: .75rem; font-weight: 550; }
.score-lane { border-bottom: 1px solid #b4bda5; }
.score-lane > div {
  position: relative; min-height: clamp(35px,3.4vw,50px);
  background: repeating-linear-gradient(90deg,#b8c3aa 0 1px,transparent 1px 33.333%);
}
.score-cue {
  position: absolute; top: 50%; width: 32%; min-width: 0; min-height: 24px; white-space: nowrap;
  display: flex; align-items: center; gap: 6px; padding: 2px 3%; border-radius: 3px;
  font-weight: 700; font-size: clamp(.66rem,1.35vw,1rem); line-height: 1.5;
}
.cue-approval { left: 0; background: #bacf65; color: #263a24; }
.cue-press { left: 33.333%; background: #354f3d; color: #f1f4e6; }
.cue-venue { left: 1%; background: #d7dabe; color: #394a33; border: 1px solid #9fab87; transform: translateY(-50%); }
.cue-approval,.cue-press { transform: translate(61%,-50%); animation: shift-workday 6.8s cubic-bezier(.48,.1,.23,1) -1.8s infinite; }
@keyframes shift-workday {
  0%, 8%, 100% { transform: translate(0,-50%); }
  46%, 61% { transform: translate(104%,-50%); }
}
.story-23 .visual figcaption { padding-inline: 12px; }
.story-23 .intro.score-brief .inner { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px clamp(22px,5vw,80px); }
.score-brief h2,.score-brief p { grid-column: 1; }
.story-23 .score-links { grid-column: 2; grid-row: 1/3; align-self: center; margin: 0; }
.score-hinges { display: grid; grid-template-columns: minmax(0,.72fr) minmax(15px,.22fr) minmax(0,1fr); gap: 0; align-items: center; padding: 19px 6%; background: #f0f2e8; color: #263a2a; border-block: 2px solid #536149; }
.score-fixed { grid-column: 1; grid-row: 1; border: 1px solid #7f916c; background: #fbfbec; padding: 9px 5%; font-size: clamp(.74rem,1.6vw,1.03rem); text-align: center; font-weight: 700; }
.score-joint { grid-column: 2; grid-row: 1; width: 100%; height: 45px; position: relative; }
.score-joint i { position: absolute; left: 0; top: 50%; width: 116%; height: 2px; transform-origin: left center; background: #586445; transform: rotate(calc(-16deg + var(--cg-progress,.6) * 35deg)); }
.score-joint i::after { position: absolute; content: ""; right: -2px; top: -2px; width: 6px; height: 6px; border-radius: 50%; background: #586445; }
.score-successor,.score-free { grid-column: 3; display: grid; line-height: 1.4; gap: 2px; padding: 6px 8%; border-left: 4px solid #576744; font-size: .93rem; }
.score-successor { background: #c5d58d; transform: translate(calc(var(--cg-progress,.60) * 8%),calc(-10px + var(--cg-progress,.60) * 24px)) rotate(calc(-3deg + var(--cg-progress,.60) * 6deg)); }
.score-free { grid-row: 2; margin-top: 20px; border-color: #91a188; background: #dce2d5; } .score-hinges small { font-size: .73rem; }
.story-23 .score-links figcaption { display: block; margin: 9px 0 0; padding: 0; border: 0; color: #42563f; font: inherit; font-size: .92rem; line-height: 1.7; }
@media (max-width:800px) {
  .story-23 .intro.score-brief .inner { display: block; } .score-brief h2 + p { margin: 10px 0 22px; }
  .score-cue { padding-inline: 4%; } .score-lane > div { min-height: 31px; }
}

[data-scroll-scene] h2 .it-phrase, .hero figcaption i { display: inline-block; white-space: nowrap; }
.hero figcaption i { font-style: normal; }
