.work7 {
  --paper: #fafcf9;
  --ink: #174c3c;
  --accent: #375f42;
  --wash: #e5ece4;
  --ctext: white;
  --entry: translateY(-42px) skewY(5deg);
  --shift: translateY(-42px) skewY(5deg);
}
.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);
  }
}

.work7 .hero {
  grid-template-columns: 0.9fr 1.1fr;
  border-block: 1px solid #50735f;
}
.work7 .art {
  border: 1px solid #91ab96;
  background: #edf2e9;
}
.work7 .display,
.work7 .story h2,
.work7 .demosect h2,
.work7 .scope h2 {
  font-family: "Yu Mincho", Georgia, serif !important;
}
.work7 .lab,
.work7 .story,
.work7 .scope {
  border-block: 1px solid #748d7d;
}
.work7 .result > div {
  padding: 18px;
  margin-block: 6px;
  border: 1px solid #658573;
  box-shadow: 3px 3px #c6d2c4;
}
@media (min-width: 701px) {
  .work7 .hero {
  }
}
@media (max-width: 700px) {
  .work.work7 .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
  );
}
.work7 .sequence {
  flex-direction: column;
  align-items: stretch;
  max-width: 26rem;
}
.work7 .sequence span {
  margin-top: -4px;
  background: #e0eade;
  border: 1px solid #859881;
}
.work7 .sequence span:nth-child(2) {
  margin-inline-start: 5%;
}
.work7 .sequence span:nth-child(3) {
  margin-inline-start: 10%;
}
.work7 .scope {
  border-top: 1px solid #587360;
}
@media (min-width: 920px) {
  .work7 .editorial {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: stretch;
    width: min(1280px, 94%);
    margin: auto;
  }
  .work7 .editorial > .story,
  .work7 .editorial > .demosect {
    grid-column: 1/-1;
  }
  .work7 .scope {
    width: 100%;
    padding: 40px 6%;
  }
  .work7 .scope + .scope {
    border-left: 1px solid currentColor;
  }
}
@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;
  }
}

.work7 .section-cut {
  width: 100%;
  height: 170px;
  position: relative;
  background: linear-gradient(90deg, #dce8db 1px, transparent 1px) 0 0 / 25px
    100%;
  overflow: hidden;
}
.work7 .section-cut span {
  position: absolute;
  left: 7%;
  top: calc(10px + 44px * var(--level));
  width: 84%;
  padding: 5px 15px;
  background: #e6efe1;
  border: 1px solid #54785e;
  border-bottom: 4px solid #6e8b72;
  transform: skewY(-2deg);
  transition:
    top 0.64s,
    transform 0.64s,
    opacity 0.5s;
}
.work7 .section-cut span:nth-child(2) {
  background: #dae9da;
}
.work7 .section-cut span:nth-child(3) {
  background: #c5dbc9;
}
.work7 .section-cut span[data-removed="true"] {
  transform: translateX(70%) skewY(-8deg);
  opacity: 0;
}

.hero .display { overflow-wrap: normal; line-break: strict; text-wrap: balance; }
.hero .display > [data-wrap-group] { display: inline-block; white-space: nowrap; }


/* Individual project walk-throughs */
.hp-feature, .hp-handoff {box-sizing:border-box;max-width:100%;width:min(1180px,90%);margin-inline:auto;grid-column:1/-1;overflow-wrap:break-word;}
.hp-feature {padding-block:clamp(38px,6.2vw,90px);}
.hp-feature .hp-heading,.hp-handoff h2{font-size:clamp(1.65rem,3.8vw,3.45rem);line-height:1.28;letter-spacing:-.045em;max-width:22em;text-wrap:balance}
.hp-feature p,.hp-handoff p{line-height:1.9;max-width:46em}
.hp-feature h3,.hp-handoff h3 {line-height:1.45;letter-spacing:-.02em}
.hp-feature .hp-intro,.hp-handoff .hp-intro{margin:1rem 0 2rem;}
.hp-feature details,.hp-handoff details{margin:0;border-block-end:1px solid currentColor;}
.hp-feature summary,.hp-handoff summary{padding:14px 5px;cursor:pointer;font-weight:bold;min-height:44px;}
.hp-feature details>p,.hp-handoff details>p {padding:0 5px 20px;}
.hp-feature summary:focus-visible,.hp-handoff summary:focus-visible,.hp-feature label:focus-within {outline:3px solid currentColor;outline-offset:3px;}
.hp-handoff {padding:clamp(32px,5vw,72px) 0}
.hp-handoff dl{margin:1.55rem 0 0;display:grid;grid-template-columns:minmax(10em,.43fr) minmax(0,1fr);border-top:1px solid currentColor;}
.hp-handoff dt,.hp-handoff dd{margin:0;padding:1.1rem 0;border-bottom:1px solid currentColor;}
.hp-handoff dt{font-weight:750}.hp-handoff dd{padding-inline-start:1.2rem;line-height:1.85;}
@media(max-width:620px){.hp-handoff dl{display:block}.hp-handoff dt{border:0;padding-bottom:.12rem}.hp-handoff dd{padding:.15rem 0 1rem}.hp-feature,.hp-handoff{width:90%;}}
@media (prefers-reduced-motion:reduce){.hp-feature *,.hp-feature *::before,.hp-feature *::after,.hp-handoff *{animation:none!important;transition:none!important;scroll-behavior:auto!important;}}
html[data-motion="reduced"] :is(.hp-feature,.hp-handoff) *,html[data-motion="reduced"] .hp-feature *::before,html[data-motion="reduced"] .hp-feature *::after {animation:none!important;transition:none!important;}
.question-path{background:#103e34;color:#f1f5dd;padding:clamp(26px,5vw,64px);width:min(1280px,94%);display:grid;grid-template-columns:.9fr 1fr;gap:clamp(22px,6vw,90px);align-items:start}.question-path .question-trace{position:relative;padding-inline-start:26px}.question-trace::before{content:"";position:absolute;top:19px;bottom:16px;left:7px;width:2px;background:linear-gradient(#dcf379,#9fbaa6);transform-origin:top}.question-trace details{position:relative;border-color:#a0b8a3}.question-trace details::before{content:"";position:absolute;left:-24px;top:22px;width:12px;height:12px;border:2px solid #dcebba;border-radius:50%;background:#154e3d}.question-trace details[open]::before{background:#def476}.question-trace summary{font-size:clamp(1rem,2vw,1.34rem);padding:13px 0}.question-trace details p{padding-left:0}.question-trace details p b{color:#e2f681}
.question-path[data-seen=true] .question-trace::before{animation:trust-route 1s both}.question-trace details[open] p{animation:trust-show .35s ease-out}@keyframes trust-route{from{transform:scaleY(.1)}}@keyframes trust-show{from{transform:translateY(-6px)}}
.trust-audit{display:grid;grid-template-columns:.9fr 1fr;gap:clamp(22px,5vw,78px);align-items:start}.trust-record{background:#f1f2df;border:1px solid #9bac9a;border-top:6px solid #375f42;padding:clamp(18px,3.4vw,42px)}.trust-record ul{list-style:none;padding:0;margin:0}.trust-record li{padding:12px 0;border-top:1px dashed #99ab98}.trust-record h3{margin:0 0 1em}.trust-record li b{font-weight:750}.trust-record li p{margin:.35rem 0 0}
@media(max-width:720px){.question-path,.trust-audit{display:block}.question-path .question-trace{margin-top:20px}.trust-record{margin-top:22px}}

.intake-assembly { --fit: clamp(0, calc((var(--cg-progress, .82) - .17) * 1.63), 1); margin: 1.4rem 0 .7rem; }
.intake-machine {
  overflow: hidden; position: relative; padding: 15px 5% 18px 8%; border: 1px solid #76988a;
  color: #12362b; background: repeating-linear-gradient(90deg, #b8d1bf20 0 1px, transparent 1px 17px), #284f44;
}
.intake-head { padding: .68rem 1rem; background: #eaf1e7; border-bottom: 2px solid #33574a; }
.intake-head b, .intake-head small { display: block; }
.intake-head small { font: 650 .68rem/1.6 "Yu Gothic", sans-serif; letter-spacing: .12em; }
.intake-head b { font: 700 clamp(.98rem, 1.8vw, 1.4rem)/1.6 "Yu Mincho", serif; }
.intake-tab {
  position: relative; min-height: 36px; display: grid; grid-template-columns: 1rem 2.5em 1fr;
  gap: .5em; align-items: center; padding: .48em .7em; margin-top: 3px; box-shadow: 1px 2px 0 #0c352d;
}
.intake-tab i { width: 9px; height: 9px; border: 1px solid #355347; border-radius: 50%; }
.intake-tab span { font-size: .74rem; }
.intake-tab strong { font-size: clamp(.74rem, 1.32vw, 1.03rem); }
.intake-scope { background: #dce8d5; transform: translateX(calc(-26px + 26px * var(--fit))); }
.intake-prep { background: #c2d5b9; transform: translateX(calc(40px - 40px * var(--fit))); }
.intake-entry { background: #b4c3a6; transform: translateX(calc(-48px + 48px * var(--fit))); }
.intake-assembly figcaption { display: block; padding: 0; background: transparent; color: #eff4e3; font: 500 .81rem/1.6 "Yu Gothic", sans-serif; margin-top: .65rem; }
.intake-next { color: #edf4de; font-weight: 700; text-underline-offset: .25em; display: inline-block; padding-block: .4em; }
@keyframes intake-stack-top {
  0%, 100% { transform: translate(0, -6px); }
  52% { transform: translate(-24px, 36px); }
}
@keyframes intake-stack-middle {
  0%, 100% { transform: translate(0, 1px); }
  52% { transform: translate(-9px, 13px); }
}
@keyframes intake-stack-base {
  0%, 100% { transform: translate(0, 8px); }
  52% { transform: translate(10px, -9px); }
}
@media (prefers-reduced-motion: no-preference) {
  html[data-motion="normal"] .work7 .intake-layer { animation: intake-stack-top 6.7s ease-in-out -1.7s infinite; }
  html[data-motion="normal"] .work7 .intake-layer.p2 { animation-name: intake-stack-middle; }
  html[data-motion="normal"] .work7 .intake-layer.p3 { animation-name: intake-stack-base; }
}
