/* nine.zero — Services · Product Ops. Layout for /services/product-ops/ only.
   Values from the Paper artboard "Service · Product Ops" at 1440px. */

/* ---------- Shared bits on this page ---------- */
.po-kicker {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--np-font-mono); font-size: 16px; line-height: 22px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--np-ink);
}
.po-kicker b { font-weight: 400; color: var(--np-ink); }

/* Section head: "/01" index column + serif headline + one-line intro */
.po-sec { display: flex; align-items: flex-start; padding-bottom: 32px; border-bottom: 1px solid var(--np-hair); }
.po-sec__idx {
  flex: none; width: 72px; padding-top: 16px;
  font-family: var(--np-font-mono); font-size: 12px; line-height: 14px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--np-ink);
}
.po-sec__body { display: flex; flex-direction: column; gap: 16px; max-width: 800px; }
.po-sec__title { font-size: 56px; line-height: 60px; letter-spacing: -0.015em; }
.po-sec__body p { max-width: 640px; font-size: 16px; line-height: 26px; color: var(--np-text-2); }

/* ---------- Hero ---------- */
.po-hero { padding: 112px 0 96px; }
.po-hero__wrap { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.po-hero__copy { display: flex; flex-direction: column; gap: 32px; width: 640px; flex: none; }
.po-hero__title { font-size: 96px; line-height: 92px; letter-spacing: -0.02em; max-width: 640px; }
.po-hero__lede { max-width: 540px; font-size: 18px; line-height: 30px; color: var(--np-text-2); }
.po-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sprint board illustration */
.po-board {
  width: 560px; flex: none;
  border-radius: var(--np-radius-card); overflow: hidden;
  background: var(--np-band); border: 1px solid var(--np-hair);
}
.po-board__head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 20px; border-bottom: 1px solid var(--np-hair);
  font-family: var(--np-font-mono); font-size: 10px; line-height: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--np-ink);
}
.po-board__name { display: inline-flex; align-items: center; gap: 10px; }
.po-board__dot { color: var(--np-status); }
.po-board__meta { color: var(--np-text-2); }
.po-board__cols { display: flex; gap: 12px; padding: 16px; }
.po-board__col { display: flex; flex-direction: column; gap: 10px; flex: 1 1 0; min-width: 0; }
.po-board__colhead {
  display: flex; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px solid var(--np-hair);
  font-family: var(--np-font-mono); font-size: 9px; line-height: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--np-ink);
}
.po-board__colhead span:last-child { color: var(--np-text-2); }
.po-card { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; border-radius: 10px; border: 1px solid; }
.po-card--proposed { background: #eef0f4; border-color: #d8dde5; }
.po-card--review { background: #f4eedc; border-color: #ddd1af; }
.po-card--shipped { background: #e7eedf; border-color: #b9ccae; }
.po-card__title { font-size: 13px; line-height: 18px; color: var(--np-ink); }
.po-card--shipped .po-card__title { color: #294c3c; }
.po-card__foot {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--np-font-mono); font-size: 9px; line-height: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--np-text-2);
}
.po-card__who { display: inline-flex; align-items: center; gap: 6px; }
.po-card__who i { width: 14px; height: 14px; border-radius: 50%; background: var(--np-hair); }

/* ---------- A clearer starting point ---------- */
.po-start { padding: 72px 0; }
.po-start .wrap { display: flex; flex-direction: column; gap: 48px; }
.po-start__eyebrow { font-family: var(--np-font-mono); font-size: 12px; line-height: 18px; letter-spacing: 0.06em; color: var(--np-ink); }
.po-start__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 80px; }
.po-start__title { width: 570px; flex: none; font-size: 64px; line-height: 66px; letter-spacing: -0.02em; }
.po-start__intro { width: 510px; flex: none; font-size: 18px; line-height: 29px; color: #4f555c; }
.po-start__body { display: flex; align-items: flex-start; gap: 64px; }
.po-steps { flex: 1 1 auto; min-width: 0; }
.po-step { display: flex; gap: 24px; padding: 28px 0; border-top: 1px solid #d8d9d6; }
.po-step__idx { flex: none; width: 32px; font-family: var(--np-font-mono); font-size: 12px; line-height: 24px; color: var(--np-text-2); }
.po-step__body { display: flex; flex-direction: column; gap: 12px; }
.po-step__title { font-size: 32px; line-height: 36px; letter-spacing: -0.01em; color: #000; }
.po-step__body p { font-size: 17px; line-height: 27px; color: #4f555c; }
.po-commit {
  position: relative; width: 440px; flex: none;
  display: flex; flex-direction: column; gap: 22px; padding: 36px;
  background: var(--np-dark); color: var(--np-dark-text);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px, 16px 16px);
}
.po-commit::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(133, 238, 0, .14), rgba(133, 238, 0, 0) 55%); pointer-events: none; }
.po-commit__label { display: flex; align-items: center; gap: 10px; font-family: var(--np-font-mono); font-size: 11px; line-height: 16px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--np-lime); }
.po-commit__label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--np-lime); box-shadow: 0 0 0 4px rgba(133, 238, 0, .18); }
.po-commit__title { font-family: var(--np-font-display); font-weight: 400; font-size: 44px; line-height: 46px; letter-spacing: -0.01em; color: var(--np-dark-text); }
.po-commit__title i { color: var(--np-lime); }
.po-commit > p:not(.po-commit__label):not(.commit__agreed):not(.commit__agreed-note) { font-size: 16px; line-height: 26px; color: var(--np-dark-muted); }
.po-commit .commit__agreed { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; padding-top: 20px; border-top: 1px solid var(--np-dark-hair-2); }
.po-commit .commit__agreed span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--np-dark-hair-2); font-family: var(--np-font-mono); font-size: 10px; line-height: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--np-dark-text); }
.po-commit .commit__agreed span::before { content: "✓"; color: var(--np-lime); font-weight: 600; }
.po-commit .commit__agreed-note { width: 100%; margin: 4px 0 0; font-family: var(--np-font-mono); font-size: 10px; line-height: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--np-dark-muted); }
.po-start__cta { display: none; }

/* ---------- /01 The rituals ---------- */
.po-rituals { padding: 96px 0; border-top: 1px solid var(--np-hair); }
.po-rituals__wrap { position: relative; display: flex; flex-direction: column; gap: 40px; }
.po-month { display: grid; grid-template-columns: 150px repeat(5, 1fr); gap: 8px; }
.po-month__head { display: contents; }
.po-month__corner, .po-month__day { padding: 0 0 4px; font-family: var(--np-font-mono); font-size: 11px; line-height: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--np-ink); }
.po-month__corner { color: var(--np-text-2); }
.po-month__week { display: contents; }
.po-month__label { display: flex; flex-direction: column; gap: 6px; padding: 14px 12px 14px 0; border-top: 1px solid var(--np-hair); }
.po-month__wk { font-family: var(--np-font-mono); font-size: 11px; line-height: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--np-text-2); }
.po-month__theme { font-family: var(--np-font-display); font-size: 24px; line-height: 26px; color: var(--np-ink); }
.po-cell { display: flex; flex-direction: column; gap: 6px; min-height: 120px; padding: 12px 0 12px; border-top: 1px solid var(--np-hair); }
.po-chip { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border-radius: 8px; border: 1px solid transparent; }
.po-chip--green { background: #e7eedf; border-color: #b9ccae; }
.po-chip--grey { background: #eef0f4; border-color: #d8dde5; }
.po-chip--lav { background: #e6e1f0; border-color: #d0c7df; }
.po-chip--ink { background: var(--np-dark); border-color: var(--np-dark); }
.po-chip__day { display: none; }
.po-chip__title { font-size: 13px; line-height: 16px; font-weight: 500; color: var(--np-ink); }
.po-chip__time { font-family: var(--np-font-mono); font-size: 9px; line-height: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--np-text-2); }
.po-chip--ink .po-chip__title, .po-chip--ink .po-chip__time { color: var(--np-btn-text); }
.po-legend { display: flex; flex-wrap: wrap; gap: 32px; }
.po-legend li {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--np-font-mono); font-size: 10px; line-height: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--np-text-2);
}
.po-legend__swatch { width: 10px; height: 10px; border-radius: 2px; background: var(--np-ground); border: 1px solid var(--np-hair); }
.po-legend__swatch--ink { background: #20242b; border-color: #20242b; }
.po-legend__swatch--green { background: #e7eedf; border-color: #b9ccae; }
.po-legend__swatch--lav { background: #e6e1f0; border-color: #d0c7df; }

/* ---------- /02 Who decides ---------- */
.po-decides { padding: 96px 0; border-top: 1px solid var(--np-hair); }
.po-decides__wrap { position: relative; display: flex; flex-direction: column; gap: 40px; }
.po-matrix { width: 100%; border-collapse: collapse; table-layout: fixed; }
.po-matrix__c1 { width: 400px; }
.po-matrix col:not(.po-matrix__c1):not(.po-matrix__fill) { width: 200px; }
.po-matrix tr { border-bottom: 1px solid var(--np-hair); }
.po-matrix th, .po-matrix td { padding: 16px 0; text-align: center; font-weight: 400; vertical-align: middle; }
.po-matrix thead th {
  font-family: var(--np-font-mono); font-size: 10px; line-height: 20px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--np-text-2);
}
.po-matrix th:first-child { text-align: left; }
.po-matrix thead th:first-child { line-height: 14px; }
.po-matrix tbody th { font-size: 15px; line-height: 22px; color: var(--np-ink); }
.po-matrix td { font-family: var(--np-font-mono); font-size: 14px; line-height: 20px; }
.po-matrix .is-decides { color: var(--np-status); }
.po-matrix .is-consulted { color: var(--np-ink); }
.po-matrix .is-informed { color: var(--np-text-2); }

/* ---------- /03 Installed in a quarter ---------- */
.po-quarter { padding: 96px 0; border-top: 1px solid var(--np-hair); }
.po-quarter .wrap { display: flex; flex-direction: column; gap: 40px; }
.po-gantt { display: flex; flex-direction: column; gap: 6px; }
.po-gantt__weeks {
  display: grid; grid-template-columns: 128px repeat(12, minmax(0, 1fr));
  padding-bottom: 6px; border-bottom: 1px solid var(--np-hair);
  font-family: var(--np-font-mono); font-size: 9px; line-height: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--np-text-2);
}
.po-gantt { padding-bottom: 6px; border-bottom: 1px solid var(--np-hair); }
.po-gantt__row { display: grid; grid-template-columns: 128px repeat(12, minmax(0, 1fr)); align-items: center; height: 44px; }
.po-gantt__label { grid-column: 1; font-size: 14px; line-height: 18px; color: var(--np-ink); }
.po-gantt__bar {
  display: flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 6px;
  font-family: var(--np-font-mono); font-size: 9px; line-height: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--np-ink);
  overflow: hidden;
}
.po-gantt__bar--audit { grid-column: 2 / span 2; background: #ded9ea; }
.po-gantt__bar--rituals { grid-column: 4 / span 3; background: #e9dcae; }
.po-gantt__bar--tooling { grid-column: 5 / span 4; background: #cedfc2; }
.po-gantt__bar--gov { grid-column: 7 / span 4; background: #416556; color: #fff; }
.po-gantt__bar--hand { grid-column: 12 / span 2; background: var(--np-lime); }

/* ---------- Photograph ---------- */
.po-photo { padding-bottom: 80px; }
.po-photo__fig {
  display: grid; width: 100%;
  max-width: min(calc(100% - var(--np-gutter)), calc(50% + var(--np-container) / 2));
  clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px, 24px 24px);
}
.po-photo__fig > * { grid-area: 1 / 1; }
.po-photo__fig img { width: 100%; height: 560px; object-fit: cover; }
.po-photo__overlay {
  align-self: end; display: flex; flex-direction: column; gap: 6px;
  padding: 0 24px 32px max(var(--np-gutter), calc(100% - var(--np-container)));
  color: #fff;
}
.po-photo__tag {
  display: flex; gap: 14px; margin-bottom: 8px;
  font-family: var(--np-font-mono); font-size: 11px; line-height: 14px; letter-spacing: 0.16em; text-transform: uppercase;
}
.po-photo__stat { font-size: 64px; line-height: 60px; letter-spacing: -0.02em; }
.po-photo__sub { font-family: var(--np-font-mono); font-size: 10px; line-height: 14px; letter-spacing: 0.16em; text-transform: uppercase; }
.po-photo__caption {
  display: flex; justify-content: space-between; gap: 24px; margin-top: 18px;
  font-family: var(--np-font-mono); font-size: 10px; line-height: 14px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--np-text-2);
}

/* ---------- /04 Working as one team ---------- */
.po-team { padding: 80px 0 96px; border-top: 1px solid var(--np-hair); }
.po-team__wrap { display: flex; align-items: flex-start; gap: 96px; }
.po-team__left { width: 560px; flex: none; display: flex; flex-direction: column; gap: 24px; }
.po-team__eyebrow { font-family: var(--np-font-mono); font-size: 11px; line-height: 16px; letter-spacing: 0.12em; color: var(--np-text-2); }
.po-team__title { font-size: 64px; line-height: 66px; }
.po-team__title i { color: #416556; }
.po-team__right { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.po-team__lead { font-size: 20px; line-height: 30px; color: var(--np-ink); }
.po-team__rows { display: flex; flex-direction: column; gap: 28px; }
.po-team__row { display: flex; align-items: flex-start; gap: 24px; padding-top: 20px; border-top: 1px solid #d8dcd5; }
.po-team__row dt { flex: none; width: 174px; font-size: 15px; line-height: 24px; font-weight: 500; color: #294c3c; }
.po-team__row dd { margin: 0; font-size: 15px; line-height: 24px; color: var(--np-text-2); }

/* ---------- CTA ---------- */
.po-cta { padding: 64px 0; }
.po-cta__wrap { display: flex; flex-direction: column; gap: 48px; }
.po-cta__top { display: flex; align-items: center; justify-content: space-between; gap: 80px; }
.po-cta__copy { display: flex; flex-direction: column; gap: 16px; max-width: 780px; }
.po-cta__title { font-size: 60px; line-height: 64px; color: var(--np-dark-text); }
.po-cta__copy p { font-size: 18px; line-height: 29px; color: var(--np-dark-muted); }
.po-cta__btn { flex: none; padding: 16px 24px; gap: 24px; font-size: 16px; line-height: 22px; font-weight: 400; }
.po-next { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.po-next li { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid var(--np-foot-hair); }
.po-next__idx { font-family: var(--np-font-mono); font-size: 12px; line-height: 18px; color: var(--np-dark-muted); }
.po-next h3 { font-size: 30px; line-height: 34px; color: var(--np-dark-text); }
.po-next p { font-size: 16px; line-height: 26px; color: var(--np-dark-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .po-hero__copy { width: 52%; }
  .po-hero__title { font-size: 80px; line-height: 0.96; }
  .po-board { width: 44%; }
  .po-board__cols { flex-direction: column; }
  .po-start__head { gap: 40px; }
  .po-start__title { width: auto; flex: 1 1 50%; }
  .po-start__intro { width: auto; flex: 1 1 40%; }
  .po-commit { width: 38%; }
  .po-team__wrap { gap: 48px; }
  .po-team__left { width: 44%; }
}

@media (max-width: 900px) {
  .po-hero { padding: 64px 0 72px; }
  .po-hero__wrap { flex-direction: column; gap: 48px; }
  .po-hero__copy, .po-board { width: 100%; }
  .po-hero__title { font-size: 64px; line-height: 0.98; }
  .po-board__cols { flex-direction: row; }
  .po-board__head { flex-wrap: wrap; }

  .po-start { padding: 64px 0; }
  .po-start .wrap { gap: 32px; }
  .po-start__head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .po-start__title { font-size: 44px; line-height: 48px; }
  .po-start__body { flex-direction: column; gap: 32px; }
  .po-step { gap: 24px; }
  .po-step__body p { font-size: 16px; line-height: 26px; }
  .po-commit { width: 100%; padding: 24px; }
  .po-start__cta { display: inline-flex; width: 100%; min-height: 56px; font-size: 16px; }

  .po-sec { flex-direction: column; gap: 12px; padding-bottom: 24px; }
  .po-sec__idx { padding-top: 0; }
  .po-sec__title { font-size: 40px; line-height: 44px; }

  .po-rituals, .po-decides, .po-quarter { padding: 64px 0; }
  .po-rituals__wrap, .po-decides__wrap, .po-quarter .wrap { gap: 32px; }
  .po-month { display: flex; flex-direction: column; gap: 24px; }
  .po-month__head { display: none; }
  .po-month__week { display: flex; flex-direction: column; gap: 8px; }
  .po-month__label { flex-direction: row; align-items: baseline; gap: 12px; padding: 12px 0 4px; }
  .po-cell { min-height: 0; padding: 0; border-top: 0; }
  .po-cell--empty { display: none; }
  .po-chip { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; }
  .po-chip__day { display: block; font-family: var(--np-font-mono); font-size: 9px; line-height: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--np-text-2); }
  .po-chip--ink .po-chip__day { color: var(--np-btn-text); }

  .po-matrix { display: block; table-layout: auto; }
  .po-matrix colgroup, .po-matrix thead { display: none; }
  .po-matrix tbody { display: block; }
  .po-matrix tr { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 12px; padding: 16px 0; border-bottom: 1px solid var(--np-hair); }
  .po-matrix th, .po-matrix td { padding: 0; border: 0; }
  .po-matrix th:first-child { grid-column: 1 / -1; }
  .po-matrix td { display: flex; flex-direction: column; align-items: center; gap: 4px; }
  .po-matrix td::before {
    content: attr(data-role);
    font-family: var(--np-font-mono); font-size: 9px; line-height: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--np-text-2);
  }

  .po-gantt__weeks { display: none; }
  .po-gantt { gap: 0; padding-bottom: 0; border-top: 1px solid var(--np-hair); border-bottom: 0; }
  .po-gantt__row, .po-gantt__row:last-child { grid-template-columns: 1fr; height: auto; padding: 12px 0; gap: 8px; border-bottom: 1px solid var(--np-hair); }
  .po-gantt__bar { grid-column: 1 !important; height: auto; min-height: 32px; padding: 8px 14px; }

  .po-photo { padding-bottom: 56px; }
  .po-photo__fig { max-width: calc(100% - var(--np-gutter)); }
  .po-photo__fig img { height: 380px; }
  .po-photo__overlay { padding: 40px 24px 24px var(--np-gutter); background: linear-gradient(to top, rgba(10,10,11,.55), rgba(10,10,11,0)); }
  .po-photo__stat { font-size: 44px; line-height: 44px; }
  .po-photo__caption { flex-direction: column; gap: 8px; }

  .po-team { padding: 64px 0; }
  .po-team__wrap { flex-direction: column; gap: 32px; }
  .po-team__left { width: 100%; }
  .po-team__title { font-size: 44px; line-height: 48px; }
  .po-team__lead { font-size: 18px; line-height: 28px; }
  .po-team__row { flex-direction: column; gap: 6px; }
  .po-team__row dt { width: auto; }

  .po-cta { padding: 56px 0; }
  .po-cta__top { flex-direction: column; align-items: flex-start; gap: 24px; }
  .po-cta__title { font-size: 40px; line-height: 44px; }
  .po-cta__copy p br { display: none; }
  .po-next { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 720px) {
  .po-hero__title { font-size: 52px; }
  .po-board__cols { flex-direction: column; }
  .po-hero__actions .btn { width: 100%; }
  .po-cta__btn { width: 100%; }
}
