.work2 {
  --paper: #111820;
  --ink: #edf8f4;
  --accent: #8df3d4;
  --wash: #192d30;
  --ctext: #11282c;
  --entry: translateX(-50px);
  --shift: translateX(-50px);
}
.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);
  }
}

.work2 .hero {
  border-bottom: 6px solid var(--accent);
}
.work2 .art {
  border-block: 1px solid #46706c;
}
.work2 .story,
.work2 .demosect,
.work2 .scope {
  border-inline-start: 6px solid var(--accent);
  padding-inline-start: clamp(18px, 4vw, 72px);
}
.work2 .story h2:before,
.work2 .scope h2:before {
  content: "";
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  background: var(--accent);
  margin-right: 0.4em;
}
.work2 .result b {
  display: inline-block;
  border: 1px solid #8df3d4;
  border-radius: 30px;
  padding: 6px 14px;
}
.work2 .console .tick {
  border-bottom: 2px solid var(--accent);
}
@media (min-width: 701px) {
  .work2 .hero {
  }
}
@media (max-width: 700px) {
  .work.work2 .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
  );
}
.work2 .editorial {
  border-left: 6px solid #86ebce;
  margin-left: 5%;
}
.work2 .editorial .story,
.work2 .editorial .demosect,
.work2 .editorial .scope {
  border-left: 0;
}
.work2 .sequence {
  flex-direction: column;
  align-items: flex-start;
}
.work2 .sequence span:before {
  content: "●　";
  color: var(--accent);
}
.work2 .story {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 0 5vw;
}
.work2 .story h2,
.work2 .story p {
  grid-column: 1;
}
.work2 .story .sequence {
  grid-column: 2;
  grid-row: 1/3;
}
@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 (min-width: 701px) {
  .work2 .hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    background: linear-gradient(110deg, #111820 0 49%, #142124 49% 100%);
  }
  .work2 .hero .art {
    border-block: 0;
    border-inline-start: 1px solid #41675f;
  }
}

.work2 .route-comparison {
  width: 100%;
  overflow: hidden;
  border-block: 1px solid #628478;
  padding: 16px;
  background: #122421;
}
.work2 .route-title {
  color: #d7ebe0;
  font-size: 0.85rem;
}
.work2 .route-old {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 4px 0 14px;
  color: #cfdfd7;
}
.work2 .route-old span {
  width: 90%;
  text-align: center;
  border: 1px dashed #75918a;
  padding: 4px;
}
.work2 .route-live {
  position: relative;
  height: 66px;
}
.work2 .route-live span {
  position: absolute;
  top: 7px;
  left: calc(var(--slot) * 25%);
  width: 22.5%;
  padding: 7px 2px;
  text-align: center;
  background: #214b40;
  color: white;
  border: 2px solid #92e9c8;
  border-radius: 24px;
  transition:
    left 0.82s cubic-bezier(0.2, 0.75, 0.2, 1),
    transform 0.82s,
    opacity 0.72s;
}
.work2 .route-live span[data-merged="true"] {
  transform: scale(0.22) translateY(38%);
  opacity: 0;
}
.work2 .route-live i {
  position: absolute;
  top: 27px;
  left: 11%;
  width: calc(var(--connected) * 25%);
  height: 4px;
  background: #9cf8d4;
  transition: width 0.82s;
}
@media (max-width: 620px) {
  .work2 .route-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 12px;
  }
  .work2 .route-title:first-child {
    grid-area: 1/1;
  }
  .work2 .route-title:nth-child(3) {
    grid-area: 1/2;
  }
  .work2 .route-old,
  .work2 .route-live {
    height: 194px;
    grid-row: 2;
  }
  .work2 .route-old {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin: 0;
  }
  .work2 .route-old span {
    height: 39px;
    width: 100%;
  }
  .work2 .route-live span {
    left: 0;
    top: calc(var(--slot) * 25%);
    width: 100%;
    height: 39px;
    line-height: 1.25;
    transition-property: top, transform, opacity;
  }
  .work2 .route-live i {
    left: 50%;
    top: 18px;
    width: 3px;
    height: calc(var(--connected) * 25%);
    transition: height 0.82s;
  }
}

.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:#184038;
  --lab-ink:#e8ffec;
  --lab-line:#78ab95;
}
.it-lab {
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent 0 39px,
      #86b69f18 40px);
  border-radius: 3px 22px 3px 3px;
}
.dispatch-rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(16px, 4vw, 56px);
  min-height: 150px;
  position: relative;
}
.dispatch-rail:before {
  content: "";
  position: absolute;
  inset: 50% 10% auto;
  border-top: 3px dashed #94cdb0;
  z-index: -1;
}
.dispatch-ticket {
  border-left: 7px solid #e1a14b;
  background: #ffefc8;
  color: #342b1b;
  padding: 12px 10px 12px 14px;
  box-shadow: 0 4px 0 #102c23;
  transform: rotate(-3deg);
  transition: transform .48s;
}
.dispatch-ticket small,
.dispatch-ticket b {
  display: block;
}
.dispatch-exits {
  display: grid;
  gap: 12px;
}
.dispatch-exits span {
  padding: .45em .7em;
  background: #12372d;
  border: 1px solid #7dbaa1;
  font-weight: 700;
  font-size: .86rem;
  transition: background .3s, color .3s;
}
.it-lab[data-mode=clear] .dispatch-exits span:first-child,
.it-lab[data-mode=check] .dispatch-exits span:last-child {
  background: #c7ffc9;
  color: #143627;
}
.it-lab[data-mode=check] .dispatch-ticket {
  transform: translate(5px, 15px) rotate(4deg);
}
[data-seen=true] .dispatch-ticket {
  animation: ticketArrives .85s cubic-bezier(.18, .75, .3, 1);
}
@keyframes ticketArrives {
  from {
    translate: -75% -12px;
    rotate: -10deg;
  }
  to {
    translate: 0 0;
    rotate: 0deg;
  }
}
.it-notes .it-note-list {
  counter-reset: handoff;
}
.it-note-list article {
  border-top: 2px dashed var(--line);
}
@media (max-width: 400px) {
  .dispatch-ticket,
  .dispatch-exits span {
    font-size: .79rem;
  }
  .dispatch-rail {
    gap: 9px;
  }
}

.work2 .flow-parcel {
  transform: translate(250px, 125px);
  animation: pass-estimate 7.8s linear -1.4s infinite;
}
@keyframes pass-estimate {
  0%, 5% { transform: translate(66px, 188px); opacity: 0; }
  10% { transform: translate(89px, 188px); opacity: 1; }
  20% { transform: translate(143px, 188px); }
  31% { transform: translate(143px, 108px); }
  47% { transform: translate(291px, 108px); }
  58% { transform: translate(291px, 190px); }
  75% { transform: translate(465px, 190px); }
  86% { transform: translate(465px, 102px); opacity: 1; }
  96%, 100% { transform: translate(536px, 102px); opacity: 0; }
}
.work2 .editorial .flow-brief {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  column-gap: clamp(24px, 4vw, 76px);
  align-items: start;
}
.flow-brief .carbon-slip-scene {
  grid-column: 2; grid-row: 1 / 3; align-self: center;
  min-width: 0; margin: 0;
}
.carbon-desk {
  position: relative; display: grid; grid-template-columns: 1fr .45fr 1fr;
  align-items: center; min-height: 204px; padding: 14px 4% 67px;
  background: repeating-linear-gradient(0deg, transparent 0 21px, #253e39 21px 22px), #172923;
  border-block: 1px solid #527b68;
}
.carbon-source, .carbon-target {
  display: grid; gap: 2px; align-content: center; min-height: 105px; padding: 9px 10%;
  color: #1c362d; background: #e2f0dd; line-height: 1.25;
  clip-path: polygon(0 0,96% 0,100% 7%,100% 100%,0 100%);
}
.carbon-target { background: #9be1ba; }
.carbon-desk span { font-size: clamp(.69rem,1.1vw,.81rem); font-weight: 650; }
.carbon-source b, .carbon-target b { font-size: clamp(.85rem,1.45vw,1.2rem); }
.carbon-source strong, .carbon-target strong { font: 650 clamp(1.45rem,3.4vw,2.7rem)/1.1 ui-monospace, monospace; }
.carbon-desk small { font: 600 .72rem/1 system-ui,sans-serif; }
.carbon-bridge { align-self: center; position: relative; border-top: 2px dotted #a9dfb3; }
.carbon-bridge i { position: absolute; right: 0; top: -4px; width: 7px; height: 7px; border-top: 2px solid #a9dfb3; border-right: 2px solid #a9dfb3; transform: rotate(45deg); }
.carbon-bridge span { position: absolute; top: 89px; left: 50%; transform: translateX(-50%); white-space: nowrap; color: #d3e7d5; }
.carbon-copy {
  position: absolute; left: 13%; top: 68%; width: 27%; max-width: none; padding: 3px 7px;
  display: flex; justify-content: space-between; align-items: center; gap: 5px;
  border: 1px solid #1e4937; color: #18392a; background: #ccff91;
  box-shadow: 2px 3px 0 #102e24; transform: translateX(calc(var(--cg-progress, .6) * 165%)) rotate(calc(-5deg + var(--cg-progress, .6) * 8deg));
}
.carbon-copy span { font-size: .62rem; line-height: 1.35; }
.carbon-copy b { white-space: nowrap; font: 700 .84rem/1.3 ui-monospace,monospace; }
.work2 .carbon-slip-scene figcaption {
  display: block; padding: 11px 0 0; border: 0; color: #d4e7df; font: inherit; font-size: .92rem; line-height: 1.7;
}
@media (max-width: 780px) {
  .work2 .editorial .flow-brief { display: block; }
  .work2 .flow-brief .carbon-slip-scene { margin-top: 23px; }
}

[data-scroll-scene] h2 .it-phrase, .hero figcaption i { display: inline-block; white-space: nowrap; }
.hero figcaption i { font-style: normal; }
