/* ─────────────────────────────────────────────────────────────
   Hyveminds — page sections
   Hero (home + product), roster, what-grid, tour, capabilities,
   workflow, photo band, beta roadmap, request form.
   From product/_shared.css (96-186, 227-265, 294-298) and
   index.html (137-212).

   The home page's section heads are set at a larger scale than the
   product pages'. In the prototype that was two separate
   stylesheets; here it is a body.home override, at the bottom of
   this file.
   ───────────────────────────────────────────────────────────── */

/* ─── breadcrumb above a product hero ─── */

.crumbs {
  padding: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-4);
  font-size: 13px;
  font-family: var(--label);
  letter-spacing: 0.01em;
  text-transform: none;
}

.crumbs span { opacity: .5; }
.crumbs strong { color: var(--ink-2); font-weight: 500; }

/* ─── home hero ─── */

section.hero { padding: 44px 0; position: relative; overflow: hidden; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: end;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 24px;
  white-space: nowrap;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--rule-2);
  background: var(--paper-2);
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 500;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(56px, 7.4vw, 112px);
  line-height: .96;
  letter-spacing: -0.025em;
  font-weight: 400;
  text-wrap: balance;
}

.hero h1 em { color: var(--p); }

.hero h1 .strike {
  color: var(--ink-4);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

/* The cycling last line of the hero headline. `.dim` is held for 200ms
   while assets/js/rotator.js swaps the word, which is what the .18s
   transition here is for. */
#role-cycle {
  color: var(--p);
  transition: opacity .18s ease;
  display: inline-block;
}

#role-cycle.dim { opacity: .15; }

@media (prefers-reduced-motion: reduce) {
  #role-cycle { transition: none; }
}

.hero-sub {
  margin-top: 28px;
  font-size: 18px;
  color: var(--ink-2);
  max-width: 54ch;
  line-height: 1.55;
  text-wrap: pretty;
}

.hero-meta {
  margin-top: 36px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-aside { display: flex; flex-direction: column; gap: 20px; }

/* ⚠ Unused, deliberately. index.html ships these rules and never uses
   them — the hero's numbers are the rotator's metric slide, which shows
   all four rather than two. index-standalone.html, the superseded home
   page §5.6 drops, is what used them. Kept because the design system was
   ported whole, not cherry-picked. */
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 40px;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.hero-stat { display: flex; flex-direction: column; gap: 4px; }

.hero-stat .num {
  font-family: var(--serif);
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--p);
}

.hero-stat .lbl {
  font-family: var(--label);
  font-size: 12.5px;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--ink-3);
}

.hero-cap {
  font-size: 13px;
  color: var(--ink-3);
  max-width: 38ch;
  line-height: 1.55;
}

/* ─── home hero rotator (becomes the hm/hero-rotator block) ─── */

.hero-rot {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
  border: 1px solid var(--rule);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .7s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-slide.on { opacity: 1; }

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide .scrim { position: absolute; inset: 0; }
.hero-slide .body { position: relative; z-index: 2; padding: 26px 26px 24px; }

.hero-slide .kick {
  font-family: var(--label);
  font-size: 12.5px;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #fff;
  opacity: .82;
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-slide .kick i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  display: inline-block;
}

.hero-slide h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 10px 0 0;
  font-weight: 400;
  text-wrap: balance;
}

.hero-slide p {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .86);
  margin: 9px 0 0;
  max-width: 36ch;
}

.hero-slide .big {
  font-family: var(--serif);
  font-size: clamp(46px, 5.4vw, 72px);
  line-height: .95;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 8px 0 0;
}

.hero-slide .big em { font-style: normal; font-size: .4em; opacity: .7; margin-left: 4px; }

.hero-slide .metrics {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 24px;
  padding: 26px;
  place-content: center;
  justify-items: center;
  text-align: center;
  height: 100%;
}

.hero-slide .metrics div .n {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
}

.hero-slide .metrics div .n em { font-style: normal; font-size: .42em; opacity: .7; margin-left: 2px; }

.hero-slide .metrics div .l {
  font-family: var(--label);
  font-size: 12.5px;
  letter-spacing: 0.01em;
  text-transform: none;
  color: rgba(255, 255, 255, .68);
  margin-top: 6px;
}

.hero-slide.quote .body { padding: 30px 28px 26px; }

.hero-slide.quote blockquote {
  font-family: var(--serif);
  font-size: clamp(20px, 2.1vw, 27px);
  line-height: 1.28;
  color: #fff;
  margin: 12px 0 0;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.hero-slide.quote .attrib {
  font-family: var(--label);
  font-size: 12.5px;
  letter-spacing: 0.01em;
  text-transform: none;
  color: rgba(255, 255, 255, .7);
  margin-top: 14px;
}

.hero-rot-nav {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 0;
  z-index: 5;
  display: flex;
  gap: 5px;
  padding-bottom: 14px;
}

.hero-rot-nav button {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, .3);
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: 2px;
  transition: background .25s;
}

.hero-rot-nav button.on { background: #fff; }

/* ─── product roster strip (becomes the hm/roster block) ─── */

.roster {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
  align-items: stretch;
}

.roster-item {
  display: flex;
  flex-direction: column;
  padding: 0;
  border-top: none;
  transition: opacity .16s;
}

.roster-item .accent {
  height: 3px;
  width: 100%;
  background: var(--ax);
  margin: 0 0 14px;
  border-radius: 2px;
  display: block;
}

.roster-item .nameRow {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-height: 52px;
  flex-wrap: nowrap;
}

.roster-item .name {
  display: inline;
  min-height: 0;
  min-width: 0;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1;
  color: var(--ink);
}

.roster-item .name em {
  color: var(--ink-3);
  font-style: normal;
  font-size: .7em;
  vertical-align: top;
  margin-left: 2px;
  font-family: var(--mono);
  font-weight: 400;
}

.roster-item .flag {
  font-family: var(--label);
  font-size: 10.5px;
  color: var(--ink-3);
  border: 1px solid var(--rule-2);
  border-radius: 99px;
  padding: 1px 7px;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 4px;
}

.roster-item .desc {
  flex: 1;
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.45;
  margin-top: 8px;
}

.roster-face {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ax);
}

.roster-front {
  display: flex;
  flex-direction: column;
  flex: 1;
  transition: opacity .28s ease;
}

.roster-back {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}

.roster-back span {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ax);
  text-wrap: pretty;
}

.roster-item:hover .roster-front,
.roster-item:focus-within .roster-front { opacity: 0; }
.roster-item:hover .roster-back,
.roster-item:focus-within .roster-back { opacity: 1; }

/* ─── product hero ─── */

section.p-hero { padding: 34px 0 56px; position: relative; overflow: hidden; }
.p-hero > .wrap { position: relative; z-index: 1; }

.p-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 0;
}

.p-hero .eyebrow-p {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--p-dim);
  border: 1px solid var(--p);
  color: var(--p);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  margin-bottom: 16px;
}

.p-hero h1 {
  font-family: var(--serif);
  font-size: clamp(44px, 5.4vw, 78px);
  line-height: 1.07;
  letter-spacing: -0.025em;
  font-weight: 400;
  text-wrap: balance;
}

.p-hero h1 em { color: var(--p); font-style: italic; }

.p-hero .tagline {
  margin-top: 24px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.3;
  color: var(--ink-2);
  text-wrap: pretty;
  max-width: 36ch;
}

.p-hero .pitch {
  margin-top: 24px;
  font-size: 17px;
  color: var(--ink-2);
  max-width: 54ch;
  line-height: 1.55;
  text-wrap: pretty;
}

.p-hero .meta {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.p-hero-stats {
  padding: 24px 0;
  border-top: 3px solid var(--p);
  border-bottom: 1px solid var(--rule-2);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.p-hero-stat .num {
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--p);
}

.p-hero-stat .lbl {
  font-family: var(--label);
  font-size: 12.5px;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--ink-3);
  margin-top: 6px;
}

.p-hero-cap {
  margin-top: 24px;
  font-size: 13.5px;
  color: var(--ink-3);
  max-width: 42ch;
  line-height: 1.55;
}

/* hero claims, the alternative to the stat block */
.p-hero-claims {
  border-top: 3px solid var(--p);
  display: flex;
  flex-direction: column;
  margin-top: 6px;
}

.p-hero-claim { padding: 14px 0; border-bottom: 1px solid var(--rule); }

.p-hero-claim .ch {
  font-family: var(--label);
  font-size: 13px;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--p);
  font-weight: 500;
}

.p-hero-claim .cb {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.5;
  margin-top: 5px;
}

/* huge faded index number behind the hero */
.p-index {
  display: none;
  position: absolute;
  right: var(--gut);
  top: 32px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(120px, 18vw, 260px);
  color: var(--p);
  opacity: .07;
  line-height: 1;
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* hero imagery */
.p-hero-img {
  margin-top: 24px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--rule);
}

.p-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.p-hero-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .55));
}

.p-hero-img figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 1;
  color: #fff;
  font-family: var(--label);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: none;
  opacity: .92;
}

/* ─── what it does, three-up ─── */

.what-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }

.what-col h3 {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  text-wrap: balance;
  font-weight: 400;
}

.what-col h3 em { color: var(--p); font-style: italic; }
.what-col p { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }
.what-col .tag { margin-bottom: 18px; }

/* ─── mock tour (becomes the hm/tour block) ─── */

.tour { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }

.tour-rail {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: sticky;
  top: 88px;
}

.tour-tab {
  text-align: left;
  padding: 18px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: var(--paper);
  transition: all .18s;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tour-tab:hover { border-color: var(--rule-2); }
.tour-tab.active,
.tour-tab[aria-selected="true"] { background: var(--p-dim); border-color: var(--p); }

.tour-tab .num {
  font-family: var(--label);
  font-size: 12.5px;
  letter-spacing: 0.01em;
  color: var(--ink-3);
  text-transform: uppercase;
}

.tour-tab.active .num,
.tour-tab[aria-selected="true"] .num { color: var(--p); }

.tour-tab .ttl {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.tour-tab .desc { font-size: 12.5px; color: var(--ink-3); line-height: 1.45; }

.tour-stage {
  position: relative;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--paper-2);
  overflow: hidden;
  min-height: 560px;
  box-shadow: 0 1px 0 var(--rule), 0 24px 60px -30px #18161330;
}

.tour-panel { display: none; padding: 0; }
.tour-panel.active,
.tour-panel:not([hidden]) { display: block; }

/* generic browser frame inside a mock */
.frame { background: #fff; border-radius: 10px; border: 1px solid var(--rule); overflow: hidden; }

.frame-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--rule);
  background: #FAFAF7;
}

.frame-dots { display: flex; gap: 6px; }
.frame-dots span { width: 10px; height: 10px; border-radius: 50%; background: #E0DACD; }

.frame-url {
  flex: 1;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  background: var(--paper);
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid var(--rule);
}

/* ─── capabilities grid ─── */

.caps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.cap {
  padding: 32px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 200px;
}

.cap-icon { width: 32px; height: 32px; color: var(--p); margin-bottom: 8px; }

.cap-num {
  font-family: var(--label);
  font-size: 12.5px;
  letter-spacing: 0.01em;
  color: var(--p);
  text-transform: none;
  font-weight: 500;
}

.cap h4 {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  text-wrap: balance;
  font-weight: 400;
}

.cap p { font-size: 13.5px; color: var(--ink-3); line-height: 1.55; }

/* ─── workflow ─── */

/* An <ol>: the steps are a sequence, and the roadmap variant is a
   sequence of milestones. `grid-auto-flow: column` distributes however
   many steps a page ships — the prototype hardcoded five, and two of
   the eight product pages do not have five. */
.flow {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 0;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

.flow-step {
  padding: 20px 28px 20px 0;
  border-top: 3px solid var(--p);
  position: relative;
  border-radius: 2px 0 0 0;
}

.flow-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: 8px;
  top: 36px;
  color: var(--p);
  font-size: 18px;
  opacity: .5;
}

.flow-step .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 48px;
  line-height: 1;
  color: var(--p);
  margin: 14px 0 10px;
  letter-spacing: -0.02em;
}

.flow-step h4 {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  text-wrap: balance;
  font-weight: 400;
}

.flow-step p { font-size: 13px; color: var(--ink-3); line-height: 1.55; }

.flow-step .lbl {
  font-family: var(--label);
  font-size: 12.5px;
  letter-spacing: 0.01em;
  color: var(--ink-3);
  text-transform: uppercase;
}

/* ─── full-bleed photo band ─── */

.photo-band {
  position: relative;
  height: 280px;
  overflow: hidden;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.photo-band img { width: 100%; height: 100%; object-fit: cover; display: block; }

.photo-band .band-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(27, 27, 31, .78), rgba(27, 27, 31, .28));
}

.photo-band .band-copy { position: absolute; inset: 0; display: flex; align-items: center; }
.photo-band .band-copy .wrap { width: 100%; }

.photo-band blockquote {
  max-width: 44ch;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.photo-band .attrib {
  margin-top: 14px;
  font-family: var(--label);
  font-size: 12.5px;
  letter-spacing: 0.01em;
  text-transform: none;
  color: rgba(255, 255, 255, .75);
}

/* ─── beta roadmap (HyveMaps) ─── */

.beta-roadmap { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.beta-roadmap-list { display: flex; flex-direction: column; gap: 0; }

.roadmap-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}

.roadmap-item:last-child { border-bottom: 1px solid var(--rule); }

.roadmap-item .when {
  font-family: var(--label);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  text-transform: none;
  padding-top: 4px;
}

.roadmap-item h5 {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  font-weight: 400;
}

.roadmap-item p { font-size: 13px; color: var(--ink-3); line-height: 1.5; }

.roadmap-item .status {
  font-family: var(--label);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: none;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  color: var(--ink-3);
  white-space: nowrap;
}

.roadmap-item .status.live { background: var(--p); border-color: var(--p); color: #fff; }
.roadmap-item .status.now { background: var(--p-dim); border-color: transparent; color: var(--p); }

/* ─── request access / contact form ───
   These rules exist in _shared.css but the prototype never renders
   them (CLAUDE.md §2.3 defect 10). Session 8 builds the form. */

.req-access {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 48px;
  background: var(--paper-2);
  border-radius: 18px;
  border: 1px solid var(--rule);
}

.req-form { display: flex; flex-direction: column; gap: 14px; }

.req-form label {
  font-family: var(--label);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: none;
  color: var(--ink-3);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.req-form input,
.req-form select,
.req-form textarea {
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule-2);
  border-radius: 8px;
  padding: 11px 14px;
}

.req-form input:focus,
.req-form select:focus,
.req-form textarea:focus {
  outline: 2px solid var(--p);
  outline-offset: 1px;
  border-color: var(--p);
}

/* ─── home-page scale overrides ─── */

body.home section.section { padding: 76px 0; }
body.home .section-head { margin-bottom: 48px; }
body.home .section-head h2 { font-size: clamp(40px, 5vw, 72px); }

body.home .section-head .num {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-bottom: 18px;
  font-weight: 400;
  padding-bottom: 0;
  border-bottom: none;
  width: auto;
}

/* ─── responsive ─── */

@media (max-width: 1080px) {
  .tour { grid-template-columns: 1fr; }
  .tour-rail { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 8px; }
  .tour-tab { min-width: 240px; }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-rot { aspect-ratio: 16 / 10; }
  .roster { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .p-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .p-hero-stats { grid-template-columns: 1fr 1fr; }
  .what-grid { grid-template-columns: 1fr; gap: 32px; }
  .caps { grid-template-columns: 1fr; }
  .flow { grid-auto-flow: row; grid-auto-columns: auto; }
  .flow-step:not(:last-child)::after { display: none; }
  .photo-band { height: 220px; }
  .beta-roadmap { grid-template-columns: 1fr; }
  .roadmap-item { grid-template-columns: 1fr; gap: 8px; }
  .req-access { grid-template-columns: 1fr; gap: 32px; padding: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .roster-front,
  .roster-back { transition: none; }
}

/* ─── product page, additions to the prototype ─── */

/* The beta pill in a product breadcrumb. Was an inline style on a bare
   <span> in product/hyvemaps.html and product/phonos.html. */
.crumb-badge {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--p);
  background: var(--p-dim);
  padding: 3px 10px;
  border-radius: 99px;
  text-transform: uppercase;
}

/* Roadmap states. Were inline style="opacity:0.55" on the step and a
   hand-set marker colour on the number (CLAUDE.md §5.5). */
.flow-step.is-done { opacity: .55; }

.flow-step.is-done .num {
  background: var(--p);
  color: #fff;
  border: 1px solid var(--p);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-style: normal;
}

/* The illustrative-data disclaimer under a beta preview. */
.tour-note {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  max-width: 760px;
  line-height: 1.6;
}

/* A hero figure with no attachment yet: the frame, without a broken
   image. Only ever visible to an editor — a visitor's page omits the
   figure entirely until the media map has a picture. */
.p-hero-img.is-empty {
  background: linear-gradient(135deg, var(--paper-2), var(--paper-3));
}

.p-hero-img.is-empty::after { background: none; }
.p-hero-img.is-empty figcaption { color: var(--ink-3); }

/* No JavaScript: the rail cannot switch anything, so show every panel
   rather than stranding two thirds of the mocks behind a dead tab. */
.no-js .tour { grid-template-columns: 1fr; }
.no-js .tour-rail { display: none; }
.no-js .tour-stage { min-height: 0; }
.no-js .tour-panel { display: block; }
.no-js .tour-panel + .tour-panel { border-top: 1px solid var(--rule); }
