:root {
  --stage-red: #e74736;
  --stage-cream: #f5f0e6;
  --stage-yellow: #f3c63d;
  --stage-ink: #172d3a;
}
.page-progress {
  position: fixed;
  left: 0;
  top: 0;
  height: 4px;
  width: calc(var(--page-progress, 0) * 100%);
  background: var(--stage-yellow);
  z-index: 100;
  pointer-events: none;
}
.stage-home {
  background: var(--stage-cream);
  color: var(--stage-ink);
}
body:has(.stage-home) .site-header {
  position: absolute;
  width: 100%;
  background: transparent;
  border: 0;
  color: #fff;
}
body:has(.stage-home) .wordmark b,
body:has(.stage-home) .wordmark span,
body:has(.stage-home) .main-nav a {
  color: #fff;
}
body:has(.stage-home) .main-nav .nav-contact {
  border-color: #fff;
}
.stage-hero {
  min-height: 100svh;
  background: var(--stage-red);
  color: #fff;
  display: grid;
  grid-template-columns: 7fr 5fr;
  position: relative;
  overflow: hidden;
}
.stage-hero-copy {
  padding: clamp(8.5rem, 14vh, 11rem) 4vw 5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}
.stage-hero-copy > p {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0 0 2rem;
}
.stage-hero h1 {
  font-size: clamp(4rem, 7.7vw, 8.5rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
  font-weight: 800;
  margin: 0;
  word-break: keep-all;
}
.stage-hero h1 span {
  display: block;
}
.stage-hero h1 span:nth-child(2) {
  margin-left: 8vw;
}
.stage-hero h1 span:nth-child(3) {
  color: var(--stage-yellow);
  margin-left: 2vw;
}
.stage-hero-bottom {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: end;
}
.stage-hero-bottom > p {
  max-width: 38rem;
  line-height: 1.9;
  margin: 2.5rem 0 0;
}
.stage-hero-bottom > div {
  display: grid;
  gap: 0.6rem;
}
.stage-hero-bottom a {
  border: 1px solid rgba(255, 255, 255, 0.75);
  padding: 0.8rem 1rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.86rem;
  transition: 0.18s;
}
.stage-hero-bottom a:first-child {
  background: #fff;
  color: var(--stage-ink);
}
.stage-hero-bottom a:hover {
  transform: translateX(5px);
}
.invoice-scene {
  background: var(--stage-ink);
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}
.scene-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(5, 1fr);
  opacity: 0.13;
}
.scene-grid i {
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
}
.invoice-pile {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(62%, 360px);
  height: 310px;
  transform: translate(-50%, -50%);
}
.invoice-pile > div {
  position: absolute;
  inset: 0;
  background: #f9f6ee;
  color: var(--stage-ink);
  padding: 1.6rem;
  border: 1px solid #b8b3a9;
  transform: translate(calc((var(--n) - 3) * 9px), calc((var(--n) - 3) * -8px))
    rotate(calc((var(--n) - 3) * 1.7deg));
  animation: invoice-breathe 4s ease-in-out infinite;
  animation-delay: calc(var(--n) * -0.35s);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.08);
}
.invoice-pile span {
  display: block;
  font: 800 1.4rem Arial;
  letter-spacing: 0.12em;
  border-bottom: 3px solid var(--stage-red);
  padding-bottom: 1rem;
}
.invoice-pile b {
  display: block;
  font: 500 2.5rem Georgia;
  margin-top: 4rem;
}
.invoice-pile small {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
}
.stage-art {
  position: absolute;
  inset: 4rem 2rem 9.5rem;
}
.stage-art > div {
  position: absolute;
  left: 50%;
  top: 48%;
  width: min(78%, 410px);
  opacity: 0;
  transform: translate(-50%, -44%) scale(0.94);
  transition: opacity 0.42s ease, transform 0.42s ease;
  pointer-events: none;
}
.stage-art-1 .art-received,
.stage-art-2 .art-renamed,
.stage-art-3 .art-organized,
.stage-art-4 .art-sent {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.art-received {
  height: 300px;
}
.art-sheet {
  position: absolute;
  inset: 0;
  padding: 1.55rem;
  border: 1px solid #b8b3a9;
  background: #f9f6ee;
  color: var(--stage-ink);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.08);
}
.art-received .art-sheet {
  transform: translate(calc((var(--n) - 3) * 9px), calc((var(--n) - 3) * -8px)) rotate(calc((var(--n) - 3) * 1.7deg));
}
.art-sheet span,
.send-document span {
  display: block;
  padding-bottom: 0.85rem;
  border-bottom: 3px solid var(--stage-red);
  font: 800 1.25rem Arial;
  letter-spacing: 0.12em;
}
.art-sheet b,
.send-document b {
  display: block;
  margin-top: 3.6rem;
  font: 500 2.35rem Georgia;
}
.art-sheet small {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
}
.art-renamed {
  height: 370px;
}
.art-sheet-single {
  inset: 0 12% 115px;
  transform: rotate(-2deg);
}
.filename-before,
.filename-after {
  position: absolute;
  right: 0;
  left: 0;
  padding: 0.62rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.38);
  font: 700 0.75rem Arial;
  letter-spacing: 0.02em;
}
.filename-before {
  bottom: 72px;
  color: rgba(255, 255, 255, 0.58);
  text-decoration: line-through;
}
.filename-after {
  bottom: 0;
  border-color: var(--stage-yellow);
  background: var(--stage-yellow);
  color: var(--stage-ink);
}
.rename-line {
  position: absolute;
  right: 0;
  bottom: 45px;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
  font-size: 0.68rem;
}
.rename-line i {
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}
.art-organized {
  height: 285px;
}
.folder-back,
.folder-front {
  position: absolute;
  right: 0;
  left: 0;
  background: var(--stage-yellow);
  color: var(--stage-ink);
}
.folder-back {
  top: 20px;
  height: 180px;
  padding: 1rem 1.3rem;
  clip-path: polygon(0 0, 43% 0, 51% 18%, 100% 18%, 100% 100%, 0 100%);
}
.folder-back span {
  position: absolute;
  top: 4rem;
  font: 700 0.75rem Arial;
  letter-spacing: 0.08em;
}
.folder-docs {
  position: absolute;
  top: 76px;
  right: 8%;
  left: 8%;
  height: 150px;
}
.folder-docs i {
  position: absolute;
  inset: 0;
  border: 1px solid #b8b3a9;
  background: #f9f6ee;
  transform: translateY(calc(var(--doc, 0) * -8px));
}
.folder-docs i:nth-child(2) { --doc: 1; left: 8px; right: -8px; }
.folder-docs i:nth-child(3) { --doc: 2; left: 16px; right: -16px; }
.folder-front {
  right: -3%;
  bottom: 0;
  left: -3%;
  height: 130px;
  padding: 2rem 1.6rem;
  border-top: 2px solid var(--stage-ink);
  transform: skewY(-3deg);
}
.folder-front b,
.folder-front small {
  display: block;
  transform: skewY(3deg);
}
.folder-front b { font-size: 1.7rem; }
.folder-front small { margin-top: 0.2rem; }
.art-sent {
  display: grid;
  grid-template-columns: 1fr 3rem 1fr;
  align-items: center;
  height: 290px;
}
.send-document {
  height: 220px;
  padding: 1.25rem;
  background: #f9f6ee;
  color: var(--stage-ink);
  transform: rotate(-4deg);
}
.send-document span { font-size: 0.9rem; }
.send-document b { margin-top: 3rem; font-size: 1.8rem; }
.send-arrow {
  color: var(--stage-yellow);
  text-align: center;
  font-size: 2rem;
}
.send-envelope {
  position: relative;
  height: 135px;
  border: 2px solid #fff;
}
.send-envelope::before,
.send-envelope::after {
  content: "";
  position: absolute;
  top: 0;
  width: 70%;
  height: 2px;
  background: #fff;
}
.send-envelope::before { left: 0; transform: rotate(34deg); transform-origin: left; }
.send-envelope::after { right: 0; transform: rotate(-34deg); transform-origin: right; }
.send-time {
  position: absolute;
  right: 0;
  bottom: -6px;
  padding: 0.7rem 0.9rem;
  border-left: 3px solid var(--stage-yellow);
  background: var(--stage-ink);
  color: #fff;
}
.send-time span,
.send-time small { display: block; font-size: 0.66rem; }
.send-time b { display: block; color: var(--stage-yellow); font: 700 1.35rem Arial; }
.scene-status {
  position: absolute;
  left: 2rem;
  right: 2rem;
  bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  padding-top: 1rem;
  display: grid;
  grid-template-columns: 1fr auto;
}
.scene-status > span,
.scene-status > strong {
  font: 700 0.7rem Arial;
  letter-spacing: 0.12em;
}
.scene-status p {
  grid-column: 1/-1;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0.7rem 0;
}
.scene-status > div {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
}
.scene-status button {
  display: block;
  width: 100%;
  height: 12px;
  padding: 0;
  border: 0;
  border-top: 3px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  transition: border-color 0.3s;
}
.scene-status button.done,
.scene-status button.active {
  border-color: var(--stage-yellow);
}
.scene-status button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.scene-status i {
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  transition: background 0.3s;
}
.scene-status i.done {
  background: var(--stage-yellow);
}
.stage-scroll {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
}
.stage-scroll span {
  font: 700 0.62rem Arial;
  writing-mode: vertical-rl;
  letter-spacing: 0.14em;
}
.stage-scroll i {
  height: 35px;
  width: 1px;
  background: #fff;
  animation: scroll-pulse 1.8s infinite;
}
.stage-proof {
  background: #fff;
  padding: 9rem 0;
}
.stage-proof > .wrap {
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: 8vw;
  align-items: end;
}
.proof-number > span {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.proof-number strong {
  display: block;
  color: var(--stage-red);
  font-size: clamp(3.5rem, 7vw, 7rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}
.proof-number em {
  font-style: normal;
  font-family: Arial, sans-serif;
}
.proof-copy p {
  line-height: 2;
}
.proof-copy a,
.message-body a,
.stage-work a {
  display: inline-block;
  border-bottom: 1px solid;
  font-size: 0.84rem;
  font-weight: 700;
  margin-top: 1rem;
}
.stage-flow {
  display: grid;
  grid-template-columns: 4fr 8fr;
  background: var(--stage-yellow);
  min-height: 760px;
}
.flow-title {
  padding: 7rem 4vw;
  background: var(--stage-ink);
  color: #fff;
  position: relative;
}
.flow-title > p {
  font-size: 0.8rem;
}
.flow-title h2 {
  font-size: clamp(2.5rem, 3.4vw, 4rem);
  line-height: 1.3;
  letter-spacing: -0.05em;
  margin: 3rem 0 0;
}
.flow-title h2 span,
.stage-message h2 span,
.choice-title h2 span,
.stage-contact h2 span {
  display: block;
  white-space: nowrap;
}
.flow-title small {
  position: absolute;
  bottom: 3rem;
  left: 4vw;
}
.flow-track {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: center;
  padding: 5vw;
}
.flow-track article {
  min-height: 240px;
  padding: 2rem;
  border-top: 2px solid var(--stage-ink);
  position: relative;
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.25s;
}
.flow-track article:nth-child(2),
.flow-track article:nth-child(4) {
  transform: translateY(3rem);
}
.flow-track article:hover {
  background: var(--stage-red);
  color: #fff;
  transform: translateY(-0.5rem);
}
.flow-track article:nth-child(2):hover,
.flow-track article:nth-child(4):hover {
  transform: translateY(2.5rem);
}
.flow-track b {
  font: 700 0.75rem Arial;
}
.flow-track span {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  margin: 2rem 0 0.7rem;
}
.flow-track p {
  font-size: 0.88rem;
  line-height: 1.8;
}
.stage-message {
  min-height: 720px;
  background: var(--stage-red);
  color: #fff;
  padding: 8rem 6vw;
  display: grid;
  grid-template-columns: 1fr 5fr 3fr;
  gap: 5vw;
  align-items: center;
}
.message-mark {
  font: 800 13rem/0.5 Georgia;
  color: var(--stage-yellow);
  align-self: start;
}
.stage-message > div:nth-child(2) > p {
  font-size: 1rem;
}
.stage-message h2 {
  font-size: clamp(3rem, 5vw, 5.5rem);
  line-height: 1.15;
  letter-spacing: -0.06em;
  margin: 0;
}
.message-body {
  align-self: end;
}
.message-body p {
  line-height: 2;
}
.stage-work {
  padding: 9rem 0;
  display: grid;
  grid-template-columns: minmax(20rem, 5fr) minmax(0, 7fr);
  column-gap: 5vw;
  row-gap: 4.5rem;
  align-items: start;
}
.stage-work header {
  grid-row: 1 / 3;
}
.stage-work header h2 {
  font-size: clamp(2.5rem, 3.35vw, 3.7rem);
  line-height: 1.35;
  letter-spacing: -0.05em;
}
.stage-work header h2 span {
  display: block;
  white-space: nowrap;
}
.stage-work header > p {
  color: var(--stage-red);
  font-size: 0.8rem;
  font-weight: 700;
}
.work-large {
  grid-column: 2;
  display: block;
  border-top: 3px solid var(--stage-ink);
  padding-top: 1.5rem;
}
.work-large > span,
.work-small span {
  color: var(--stage-red);
  font-weight: 700;
  font-size: 0.75rem;
}
.work-large > div {
  max-width: 43rem;
}
.work-large h3 {
  font-size: clamp(1.7rem, 2.4vw, 2.3rem);
  margin: 1.6rem 0 1rem;
}
.work-large p,
.work-small p {
  line-height: 2;
  color: var(--muted);
}
.work-small {
  grid-column: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 0;
}
.work-small article {
  min-width: 0;
  border: 0;
  border-top: 1px solid var(--stage-ink);
  padding: 1.5rem 0 0;
  margin: 0;
}
.work-small h3 {
  font-size: 1.35rem;
  margin: 1.6rem 0 1rem;
}
.stage-choice {
  background: #fff;
  display: grid;
  grid-template-columns: 5fr 7fr;
}
.choice-title {
  background: var(--stage-cream);
  padding: 7rem 5vw;
}
.choice-title p {
  color: var(--stage-red);
  font-size: 0.8rem;
  font-weight: 700;
}
.choice-title h2 {
  font-size: clamp(2.35rem, 3.1vw, 3.8rem);
  line-height: 1.4;
  letter-spacing: -0.05em;
}
.choice-links {
  padding: 4rem 5vw;
}
.choice-links a {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  transition:
    padding 0.2s,
    color 0.2s;
}
.choice-links a:hover {
  padding-left: 1rem;
  color: var(--stage-red);
}
.choice-links b {
  font-size: 1.25rem;
}
.choice-links span {
  font-size: 0.82rem;
  color: var(--muted);
}
.stage-contact {
  padding: 8rem 6vw;
  background: var(--stage-red);
  color: #fff;
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: 8vw;
}
.stage-contact > div:first-child > p {
  font-size: 0.8rem;
  font-weight: 700;
}
.stage-contact h2 {
  font-size: clamp(2.8rem, 3.5vw, 4.4rem);
  line-height: 1.3;
  letter-spacing: -0.05em;
  margin: 2rem 0 0;
}
.stage-contact > div:last-child {
  align-self: end;
}
.stage-contact > div:last-child > p {
  line-height: 2;
}
.stage-contact a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  color: var(--stage-ink);
  padding: 1.2rem 1.4rem;
  font-weight: 800;
  margin-top: 2rem;
  transition: transform 0.2s;
}
.stage-contact a:hover {
  transform: translateX(7px);
}
.stage-contact a span {
  font-size: 1.5rem;
}
.stage-contact small {
  display: block;
  margin-top: 1rem;
}
@keyframes invoice-breathe {
  50% {
    transform: translate(
        calc((var(--n) - 3) * 11px),
        calc((var(--n) - 3) * -10px)
      )
      rotate(calc((var(--n) - 3) * 2deg));
  }
}
@keyframes scroll-pulse {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  45% {
    transform: scaleY(1);
    transform-origin: top;
  }
  55% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}
@media (max-width: 960px) {
  .stage-hero {
    grid-template-columns: 1fr 1fr;
  }
  .stage-hero h1 {
    font-size: 5.5rem;
  }
  .stage-hero h1 span:nth-child(2) {
    margin-left: 0;
  }
  .stage-hero-bottom {
    display: block;
  }
  .stage-work {
    grid-template-columns: minmax(17rem, 2fr) minmax(0, 3fr);
    column-gap: 3rem;
  }
  .stage-work header h2 {
    font-size: clamp(2.25rem, 4.5vw, 3rem);
  }
  .work-small {
    grid-column: 2;
    grid-template-columns: 1fr;
  }
  .stage-message {
    grid-template-columns: 1fr 5fr;
  }
  .message-body {
    grid-column: 2;
  }
  .stage-choice {
    grid-template-columns: 1fr 1.3fr;
  }
}
@media (max-width: 760px) {
  body:has(.stage-home) .site-header {
    position: relative;
    background: var(--stage-red);
  }
  .stage-hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
  }
  .stage-hero-copy {
    padding: 3.5rem 1rem 4rem;
  }
  .stage-hero h1 {
    font-size: clamp(3.5rem, 16vw, 5rem);
    line-height: 1.05;
  }
  .stage-hero h1 span:nth-child(2),
  .stage-hero h1 span:nth-child(3) {
    margin-left: 0;
  }
  .stage-hero-bottom {
    margin-top: 2.5rem;
  }
  .invoice-scene {
    height: 620px;
  }
  .stage-scroll {
    display: none;
  }
  .stage-proof {
    padding: 5rem 0;
  }
  .stage-proof > .wrap {
    display: block;
  }
  .proof-copy {
    margin-top: 3rem;
  }
  .stage-flow {
    display: block;
    min-height: 0;
  }
  .flow-title {
    padding: 5rem 1rem;
  }
  .flow-title h2 {
    font-size: clamp(2.15rem, 9.5vw, 2.8rem);
  }
  .flow-title small {
    position: static;
    display: block;
    margin-top: 3rem;
  }
  .flow-track {
    display: block;
    padding: 3rem 1rem;
  }
  .flow-track article,
  .flow-track article:nth-child(2),
  .flow-track article:nth-child(4) {
    min-height: 0;
    transform: none;
    padding: 1.5rem 0;
  }
  .flow-track article:hover,
  .flow-track article:nth-child(2):hover,
  .flow-track article:nth-child(4):hover {
    transform: none;
    background: transparent;
    color: inherit;
  }
  .stage-message {
    min-height: 0;
    padding: 5rem 1rem;
    display: block;
  }
  .stage-message h2 {
    font-size: clamp(2.2rem, 9vw, 2.9rem);
  }
  .message-mark {
    font-size: 8rem;
  }
  .message-body {
    margin-top: 3rem;
  }
  .stage-work {
    display: block;
    padding: 5rem 0;
  }
  .stage-work header h2 {
    max-width: none;
  }
  .stage-work header h2 span {
    white-space: normal;
  }
  .work-large {
    display: block;
    margin-top: 3rem;
    padding-top: 1.25rem;
  }
  .work-large > div {
    margin-top: 1.5rem;
  }
  .work-small {
    display: block;
    margin-top: 3rem;
    padding: 0;
  }
  .work-small article {
    padding-top: 1.25rem;
    margin-top: 2.5rem;
  }
  .stage-choice {
    display: block;
  }
  .choice-title,
  .choice-links {
    padding: 4rem 1rem;
  }
  .choice-title h2 {
    font-size: clamp(2rem, 8.2vw, 2.55rem);
  }
  .choice-links a {
    display: block;
  }
  .choice-links span {
    display: block;
    margin-top: 0.3rem;
  }
  .stage-contact {
    display: block;
    padding: 5rem 1rem;
  }
  .stage-contact h2 {
    font-size: clamp(1.85rem, 7vw, 2.4rem);
  }
  .stage-contact > div:last-child {
    margin-top: 3rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .invoice-pile > div,
  .stage-scroll i {
    animation: none;
  }
  .flow-track article,
  .choice-links a,
  .stage-contact a {
    transition: none;
  }
}
