.work11 {
  --paper: #f3eadc;
  --ink: #1d314a;
  --accent: #75501c;
  --wash: #e3d7bc;
  --ctext: white;
  --entry: translate(34px, -35px) rotate(12deg);
  --shift: translate(34px, -35px) rotate(12deg);
}
.work,
.work * {
  box-sizing: border-box;
}
.work {
  overflow: clip;
  background: var(--paper);
  color: var(--ink);
  font:
    400 1rem/1.8 system-ui,
    "Yu Gothic",
    sans-serif;
}
.work h1,
.work h2,
.work p,
.work figure {
  margin: 0;
}
.work h1 {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--accent);
  margin-bottom: 21px;
}
.work .hero {
  display: grid;
  align-items: center;
  gap: clamp(20px, 4vw, 66px);
  position: relative;
  padding: clamp(36px, 6vw, 110px) max(5vw, calc((100vw - 1380px) / 2));
  min-height: min(680px, 77vh);
}
.work .herocopy,
.work .art {
  min-width: 0;
}
.work .display {
  font-size: clamp(2.25rem, 4.1vw, 5rem);
  font-weight: 800;
  line-height: 1.21;
  letter-spacing: -0.065em;
  text-wrap: balance;
  line-break: strict;
  overflow-wrap: anywhere;
  margin: 0 0 24px;
}
.work .lead {
  max-width: 39em;
  line-height: 1.9;
}
.work .cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--accent);
  color: var(--ctext);
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 12px 21px;
  margin-block: 22px 0;
  text-decoration: none;
  font-weight: 750;
  transition: transform 0.18s;
}
.work .cta:hover {
  transform: translateY(-2px);
}
.work .cta:after {
  content: "↗";
}
.work .diagram {
  display: block;
  width: 100%;
  height: auto;
}
.work .art {
  position: relative;
}
.work figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 13px;
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  font-weight: 700;
  background: var(--wash);
  color: var(--ink);
}
.work .story,
.work .scope,
.work .demosect,
.work .local {
  margin: auto;
  width: min(1180px, 90%);
  padding: clamp(32px, 5vw, 76px) clamp(5px, 2.8vw, 50px);
}
.work .story p,
.work .scope p,
.work .local > p {
  max-width: 50em;
  margin-top: 16px;
}
.work h2 {
  font-size: clamp(1.5rem, 2.9vw, 2.9rem);
  font-weight: 780;
  line-height: 1.4;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.work .demosect > p {
  margin: 14px 0 22px;
  max-width: 48em;
}
.work .lab {
  padding: clamp(16px, 3vw, 44px);
  background: var(--wash);
}
.work .console {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: end;
}
.work .console > * {
  min-width: 0;
}
.work .console > label {
  display: grid;
  gap: 3px;
  font-weight: 650;
}
.work .console .tick,
.work .sortrow label {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
}
.work button,
.work select,
.work input,
.work textarea {
  font: inherit;
  color: inherit;
}
.work button,
.work select,
.work input:not([type="checkbox"]),
.work textarea {
  max-width: 100%;
  border: 1px solid currentColor;
  background: var(--paper);
  border-radius: 3px;
  padding: 8px 12px;
  min-height: 44px;
}
.work button,
.work select {
  cursor: pointer;
}
.work button:disabled {
  opacity: 0.52;
  cursor: default;
}
.work .reset {
  margin-top: 16px;
  background: transparent;
}
.work .result {
  width: 100%;
  margin: 8px 0 0;
  background: var(--paper);
  padding: clamp(17px, 2.4vw, 35px);
  border-inline-start: 3px solid var(--accent);
  overflow-wrap: anywhere;
  transition:
    max-width 0.4s,
    background-color 0.4s,
    border-radius 0.4s;
}
.work .result small {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}
.work .result strong {
  display: block;
  font-size: clamp(1.1rem, 1.9vw, 1.65rem);
  line-height: 1.5;
}
.work .result[data-mobile="true"] {
  max-width: 320px;
  min-height: 240px;
}
.work .result[data-theme] .sample-visual {
  height: 60px;
  margin-block: 12px;
  background: linear-gradient(
    125deg,
    transparent 30%,
    currentColor 30% 39%,
    transparent 39% 49%,
    currentColor 49% 65%,
    transparent 65%
  );
  opacity: 0.45;
}
.work #sortlist,
.work #editor,
.work .sheet,
.work #memo {
  width: 100%;
}
.work .sortrow {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  border-bottom: 1px solid currentColor;
}
.work .sortrow > strong,
.work .sortrow > label {
  flex: 1;
}
.work input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
}
.work .console [hidden] {
  display: none !important;
}
.work .local details {
  border-bottom: 1px solid currentColor;
}
.work .local summary {
  cursor: pointer;
  line-height: 1.65;
  padding: 17px 0;
  font-weight: 700;
}
.work .local details p {
  padding: 0 0 19px;
  max-width: 48em;
}
.work .local h2 {
  margin-bottom: 16px;
}
.work :focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.work [aria-invalid="true"] {
  outline: 2px dashed #9b3e30;
}
.work .sheetrow input {
  width: 100%;
}
.work .sheetrow label {
  display: grid;
  padding: 6px;
}
.work .scope {
  position: relative;
}
.work .scope + .scope {
  padding-top: 10px;
}
.work .orbit-total {
  width: 100%;
}
.work .piece {
  transform-box: fill-box;
  transform-origin: center;
  animation: assemble 0.85s both;
}
.work .p2 {
  animation-delay: 0.09s;
}
.work .p3 {
  animation-delay: 0.16s;
}
.work .changed {
  animation: reform 0.48s ease-out;
}
@keyframes assemble {
  from {
    transform: var(--entry);
    opacity: 0.35;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
@keyframes reform {
  from {
    transform: var(--shift);
    clip-path: inset(0 12% 0 0);
  }
  to {
    transform: none;
    clip-path: inset(0);
  }
}

.work11 .hero {
  grid-template-columns: 0.9fr 1.1fr;
}
.work11 .art {
  grid-column: 1;
  grid-row: 1;
  background: #e7dabb;
  border: 2px solid #3b4850;
  box-shadow: 5px 5px 0 #af9f7a;
}
.work11 .herocopy {
  grid-column: 2;
  grid-row: 1;
}
.work11 .lab {
  border: 2px solid var(--ink);
}
.work11 .result > div {
  padding: 13px;
  border-left: 5px solid #b48636;
  margin: 8px 0;
  background: #f6edda;
}
.work11 .scope {
  border-top: 2px dashed #8c7757;
}
@media (min-width: 701px) {
  .work11 .hero {
  }
}
@media (max-width: 700px) {
  .work.work11 .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 30px 5vw;
    gap: 20px;
  }
  .work .hero .herocopy,
  .work .hero .art {
    grid-column: auto;
    grid-row: auto;
    margin: 0;
  }
  .work .display {
    font-size: clamp(2rem, 8.6vw, 3.4rem);
    max-width: 18em;
  }
  .work .hero .art {
    width: min(100%, 460px);
    align-self: center;
  }
  .work .story {
    display: block;
  }
  .work .console {
    align-items: stretch;
  }
  .work .console > label:not(.tick) {
    width: 100%;
  }
  .work .local,
  .work .story,
  .work .demosect,
  .work .scope {
    width: 93%;
  }
  .work .sheetrow > div {
    display: block;
  }
  .work .sheetrow summary {
    min-height: 44px;
  }
  .work .diagram {
    max-height: 310px;
  }
  .work .result[data-theme="2"] {
    display: block;
  }
}
html[data-motion="reduced"] .work *,
html[data-motion="reduced"] .work *::before {
  animation: none !important;
  transition: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .work *,
  .work *::before {
    animation: none !important;
    transition: none !important;
  }
}
.work .sequence {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.work .sequence span {
  display: inline-block;
  padding: 5px 12px;
  border-bottom: 1px solid currentColor;
  font-weight: 670;
}
.work .sheetrow:not([open]) > div {
  display: none;
}
.work .result button {
  color: inherit;
}
.work .herocopy,
.work .art {
  position: relative;
}
.work .result[data-theme="2"] .sample-visual {
  background: repeating-linear-gradient(
    120deg,
    transparent 0 10px,
    currentColor 11px 13px
  );
}
.work11 .sequence {
  gap: 0;
}
.work11 .sequence span {
  border: 1px solid #464d4d;
  border-radius: 4px;
  box-shadow: 3px 3px #ae9e7f;
  margin: 3px;
}
.work11 .scope:nth-last-child(2) {
  border-top: 2px dashed #a28b61;
}
@media (min-width: 920px) {
  .work11 .editorial {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: stretch;
    width: min(1280px, 94%);
    margin: auto;
  }
  .work11 .editorial > .story,
  .work11 .editorial > .demosect {
    grid-column: 1/-1;
  }
  .work11 .scope {
    width: 100%;
    padding: 40px 6%;
  }
  .work11 .scope + .scope {
    border-left: 1px solid currentColor;
  }
}
@media (min-width: 920px) {
  .work11 .demosect {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    align-items: start;
    align-content: start;
    gap: 14px 5%;
    width: 100%;
  }
  .work11 .demosect h2,
  .work11 .demosect > p,
  .work11 .demosect > .cta {
    grid-column: 1;
    justify-self: start;
  }
  .work11 .demosect .lab {
    grid-column: 2;
    grid-row: 1/5;
    width: 100%;
  }
}
@media (max-width: 700px) {
  .work .editorial .story {
    display: block;
  }
  .work .sequence {
    gap: 6px;
  }
  .work .editorial .demosect .cta {
    width: auto;
  }
  .work .sequence span {
    font-size: 0.94rem;
  }
  .work .scope:nth-last-child(2),
  .work .scope:last-child {
    padding-block: 26px;
  }
}
@media (max-width: 700px) {
  .work.work11 .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "station" "headline" "figure" "lead" "action";
    gap: 14px;
  }
  .work.work11 .hero .herocopy {
    display: contents;
  }
  .work.work11 .hero h1 {
    grid-area: station;
    margin: 0;
  }
  .work.work11 .hero .display {
    grid-area: headline;
    margin: 0;
  }
  .work.work11 .hero .lead {
    grid-area: lead;
  }
  .work.work11 .hero .cta {
    grid-area: action;
    margin: 0;
    justify-self: start;
  }
  .work.work11 .hero .art {
    grid-area: figure;
    max-width: 100%;
    width: 100%;
  }
}

.work11 .ordered-panel {
  position: relative;
}
.work11 .ordered-panel:not(:last-child)::after {
  content: "";
  height: 18px;
  width: 4px;
  position: absolute;
  left: 22px;
  bottom: -15px;
  background: #8b6b29;
  z-index: 1;
}
.work11 .ordered-panel small:before {
  content: "●　";
  color: #765d20;
}

.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:#e9cda3;
  --lab-ink:#263747;
  --lab-line:#58616a;
}
.it-lab {
  border: 2px solid #334754;
  box-shadow: 5px 5px 0 #493b29;
  background-image: radial-gradient(#8166474a 1px, transparent 1px);
  background-size: 12px 12px;
}
.bench-stack {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  padding-block: 15px;
}
.bench-plate {
  position: relative;
  display: block;
  width: 80%;
  padding: clamp(8px, 1.5vw, 16px);
  border: 2px solid #27394b;
  border-radius: 4px;
  font-weight: 700;
  box-shadow: 0 5px 0 #586470;
  transform: skewY(-4deg);
  transition: translate .5s, rotate .5s;
}
.bench-plate.low {
  background: #b1c0c2;
  translate: -5% 0;
}
.bench-plate.mid {
  background: #ebeaab;
  translate: 0 0;
}
.bench-plate.top {
  background: #f9f2dc;
  translate: 5% 0;
}
.it-lab[data-mode=report] .bench-plate.top {
  translate: -5% 0;
  rotate: 2deg;
}
.it-lab[data-mode=report] .bench-plate.mid {
  translate: 5% 0;
}
.it-notes .it-note-list {
  gap: 0;
  border: 2px solid var(--ink);
}
.it-note-list article {
  margin: 0;
  padding: clamp(17px, 2.5vw, 34px);
  border: 0;
}
.it-note-list article + article {
  border-left: 1px dashed var(--ink);
}
[data-seen=true] .bench-plate.top {
  animation: benchAssemble .85s ease-out;
}
[data-seen=true] .bench-plate.mid {
  animation: benchAssemble .55s ease-out;
}
@keyframes benchAssemble {
  from {
    transform: translate(22px, -28px) rotate(5deg);
  }
  to {
    transform: skewY(-4deg);
  }
}
@media (max-width: 760px) {
  .it-note-list article + article {
    border-left: 0;
    border-top: 1px dashed var(--ink);
  }
  .bench-plate {
    width: 87%;
  }
}

.bench-stack {
  padding-inline: 14px;
  overflow: clip;
}

@media (min-width: 900px) {
  .it-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr);
    grid-template-areas: "workbench copy";
    padding: clamp(42px, 6vw, 85px) clamp(22px, 3vw, 48px);
    background: linear-gradient(130deg, #e8d5b4, var(--paper) 67%);
    border: 2px solid var(--ink);
    border-radius: 5px;
  }
  .it-feature .it-lab { grid-area: workbench; }
  .it-feature .it-deck { grid-area: copy; }
}

.work11 .bench-top { transform: translate(-9px,-11px); animation: lift-worktop 6s cubic-bezier(.5,.05,.29,1) -.9s infinite; }
.work11 .bench-middle { animation: seat-worktop 6s cubic-bezier(.5,.05,.29,1) -.9s infinite; }
@keyframes lift-worktop {
  0%, 100% { transform: translate(-13px,-17px); }
  52%, 64% { transform: translate(12px,27px); }
}
@keyframes seat-worktop {
  0%, 100% { transform: translate(-3px,-4px); }
  52%, 64% { transform: translate(7px,14px); }
}
.work11 .story.bench-brief { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); column-gap: clamp(24px, 5vw, 70px); align-items: start; }
.work11 .bench-brief > h2, .work11 .bench-brief > p { grid-column: 2; }
.work11 .bench-cut { grid-column: 1; grid-row: 1 / 3; margin: 0; }
.bench-drawing {
  position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr .7fr 1fr; gap: clamp(5px,.8vw,10px); align-items: center;
  min-height: 166px; padding: 20px 5%; background: radial-gradient(#ac9f7c 1px, transparent 1.2px) 0 0 / 12px 12px, #ece0bc; border: 1px solid #988961;
}
.bench-drawing::before { content: ""; position: absolute; z-index: -1; inset: 50% 9% auto; border-top: 5px double #615f4a; }
.bench-card, .bench-core { display: grid; align-content: center; gap: 3px; min-width: 0; min-height: 81px; padding: 9px 8%; border: 1px solid #6b6a54; box-shadow: 2px 3px 0 #a29875; line-height: 1.45; }
.bench-card { background: #f5e6bd; color: #323d35; }
.bench-in { transform: translate(calc((1 - var(--cg-progress,.62)) * 6%), calc(var(--cg-progress,.62) * -14px)) rotate(calc(var(--cg-progress,.62) * -4deg)); }
.bench-out { background: #d7dfc5; transform: translate(calc((1 - var(--cg-progress,.62)) * -6%), calc(var(--cg-progress,.62) * 16px)) rotate(calc(var(--cg-progress,.62) * 4deg)); }
.bench-core { position: relative; z-index: 1; min-height: 57px; text-align: center; background: #39534b; color: #f3f5df; }
.bench-drawing small, .bench-card span { font-size: clamp(.61rem,1.1vw,.77rem); }
.bench-card b { font-size: clamp(.74rem,1.3vw,1.1rem); }
.bench-core b { font: 680 clamp(.77rem,1.45vw,1.12rem)/1.2 ui-monospace,monospace; }
.work11 .bench-cut figcaption { display: block; border: 0; padding: 10px 0 0; color: #3c463a; font: inherit; font-size: .92rem; line-height: 1.7; }
@media (max-width:780px) {
  .work11 .story.bench-brief { display: block; }
  .work11 .bench-cut { margin-top: 22px; }
}

[data-scroll-scene] h2 .it-phrase, .hero figcaption i { display: inline-block; white-space: nowrap; }
.hero figcaption i { font-style: normal; }
