/* How it works page. Colours, type, the step boxes and the enlarged step view come from styles.css. */
.nav a[aria-current="page"] { color: var(--heading); font-weight: 500; }
#process .proc-head h1 { grid-column: 1 / -1; grid-row: 2; font-size: var(--step-3); max-width: none; text-wrap: balance; }
#process .proc-head h1 em { font-family: var(--font-caption); font-style: italic; font-weight: 400; color: var(--accent-ink); }

/* Phones, tablets and short windows: the seven steps run down the page */
#process:not(.proc-box) .proc-grid { display: block; }
.hiw-steps { list-style: none; display: grid; gap: clamp(1.25rem, 4vw, 2rem); max-width: 44rem; margin: clamp(1.75rem, 5vw, 2.75rem) auto 0; padding: 0; }
.hiw-step { overflow: hidden; border-radius: 14px; background: var(--surface-2); box-shadow: 0 16px 28px -22px var(--page-shadow); }
.hiw-step img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.hiw-text { padding: 1.15rem 1.25rem 1.35rem; }
.hiw-num { display: block; margin-bottom: .3rem; font: 400 1.6rem/1 var(--font-display); color: var(--accent-ink); }
#process .hiw-step h2 { margin-bottom: .55rem; font-size: var(--step-2); }
.hiw-step p { margin: 0; line-height: 1.5; }
.hiw-step .meta { margin-top: .7rem; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); }

/* Wide screens: the seven photo boxes */
#process.proc-box .hiw-steps { display: none; }
@media (max-width: 760px) {
  #process .proc-head h1 { font-size: clamp(2.05rem, 8.9vw, 2.5rem); line-height: 1.06; }
}
