/* how-we-deliver.css — ON1 pipeline transparency page
 *
 * Aesthetic flavor: ATELIER-SHOPFLOOR — warm graphite + sage + ochre.
 * Editorial workshop manual feel; numbered steps as the centerpiece.
 * Distinct from services.css (boutique cream) and aasc-about.css
 * (deep navy finance).
 */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-deep:    #171c1a;
  --bg-mid:     #1d2421;
  --bg-card:    #232b27;
  --bg-card-hi: #2a332f;

  --ink:        #ece8d5;
  --ink-mid:    #b8b39c;
  --ink-soft:   #8a8674;
  --ink-mute:   #5f5d52;

  --sage:       #98b27a;
  --sage-hot:   #b3cc92;
  --ochre:      #e0c478;
  --ochre-hot:  #f0d68a;
  --terra:      #c87c5a;

  --rule:       rgba(152, 178, 122, 0.18);
  --rule-soft:  rgba(152, 178, 122, 0.08);

  --font-disp:  "Chakra Petch", monospace;
  --font-mono:  "IBM Plex Mono", monospace;
  --font-body:  "Familjen Grotesk", system-ui, sans-serif;
}

html, body { min-height: 100%; }

body.hwd-page {
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse 1100px 700px at 80% -100px, rgba(152, 178, 122, 0.06), transparent 65%),
    radial-gradient(ellipse 900px 600px at -10% 110%, rgba(224, 196, 120, 0.04), transparent 65%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 100%);
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* mast -------------------------------------------------------------- */
.hwd-mast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  border-bottom: 1px solid var(--rule);
  background: rgba(23, 28, 26, 0.86);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.hwd-mast-l { display: flex; align-items: center; gap: 0.85rem; }
.hwd-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-disp);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}
.hwd-brand-mark { color: var(--sage); font-size: 1.2rem; }
.hwd-mast-sep { color: var(--ink-mute); }
.hwd-mast-page {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--sage-hot);
  letter-spacing: 0.06em;
  text-transform: lowercase;
}
.hwd-mast-r { display: flex; align-items: center; gap: 1.6rem; }
.hwd-mast-r a {
  text-decoration: none;
  color: var(--ink-mid);
  font-size: 0.95rem;
}
.hwd-mast-r a:hover { color: var(--ochre-hot); }
.hwd-mast-r a.hwd-mast-cta {
  padding: 0.55rem 1.1rem;
  background: var(--sage);
  color: var(--bg-deep);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--sage);
  font-weight: 600;
}
.hwd-mast-r a.hwd-mast-cta:hover {
  background: var(--sage-hot);
  border-color: var(--sage-hot);
  color: var(--bg-deep);
}

/* main -------------------------------------------------------------- */
.hwd-main {
  max-width: 70rem;
  margin: 0 auto;
  padding: 0 3rem;
}

/* hero -------------------------------------------------------------- */
.hwd-hero {
  padding: 6rem 0 4rem;
  text-align: center;
  border-bottom: 1px solid var(--rule);
}
.hwd-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--sage-hot);
  margin-bottom: 2rem;
  background: rgba(35, 43, 39, 0.5);
}
.hwd-eyebrow-mark { color: var(--ochre); font-size: 1rem; }
.hwd-hero-title {
  font-family: var(--font-disp);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.005em;
  margin-bottom: 1.8rem;
}
.hwd-hero-em { color: var(--ochre); }
.hwd-hero-lede {
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--ink-mid);
  max-width: 46rem;
  margin: 0 auto;
}
.hwd-mono { font-family: var(--font-mono); color: var(--sage-hot); }

/* sections common --------------------------------------------------- */
.hwd-section-title {
  font-family: var(--font-disp);
  font-weight: 400;
  font-size: 2rem;
  color: var(--ink);
  margin-bottom: 1rem;
}
.hwd-section-sub {
  font-size: 1.02rem;
  color: var(--ink-mid);
  max-width: 48rem;
  margin-bottom: 2.5rem;
}
.hwd-inline-link {
  color: var(--sage-hot);
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: 3px;
}
.hwd-inline-link:hover { text-decoration-color: var(--ochre); }

/* pipeline ---------------------------------------------------------- */
.hwd-pipeline { padding: 4rem 0; border-bottom: 1px solid var(--rule); }
.hwd-pipeline-h { margin-bottom: 2rem; }
.hwd-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.hwd-step {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 2rem;
  padding: 2rem 1.4rem;
  border-bottom: 1px dashed var(--rule-soft);
  transition: background 0.2s ease;
}
.hwd-step:last-child { border-bottom: none; }
.hwd-step:hover { background: rgba(35, 43, 39, 0.5); }
.hwd-step-num {
  font-family: var(--font-disp);
  font-size: 3rem;
  color: var(--ochre);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hwd-step-body { padding-top: 0.4rem; }
.hwd-step-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.45rem;
  color: var(--ink);
  margin-bottom: 0.75rem;
  letter-spacing: 0.005em;
}
.hwd-step-prop {
  font-size: 1.02rem;
  color: var(--ink-mid);
  margin-bottom: 1.2rem;
  max-width: 50rem;
}
.hwd-step-detail {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem 1.2rem;
  background: var(--bg-card);
  border-left: 3px solid var(--sage);
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.hwd-step-detail .hwd-mono { color: var(--ochre-hot); }

/* channels ---------------------------------------------------------- */
.hwd-channels { padding: 4rem 0; border-bottom: 1px solid var(--rule); }
.hwd-channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
}
.hwd-channel {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 1.2rem 1.3rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.hwd-channel:hover {
  border-color: var(--sage);
  transform: translateY(-2px);
}
.hwd-channel-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ochre);
  background: var(--bg-card-hi);
  padding: 0.3rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.8rem;
}
.hwd-channel p {
  font-size: 0.94rem;
  color: var(--ink-mid);
  line-height: 1.5;
}
.hwd-channel a {
  color: var(--sage-hot);
  text-decoration: none;
  font-family: var(--font-mono);
}
.hwd-channel a:hover {
  color: var(--ochre-hot);
  text-decoration: underline;
}

/* trust ------------------------------------------------------------- */
.hwd-trust { padding: 4rem 0; border-bottom: 1px solid var(--rule); }
.hwd-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.hwd-trust-cell {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--ochre);
}
.hwd-trust-cell h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ochre-hot);
  margin-bottom: 0.7rem;
}
.hwd-trust-cell p {
  font-size: 0.96rem;
  color: var(--ink-mid);
}

/* engage ------------------------------------------------------------ */
.hwd-engage {
  padding: 5rem 3rem 6rem;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(224, 196, 120, 0.04));
}
.hwd-engage-title {
  font-family: var(--font-disp);
  font-weight: 400;
  font-size: 2.2rem;
  color: var(--ink);
  margin-bottom: 1.2rem;
}
.hwd-engage-lede {
  font-size: 1.04rem;
  color: var(--ink-mid);
  max-width: 42rem;
  margin: 0 auto 2rem;
}
.hwd-engage-mail {
  display: inline-block;
  font-family: var(--font-disp);
  font-size: 1.8rem;
  color: var(--ochre);
  text-decoration: none;
  padding: 0.6rem 0;
  border-bottom: 2px solid var(--sage);
  margin-bottom: 1.2rem;
}
.hwd-engage-mail:hover { color: var(--ink); border-bottom-color: var(--ochre); }
.hwd-engage-fine {
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* footer ------------------------------------------------------------ */
.hwd-foot {
  border-top: 1px solid var(--rule);
  padding: 1.8rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--ink-soft);
}
.hwd-foot-l, .hwd-foot-r { display: flex; align-items: center; gap: 0.7rem; }
.hwd-foot-r a { color: var(--ink-mid); text-decoration: none; }
.hwd-foot-r a:hover { color: var(--ochre-hot); }
.hwd-foot-sep { color: var(--ink-mute); }

/* responsive -------------------------------------------------------- */
@media (max-width: 860px) {
  .hwd-mast { padding: 1.1rem 1.4rem; }
  .hwd-mast-r { gap: 0.9rem; font-size: 0.86rem; }
  .hwd-main { padding: 0 1.4rem; }
  .hwd-hero { padding: 3.5rem 0 3rem; }
  .hwd-hero-title { font-size: 2.1rem; }
  .hwd-hero-lede { font-size: 1rem; }
  .hwd-pipeline, .hwd-channels, .hwd-trust { padding: 2.5rem 0; }
  .hwd-step { grid-template-columns: 1fr; gap: 0.7rem; padding: 1.4rem 0; }
  .hwd-step-num { font-size: 2.2rem; }
  .hwd-step-title { font-size: 1.2rem; }
  .hwd-engage { padding: 3rem 1.4rem 3.5rem; }
  .hwd-foot { padding: 1.4rem; flex-direction: column; gap: 0.6rem; text-align: center; }
}
