/* Practice pages (/design, later /automation, /development): a compact hero, then the work.
   Shared blocks (work grid, anatomy) keep their styles in sections.css; CTA and footer in cta.css. */

.ph { padding: clamp(72px, 10vw, 140px) 0 clamp(56px, 7vw, 96px); }
.ph__title { font-size: clamp(64px, 11vw, 176px); font-weight: 600; letter-spacing: -0.05em; line-height: 0.92; }
.ph__row { display: flex; justify-content: space-between; align-items: end; gap: 32px 64px; flex-wrap: wrap; margin-top: clamp(28px, 3.5vw, 48px); }
.ph .lead { max-width: 38ch; color: var(--ink-2); }
.ph__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; padding: 0; list-style: none; }
.ph__tags li {
  padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500;
  background: var(--paper); border: 1px solid var(--line); color: var(--ink-2);
}

/* the dark work band sits as a rounded sheet under the hero */
.ph + .section--band { margin-top: 0; border-radius: 28px; }
.page-work .work { margin-top: 0; }
@media (max-width: 600px) { .ph + .section--band { border-radius: 22px; } }

/* three design cases: the campaign full width, identity and infographic side by side */
.page-work .case { grid-column: span 6; }
.page-work .case--wide { grid-column: span 12; }
.page-work .case--wide .case__cover { height: clamp(340px, 38vw, 560px); }
@media (max-width: 900px) { .page-work .case, .page-work .case--wide { grid-column: auto; } .page-work .case--wide .case__cover { height: clamp(260px, 60vw, 420px); } }
.page-work .case--wide .mos { width: min(90%, 760px); }

/* split hero: text left, a live demo right (automation: one master into every format) */
.ph--split .ph__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px 64px; align-items: center; }
.ph--split .ph__title { font-size: clamp(56px, 7.4vw, 120px); }
.ph--split .ph__row { display: block; margin-top: clamp(24px, 3vw, 36px); }
.ph--split .ph__row .btn { margin-top: 32px; }
@media (max-width: 1000px) { .ph--split .ph__grid { grid-template-columns: 1fr; } }

/* development hero art: the layer stack from the home card, larger, slowly separating */
.ph__art { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1; justify-self: center; }
.ph__art .pr__stack { top: 46%; width: 66%; }
.ph__art .pr__stack i { animation: ph-layer 6s ease-in-out infinite; }
.ph__art .pr__stack i:nth-child(1) { --y2: 46%; }
.ph__art .pr__stack i:nth-child(2) { --y2: 17%; }
.ph__art .pr__stack i:nth-child(3) { --y2: -10%; }
@keyframes ph-layer { 50% { transform: translateY(var(--y2)) rotateX(58deg) rotateZ(-45deg); } }
@media (prefers-reduced-motion: reduce) { .ph__art .pr__stack i { animation: none; } }
.page-work .case--wide .web { width: min(86%, 860px); }
