/* Who we are: the statement on the left, the intro and the detail read down one column beside it, and the four figures close the section */
.about-statement { margin: 0; font: 300 clamp(26px, 2.4vw, 32px)/1.3 var(--font-display); letter-spacing: -.01em; max-width: 22ch; text-wrap: balance; }
.about-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s5) var(--s8); align-items: start; }
/* intro then detail as one text: the same size, colour and measure, told apart only by the paragraph break */
.about-copy { display: grid; gap: var(--s4); padding-top: var(--s2); max-width: 62ch; }
.about-copy .lead, .about-copy .body { max-width: none; }
.about-copy .body { font-size: 18px; line-height: 1.55; }
@media (max-width: 520px) { .about-copy .body { font-size: 17px; } }
/* one ruled row of four, each number over its label */
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5); margin: var(--s8) 0 0; padding-top: var(--s6); border-top: 1px solid var(--line); }
.figures dd { margin: 0; }
.figures b { display: block; margin-bottom: var(--s3); font: 300 clamp(40px, 3.9vw, 56px)/1 var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.figures span { display: block; font-size: 14px; line-height: 1.5; color: var(--muted); max-width: 30ch; text-wrap: balance; }

/* How we work: steps on the right; at desktop one framed photo sticks beside them and follows the active step */
.how-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s8); align-items: start; }
.how-pic { position: sticky; top: calc(var(--nav-h) + var(--s5)); margin: 0; }
.how-frame { position: relative; aspect-ratio: 4 / 5; background: var(--surface); border-radius: var(--radius-sm); overflow: hidden; }
/* one taupe sweater from yarn to wear: each still fills the frame edge to edge, cropped a little above centre */
.how-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%;
  opacity: 0; scale: 1.03; transition: opacity .6s ease, scale 1.2s var(--ease-out); }
.how-frame img.on { opacity: 1; scale: 1; }
/* the catalog shot is on white, so it takes on the frame's grey like the stills around it */
.how-frame img.blend { mix-blend-mode: multiply; }
.how .head { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
/* Six progress ticks under the photo, one per step, each filling as its step goes by (about-how.js) */
.how-ticks { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s2); margin-top: var(--s3); }
.how-ticks i { position: relative; height: 2px; background: var(--line); overflow: hidden; }
.how-ticks i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform-origin: left; scale: var(--f, 0) 1; }
.how-pic figcaption { margin-top: var(--s3); font-size: 14px; line-height: 1.4; color: var(--muted); font-variant-numeric: tabular-nums; }
.how-pic figcaption span { display: inline-block; }

.steps { list-style: none; margin: 0; padding: 0; position: relative; }
.step { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: var(--s5); padding-block: var(--s6) var(--s7); border-top: 1px solid var(--line); position: relative; }
.step::before { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 1px; background: var(--ink); transform-origin: left; scale: 0 1; transition: scale .6s var(--ease-out); }
.step.on::before { scale: 1 1; }
.step i { font: normal 300 clamp(26px, 2.4vw, 32px)/1.2 var(--font-display); color: var(--accent); font-variant-numeric: tabular-nums; transition: color .2s ease; }
.step.on i { color: var(--ink); }
.step .body { max-width: 56ch; }
.step-pic, .swipe-bar { display: none; }

/* The full compliance statement, behind one line */
.statement { margin-top: clamp(48px, 6vw, 64px); border-block: 1px solid var(--line); }
.statement summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s4); min-height: 64px; font: 400 13px/1.2 var(--font-display); letter-spacing: .12em; text-transform: uppercase; }
.statement summary::-webkit-details-marker { display: none; }
.statement summary:hover span { color: var(--accent); }
.statement em { position: relative; width: 14px; height: 14px; flex: none; }
.statement em::before, .statement em::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 14px; height: 1px; background: currentColor; transition: rotate .25s var(--ease-out); }
.statement em::after { rotate: 90deg; }
.statement[open] em::after { rotate: 0deg; }
.statement-body { padding-bottom: var(--s7); display: grid; gap: var(--s7); }
/* Opening the statement: the six stages arrive left to right, 50ms apart, then the two texts; closing is immediate */
.statement[open] .stages li, .statement[open] .parts { animation: unfold .5s var(--ease-out) both; }
.statement[open] .stages li:nth-child(2) { animation-delay: 50ms; }
.statement[open] .stages li:nth-child(3) { animation-delay: 100ms; }
.statement[open] .stages li:nth-child(4) { animation-delay: 150ms; }
.statement[open] .stages li:nth-child(5) { animation-delay: 200ms; }
.statement[open] .stages li:nth-child(6) { animation-delay: 250ms; }
.statement[open] .parts { animation-delay: 300ms; }
@keyframes unfold { from { opacity: 0; translate: 0 8px; } }
.stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s5); counter-reset: st; }
.stages li { counter-increment: st; display: grid; gap: var(--s1); align-content: start; padding-top: var(--s4); border-top: 1px solid var(--ink); }
.stages li::before { content: counter(st, decimal-leading-zero); font: 400 13px/1.2 var(--font-display); letter-spacing: .12em; color: var(--accent); margin-bottom: var(--s2); }
.stages b { font: 400 20px/1.3 var(--font-display); }
.stages span { font-size: 14px; line-height: 1.5; color: var(--muted); }
.parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6) var(--s8); }
.parts h3 { margin: 0 0 var(--s2); font: 400 20px/1.3 var(--font-display); }
.parts p { margin: 0; color: var(--muted); max-width: 60ch; }

@media (prefers-reduced-motion: reduce) { .how-frame img { scale: none; } }

@media (max-width: 1000px) {
  .stages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s6); }
}
@media (max-width: 900px) {
  .about-row { grid-template-columns: 1fr; }
  .about-copy { padding-top: 0; }
  .how-grid { grid-template-columns: 1fr; gap: 0; }
  .how .head { grid-template-columns: 1fr; }
  /* on phones the six steps become swipe cards, each with its own photo, so the image always sits beside its text */
  .how-pic { display: none; }
  .steps { display: grid; grid-auto-flow: column; grid-auto-columns: min(82%, 360px); gap: var(--s4); align-items: start;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .steps::-webkit-scrollbar { display: none; }
  .step, .step.on { display: block; padding: 0; border: 0; scroll-snap-align: start; }
  .step::before { display: none; }
  .js .steps .rv { opacity: 1; translate: none; }
  .step-pic { display: block; position: relative; aspect-ratio: 4 / 5; margin-bottom: var(--s4); background: var(--surface); border-radius: var(--radius-sm); overflow: hidden; }
  .step-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
  .step-pic img.blend { mix-blend-mode: multiply; }
  .step i, .step.on i { display: block; margin-bottom: var(--s2); font: normal 400 13px/1.2 var(--font-display); letter-spacing: .12em; color: var(--accent); }
  .step i::after { content: " / 06"; }
  /* the bar shows how far along the row you are, and that there is more to swipe */
  .swipe-bar { display: block; position: relative; height: 2px; margin-top: var(--s5); background: var(--line); overflow: hidden; }
  .swipe-bar span { position: absolute; inset: 0 auto 0 0; width: calc(100% / 6); background: var(--ink); translate: calc(var(--p, 0) * 500%) 0; }
}
@media (max-width: 600px) {
  .figures { margin-top: var(--s7); padding-top: var(--s5); }
  .stages { grid-template-columns: 1fr 1fr; }
  .parts { grid-template-columns: 1fr; }
}
