/* ============================================================
   INNER PAGES — shared hero + detail layouts
   (extends styles.css)
   ============================================================ */

/* ---------- Page hero ---------- */
.phero { border-bottom: var(--bd); position: relative; overflow: clip; }
.phero--purple { background: var(--purple); color: var(--white); }
.phero--ink { background: var(--ink); color: var(--paper); }
.phero--lav { background: var(--lavender); }
.phero__deco {
  position: absolute; font-family: var(--display); font-weight: 800;
  font-size: 19vw; top: -0.18em; left: -0.04em; white-space: nowrap;
  text-transform: uppercase; letter-spacing: -.03em;
  color: rgba(255,255,255,.05); pointer-events: none;
}
.phero--lav .phero__deco { color: rgba(11,11,12,.05); }
.phero__in {
  position: relative; z-index: 1;
  padding-block: clamp(54px, 6.5vw, 96px);
  display: flex; flex-direction: column; gap: 20px;
}
.phero__grid {
  display: grid; grid-template-columns: 1.25fr 1fr;
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
.phero--purple .kicker { color: var(--lime); }
.phero--ink .kicker { color: var(--lime); }
.phero h1 {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(38px, 5.2vw, 80px); line-height: .97;
  letter-spacing: -.028em; padding-bottom: .05em;
}
.phero h1 em { font-style: normal; color: var(--lime); }
.phero--lav h1 em { color: var(--purple); }
.phero .lead { opacity: .94; }
.phero__meta { display: flex; gap: 28px; flex-wrap: wrap; padding-top: 4px; }
.phero__meta .stat strong { font-family: var(--display); font-weight: 800; font-size: 30px; display: block; line-height: 1; letter-spacing: -.02em; }
.phero__meta .stat span { font-size: 13px; font-weight: 600; opacity: .72; }
.phero__art { position: relative; }
.phero__art img { width: 100%; border: var(--bd); border-radius: var(--r); box-shadow: 10px 10px 0 var(--ink); display: block; }
.phero__art .sticker { position: absolute; left: 16px; bottom: 16px; }

/* ---------- Feature detail rows (alternating split) ---------- */
.fdet {
  display: grid; grid-template-columns: 1fr 1.12fr;
  gap: clamp(32px, 5vw, 70px); align-items: center;
  padding: clamp(46px, 6vw, 84px) 0;
  border-bottom: 2px dashed rgba(11,11,12,.16);
}
.fdet:last-of-type { border-bottom: 0; }
.fdet__img {
  position: relative; border: var(--bd); border-radius: var(--r);
  overflow: hidden; box-shadow: var(--shadow-hard); background: var(--purple);
}
.fdet__img img { width: 100%; display: block; }
.fdet__img--tile { aspect-ratio: 4 / 3; display: grid; place-items: center; }
.fdet__img--tile img { width: 56%; }
.fdet--flip .fdet__img { order: 2; }
.fdet__body { display: flex; flex-direction: column; gap: 16px; }
.fdet__body h2 {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(28px, 3.4vw, 48px); letter-spacing: -.024em; line-height: .98;
}
.fdet__body .lead { font-size: clamp(15.5px, 1.3vw, 18px); }
.fdet__list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.fdet__list li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.5; }
.fdet__list li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 12px; height: 12px; background: var(--lime); border: 2px solid var(--ink);
}
.fdet__tags { display: flex; flex-wrap: wrap; gap: 8px; }

@media (max-width: 900px) {
  .phero__grid { grid-template-columns: 1fr; }
  .phero__art { max-width: 480px; }
  .fdet { grid-template-columns: 1fr; }
  .fdet--flip .fdet__img { order: 0; }
}

/* ---------- Doc-style content sections (subpages) ---------- */
.docsec {
  padding: clamp(34px, 4.5vw, 56px) 0;
  border-bottom: 2px dashed rgba(11,11,12,.16);
  display: flex; flex-direction: column; gap: 14px;
}
.docsec:first-child { padding-top: 0; }
.docsec:last-child { border-bottom: 0; }
.docsec h2 {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(24px, 3vw, 40px); letter-spacing: -.022em; line-height: 1;
}
.docsec h3 {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: 17.5px; letter-spacing: -.005em; margin-top: 10px;
}
.docsec h3:first-of-type { margin-top: 0; }
.docsec p { font-size: 15.5px; line-height: 1.62; opacity: .85; max-width: 66ch; }
.docsec p.lead { opacity: 1; }
.docsec .fdet__tags { padding-top: 4px; }

/* numbered step cards */
ol.steps {
  list-style: none; counter-reset: st;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  padding-top: 6px;
}
ol.steps li {
  counter-increment: st;
  border: var(--bd); border-radius: var(--r); background: var(--white);
  box-shadow: var(--shadow-hard-sm); padding: 20px;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 14px; line-height: 1.5;
}
ol.steps li::before {
  content: counter(st, decimal-leading-zero);
  font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1;
  color: var(--lavender); -webkit-text-stroke: 1.4px var(--ink); paint-order: stroke fill;
}
ol.steps b { font-weight: 800; font-size: 16px; }
@media (max-width: 640px) { ol.steps { grid-template-columns: 1fr; } }

/* related / hub cards */
.rel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rel--hub { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.rel a {
  display: flex; flex-direction: column; gap: 8px;
  border: var(--bd); border-radius: var(--r); background: var(--white);
  box-shadow: var(--shadow-hard-sm); padding: 22px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.rel a:hover { transform: translate(-3px,-3px); box-shadow: var(--shadow-hard); }
.rel__ic { width: 62px; height: 62px; margin-bottom: 2px; display: grid; place-items: center; }
.rel__ic img { width: 100%; height: 100%; object-fit: contain; display: block; }
.rel b {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: 18px; letter-spacing: -.01em; line-height: 1.05;
}
.rel small { font-size: 13px; font-weight: 600; opacity: .65; line-height: 1.45; }
.rel .go { margin-top: auto; padding-top: 8px; font-weight: 800; color: var(--purple); font-size: 13px; }
@media (max-width: 900px) { .rel { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .rel { grid-template-columns: 1fr; } }

/* brand colour swatches */
.swatches { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 6px; }
.swatches span { display: flex; flex-direction: column; gap: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .03em; }
.swatches i { width: 88px; height: 58px; border: var(--bd); border-radius: 10px; display: block; }

/* two-column list inside nav mega panel */
.nav__sec-list--2col { display: grid; grid-template-columns: 1fr 1fr; }
