.work10 {
  --paper: #fffcf9;
  --ink: #302648;
  --accent: #a63528;
  --wash: #ffe2d7;
  --ctext: white;
  --entry: scaleX(0.35) skewX(10deg);
  --shift: scaleX(0.35) skewX(10deg);
}
.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);
  }
}

.work10 .hero {
  grid-template-columns: 1fr 1fr;
  background: linear-gradient(100deg, #fff7f2 55%, #f9c7ba 55%);
}
.work10 .art {
  transform: rotate(2deg);
  box-shadow: 8px 8px #302648;
}
.work10 .display {
  font-weight: 950 !important;
}
.work10 .result[data-theme="0"] {
  font-family: Georgia, "Yu Mincho", serif;
  background: #eaf0ef;
  color: #273e40;
  padding: 35px;
}
.work10 .result[data-theme="1"] {
  border-radius: 35px;
  background: #fae6ce;
  color: #603829;
  text-align: center;
  padding: 22px;
  font-family: "Yu Gothic", sans-serif;
}
.work10 .result[data-theme="2"] {
  background: #21243c;
  color: #eefaff;
  padding: 16px;
  border-left: 12px solid #71debc;
  font-family: monospace;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.work10 .result[data-theme="2"] strong {
  grid-column: 1/-1;
}
.work10 .demosect {
  border-top: 9px solid #f04b36;
}
@media (min-width: 701px) {
  .work10 .hero {
  }
}
@media (max-width: 700px) {
  .work.work10 .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
  );
}
.work10 .story .sequence span {
  border: 0;
  background: #282d41;
  color: white;
}
.work10 .story .sequence span:nth-child(2) {
  background: #f9d2a4;
  color: #51351e;
  border-radius: 30px;
}
.work10 .story .sequence span:nth-child(3) {
  background: #374355;
  color: #a9f2dc;
  font-family: monospace;
}
.work10 .scope:nth-last-child(2) {
  background: #ffded3;
}
@media (min-width: 920px) {
  .work10 .editorial {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: stretch;
    width: min(1280px, 94%);
    margin: auto;
  }
  .work10 .editorial > .story,
  .work10 .editorial > .demosect {
    grid-column: 1/-1;
  }
  .work10 .scope {
    width: 100%;
    padding: 40px 6%;
  }
  .work10 .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;
  }
}

@media (min-width: 920px) {
  .work10 .hero {
    grid-template-columns: 1fr 0.87fr;
    background: linear-gradient(105deg, #fff4ed 0 55%, #f7bea7 55%);
  }
  .work10 .herocopy {
    z-index: 1;
  }
  .work10 .display {
    font-size: clamp(3.2rem, 5.6vw, 6.75rem);
    line-height: 1.1;
  }
  .work10 .art {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: rotate(4deg);
    background: #ffe5dd;
  }
}

.work10 .art {
  overflow: hidden;
}
.work10 .art::before,
.work10 .art::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 52%;
  background: #302648;
  pointer-events: none;
  z-index: 1;
  animation: color-curtain 0.8s cubic-bezier(0.19, 1, 0.22, 1) both;
  transform-origin: left;
}
.work10 .art::before {
  left: 0;
}
.work10 .art::after {
  right: 0;
  transform-origin: right;
  background: #e75844;
}
@keyframes color-curtain {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}
html[data-motion="reduced"] .work10 .art::before,
html[data-motion="reduced"] .work10 .art::after {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .work10 .art::before,
  .work10 .art::after {
    display: none;
  }
}
@media (max-width: 700px) {
  .work.work10 .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "station" "figure" "headline" "lead" "action";
    gap: 14px;
  }
  .work.work10 .hero .herocopy {
    display: contents;
  }
  .work.work10 .hero h1 {
    grid-area: station;
    margin: 0;
  }
  .work.work10 .hero .display {
    grid-area: headline;
    margin: 0;
  }
  .work.work10 .hero .lead {
    grid-area: lead;
  }
  .work.work10 .hero .cta {
    grid-area: action;
    margin: 0;
    justify-self: start;
  }
  .work.work10 .hero .art {
    grid-area: figure;
    max-width: 100%;
    width: 100%;
  }
}

.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;}
.type-wall{display:grid;grid-template-columns:1fr 1.05fr;gap:clamp(20px,5vw,72px);align-items:center}.type-spec{margin:0;min-width:0;padding:18px;border:1px solid #9f7469;transform:rotate(-.6deg);box-shadow:7px 7px 0 #352847}.type-spec legend{padding:0 .7em;font-weight:bold}.type-spec>input{position:absolute;opacity:0;width:1px;height:1px}.type-spec label{display:inline-block;padding:9px 14px;min-height:44px;border:1px solid #573d43;border-radius:999px;margin:0 .35em .8em 0;cursor:pointer}.type-spec input:focus-visible+label{outline:3px solid #432a87;outline-offset:2px}.type-spec input:checked+label{background:#352847;color:#fff}.type-poster{position:relative;isolation:isolate;padding:clamp(20px,3.7vw,54px);overflow:hidden;min-height:225px;background:#eeded3;color:#38262c;transition:background-color .5s,color .5s}.type-poster b{position:relative;font-family:"Yu Mincho",serif;font-weight:500;font-size:clamp(2.7rem,5.2vw,5.25rem);letter-spacing:.08em;line-height:1.55}.type-poster i{position:absolute;z-index:-1;right:-7%;top:-24%;width:64%;aspect-ratio:1;border:19px double #ae806d;border-radius:50%;transition:transform .65s cubic-bezier(.18,.85,.25,1),background-color .55s}.type-poster p{position:relative;max-width:23em;font-size:.9rem}.bold-note{display:none}#hp-tone-b:checked~.type-poster{background:#f9b927;color:#342244}#hp-tone-b:checked~.type-poster i{border:0;background:#ec583d;transform:translate(-11%,32%) rotate(-32deg);border-radius:24%}#hp-tone-b:checked~.type-poster b{font-family:system-ui,sans-serif;font-weight:900;letter-spacing:-.08em}#hp-tone-b:checked~.type-poster .bold-note{display:block}#hp-tone-b:checked~.type-poster .quiet-note{display:none}
.type-wall[data-seen=true] .type-spec{animation:register .9s ease-out}.swatch-notes dl dt{border-left:9px solid #d85846;padding-inline-start:.7em}.swatch-notes dt:nth-of-type(2){border-left-color:#e5a825}.swatch-notes dt:nth-of-type(3){border-left-color:#70538f}@keyframes register{from{transform:translateX(20px) rotate(3deg)}}@media(max-width:710px){.type-wall{display:block}.type-spec{margin-right:7px}.type-poster b{font-size:clamp(2.3rem,10vw,4rem)}}

.color-brief { max-width: 34em; margin-top: 1em; line-height: 1.8; }
.color-next { display: inline-block; margin-top: .7em; padding-block: .35em; color: #442344; font-weight: 700; text-underline-offset: .25em; }
.type-poster {
  --registration: clamp(0, calc((var(--cg-progress, .82) - .12) * 1.66), 1);
}
.type-wall[data-seen="true"] .type-spec { animation: none; }
.type-impression { position: relative; isolation: isolate; margin-block: .3rem .65rem; }
.type-impression .ink-layer, .type-impression .ink-main { display: inline-block; white-space: nowrap; }
.type-impression .ink-layer { position: absolute; inset: 0 auto auto 0; pointer-events: none; }
.type-impression .ink-main { position: relative; z-index: 2; }
.type-impression .ink-vermilion {
  color: #c05c4d; transform: translate(calc(-20px + 18px * var(--registration)), calc(12px - 11px * var(--registration)));
}
.type-impression .ink-lacquer {
  color: #a58c78; transform: translate(calc(20px - 19px * var(--registration)), calc(-11px + 10px * var(--registration)));
}
#hp-tone-b:checked ~ .type-poster .ink-vermilion { color: #a53c3f; }
#hp-tone-b:checked ~ .type-poster .ink-lacquer { color: #d96d1d; }
@keyframes color-open-left { 0%, 100% { transform: translateX(13px); } 52% { transform: translateX(-50px); } }
@keyframes color-open-right { 0%, 100% { transform: translateX(-11px); } 52% { transform: translateX(43px); } }
@media (prefers-reduced-motion: no-preference) {
  html[data-motion="normal"] .work10 .curtain-left { animation: color-open-left 5.8s cubic-bezier(.45,0,.3,1) -1.2s infinite; }
  html[data-motion="normal"] .work10 .curtain-right { animation: color-open-right 5.8s cubic-bezier(.45,0,.3,1) -1.2s infinite; }
}
