/* About us. Page-specific pieces only; rhythm, cards and heads come from components.css. */

/* ---------- Hero ---------- */
/* Same build as the Products hero: copy left, one 480px photo right, tag line on its bottom edge. */
.about-hero { grid-template-columns: minmax(0, 1fr) 728px; align-items: stretch; }
.about-hero__copy { display: flex; flex-direction: column; justify-content: space-between; gap: var(--sp-40); }
.about-hero__media { height: 480px; }

/* ---------- Who we are ---------- */
.who { grid-template-columns: 416px minmax(0, 1fr); }
.who__quote { max-width: 688px; font-family: var(--font-display); font-size: clamp(24px, 2vw, 28px); line-height: 1.29; color: var(--ink); }
.who__cols { margin-top: var(--sp-48); color: var(--ink-80); }
.who__position { margin-top: var(--block-gap); }
.who__position .label { color: var(--gold-text); }
.who__position p + p { margin-top: var(--sp-4); font-size: 14px; color: var(--ink); }

/* ---------- From fabric roll to finished bag: the production line ----------
 * A sticky bar names the four stations and marks the one being read. Below, a stitched
 * thread runs down the left through a numbered node per station and ends at a done node. */
.stations {
  position: sticky;
  top: var(--nav-h);
  z-index: 10;
  margin-bottom: var(--head-gap);
  border-bottom: 1px solid var(--hairline);
  background: var(--white);
}
.stations__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stations__link {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  padding: var(--sp-16) 0;
  border-bottom: 2px solid transparent;
  font-size: 14px;
  line-height: 24px;
  color: var(--ink-60);
  transition: color .2s ease, border-color .2s ease;
}
.stations__num { font-size: 12px; font-weight: 600; letter-spacing: var(--tracking); color: var(--gold-text); }
.stations__link:hover { color: var(--ink); }
.stations__link[aria-current="step"] { border-bottom-color: var(--clay); color: var(--ink); font-weight: 500; }

.process { display: flex; flex-direction: column; }
.process__step {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 5fr) minmax(0, 7fr);
  column-gap: var(--sp-40);
  align-items: start;
  padding-bottom: var(--block-gap);
  scroll-margin-top: calc(var(--nav-h) + var(--sp-96));
}
.process__step::before {            /* the thread to the next station */
  content: '';
  position: absolute;
  top: 48px;
  bottom: 0;
  left: 23px;
  border-left: 2px dashed var(--gold);
}
.process__node { grid-column: 1; grid-row: 1; }
.process__copy { grid-column: 2; grid-row: 1; padding-top: var(--sp-12); }
.process__media { grid-column: 3; grid-row: 1; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: var(--sp-16); }
/* Height 0 + min-height 100%: the two squares set the height, the main photo fills it. */
.process__main { grid-row: span 2; height: 0; min-height: 100%; }
.process__thumb { height: auto; aspect-ratio: 1; }
.process__num { color: var(--gold-text); }
.process__title { margin-top: var(--sp-16); font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 2vw, 28px); line-height: 1.29; color: var(--ink); }
.process__text { max-width: 480px; margin-top: var(--sp-16); font-size: 16px; line-height: 24px; color: var(--ink-80); }
.process__points { max-width: 480px; margin-top: var(--sp-24); border-top: 1px solid var(--hairline); }
.process__points li { display: flex; align-items: center; gap: var(--sp-12); padding: var(--sp-12) 0; border-bottom: 1px solid var(--hairline); font-size: 14px; line-height: 20px; color: var(--ink); }
.process__points li::before { content: ''; width: 16px; height: 2px; flex: none; background: var(--gold); }
/* End of the line: done node, one sentence, the next step for the visitor. */
.process__end { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; column-gap: var(--sp-40); align-items: center; }
.process__end-title { font-family: var(--font-display); font-size: 24px; font-weight: 500; line-height: 32px; color: var(--ink); }
.process__end-text { margin-top: var(--sp-4); font-size: 14px; line-height: 22px; color: var(--ink-80); }

/* ---------- Mission & vision ---------- */
.aim { background: var(--white); }
.aim__text { margin-top: var(--sp-16); font-family: var(--font-display); font-style: italic; font-size: 24px; line-height: 1.33; color: var(--ink); }

/* ---------- B2B & B2C: a tailor's tape from one bag to ten thousand ----------
 * Brass tape with tick marks; each buyer hangs from it on a stitch, smallest order first. */
.people__text { color: var(--on-dark); }
.tape {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 48px;
  padding: 0 var(--sp-16) var(--sp-8);
  border-radius: var(--radius-control);
  background-color: var(--gold);
  background-image:
    repeating-linear-gradient(90deg, rgba(33, 36, 30, .7) 0 1.5px, transparent 1.5px 64px),
    repeating-linear-gradient(90deg, rgba(33, 36, 30, .45) 0 1px, transparent 1px 8px);
  background-size: 100% 16px, 100% 8px;
  background-position: 16px 0, 16px 0;
  background-repeat: no-repeat;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.05em;
  color: var(--ink);
  font-variant-numeric: lining-nums;
}
.buyers { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--grid-gap); }
.buyer { position: relative; padding-top: var(--sp-56); }
.buyer::before { content: ''; position: absolute; top: 0; left: 3px; height: 40px; border-left: 1.5px dashed var(--gold); }
.buyer::after { content: ''; position: absolute; top: 40px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.buyer__qty { color: var(--gold); }
.buyer__name { margin-top: var(--sp-8); font-family: var(--font-display); font-size: 22px; font-weight: 500; line-height: 30px; white-space: nowrap; color: var(--cream); }
.buyer__text { margin-top: var(--sp-8); font-size: 14px; line-height: 22px; color: var(--on-dark-dim); }

/* ---------- Commitment ---------- */
.principle__num { color: var(--gold-text); }
.principle__title { margin-top: var(--sp-16); font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 24px; line-height: 1.33; color: var(--ink); }
.principle__text { max-width: 312px; margin-top: var(--sp-12); font-size: 14px; line-height: 20px; color: var(--ink-80); }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .about-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
}
@media (max-width: 960px) {
  .about-hero, .who { grid-template-columns: 1fr; }
  .buyers { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--sp-40); }
  .buyer:nth-child(n+4) { padding-top: 0; }
  .buyer:nth-child(n+4)::before, .buyer:nth-child(n+4)::after { display: none; }
  .about-hero__media { height: 384px; }
  .process__step { grid-template-columns: 48px minmax(0, 1fr); column-gap: var(--sp-24); }
  .process__media { grid-column: 2; grid-row: 2; margin-top: var(--sp-24); }
  .process__end { grid-template-columns: 48px minmax(0, 1fr); column-gap: var(--sp-24); row-gap: var(--sp-24); }
  .process__end .btn { grid-column: 2; justify-self: start; }
}
@media (max-width: 640px) {
  .about-hero__media { height: 280px; }
  .process__media { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-8); }
  .process__main { grid-row: auto; grid-column: span 2; height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .stations__list { display: flex; overflow-x: auto; scrollbar-width: none; gap: var(--sp-24); }
  .stations__link { white-space: nowrap; }
  .process__step { column-gap: var(--sp-16); }
  .process__end { column-gap: var(--sp-16); }
  /* Tape turns vertical: one brass strip down the left, buyers in order beside it. */
  .tape { display: none; }
  .buyers { position: relative; grid-template-columns: 1fr; row-gap: var(--sp-32); padding-left: var(--sp-48); }
  .buyers::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 24px;
    border-radius: var(--radius-control);
    background-color: var(--gold);
    background-image: repeating-linear-gradient(180deg, rgba(33, 36, 30, .5) 0 1px, transparent 1px 8px);
    background-size: 8px 100%;
    background-repeat: no-repeat;
  }
  .buyer, .buyer:nth-child(n+4) { padding-top: 0; }
  .buyer::before, .buyer::after, .buyer:nth-child(n+4)::before, .buyer:nth-child(n+4)::after { display: block; }
  .buyer::before { top: 10px; left: -24px; height: 0; width: 8px; border-left: 0; border-top: 1.5px dashed var(--gold); }
  .buyer::after { top: 6px; left: -16px; }
}
