.work4 {
  --paper: #f7f3ea;
  --ink: #24272c;
  --accent: #983c31;
  --wash: #e8ddcf;
  --ctext: white;
  --entry: rotateY(40deg);
  --shift: rotateY(40deg);
}
.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);
  }
}

.work4 .hero {
  grid-template-columns: 0.85fr 1.15fr;
  border-block: 3px double #6f6359;
}
.work4 .art {
  background: #dacabc;
  border-left: 1px solid #766454;
}
.work4 .display,
.work4 .story h2,
.work4 .scope h2,
.work4 .demosect h2,
.work4 .result strong {
  font-family: "Yu Mincho", Georgia, serif !important;
  font-weight: 600 !important;
}
.work4 .story {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4vw;
}
.work4 .lab {
  border-block: 3px double;
}
.work4 .result > div {
  border-bottom: 1px solid;
  padding: 18px 0;
}
.work4 .result small {
  font-family: Georgia;
  font-style: italic;
}
@media (min-width: 701px) {
  .work4 .hero {
  }
}
@media (max-width: 700px) {
  .work.work4 .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
  );
}
.work4 .story .sequence {
  grid-column: 1/-1;
}
.work4 .sequence span {
  font-family: Georgia, "Yu Mincho", serif;
  border: 0;
  border-top: 2px solid #a46d5d;
}
.work4 .scope {
  border-left: 1px solid #8f8075;
}
.work4 .scope:nth-last-child(2) {
  border-top: 3px double #796f66;
}
@media (min-width: 920px) {
  .work4 .editorial {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: stretch;
    width: min(1280px, 94%);
    margin: auto;
  }
  .work4 .editorial > .story,
  .work4 .editorial > .demosect {
    grid-column: 1/-1;
  }
  .work4 .scope {
    width: 100%;
    padding: 40px 6%;
  }
  .work4 .scope + .scope {
    border-left: 1px solid currentColor;
  }
}
@media (min-width: 920px) {
  .work4 .demosect {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    align-items: start;
    align-content: start;
    gap: 14px 5%;
    width: 100%;
  }
  .work4 .demosect h2,
  .work4 .demosect > p,
  .work4 .demosect > .cta {
    grid-column: 1;
    justify-self: start;
  }
  .work4 .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.work4 .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "station" "headline" "figure" "lead" "action";
    gap: 14px;
  }
  .work.work4 .hero .herocopy {
    display: contents;
  }
  .work.work4 .hero h1 {
    grid-area: station;
    margin: 0;
  }
  .work.work4 .hero .display {
    grid-area: headline;
    margin: 0;
  }
  .work.work4 .hero .lead {
    grid-area: lead;
  }
  .work.work4 .hero .cta {
    grid-area: action;
    margin: 0;
    justify-self: start;
  }
  .work.work4 .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;}
.press-proof{display:grid;grid-template-columns:.84fr 1.16fr;gap:clamp(25px,6vw,78px);align-items:center;border-top:4px double #75685b}.press-title .hp-heading,.press-desk h2,.press-print h3{font-family:"Yu Mincho",YuMincho,serif}.press-leaf{border:1px solid #86756b;background:#fdf9ed;position:relative;box-shadow:5px 5px 0 #c4b9a6,9px 9px 0 #f4ebd8,10px 10px 0 #86756b}.press-manuscript,.press-print{padding:clamp(18px,3vw,40px)}
.press-manuscript{background:repeating-linear-gradient(transparent 0 30px,#9b8b792d 30px 31px)}.press-manuscript small,.press-print small{letter-spacing:.12em;font-weight:650}.press-manuscript blockquote{margin:1rem 0 .25rem;font:italic 550 clamp(1.05rem,2vw,1.45rem)/1.9 "Yu Mincho",serif}.press-leaf details{border:0}.press-leaf summary{padding:13px 7%;background:#953b32;color:#fff}.press-print{background:#242729;color:#fcf5de;border-inline-start:12px solid #d89a55}.press-print h3{font-size:clamp(1.45rem,3vw,2.45rem);margin:1rem 0}.press-leaf details[open] .press-print{animation:impress .45s ease-out;transform-origin:top}
.press-desk{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}.press-desk h2,.press-desk .hp-intro{grid-column:1/-1}.press-desk .hp-intro{margin:0}.press-desk>div{border-top:3px double #84695a;padding-top:1em}.press-desk h3{font-family:"Yu Mincho",serif}.press-desk>div p{margin-top:.7em}
.press-proof[data-seen=true] .press-leaf{animation:sheet-arrive .85s both}@keyframes impress{from{transform:perspective(600px) rotateX(-10deg);filter:brightness(.8)}}@keyframes sheet-arrive{from{transform:translateX(20px) rotate(1deg)}}@media(max-width:700px){.press-proof,.press-desk{display:block}.press-leaf{margin:24px 8px 0 0}.press-desk>div{margin-top:20px}}

.press-compositor { --press: clamp(0, calc((var(--cg-progress, .72) - .16) * 1.6), 1); margin: 0 0 1.4rem; }
.press-proof[data-seen="true"] .press-leaf { animation: none; }
.press-bed {
  position: relative; isolation: isolate; overflow: hidden; min-height: 174px;
  background: repeating-linear-gradient(0deg, #b7aaa0 0 1px, transparent 1px 5px), #c7b7a9;
  padding: clamp(15px, 3vw, 36px) 8%;
}
.press-galley {
  display: grid; grid-template-columns: .85fr 1.15fr; align-items: center;
  background: #f8f0df; padding: 6%; gap: 6%; box-shadow: 4px 5px 0 #57463750;
  transform: translate(calc(-25px + 25px * var(--press)), calc(24px - 24px * var(--press))) rotate(calc(-8deg + 9deg * var(--press)));
}
.press-grain {
  aspect-ratio: 1 / 1.02; background: #50332b; overflow: hidden; position: relative;
  border-radius: 48% 47% 20% 10% / 30% 36% 20% 15%;
}
.press-grain i {
  position: absolute; inset: -20%;
  background: repeating-radial-gradient(ellipse at 27% 61%, #f1cd91 0 3px, #a96947 4px 8px, #6f3f32 9px 11px, #db9f70 12px 16px);
  transform: rotate(-17deg) skewX(-14deg);
}
.press-copy-strip { color: #382b27; transform: translateY(calc(25px - 25px * var(--press))); }
.press-copy-strip small, .press-copy-strip b, .press-copy-strip span { display: block; }
.press-copy-strip small { font: 650 .69rem/1.5 "Yu Gothic", sans-serif; letter-spacing: .09em; }
.press-copy-strip b { font: 700 clamp(1.03rem, 2.25vw, 2.2rem)/1.37 "Yu Mincho", serif; margin: .28em 0; }
.press-copy-strip span { border-top: 1px solid #8e7462; padding-top: 5px; font-size: .73rem; }
.press-crop-marks { position: absolute; inset: 14% 9%; border-inline: 1px dashed #883f31; pointer-events: none; }
.press-pencil {
  position: absolute; width: 25%; height: 7px; background: linear-gradient(#b7503b 50%, #702a24 50%);
  right: 9%; bottom: 12%; border-radius: 1px 5px 5px 1px; transform-origin: 0 50%;
  transform: translate(calc(15px - 52px * var(--press)), calc(16px - 12px * var(--press))) rotate(calc(-38deg + 23deg * var(--press)));
}
.press-pencil::before {
  content: ""; position: absolute; inset: 0 auto 0 -10px; width: 11px; background: #382620;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}
.press-compositor figcaption { display: block; font: 500 .82rem/1.65 "Yu Gothic", sans-serif; margin-top: .55rem; color: #4d3c31; }
.press-next { display: inline-block; margin-top: 1rem; color: #702c24; text-underline-offset: .28em; font-weight: 700; }
@keyframes press-align-photo {
  0%, 100% { transform: translate(-8px, 9px) rotate(-1deg); }
  55% { transform: translate(12px, -12px) rotate(2deg); }
}
@keyframes press-align-title {
  0%, 100% { transform: translate(0, 0); }
  55% { transform: translate(15px, 8px); }
}
@media (prefers-reduced-motion: no-preference) {
  html[data-motion="normal"] .work4 .press-photo { transform-origin: 370px 120px; animation: press-align-photo 7.4s ease-in-out -2.1s infinite; }
  html[data-motion="normal"] .work4 .press-headline { animation: press-align-title 7.4s ease-in-out -2.1s infinite; }
}
