.yp-process {
  position: relative;
  overflow: hidden;
  padding: 82px 0 100px;
  color: #f3efe4;
  background: #303c31;
}
.yp-process::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background-image: linear-gradient(#d8d4c90d 1px, transparent 1px), linear-gradient(90deg, #d8d4c90d 1px, transparent 1px);
  background-size: 38px 38px;
}
.yp-inner { width: calc(100% - 96px); max-width: 1280px; margin-inline: auto; position: relative; }
.yp-chapter { display: flex; align-items: center; gap: 24px; color: #c7c8b8; font-size: 10px; letter-spacing: .04em; }
.yp-process .ye-section-label { background: rgba(255,255,255,.11); color: #f3efe4; }
.yp-chapter-rule { flex: 1; height: 1px; background: #d4d2bc35; }
.yp-chapter > span:last-child { font-size: 11px; letter-spacing: .04em; }
.yp-layout { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,1fr); gap: 7%; align-items: center; margin-top: 52px; }
.yp-study { margin: 0; position: relative; min-width: 0; }
.yp-study-heading { display: flex; justify-content: space-between; align-items: center; color: #c6c4af; font-size: 9px; letter-spacing: .04em; padding-inline: 12px; }
.yp-drawing { width: 100%; height: auto; display: block; overflow: visible; color: #e8e5d5; stroke: currentColor; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.yp-drawing .yp-trace { stroke-dasharray: 1; stroke-dashoffset: 0; }
.yp-construction { opacity: .26; stroke-width: .7; }
.yp-room-outline { stroke-width: 1.4; }
.yp-fine { stroke-width: .7; opacity: .72; }
.yp-sun-lines { opacity: .24; stroke: #d6bd7d; }
.yp-rug { fill: #c4c6a808; stroke: #c3c4ad; stroke-width: .7; }
.yp-sofa { fill: #85937a0c; }
.yp-cushion { fill: #b6bea40b; stroke-width: .8; }
.yp-door { opacity: .85; }
.yp-plant { color: #c9cfad; stroke-width: 1; }
.yp-leaf { fill: #c9cfad0f; }
.yp-gesture { stroke: #c8b079; stroke-width: 1.3; }
.yp-crosses { opacity: .4; stroke-width: .8; }
.yp-study figcaption { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 12px 0; border-top: 1px solid #d4d2bc35; font-size: 11px; color: #c7c9b8; }
.yp-signature { color: #e0d7b9; font-size: 25px; letter-spacing: -1.5px; line-height: 1; }
.yp-copy { min-width: 0; }
.yp-copy h2 { font-size: clamp(29px, 3vw, 39px); line-height: 1.48; font-weight: 400; letter-spacing: -.035em; color: #f3efe4; margin-bottom: 36px; }
.yp-steps { padding: 0; margin: 0; list-style: none; }
.yp-step { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 15px; padding: 23px 0; border-top: 1px solid #d4d2bc35; }
.yp-step-number { padding-top: 2px; color: #bfaf82; font-size: 11px; letter-spacing: .08em; }
.yp-step h3 { color: #eeecdf; font-size: 17px; font-weight: 400; line-height: 1.5; letter-spacing: -.02em; }
.yp-step p { color: #c2c6b7; font-size: 12px; line-height: 1.9; margin-top: 8px; max-width: 360px; }
.yp-process-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 34px; min-height: 54px; margin-top: 20px; padding: 10px 11px 10px 21px; border: 1px solid #e2d6b5; border-radius: 12px; background: #ede7d5; color: #34412f; font-size: 12px; box-shadow: 0 5px 16px #131c1720; transition: background-color .25s, box-shadow .25s, transform .25s; }
.yp-process-link .arrow { box-sizing: content-box; width: 18px; height: 18px; padding: 7px; border: 1px solid #87916b60; border-radius: 50%; transition: transform .3s ease, background-color .3s; }
.yp-process-link:hover, .yp-process-link:focus-visible { color: #2a3825; background: #fff9e9; box-shadow: 0 9px 22px #131c1730; transform: translateY(-2px); opacity: 1; }
.yp-process-link:hover .arrow, .yp-process-link:focus-visible .arrow { transform: rotate(5deg); background: #e2e6d6; }
.yp-process-link:focus-visible { outline-color: #e0c88b; }

/* Apply is-drawing on re-entry; the unenhanced drawing is always complete. */
.yp-study.is-drawing .yp-drawing .yp-trace { animation: yp-line-draw 1.8s cubic-bezier(.22,.61,.36,1) both; }
.yp-study.is-drawing .yp-window .yp-trace { animation-delay: .08s; }
.yp-study.is-drawing .yp-furniture .yp-trace { animation-delay: .18s; }
.yp-study.is-drawing .yp-plant .yp-trace { animation-delay: .3s; }
.yp-study.is-drawing .yp-gesture { animation-delay: .35s; }
@keyframes yp-line-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

@media (max-width: 1050px) {
  .yp-layout { gap: 5%; grid-template-columns: minmax(0,1fr) minmax(0,1.08fr); }
  .yp-inner { width: calc(100% - 64px); }
  .yp-copy h2 { font-size: 30px; }
  .yp-step { grid-template-columns: 26px minmax(0,1fr); gap: 10px; padding-block: 20px; }
  .yp-step h3 { font-size: 16px; }
  .yp-study figcaption { font-size: 10px; gap: 12px; padding-inline: 0; }
}
@media (max-width: 800px) {
  .yp-process { padding: 60px 0 70px; }
  .yp-layout { grid-template-columns: 1fr; gap: 38px; margin-top: 34px; }
  .yp-study { width: 100%; max-width: 540px; margin-inline: auto; }
  .yp-copy { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1fr); gap: 24px; align-items: start; }
  .yp-copy h2 { font-size: 28px; line-height: 1.5; margin: 12px 0 0; }
  .yp-process-link { grid-column: 1 / -1; justify-self: start; margin-top: 0; }
  .yp-step p { max-width: none; }
}
@media (max-width: 600px) {
  .yp-inner { width: calc(100% - 40px); }
  .yp-chapter { gap: 13px; font-size: 8px; letter-spacing: .04em; }
  .yp-chapter > span:last-child { font-size: 9px; letter-spacing: -.02em; }
  .yp-layout { margin-top: 28px; gap: 36px; }
  .yp-study-heading { padding-inline: 0; font-size: 8px; letter-spacing: .04em; }
  .yp-study figcaption { font-size: 9px; padding-top: 16px; }
  .yp-signature { font-size: 22px; }
  .yp-copy { display: block; }
  .yp-copy h2 { font-size: 27px; margin: 0 0 28px; }
  .yp-step { padding-block: 22px; grid-template-columns: 26px minmax(0,1fr); gap: 12px; }
  .yp-step h3 { font-size: 16px; }
  .yp-step p { font-size: 12px; line-height: 1.85; }
  .yp-process-link { margin-top: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .yp-process .yp-drawing .yp-trace { animation: none !important; stroke-dashoffset: 0 !important; }
  .yp-process-link .arrow { transition: none; }
}
@media print {
  .yp-process { background: white; color: #303c31; }
  .yp-process h2, .yp-process h3, .yp-process p, .yp-process a, .yp-chapter, .yp-study-heading, .yp-study figcaption, .yp-signature, .yp-step-number { color: #303c31; }
  .yp-drawing { color: #303c31; }
  .yp-process .yp-drawing .yp-trace { animation: none !important; stroke-dashoffset: 0 !important; }
}
