/* Milestone 2: documented process, independent of the accepted hero styles. */
.development { position: relative; isolation: isolate; overflow: hidden; background: var(--black); }
.development::before { content: ''; position: absolute; z-index: -1; inset: 0; background: url('../assets/images/textures/distressed-surface.svg') repeat 0 0 / 850px; filter: invert(1); opacity: .14; mask-image: linear-gradient(90deg, #000, transparent 35%, transparent 75%, #000); pointer-events: none; }
.development-inner { padding-block: clamp(3.5rem, 7vw, 6rem); }
.development-heading { position: relative; padding-bottom: 3rem; border-bottom: 1px solid #ffffff50; }
.development-heading .eyebrow { color: var(--pink); }
.development-heading h2 { max-width: 17ch; margin-top: 1rem; font: 400 clamp(2.1rem, 4.5vw, 4.5rem)/1.1 var(--font-display); }
.development-heading h2 span { color: var(--pink); }
.development-mark { position: absolute; right: .5rem; bottom: 2.5rem; font-size: 6rem; color: var(--pink); line-height: 1; }
.process-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: clamp(3rem, 6vw, 5.5rem); border-bottom: 1px solid #ffffff40; }
.process-copy { max-width: 36rem; }
.process-copy h3 { font: 400 clamp(1.8rem, 2.8vw, 2.8rem)/1.15 var(--font-display); margin: 0 0 1.5rem; }
.process-copy h3 span { color: var(--pink); }
.process-copy p { font-size: 1.05rem; line-height: 1.7; }
.process-copy p + p { margin-top: 1.25rem; }
.process-copy .process-step, .wordmark-finale .process-step { margin: 0 0 1rem; color: var(--pink); font: 700 .85rem/1 var(--font-body); letter-spacing: .15em; }
.process-step::after { content: ''; display: inline-block; width: 3rem; height: 1px; background: currentColor; vertical-align: middle; margin-left: .75rem; }
.sketch-board { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1rem; align-items: center; padding: 1rem .5rem; }
.process-paper { position: relative; padding: .65rem; background: var(--white); box-shadow: 7px 9px 0 var(--pink-deep); }
.process-paper img { width: 100%; }
.lettering-sheet { transform: rotate(-4deg); }
.lettering-sheet::before { content: ''; position: absolute; width: 44%; height: 1.25rem; left: 30%; top: -.5rem; transform: rotate(6deg); background: var(--pink); opacity: .85; }
.sketch-pair { display: grid; gap: 1.75rem; }
.sketch-sheet { transform: rotate(5deg); }
.circle-sheet { transform: rotate(-2deg); }
.digital-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.digital-sheet { padding: clamp(1.5rem, 4vw, 3.5rem); background: var(--white); transform: rotate(3deg); box-shadow: -10px 10px 0 var(--pink); }
.digital-sheet img { width: 100%; max-width: 455px; margin-inline: auto; }
.elements-study { width: min(90%, 430px); margin-inline: auto; padding: 1rem; background: var(--white); transform: rotate(-3deg); box-shadow: 9px 10px 0 var(--pink-deep); }
.elements-study img { width: 100%; }
.wordmark-finale { padding-block: clamp(3rem, 6vw, 5rem); text-align: center; border-bottom: 1px solid #ffffff40; }
.wordmark-finale header { margin-bottom: 3rem; }
.wordmark-finale h3 { font: 400 clamp(1.9rem, 3vw, 3rem)/1.1 var(--font-display); margin: 0; }
.wordmark-finale .developed-sheet { width: min(92%, 900px); margin-inline: auto; padding: clamp(1.5rem, 5vw, 4rem); box-shadow: 9px 11px 0 var(--white); }
.wordmark-finale > p { max-width: 46ch; margin: 3.5rem auto 0; font-size: clamp(1.1rem, 2vw, 1.5rem); line-height: 1.5; }
.developed-sheet { position: relative; padding: clamp(1.5rem, 4vw, 3.5rem); background: var(--pink); transform: rotate(-3deg); }
.developed-sheet::before { content: ''; position: absolute; inset: 0; background: url('../assets/images/textures/dry-ink.svg') center / 450px; opacity: .23; pointer-events: none; }
.developed-sheet img { position: relative; width: 100%; }
.product-development { position: relative; display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; align-items: center; padding: clamp(1.5rem, 4vw, 3rem); margin-top: 4rem; background: var(--pink); color: var(--black); border-top: 5px solid var(--white); }
.product-development h3 { font: 400 clamp(1.5rem, 2.3vw, 2.2rem)/1.2 var(--font-display); margin: 0; }
.product-development p { max-width: 32ch; padding-right: 1rem; font-size: clamp(1.25rem, 2vw, 1.8rem); line-height: 1.45; }
.product-development-copy p { margin-top: 2rem; }
.artifact-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: center; padding: .75rem; background: url('../assets/images/textures/dry-ink.svg') center / 550px; }
.artifact { padding: .75rem; background: var(--white); box-shadow: 4px 5px 0 var(--black); }
.artifact img { width: 100%; height: clamp(6rem, 11vw, 10rem); object-fit: contain; }
.artifact figcaption { text-align: center; margin-top: .5rem; font-size: .7rem; font-weight: 700; }
.sticker-artifact { transform: rotate(-6deg); }
.guitar-artifact { transform: rotate(5deg); }
.pin-artifact { transform: rotate(3deg); }
.bracelet-artifact { transform: rotate(-4deg); }
.product-development > span { position: absolute; bottom: .25rem; right: .75rem; line-height: 1; font-size: 2rem; }
/* The extra completed section needs a second navigation row on small screens. */
@media (max-width: 600px) {
  .site-header { flex-wrap: wrap; }
  .site-header nav { width: 100%; justify-content: space-between; gap: .5rem; }
  .site-header nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .8rem; }
  .site-header nav a span { margin-left: .2rem; }
  .development-mark { display: none; }
}
@media (max-width: 850px) {
  .process-row, .digital-row { grid-template-columns: minmax(0, 1fr); }
  .process-copy { max-width: 100%; }
  .sketches-row .process-copy { grid-row: 1; }
  .sketch-board { width: min(100%, 600px); margin-inline: auto; }
  .digital-sheet, .developed-sheet { width: min(95%, 600px); margin-inline: auto; }
  .product-development { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .artifact-board { width: min(100%, 32rem); margin-inline: auto; }
  .artifact img { height: clamp(6rem, 24vw, 10rem); }
}

/* Resting tilt belongs to the stationary mount; only the paper swings beneath its pin. */
.sketch-mount { position: relative; min-width: 0; }
.lettering-mount { transform: rotate(-4deg); }
.wordmark-mount { transform: rotate(5deg); }
.sketch-mount > figure { transform-origin: 50% 0; transform: rotate(var(--sketch-swing, 0deg)); }
.sketch-pin { position: absolute; z-index: 2; top: 0; left: 50%; width: 24px; height: 24px; transform: translate(-50%, -50%) rotate(-10deg); color: var(--pink); pointer-events: none; }
.sketch-pin svg { display: block; width: 100%; height: 100%; }

.digital-mount { transform: rotate(3deg); }
.elements-mount { width: min(90%, 430px); margin-inline: auto; transform: rotate(-3deg); }
.sketch-mount > .digital-sheet, .sketch-mount > .elements-study { width: 100%; margin-inline: 0; }
@media (max-width: 850px) { .digital-mount { width: min(95%, 600px); margin-inline: auto; } }
