/* ───────────────────────────────────────────────────────────
   Deliney — Company pages (About / Roadmap / Contact)
   Builds on deliney-tokens.css + site.css (+ reuses bits of legal.css)
   ─────────────────────────────────────────────────────────── */

/* ── Shared page hero ── */
.page-hero { padding: 64px 0 8px; }
.page-hero .wrap { max-width: 760px; }
.page-hero.center .wrap { text-align: center; margin: 0 auto; }
.page-hero.center .eyebrow { justify-content: center; }
.page-hero h1 {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(36px, 5vw, 58px); line-height: 1.04; letter-spacing: -.6px;
  margin: 16px 0 0;
}
.page-hero h1 em { font-style: italic; color: var(--clay-text); }
.page-hero .lead { margin-top: 20px; max-width: 56ch; }
.page-hero.center .lead { margin-left: auto; margin-right: auto; }

/* ── Striped image placeholder (drop real art here) ── */
.ph-img {
  position: relative; width: 100%; border-radius: var(--r-card-lg);
  background-color: var(--surface);
  background-image: repeating-linear-gradient(
    -45deg,
    color-mix(in srgb, var(--ink) 5%, transparent) 0,
    color-mix(in srgb, var(--ink) 5%, transparent) 1px,
    transparent 1px, transparent 11px);
  border: 1px solid var(--divider);
  display: grid; place-items: center; overflow: hidden;
}
.ph-img .ph-tag {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .3px;
  color: var(--ink-mute); background: var(--bg);
  padding: 5px 12px; border-radius: var(--r-pill); border: 1px solid var(--divider);
}

/* Long block-level placeholders must wrap (legal.css .ph is nowrap, for short inline fills) */
.ph.ph-block { white-space: normal; }

/* ── About: story split ── */
.story { padding: 64px 0; }
.story-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.story-grid .ph-img { aspect-ratio: 4 / 3; }
.story h2 {
  font-family: var(--font-serif); font-weight: 700; font-size: clamp(26px, 3vw, 36px);
  line-height: 1.08; letter-spacing: -.3px; margin: 14px 0 0;
}
.story p { font-size: 16px; line-height: 1.66; color: var(--ink-soft); margin: 18px 0 0; text-wrap: pretty; max-width: 54ch; }
.story p strong { color: var(--ink); font-weight: 600; }

/* ── Values ── */
.values { background: var(--surface); border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.value-card { background: var(--bg); border: 1px solid var(--divider); border-radius: var(--r-card-lg); padding: 30px; }
.value-card .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--clay-soft); color: var(--clay); display: grid; place-items: center; margin-bottom: 18px; }
.value-card .ic svg { width: 24px; height: 24px; }
.value-card h3 { font-family: var(--font-serif); font-size: 20px; font-weight: 700; margin: 0 0 9px; }
.value-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; margin: 0; }

/* ── Stat band ── */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.stat { text-align: center; padding: 8px; }
.stat .num { font-family: var(--font-serif); font-weight: 700; font-size: clamp(36px, 4.4vw, 52px); line-height: 1; color: var(--clay-text); letter-spacing: -1px; }
.stat .lab { font-size: 13.5px; color: var(--ink-soft); margin-top: 12px; line-height: 1.45; }

/* ── Team ── */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 52px; }
.team-card .ph-img { aspect-ratio: 1; border-radius: var(--r-card); }
.team-card h4 { font-family: var(--font-serif); font-size: 17px; font-weight: 700; margin: 16px 0 2px; }
.team-card .role { font-size: 13px; color: var(--ink-mute); margin: 0; }

/* ── Roadmap board ── */
.rm-legend { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 28px; }
.rm-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; align-items: start; }
.rm-col { background: var(--surface); border: 1px solid var(--divider); border-radius: var(--r-card-lg); padding: 22px; }
.rm-col-head { display: flex; align-items: baseline; justify-content: space-between; padding: 0 4px 16px; border-bottom: 1px solid var(--divider); }
.rm-col-head h3 { font-family: var(--font-serif); font-size: 21px; font-weight: 700; margin: 0; }
.rm-col-head .when { font-family: var(--font-mono); font-size: 11px; color: var(--ink-mute); letter-spacing: .3px; }
.rm-item { padding: 18px 4px; border-bottom: 1px solid var(--divider); }
.rm-item:last-child { border-bottom: none; padding-bottom: 4px; }
.rm-item h4 { font-size: 15.5px; font-weight: 600; margin: 0 0 6px; color: var(--ink); }
.rm-item p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; margin: 0; text-wrap: pretty; }

/* status chips */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase;
  padding: 4px 11px; border-radius: var(--r-pill);
  background: var(--surface-alt); color: var(--ink-soft); margin-bottom: 12px;
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip.shipped   { background: var(--sage-soft);  color: var(--green); }
.chip.progress  { background: var(--clay-soft);  color: var(--clay-text); }
.chip.planned   { background: color-mix(in srgb, var(--mustard) 18%, transparent); color: var(--mustard); }
.chip.exploring { background: var(--surface-alt); color: var(--ink-mute); }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; margin-top: 8px; }
/* Coming-soon mode drops the contact form, leaving the mailto channels alone in
   the grid — one full-width column reads better than a half-empty two. */
.contact-grid.single { grid-template-columns: 1fr; max-width: 720px; }
.contact-form { background: var(--surface); border: 1px solid var(--divider); border-radius: var(--r-card-lg); padding: 30px; }
.field { margin-bottom: 18px; }
.field:last-of-type { margin-bottom: 24px; }
.field label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-sans); font-size: 15px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--divider-strong); border-radius: var(--r-field);
  padding: 12px 14px; outline: none; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-mute); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--clay); box-shadow: 0 0 0 4px var(--clay-soft); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .btn { width: 100%; }
.form-note { font-size: 12.5px; color: var(--ink-mute); margin: 14px 0 0; text-align: center; }
.form-success { display: none; align-items: center; gap: 10px; color: var(--sage-text); font-weight: 600; font-size: 15px; padding: 14px 16px; background: var(--sage-soft); border-radius: var(--r-field); }
.form-success svg { width: 18px; height: 18px; }
.contact-form.done form { display: none; }
.contact-form.done .form-success { display: flex; }

/* contact channels */
.channels { display: flex; flex-direction: column; gap: 14px; }
.channel { display: flex; gap: 15px; align-items: flex-start; background: var(--surface); border: 1px solid var(--divider); border-radius: var(--r-card); padding: 20px 22px; transition: border-color .2s var(--ease); }
.channel:hover { border-color: var(--divider-strong); }
.channel .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--clay-soft); color: var(--clay); display: grid; place-items: center; flex-shrink: 0; }
.channel .ic svg { width: 20px; height: 20px; }
.channel h4 { font-family: var(--font-serif); font-size: 17px; font-weight: 700; margin: 2px 0 4px; }
.channel p { font-size: 13.5px; color: var(--ink-soft); margin: 0 0 6px; line-height: 1.5; }
.channel a { font-size: 14px; font-weight: 600; color: var(--clay-text); }
.channel a:hover { text-decoration: underline; }

/* ── Section intro (reused) ── */
.sec-head { max-width: 620px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head h2 { font-family: var(--font-serif); font-weight: 700; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.06; letter-spacing: -.4px; margin: 14px 0 0; }
.sec-head .lead { margin-top: 16px; }

/* ── Responsive ── */
@media (max-width: 1000px) {
  .story-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .story-grid .ph-img { order: -1; }
  .value-grid { grid-template-columns: 1fr; }
  .rm-board { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-row { gap: 16px; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; gap: 28px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
