/* Home Robot Web — component stylesheet. Loads after tokens.css. Prefix: hr- */

body { margin: 0; font-family: var(--font-sans); background: var(--ground); color: var(--ink); -webkit-font-smoothing: antialiased; }
.hr-page { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Ticker (announcement strip) ---------- */
.hr-ticker { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-3) 0; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 12px; line-height: 16px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }
.hr-ticker a { color: inherit; text-decoration: none; }
.hr-ticker .hr-ticker-sep { color: var(--ink-3); padding: 0 var(--space-2); }
.hr-ticker .hr-ticker-arrow { color: var(--ink-2); }
.hr-ticker.hr-on-media { background: var(--media-ink); color: var(--accent); border-bottom: 0; justify-content: center; padding: var(--space-2) var(--space-4); }

/* ---------- SiteNav (floating pill) ---------- */
.hr-nav { display: inline-flex; align-items: center; gap: var(--space-5); height: var(--nav-height); padding: 0 var(--space-3) 0 var(--space-5); background: var(--ground-raised); border: 1px solid var(--line); border-radius: var(--radius-pill); box-shadow: var(--shadow-nav); font-size: 15px; line-height: 20px; font-weight: 500; }
.hr-nav-brand { display: flex; align-items: center; flex: none; min-height: 36px; line-height: 1; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; font-size: 18px; }
.hr-nav-links { display: flex; align-items: center; gap: var(--space-5); margin: 0; padding: 0; list-style: none; }
.hr-nav-links > li > a { display: flex; align-items: center; min-height: 36px; font-size: 16px; line-height: 24px; }
.hr-nav-links a { color: var(--ink-2); text-decoration: none; white-space: nowrap; transition: color var(--duration-fast) var(--ease-out); }
.hr-nav-links a:hover, .hr-nav-links a[aria-current] { color: var(--ink); }
.hr-nav-wide { display: flex; justify-content: space-between; align-items: center; padding: var(--space-5) 0; }
.hr-nav-brand .hr-logo { display: block; height: 22px; width: auto; }

/* Product preview: hovering or focusing a nav item slides a panel down from under the pill,
   the full width of the nav, holding one card per product. */
.hr-nav:has(.hr-nav-menu) { position: relative; }
.hr-nav-menu { position: absolute; top: 100%; left: 0; right: 0; padding-top: var(--space-2); opacity: 0; visibility: hidden; transform: translateY(calc(-1 * var(--space-3))); transition: opacity var(--duration-fast) var(--ease-out), transform var(--duration-base) var(--ease-out), visibility 0s linear var(--duration-base); }
.hr-nav-item:focus-within > a { color: var(--ink); }
.hr-nav-item:hover > .hr-nav-menu, .hr-nav-item:focus-within > .hr-nav-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.hr-nav-menu > ul { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: var(--space-3); margin: 0; padding: var(--space-3); list-style: none; background: var(--ground-raised); border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-nav); }
.hr-nav-links .hr-nav-card { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-1); padding: var(--space-2); border-radius: var(--radius-lg); color: var(--ink); text-decoration: none; transition: background-color var(--duration-fast) var(--ease-out); }
.hr-nav-links a.hr-nav-card:hover, .hr-nav-links a.hr-nav-card:focus-visible { background: var(--ground-sunken); color: var(--ink); }
.hr-nav-card-media { display: block; aspect-ratio: 16 / 10; margin-bottom: var(--space-2); overflow: hidden; border-radius: var(--radius-md); background: var(--ground-sunken); }
.hr-nav-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration-slow) var(--ease-out); }
a.hr-nav-card:hover .hr-nav-card-media img { transform: scale(1.04); }
.hr-nav-card-name { font-size: 15px; line-height: 20px; font-weight: 600; }
.hr-nav-card-note { font-size: 13px; line-height: 18px; font-weight: 400; color: var(--ink-2); }
/* A product with no page yet: the card is a div, not a link, and its name shares a row with a Contact sales pill. */
.hr-nav-card-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.hr-nav-links .hr-nav-card .hr-btn { flex: none; padding: 0 var(--space-3); color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  .hr-nav-menu { transform: none; }
  .hr-nav-card-media img { transition: none; }
}

/* ---------- Buttons ---------- */
.hr-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); height: 44px; padding: 0 var(--space-5); border-radius: var(--radius-pill); border: 1px solid transparent; font: inherit; font-size: 15px; line-height: 20px; font-weight: 500; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out); }
.hr-btn-primary { background: var(--cta); color: var(--on-cta); border-color: var(--cta); }
.hr-btn-primary:hover { opacity: 0.88; }
.hr-btn-secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.hr-btn-secondary:hover { border-color: var(--ink); }
.hr-btn-ghost { background: transparent; color: var(--ink); padding: 0 var(--space-3); }
.hr-btn-ghost:hover { text-decoration: underline; text-underline-offset: 4px; }
.hr-btn-link { background: transparent; color: var(--ink); padding: 0 var(--space-3); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.hr-btn-link:hover { text-decoration-thickness: 2px; }
.hr-btn-lg { height: 56px; padding: 0 var(--space-6); font-size: 17px; }
.hr-btn-sm { height: 36px; padding: 0 var(--space-4); font-size: 14px; }
.hr-btn-on-media { background: var(--media-ink); color: var(--accent); border-color: var(--media-ink); }
.hr-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.hr-btn-note { display: block; margin-top: var(--space-3); font-size: 15px; line-height: 22px; color: var(--ink-2); }
.hr-on-media .hr-btn-note, .hr-btn-note.hr-on-media { color: var(--on-media-2); }
.hr-link { color: var(--ink); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color var(--duration-fast) var(--ease-out); }
.hr-link:hover { border-color: var(--ink); }
.hr-link::after { content: " \2192"; }

/* ---------- Eyebrow ---------- */
.hr-eyebrow { display: block; margin: 0 0 var(--space-2); font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.hr-on-media .hr-eyebrow { color: var(--on-media-2); }

/* ---------- Type helpers ---------- */
.hr-display-xl { font-size: 120px; line-height: 1; font-weight: 600; letter-spacing: -0.035em; margin: 0; }
.hr-display-lg { font-size: 80px; line-height: 1.02; font-weight: 600; letter-spacing: -0.03em; margin: 0; }
.hr-display-md { font-size: 56px; line-height: 1.05; font-weight: 600; letter-spacing: -0.025em; margin: 0; }
.hr-heading { font-size: 36px; line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; margin: 0; }
.hr-title { font-size: 24px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; margin: 0; }
.hr-body-lg { font-size: 20px; line-height: 30px; margin: 0; }
.hr-body { font-size: 17px; line-height: 26px; margin: 0; }
.hr-body-sm { font-size: 15px; line-height: 22px; margin: 0; }
.hr-caption { font-size: 13px; line-height: 18px; font-weight: 500; margin: 0; color: var(--ink-2); }
.hr-lede { font-family: var(--font-sans); font-size: 24px; line-height: 1.35; font-weight: 400; margin: 0; }
.hr-quote { font-family: var(--font-sans); font-size: 32px; line-height: 1.25; font-weight: 400; margin: 0; }
.hr-muted { color: var(--ink-2); }

/* ---------- MediaFrame (video / image container) ---------- */
.hr-media { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--media-ink); aspect-ratio: 16 / 9; }
.hr-media > video, .hr-media > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hr-media-4x5 { aspect-ratio: 4 / 5; }
.hr-media-1x1 { aspect-ratio: 1 / 1; }
.hr-media-9x16 { aspect-ratio: 9 / 16; }
.hr-media-21x9 { aspect-ratio: 21 / 9; }
.hr-media-sm { border-radius: var(--radius-md); }
.hr-media-poster { position: absolute; inset: 0; background: var(--media-ink); }
.hr-chip { position: absolute; display: inline-flex; align-items: center; gap: var(--space-1); height: 28px; padding: 0 var(--space-3); border-radius: var(--radius-pill); background: var(--chip); color: var(--on-media); font-family: var(--font-mono); font-size: 12px; line-height: 16px; letter-spacing: 0.06em; text-transform: uppercase; backdrop-filter: blur(8px); }
.hr-chip-tl { top: var(--space-4); left: var(--space-4); }
.hr-chip-br { bottom: var(--space-4); right: var(--space-4); }
.hr-chip-bl { bottom: var(--space-4); left: var(--space-4); }
.hr-chip svg { width: 10px; height: 10px; fill: currentColor; }
.hr-media-caption { display: flex; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-4); font-size: 13px; line-height: 18px; font-weight: 500; color: var(--ink-2); }

/* ---------- VideoHero ---------- */
.hr-hero { text-align: center; padding: var(--space-8) 0 0; }
.hr-hero .hr-eyebrow { color: var(--ink); }
.hr-hero .hr-hero-sub { margin: 0 0 var(--space-6); font-size: 13px; line-height: 18px; color: var(--ink-3); font-weight: 500; }
.hr-hero .hr-media { margin-top: var(--space-8); border-radius: var(--radius-xl); }
.hr-hero-cinematic { position: relative; overflow: hidden; border-radius: 0; aspect-ratio: 16 / 9; min-height: 480px; background: var(--media-ink); color: var(--on-media); text-align: left; }
.hr-hero-cinematic .hr-scrim { position: absolute; inset: 0; background: var(--scrim); }
.hr-hero-cinematic .hr-hero-copy { position: absolute; left: 50%; top: 50%; transform: translate(0, -50%); width: 520px; }
.hr-hero-cinematic .hr-lede { color: var(--on-media-2); margin: var(--space-5) 0 var(--space-6); }
.hr-hero-cinematic .hr-btn-note { color: var(--on-media-2); }

/* ---------- DemoRow (video + copy) ---------- */
.hr-demo { display: grid; grid-template-columns: 1fr 440px; gap: var(--space-7); align-items: center; }
.hr-demo-flip { grid-template-columns: 440px 1fr; }
.hr-demo-flip .hr-media { order: 2; }
.hr-demo-copy .hr-display-md, .hr-demo-copy .hr-heading { margin-bottom: var(--space-5); }
.hr-demo-copy .hr-body-lg { color: var(--ink-2); }
.hr-demo-copy .hr-link { display: inline-block; margin-top: var(--space-5); }

/* ---------- MediaGrid ---------- */
.hr-grid { display: grid; gap: var(--space-6); }
.hr-grid-2 { grid-template-columns: repeat(2, 1fr); }
.hr-grid-3 { grid-template-columns: repeat(3, 1fr); }
.hr-grid-4 { grid-template-columns: repeat(4, 1fr); }
.hr-grid .hr-title { margin-top: var(--space-4); }
.hr-grid .hr-body-sm { color: var(--ink-2); margin-top: var(--space-2); }

/* ---------- SectionHeader ---------- */
.hr-section-head { max-width: var(--measure); margin-bottom: var(--space-8); }
.hr-section-head.hr-center { margin-left: auto; margin-right: auto; text-align: center; }
.hr-section-head .hr-body-lg { margin-top: var(--space-5); color: var(--ink-2); }

/* ---------- Stat ---------- */
.hr-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
.hr-stat { border-top: 1px solid var(--line); padding-top: var(--space-5); }
.hr-stat-value { font-size: 80px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin: 0; }
.hr-stat-value sup { font-size: 0.4em; vertical-align: top; top: 0.2em; position: relative; color: var(--ink-2); }
.hr-stat-label { margin: var(--space-3) 0 0; font-size: 15px; line-height: 22px; color: var(--ink-2); }

/* ---------- PressQuote ---------- */
.hr-quotes { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.hr-press { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-5); border-radius: var(--radius-lg); background: var(--ground-raised); }
.hr-press .hr-press-source { font-family: var(--font-mono); font-size: 12px; line-height: 16px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.hr-press .hr-press-score { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.hr-press .hr-quote { font-size: 24px; }
.hr-testimonial { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-7); align-items: center; }
.hr-testimonial .hr-quote { margin-bottom: var(--space-5); }

/* ---------- Reels (vertical testimonial clips) ---------- */
.hr-reels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); }
.hr-reel { margin: 0; }
.hr-reel figcaption { display: grid; gap: var(--space-1); margin-top: var(--space-4); }
.hr-reel-who { font-size: 17px; line-height: 24px; font-weight: 600; }
.hr-reel-org { font-size: 15px; line-height: 22px; color: var(--ink-2); }
.hr-reel-line { font-size: 15px; line-height: 22px; }
.hr-reel-soon { display: flex; align-items: center; justify-content: center; }
.hr-reel-soon-note { font-family: var(--font-mono); font-size: 12px; line-height: 16px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-media-2); }

/* ---------- FAQ ---------- */
.hr-faq { max-width: var(--measure); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.hr-faq details { border-bottom: 1px solid var(--line); }
.hr-faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-5); padding: var(--space-5) 0; font-size: 20px; line-height: 28px; font-weight: 500; letter-spacing: -0.01em; cursor: pointer; list-style: none; }
.hr-faq summary::-webkit-details-marker { display: none; }
.hr-faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 20px; color: var(--ink-2); transition: transform var(--duration-base) var(--ease-out); }
.hr-faq details[open] summary::after { transform: rotate(45deg); }
.hr-faq .hr-body { padding: 0 0 var(--space-5); color: var(--ink-2); max-width: 560px; }
.hr-faq summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: var(--radius-sm); }

/* ---------- PricingCallout ---------- */
.hr-pricing { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-7); padding: var(--space-8); border-radius: var(--radius-lg); background: var(--ground-sunken); align-items: center; }
.hr-pricing .hr-price { font-size: 80px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; margin: 0 0 var(--space-5); font-variant-numeric: tabular-nums; }
.hr-benefits { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-4); }
.hr-benefits li { display: grid; grid-template-columns: 24px 1fr; gap: var(--space-3); font-size: 17px; line-height: 26px; }
.hr-benefits li strong { display: block; font-weight: 600; }
.hr-benefits li span { color: var(--ink-2); font-size: 15px; line-height: 22px; }
.hr-benefits li i { display: block; width: 24px; height: 24px; border-radius: var(--radius-pill); background: var(--accent); }

/* ---------- NewsletterForm ---------- */
.hr-newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-7); align-items: center; }
.hr-field { display: flex; gap: var(--space-2); padding: var(--space-1); border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--ground-raised); }
.hr-field input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 15px; padding: 0 var(--space-4); color: var(--ink); outline: none; }
.hr-field input::placeholder { color: var(--ink-3); }
.hr-field:focus-within { border-color: var(--ink); }
.hr-field .hr-btn { height: 40px; }
.hr-form-note { margin-top: var(--space-3); font-size: 13px; line-height: 18px; color: var(--ink-2); }

/* ---------- Footer ---------- */
.hr-footer { background: var(--ground-sunken); padding: var(--space-9) 0 var(--space-6); }
.hr-footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: var(--space-7); margin-bottom: var(--space-9); }
.hr-footer-col h4 { margin: 0 0 var(--space-4); font-family: var(--font-mono); font-size: 12px; line-height: 16px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; color: var(--ink-2); }
.hr-footer-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-3); }
.hr-footer-col a { color: var(--ink); text-decoration: none; font-size: 15px; line-height: 20px; font-weight: 500; }
.hr-footer-col a:hover { color: var(--ink-2); }
.hr-footer-tag { font-family: var(--font-sans); font-size: 32px; line-height: 1.2; margin: 0; }
.hr-footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: var(--space-5); border-top: 1px solid var(--line); font-size: 13px; line-height: 18px; color: var(--ink-2); }
.hr-footer-mark { font-size: 120px; line-height: 0.9; font-weight: 600; letter-spacing: -0.035em; margin: 0 0 var(--space-8); }
.hr-footer-mark .hr-logo { display: block; width: min(100%, 7.2em); height: auto; }

/* ---------- Wordmark + logo slot (placeholders until the brand assets land) ---------- */
.hr-wordmark { display: inline-flex; align-items: center; gap: 0.35em; font-family: var(--font-brand); font-weight: 700; letter-spacing: 0; color: var(--ink); text-decoration: none; }
.hr-logo-slot { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 1.3em; height: 1em; border: 1px dashed var(--ink-3); border-radius: var(--radius-sm); font-family: var(--font-mono); font-size: inherit; color: var(--ink-3); }
.hr-logo-slot > img, .hr-logo-slot > svg { display: block; width: 100%; height: 100%; object-fit: contain; }
.hr-logo-slot:has(> img, > svg) { border: 0; }
.hr-logo-slot-lg { width: 0.95em; height: 0.72em; border-radius: var(--radius-md); }
.hr-logo-slot-lg::before { content: "Logo"; font-size: 12px; line-height: 16px; letter-spacing: 0.08em; text-transform: uppercase; }
.hr-logo-slot-lg:has(> img, > svg)::before { content: none; }

/* ---------- Band (inset dark or sunken section) ---------- */
.hr-band { margin: 0 var(--space-3); padding: var(--space-10) 0; border-radius: var(--radius-xl); background: var(--ground); color: var(--ink); }

/* ---------- Statement (one large sentence between hero and demos) ---------- */
.hr-statement { max-width: 1040px; margin: 0 auto; font-size: 56px; line-height: 1.12; font-weight: 600; letter-spacing: -0.025em; text-align: center; text-wrap: balance; }

/* ---------- DemoRow / Stat variants ---------- */
.hr-demo-half, .hr-demo-half.hr-demo-flip { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
.hr-demo-half .hr-demo-copy { max-width: 560px; }
.hr-demo-copy .hr-stats { margin-top: var(--space-7); }
.hr-stats-3 { grid-template-columns: repeat(3, 1fr); }
.hr-stats-md .hr-stat-value { font-size: 56px; letter-spacing: -0.025em; white-space: nowrap; }

/* ---------- Lineup (two or three products, one card each) ---------- */
.hr-lineup { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
.hr-lineup-card { display: flex; flex-direction: column; padding: var(--space-7); border-radius: var(--radius-lg); background: var(--ground-sunken); }
.hr-lineup-card .hr-title { margin-top: var(--space-2); font-size: 36px; line-height: 1.15; letter-spacing: -0.02em; }
.hr-lineup-card .hr-lineup-line { margin: var(--space-3) 0 0; font-size: 17px; line-height: 26px; color: var(--ink-2); }
.hr-lineup-card .hr-price { margin: var(--space-7) 0 var(--space-5); font-size: 80px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.hr-lineup-card .hr-price small { margin-right: var(--space-2); font-size: 17px; line-height: 26px; font-weight: 400; letter-spacing: 0; color: var(--ink-2); }
.hr-lineup-card .hr-btn { align-self: flex-start; }
.hr-lineup-card .hr-btn-secondary { border-color: var(--ink); }
.hr-lineup-card .hr-btn-secondary:hover { background: var(--cta); color: var(--on-cta); }
.hr-lineup-card .hr-benefits { margin-top: var(--space-7); padding-top: var(--space-6); border-top: 1px solid var(--line); }
.hr-lineup-card .hr-benefits li { grid-template-columns: 12px 1fr; }
.hr-lineup-card .hr-benefits li i { width: 8px; height: 8px; margin-top: 9px; }
.hr-lineup-media { aspect-ratio: 4 / 3; margin: 0 0 var(--space-6); overflow: hidden; border-radius: var(--radius-md); background: var(--ground); }
.hr-lineup-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Three products: equal cards, and every row (photo, name, price, button, benefits) lines up
   across them, whatever the length of the copy above it. */
.hr-lineup-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@supports (grid-template-rows: subgrid) {
  .hr-lineup-3 .hr-lineup-card { display: grid; grid-row: span 8; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
  .hr-lineup-3 .hr-lineup-card .hr-btn { justify-self: start; }
  .hr-lineup-3 .hr-lineup-card .hr-btn-note { align-self: start; }
}

/* ---------- Story carousel ---------- */
.hr-story-track { display: grid; grid-auto-flow: column; grid-auto-columns: 30%; gap: var(--space-5); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--line) var(--ground); padding-bottom: var(--space-3); }
.hr-story-carousel.is-ready .hr-story-track { scrollbar-width: none; }
.hr-story-carousel.is-ready .hr-story-track::-webkit-scrollbar { display: none; }
.hr-story-track:focus-visible { outline: 2px solid var(--focus); outline-offset: var(--space-1); border-radius: var(--radius-md); }
.hr-story-card { min-width: 0; overflow: hidden; border-radius: var(--radius-md); background: linear-gradient(var(--ground-raised), var(--ground-sunken)); scroll-snap-align: start; }
.hr-story-photo { display: block; width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; }
.hr-story-copy { padding: var(--space-6); min-height: calc(var(--space-10) + var(--space-8)); }
.hr-story-author { display: flex; gap: var(--space-3); align-items: center; }
.hr-story-author .hr-title { font-size: 20px; line-height: 30px; margin: 0; }
.hr-story-author .hr-caption { color: var(--ink-2); }
.hr-story-avatar { display: grid; place-items: center; flex: 0 0 var(--space-7); height: var(--space-7); border-radius: var(--radius-pill); background: var(--line); color: var(--ink); font: 500 12px/1 var(--font-mono); }
.hr-story-copy > p { margin: var(--space-5) 0 0; }
.hr-story-pagination { display: flex; justify-content: center; align-items: center; gap: var(--space-1); margin-top: var(--space-4); }
.hr-story-pagination[hidden] { display: none; }
.hr-story-dot { display: grid; place-items: center; width: var(--space-7); height: var(--space-7); padding: 0; border: 0; border-radius: var(--radius-pill); background: transparent; cursor: pointer; }
.hr-story-dot::after { content: ''; width: var(--space-2); height: var(--space-2); border-radius: var(--radius-pill); background: var(--ink-2); transition: width var(--duration-fast) var(--ease-out), background var(--duration-fast); }
.hr-story-dot[aria-current="true"]::after { width: var(--space-7); background: var(--ink); }
.hr-story-dot:focus-visible { outline: 2px solid var(--focus); outline-offset: var(--space-1); }
@media (max-width: 960px) { .hr-story-track { grid-auto-columns: 45%; } }
@media (max-width: 720px) { .hr-story-track { grid-auto-columns: 86%; gap: var(--space-4); } .hr-story-copy { padding: var(--space-5); } }
@media (prefers-reduced-motion: reduce) { .hr-story-dot::after { transition: none; } }

/* ---------- Accessory cards ---------- */
.hr-accessory-track { grid-auto-columns: calc((100% - 2 * var(--space-5)) / 3); align-items: stretch; }
.hr-accessory-card { display: grid; grid-template-rows: 1fr auto auto; gap: var(--space-5); padding: var(--space-5); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--ground-raised); min-width: 0; scroll-snap-align: start; }
.hr-accessory-intro .hr-title { margin: 0; }
.hr-accessory-intro .hr-body { margin: var(--space-5) 0 0; }
.hr-accessory-intro .hr-caption { margin: var(--space-3) 0 0; }
.hr-accessory-photo, .hr-accessory-photo-slot { display: block; width: 100%; aspect-ratio: 1; height: auto; object-fit: contain; border-radius: var(--radius-sm); background: var(--ground-sunken); }
.hr-accessory-photo-slot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-2); color: var(--ink-2); text-align: center; }
.hr-accessory-card .hr-btn { justify-self: start; }
@media (max-width: 960px) { .hr-accessory-track { grid-auto-columns: 45%; } }
@media (max-width: 720px) { .hr-accessory-track { grid-auto-columns: 86%; } }
/* ---------- Cue (a spoken or texted command that gains detail) ---------- */
.hr-cue { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hr-cue-modes { display: inline-flex; gap: var(--space-1); padding: var(--space-1); border: 1px solid var(--line); border-radius: var(--radius-pill); }
.hr-cue-mode { height: 36px; padding: 0 var(--space-4); border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--ink-2); font: inherit; font-size: 15px; line-height: 20px; font-weight: 500; cursor: pointer; transition: background-color var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out); }
.hr-cue-mode:hover { color: var(--ink); }
.hr-cue-mode[aria-pressed="true"] { background: var(--cta); color: var(--on-cta); }
.hr-cue-bubble { position: relative; max-width: 100%; margin-top: var(--space-6); padding: var(--space-6) var(--space-8); border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--ground-raised); }
.hr-cue-bubble::after { content: ""; position: absolute; left: 50%; bottom: -11px; width: 20px; height: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-bottom-right-radius: var(--space-1); background: var(--ground-raised); transform: translateX(-50%) rotate(45deg); }
.hr-cue-sentence { margin: 0; font-size: clamp(28px, 3.4vw, 48px); line-height: 1.2; font-weight: 600; letter-spacing: -0.025em; }
.hr-cue-token { display: inline-block; overflow: clip; white-space: pre; vertical-align: bottom; }
@media (prefers-reduced-motion: no-preference) { .hr-cue-ready .hr-cue-token { transition: width var(--duration-slow) var(--ease-out), opacity var(--duration-base) var(--ease-out), color var(--duration-slow) var(--ease-out); } }
/* The accent as text is allowed here only because a Cue always sits in a dark Band. */
.hr-cue-token.is-new { color: var(--accent); }
.hr-cue-level { margin: var(--space-7) 0 0; }
.hr-cue-steps { display: flex; gap: var(--space-2); margin-top: var(--space-4); }
.hr-cue-step { width: 56px; height: 56px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: transparent; color: var(--ink); font: inherit; font-size: 20px; line-height: 1; cursor: pointer; transition: border-color var(--duration-fast) var(--ease-out), opacity var(--duration-fast) var(--ease-out); }
.hr-cue-step:hover { border-color: var(--ink); }
.hr-cue-step:disabled { opacity: 0.35; cursor: default; border-color: var(--line); }
.hr-cue-mode:focus-visible, .hr-cue-step:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
/* Static by default: every ask wraps into view. site.js adds is-drifting when the row moves with the scroll. */
.hr-cue-chips { width: 100%; margin-top: var(--space-8); }
.hr-cue-chips ul { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-4); margin: 0; padding: 0 var(--gutter); list-style: none; }
.hr-cue-chips.is-drifting { overflow-x: clip; -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); }
.hr-cue-chips.is-drifting ul { flex-wrap: nowrap; justify-content: flex-start; width: max-content; padding: 0; }
.hr-cue-chips li { display: inline-flex; align-items: center; height: 56px; padding: 0 var(--space-5); border: 1px solid var(--line); border-radius: var(--radius-pill); font-size: 20px; line-height: 30px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; color: var(--ink); }

/* ---------- Specs (the plain table the Stat README points to) ---------- */
.hr-specs { margin: 0; border-top: 1px solid var(--line); }
.hr-specs > div { display: grid; grid-template-columns: 200px 1fr; gap: var(--space-5); padding: var(--space-4) 0; border-bottom: 1px solid var(--line); }
.hr-specs dt { font-size: 15px; line-height: 26px; color: var(--ink-2); }
.hr-specs dd { margin: 0; font-size: 17px; line-height: 26px; font-weight: 500; }
.hr-specs dd small { display: block; font-size: 15px; line-height: 22px; font-weight: 400; color: var(--ink-2); }

/* ---------- Roller (one word slot that spins like a reel) ---------- */
.hr-roller { position: relative; display: inline-block; overflow: clip; overflow-clip-margin: 0.08em; height: 1.04em; vertical-align: top; white-space: nowrap; }
/* site.js stacks the words it will pass through under the current one and rolls the strip upward. */
.hr-roller-strip { display: flex; flex-direction: column; align-items: flex-start; }
/* A fixed-width slot centres its words so a shorter one sits evenly between its neighbours. */
.hr-roller[data-width="max"] .hr-roller-strip { align-items: center; width: 100%; }
.hr-roller-word { display: block; height: 1.04em; line-height: 1.04; }

/* ---------- App (the phone the Cue is typed or spoken into) ---------- */
.hr-app { display: flex; flex-direction: column; width: 400px; max-width: 100%; height: 640px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--ground-raised); overflow: hidden; text-align: left; }
.hr-app-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-4) var(--space-4) var(--space-4) var(--space-5); border-bottom: 1px solid var(--line); }
.hr-app-name { display: flex; align-items: center; gap: var(--space-2); margin: 0; font-size: 17px; line-height: 26px; font-weight: 600; letter-spacing: -0.01em; }
/* The standby light: the accent doing the one job it has. */
.hr-app-name i { width: 8px; height: 8px; border-radius: var(--radius-pill); background: var(--accent); }
.hr-app-thread { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: var(--space-3); min-height: 0; padding: var(--space-5); }
.hr-app-msg { max-width: 88%; min-width: 0; overflow-wrap: anywhere; margin: 0; padding: var(--space-3) var(--space-4); border-radius: var(--radius-lg); font-size: 17px; line-height: 26px; }
.hr-app-msg-me { align-self: flex-end; border-bottom-right-radius: var(--radius-sm); background: var(--cta); color: var(--on-cta); font-size: 22px; line-height: 30px; font-weight: 600; letter-spacing: -0.015em; }
.hr-app-msg-me .hr-cue-token.is-new { color: inherit; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.hr-app-msg-arm { align-self: flex-start; border-bottom-left-radius: var(--radius-sm); background: var(--ground); color: var(--ink); border: 1px solid var(--line); }
.hr-app-clip { align-self: flex-start; width: 88%; border-radius: var(--radius-md); }
.hr-app-meta { align-self: flex-end; margin: 0; font-family: var(--font-mono); font-size: 12px; line-height: 16px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.hr-app-voice { display: inline-flex; align-items: center; gap: 3px; height: 0.8em; margin-right: var(--space-2); vertical-align: baseline; }
.hr-app-voice[hidden] { display: none; }
.hr-app-voice i { width: 3px; border-radius: var(--radius-pill); background: currentColor; }
.hr-app-voice.is-live i { animation: hr-voice-bar 0.9s var(--ease-out) infinite alternate; transform-origin: 50% 50%; }
.hr-app-voice.is-live i:nth-child(2) { animation-duration: 0.62s; animation-delay: -0.2s; }
.hr-app-voice.is-live i:nth-child(3) { animation-duration: 0.78s; animation-delay: -0.45s; }
.hr-app-voice.is-live i:nth-child(4) { animation-duration: 0.55s; animation-delay: -0.1s; }
.hr-app-voice.is-live i:nth-child(5) { animation-duration: 0.84s; animation-delay: -0.35s; }
@keyframes hr-voice-bar { from { transform: scaleY(0.35); } to { transform: scaleY(1.15); } }
@media (prefers-reduced-motion: reduce) { .hr-app-voice.is-live i { animation: none; } }
.hr-app-voice i:nth-child(1) { height: 40%; } .hr-app-voice i:nth-child(2) { height: 100%; } .hr-app-voice i:nth-child(3) { height: 65%; } .hr-app-voice i:nth-child(4) { height: 85%; } .hr-app-voice i:nth-child(5) { height: 30%; }
.hr-app-composer { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin: 0 var(--space-4) var(--space-4); padding: 0 var(--space-2) 0 var(--space-4); height: 48px; border: 1px solid var(--line); border-radius: var(--radius-pill); font-size: 15px; line-height: 20px; color: var(--ink-2); }
.hr-app-composer b { display: inline-flex; align-items: center; justify-content: center; height: 32px; padding: 0 var(--space-3); border-radius: var(--radius-pill); background: var(--ground); border: 1px solid var(--line); font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }

/* ---------- Catalog (a grid of asks, each with the clip that answers it) ---------- */
.hr-catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6) var(--space-5); margin: 0; padding: 0; list-style: none; }
.hr-catalog .hr-media { border-radius: var(--radius-md); }
.hr-catalog-ask { margin: var(--space-4) 0 0; font-size: 24px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
.hr-catalog-arm { display: block; margin-top: var(--space-2); font-family: var(--font-mono); font-size: 12px; line-height: 16px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
/* A tile whose clip is not shot yet: the ask itself stands in, on the poster ground. */
.hr-catalog-soon { box-sizing: border-box; display: flex; align-items: center; justify-content: center; padding: var(--space-6); text-align: center; font-family: var(--font-sans); font-size: 32px; line-height: 1.25; color: var(--on-media-2); }

/* Specs with two products side by side. */
.hr-specs-2 > div { grid-template-columns: 200px 1fr 1fr; }
.hr-specs-2 > .hr-specs-head dd { font-family: var(--font-mono); font-size: 12px; line-height: 26px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }

/* ---------- Laptop (the app on a screen) ---------- */
.hr-laptop { width: 100%; min-width: 0; padding: 0 3%; box-sizing: border-box; }
.hr-laptop-screen { aspect-ratio: 16 / 10; min-height: 360px; min-width: 0; max-width: 100%; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--ground-raised); overflow: hidden; }
.hr-laptop-base { height: 12px; margin: 0 -3%; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius-md) var(--radius-md); background: var(--ground-sunken); }

/* ---------- UI (the app itself, inside App or Laptop) ---------- */
.hr-ui { display: flex; flex-direction: column; text-align: left; }
.hr-ui-bar { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) var(--space-4) var(--space-3) var(--space-5); border-bottom: 1px solid var(--line); }
.hr-ui-thread { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: var(--space-3); min-height: 0; padding: var(--space-5); overflow: hidden; }
.hr-ui .hr-app-composer { margin: 0 var(--space-4) var(--space-4); }
.hr-ui-task { margin: 0 0 var(--space-2); font-size: 24px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
.hr-ui-rows { margin: 0; }
.hr-ui-rows > div { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-2) 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 22px; }
.hr-ui-rows dt { color: var(--ink-2); }
.hr-ui-rows dd { margin: 0; font-weight: 500; }
.hr-ui-progress { height: 6px; border-radius: var(--radius-pill); background: var(--ground-sunken); overflow: hidden; }
.hr-ui-progress i { display: block; width: 100%; height: 100%; background: var(--ink); }

/* ---------- Tabs (a segmented pill of 2–4 choices) ---------- */
.hr-tabs { display: inline-flex; gap: var(--space-1); padding: var(--space-1); border: 1px solid var(--line); border-radius: var(--radius-pill); }
.hr-tab { height: 36px; padding: 0 var(--space-4); border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--ink-2); font: inherit; font-size: 15px; line-height: 20px; font-weight: 500; cursor: pointer; transition: background-color var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out); }
.hr-tab:hover { color: var(--ink); }
.hr-tab[aria-selected="true"], .hr-tab[aria-pressed="true"] { background: var(--cta); color: var(--on-cta); }
.hr-tab:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

/* ---------- Prompt (the ask and the arm's reply, over the bottom of a clip) ---------- */
/* The prompt is a sibling of the frame inside hr-stage, so it can drop below the clip on phones. */
.hr-stage { position: relative; }
.hr-prompt { font-family: var(--font-sans); position: absolute; left: 50%; bottom: var(--space-6); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: var(--space-2); width: min(720px, calc(100% - 2 * var(--space-6))); text-align: center; }
.hr-prompt-ask { margin: 0; padding: var(--space-4) var(--space-6); border-radius: var(--radius-lg); background: var(--ground-raised); color: var(--ink); box-shadow: var(--shadow-media); font-size: clamp(20px, 2vw, 28px); line-height: 1.25; font-weight: 600; letter-spacing: -0.015em; }
.hr-prompt-who { display: block; margin-bottom: var(--space-1); font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.hr-prompt-who .hr-app-voice { height: 10px; margin-right: var(--space-2); vertical-align: middle; }
.hr-prompt-reply { margin: 0; font-family: var(--font-sans); padding: var(--space-2) var(--space-4); border-radius: var(--radius-pill); background: var(--scrim); color: var(--on-media); backdrop-filter: blur(8px); font-size: 15px; line-height: 22px; font-weight: 500; }
/* The prompt is always on media, so it stays light-on-dark whatever the band's theme. */
[data-theme="dark"] .hr-prompt-ask { background: #f3f2ee; color: #151515; }
[data-theme="dark"] .hr-prompt-who { color: #5f5e5a; }

/* ---------- Multicam (clips of one moment side by side, kept in sync) ---------- */
/* Each item grows by its own ratio (--ratio, width / height), so every frame in the row
   comes out the same height. multicam.js keeps the feeds on the lead clip's clock. */
.hr-multicam { display: flex; gap: var(--space-3); }
.hr-multicam-item { flex: var(--ratio, 1.7778) 1 0; min-width: 0; }
.hr-multicam-item > .hr-media { aspect-ratio: var(--ratio, 1.7778); }
/* Stacked: one frame above the other at the full column width, for an app capture whose text
   needs the width to stay readable. Phones stack every multicam anyway. */
.hr-multicam-stack { flex-direction: column; }
.hr-multicam-stack > .hr-multicam-item { flex: none; }
@media (max-width: 960px) {
  .hr-multicam { flex-direction: column; }
  .hr-multicam-item { flex: none; }
}

/* ---------- Duo (two synced clips; the second slides open on hover, focus or tap) ---------- */
/* The open item takes about four-fifths of the row and the other waits as a strip. Both fill
   the row's height and crop to it, so the strip shows the middle of its clip. multicam.js keeps
   them in sync and moves .is-open; the lead is open by default. */
.hr-duo { display: flex; gap: var(--space-2); aspect-ratio: 16 / 7; }
.hr-duo-item { position: relative; flex: 1 1 0; min-width: 0; cursor: pointer; transition: flex-grow var(--duration-slow) var(--ease-out); }
/* --grow sets the open item's share against the strip's 1. 3.6 fits a 16:9 clip to the row;
   a wider frame needs more (4.8 for a 1.87:1 app capture), so it opens uncropped. */
.hr-duo-item.is-open { flex-grow: var(--grow, 3.6); cursor: default; }
.hr-duo-item > .hr-media { height: 100%; aspect-ratio: auto; }
.hr-duo-item:focus-visible { outline: 2px solid var(--focus); outline-offset: var(--space-1); border-radius: var(--radius-lg); }
/* The strip's chip names what opens; it fades once the panel is open. */
.hr-duo-item .hr-duo-label { white-space: nowrap; transition: opacity var(--duration-base) var(--ease-out); }
.hr-duo-item.is-open .hr-duo-label { opacity: 0; }
/* A Prompt with a Duo (both inside an hr-stage) sits over the lead while it is open, and
   steps aside when the other opens: that one is the app, which shows the ask itself. */
.hr-stage > .hr-duo + .hr-prompt { left: 39%; transition: opacity var(--duration-base) var(--ease-out); }
.hr-stage > .hr-duo:has(.hr-duo-item:not(:first-child).is-open) + .hr-prompt { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .hr-duo-item, .hr-duo-item .hr-duo-label, .hr-stage > .hr-duo + .hr-prompt { transition: none; }
}
/* Phones: no room for a strip, so the two stack at their own shapes. */
@media (max-width: 720px) {
  .hr-duo { flex-direction: column; aspect-ratio: auto; }
  .hr-duo-item, .hr-duo-item.is-open { flex: none; cursor: default; }
  .hr-duo-item > .hr-media { aspect-ratio: var(--ratio, 1.7778); }
  .hr-duo-item .hr-duo-label { display: none; }
  .hr-stage > .hr-duo + .hr-prompt { opacity: 1; }
}

/* Tabs as a slider: a row of choices with the selected one filled, centred under a scene. */
.hr-tabs-slider { justify-content: center; }
.hr-tabs-slider .hr-tab { min-width: 120px; height: 44px; font-size: 17px; }

/* Copy that is a stand-in for real words: dimmed, so no one ships it by mistake. */
.hr-placeholder { color: var(--ink-3); font-style: italic; }

/* ---------- Upgrade collage ---------- */
.hr-nav-logo { display: block; width: auto; height: 20px; padding: 0; }
.hr-upgrade-collage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-5); }
.hr-upgrade-card { display: flex; flex-direction: column; min-width: 0; padding: var(--space-7); gap: var(--space-6); border-radius: var(--radius-xl); background: var(--ground-raised); color: var(--ink); scroll-margin-top: var(--space-9); }
.hr-upgrade-card-small { grid-column: span 5; }
.hr-upgrade-card-large { grid-column: span 7; }
.hr-upgrade-card-wide { grid-column: 1 / -1; }
.hr-upgrade-card[data-theme="dark"] { background: var(--ground); }
.hr-upgrade-title { margin: 0; font: 600 40px/1.08 var(--font-sans); letter-spacing: -.025em; text-wrap: balance; }
.hr-upgrade-subtitle { margin: var(--space-3) 0 0; font: 500 24px/1.25 var(--font-sans); color: var(--ink-2); }
.hr-upgrade-spec, .hr-upgrade-note { margin: var(--space-3) 0 0; font: 400 15px/22px var(--font-sans); color: var(--ink-2); }
.hr-upgrade-photo-slot { min-height: 240px; flex: 1; display: grid; place-items: center; padding: var(--space-5); border-radius: var(--radius-md); background: var(--ground-sunken); color: var(--ink-2); text-align: center; font: 400 13px/18px var(--font-sans); }
.hr-upgrade-card[data-theme="dark"] .hr-upgrade-photo-slot { background: var(--ground-raised); }
.hr-upgrade-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
.hr-upgrade-pair figure { margin: 0; min-width: 0; }
.hr-upgrade-pair .hr-upgrade-photo-slot { width: 100%; min-height: 0; aspect-ratio: 16 / 9; }
.hr-upgrade-pair figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2); margin-top: var(--space-4); font: 400 17px/26px var(--font-sans); }
.hr-upgrade-pair figcaption strong { font-weight: 500; }
.hr-upgrade-pair figcaption span { color: var(--ink-2); }
.hr-upgrade-product { margin: auto 0 0; }
.hr-upgrade-product img { display: block; width: 100%; height: auto; aspect-ratio: 2400 / 1792; object-fit: contain; border-radius: var(--radius-md); }
.hr-upgrade-product figcaption { color: var(--ink-2); margin-top: var(--space-3); }
@media (max-width: 960px) {
  .hr-upgrade-card { padding: var(--space-6); }
  .hr-upgrade-title { font-size: 36px; }
}
@media (max-width: 720px) {
  .hr-upgrade-collage, .hr-upgrade-pair { grid-template-columns: 1fr; gap: var(--space-4); }
  .hr-upgrade-card-small, .hr-upgrade-card-large, .hr-upgrade-card-wide { grid-column: 1; }
  .hr-upgrade-card { padding: var(--space-5); gap: var(--space-5); border-radius: var(--radius-lg); }
  .hr-upgrade-title { font-size: 32px; }
  .hr-upgrade-subtitle { font-size: 24px; }
}

/* ---------- SimViewer (a live MuJoCo model you can turn, zoom and pull on) ---------- */
/* The stage is always on media, like a clip: a soft studio glow over media-ink, whatever the band's theme. */
.hr-sim { margin: 0; }
.hr-sim-stage { background: radial-gradient(ellipse 70% 75% at 50% 38%, color-mix(in srgb, var(--on-media) 14%, var(--media-ink)), var(--media-ink) 78%); }
.hr-sim-poster, .hr-sim-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hr-sim-poster { object-fit: cover; transition: opacity var(--duration-slow) var(--ease-out); }
.hr-sim-canvas { opacity: 0; touch-action: none; cursor: grab; outline: none; transition: opacity var(--duration-slow) var(--ease-out); }
.hr-sim.is-ready .hr-sim-canvas { opacity: 1; }
/* Focus ring over media: on-media, drawn inside the frame because the frame clips. */
.hr-sim-canvas:focus-visible { outline: 2px solid var(--on-media); outline-offset: calc(-1 * var(--space-2)); border-radius: inherit; }
.hr-sim-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hr-sim.is-ready .hr-sim-poster { opacity: 0; pointer-events: none; }
/* A one-line nudge when someone scrolls over the stage: plain scroll moves the page, not the camera. */
.hr-sim-toast { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; padding: var(--space-2) var(--space-4); border-radius: var(--radius-pill); background: var(--scrim); color: var(--on-media); backdrop-filter: blur(8px); font-weight: 500; opacity: 0; pointer-events: none; transition: opacity var(--duration-base) var(--ease-out); }
.hr-sim-toast.is-on { opacity: 1; }
.hr-sim-bar { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); flex-wrap: wrap; margin-top: var(--space-4); }
.hr-sim-actions { display: flex; gap: var(--space-3); }
.hr-sim-actions .hr-btn:disabled { opacity: .4; cursor: default; }
@media (max-width: 720px) {
  .hr-sim-stage { aspect-ratio: 1 / 1; }
  .hr-sim-bar { flex-direction: column; align-items: flex-start; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hr-nav, .hr-nav-links { gap: var(--space-4); }
  .hr-nav { padding-left: var(--space-4); }
  .hr-nav-brand .hr-logo { height: 18px; }
  .hr-demo, .hr-demo-flip { grid-template-columns: 1fr; }
  .hr-demo-flip .hr-media { order: 0; }
  .hr-quotes, .hr-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hr-reels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hr-footer-top { grid-template-columns: 1fr 1fr; }
  .hr-footer-tag { grid-column: 1 / -1; }
  .hr-pricing, .hr-newsletter, .hr-testimonial { grid-template-columns: 1fr; }
  .hr-demo-half, .hr-demo-half.hr-demo-flip, .hr-lineup, .hr-lineup-3 { grid-template-columns: 1fr; gap: var(--space-7); }
  .hr-catalog { grid-template-columns: repeat(2, 1fr); }
  .hr-band { padding: var(--space-9) 0; }
  .hr-statement { font-size: 40px; }
}
@media (max-width: 720px) {
  .hr-page { padding: 0 var(--space-4); }
  .hr-display-xl, .hr-footer-mark { font-size: 64px; }
  .hr-display-lg { font-size: 48px; }
  .hr-display-md { font-size: 36px; }
  .hr-heading { font-size: 28px; }
  .hr-media, .hr-hero .hr-media { border-radius: var(--radius-md); }
  .hr-grid-2, .hr-grid-3, .hr-grid-4, .hr-quotes, .hr-stats { grid-template-columns: 1fr; }
  .hr-reels { gap: var(--space-5) var(--space-3); }
  .hr-nav-links { display: none; }
  .hr-hero-cinematic .hr-hero-copy { left: var(--space-4); right: var(--space-4); width: auto; }
  .hr-band { margin: 0 var(--space-2); padding: var(--space-8) 0; border-radius: var(--radius-lg); }
  .hr-statement { font-size: 28px; line-height: 1.2; }
  .hr-stats-md { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
  .hr-stats-3 { grid-template-columns: repeat(3, 1fr); }
  .hr-stats-md .hr-stat-value { font-size: 36px; }
  .hr-lineup-card { padding: var(--space-5); }
  .hr-cue-bubble { padding: var(--space-5); border-radius: var(--radius-xl); }
  .hr-cue-chips li { height: 44px; padding: 0 var(--space-4); font-size: 17px; }
  .hr-specs > div { grid-template-columns: 1fr; gap: 0; }
  .hr-specs-2 > div { grid-template-columns: 1fr 1fr; gap: 0 var(--space-4); }
  .hr-specs-2 dt { grid-column: 1 / -1; }
  .hr-specs-2 > .hr-specs-head dt { display: none; }
  .hr-catalog { grid-template-columns: 1fr; }
  .hr-catalog-soon { font-size: 24px; }
  .hr-app { height: 560px; }
  .hr-prompt { position: static; transform: none; width: auto; margin-top: var(--space-4); }
  .hr-prompt-ask { padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); font-size: 18px; }
  .hr-tabs-slider .hr-tab { min-width: 0; flex: 1; }
  .hr-tabs-slider { display: flex; width: 100%; box-sizing: border-box; }
  .hr-lineup-card .hr-price { font-size: 56px; }
}

/* Primary footer lockup: original geometry, with artwork clear space. */
.hr-footer-logo { display: block; width: min(100%, var(--measure)); box-sizing: border-box; padding: 2% 2%; margin: 0 0 var(--space-8); }
.hr-footer-logo img { display: block; width: 100%; height: auto; }

/* MakerModsLab: one shared software story on each product page. */
.hr-text-link { color: var(--ink); font: 500 15px/20px var(--font-sans); text-decoration: underline; text-underline-offset: .25em; padding: var(--space-3) 0; }
.hr-text-link:hover { opacity: .8; }
.hr-text-link:focus-visible { outline: 2px solid var(--focus); outline-offset: var(--space-1); }
.hr-lab-modes { gap: var(--space-7); }
.hr-lab-modes .hr-body { margin-top: var(--space-4); color: var(--ink-2); }
.hr-lab-preview { margin: var(--space-7) 0 0; }
.hr-lab-preview .hr-media { aspect-ratio: 3600 / 1926; }
.hr-lab-preview img { object-fit: contain; }
.hr-lab-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: var(--space-5); margin-top: var(--space-6); }
/* MakerModsLab workflow: record data, train, run inference, one panel each. */
.hr-lab-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); margin: 0; padding: 0; list-style: none; }
.hr-lab-step { display: flex; flex-direction: column; padding: var(--space-5); border-radius: var(--radius-lg); background: var(--ground-sunken); }
.hr-lab-step .hr-media { margin-bottom: var(--space-6); border-radius: var(--radius-md); }
.hr-lab-step .hr-catalog-soon { font-size: 24px; }
.hr-lab-step .hr-body { margin-top: var(--space-3); color: var(--ink-2); }
@media (max-width: 960px) {
  .hr-lab-steps { gap: var(--space-3); }
  .hr-lab-step { padding: var(--space-4); }
}
@media (max-width: 720px) {
  .hr-lab-steps { grid-template-columns: 1fr; }
}

/* Preserve product navigation on touch screens and let preview descriptions wrap. */
.hr-nav-links .hr-nav-card { white-space: normal; }
.hr-nav-mobile { display: none; }
@media (max-width: 960px) {
  .hr-nav { position: relative; box-sizing: border-box; width: calc(100% - 2 * var(--gutter)); justify-content: space-between; }
  .hr-nav > .hr-nav-links, .hr-nav > .hr-btn { display: none; }
  .hr-nav-mobile { display: block; }
  .hr-nav-mobile summary { cursor: pointer; padding: var(--space-3); }
  .hr-nav-mobile > div { position: absolute; top: calc(100% + var(--space-2)); left: 0; right: 0; padding: var(--space-4); max-height: 70vh; overflow: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--ground-raised); box-shadow: var(--shadow-nav); }
  .hr-nav-mobile a { display: block; padding: var(--space-3); color: var(--ink); text-decoration: none; }
  .hr-nav-mobile a:hover { background: var(--ground-sunken); border-radius: var(--radius-sm); }
}
.hr-nav-mobile summary:focus-visible, .hr-nav a:focus-visible { outline: 2px solid var(--focus); outline-offset: var(--space-1); }

/* Code — a short program on media-ink, for SDK and code-as-policy sections. */
.hr-code { margin: 0; border-radius: var(--radius-lg); background: var(--media-ink); color: var(--on-media); overflow: hidden; }
.hr-code-bar { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-4) var(--space-6); border-bottom: 1px solid var(--chip); font-family: var(--font-mono); font-size: 12px; line-height: 16px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-media-2); }
.hr-code pre { margin: 0; padding: var(--space-5) var(--space-6) var(--space-6); overflow-x: auto; font-family: var(--font-mono); font-size: 14px; line-height: 24px; tab-size: 4; }
.hr-code code { font: inherit; }
.hr-code .hr-code-note { color: var(--on-media-2); }
@media (max-width: 720px) {
  .hr-code { border-radius: var(--radius-md); }
  .hr-code-bar, .hr-code pre { padding-left: var(--space-4); padding-right: var(--space-4); }
  .hr-code pre { font-size: 13px; line-height: 22px; }
}

/* ---------- VideoEmbed (a YouTube film behind its poster; the player loads on the first press) ---------- */
/* The poster and play control are one link to the film, so it still opens without JavaScript.
   video-embed.js swaps the link for the player in the same frame. */
.hr-embed-link { position: absolute; inset: 0; display: block; color: inherit; }
.hr-embed-link > img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration-slow) var(--ease-out); }
.hr-embed-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: var(--space-9); height: var(--space-9); border-radius: var(--radius-pill); background: var(--ground-raised); color: var(--ink); box-shadow: var(--shadow-media); transition: transform var(--duration-fast) var(--ease-out); }
.hr-embed-play svg { width: var(--space-6); height: var(--space-6); margin-left: var(--space-1); fill: currentColor; }
.hr-embed-link:hover > img { transform: scale(1.02); }
.hr-embed-link:hover .hr-embed-play { transform: translate(-50%, -50%) scale(1.06); }
.hr-embed-link:focus-visible { outline: 2px solid var(--focus); outline-offset: calc(var(--space-1) * -1); border-radius: inherit; }
.hr-embed > iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* The control is always on media, so it stays light whatever the band's theme. */
[data-theme="dark"] .hr-embed-play { background: #f3f2ee; color: #151515; }
@media (max-width: 720px) {
  .hr-embed-play { width: var(--space-8); height: var(--space-8); }
  .hr-embed-play svg { width: var(--space-5); height: var(--space-5); }
}
@media (prefers-reduced-motion: reduce) {
  .hr-embed-link > img, .hr-embed-play { transition: none; }
  .hr-embed-link:hover > img { transform: none; }
  .hr-embed-link:hover .hr-embed-play { transform: translate(-50%, -50%); }
}

/* ---------- Backer (who backs the company: a quiet label, then the backer's mark and name) ---------- */
/* One line, linked to the backer. The mark is a black-on-clear image, turned white on dark grounds. */
.hr-backer { display: inline-flex; align-items: center; gap: var(--space-2); font-family: var(--font-sans); font-size: 15px; line-height: 22px; font-weight: 600; letter-spacing: -0.005em; color: var(--ink); text-decoration: none; }
.hr-backer-label { margin-right: var(--space-1); font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.hr-backer img { display: block; width: auto; height: 1.3em; }
a.hr-backer:hover .hr-backer-name { text-decoration: underline; text-underline-offset: var(--space-1); }
a.hr-backer:focus-visible { outline: 2px solid var(--focus); outline-offset: var(--space-1); border-radius: var(--radius-sm); }
.hr-section-head .hr-backer { margin-bottom: var(--space-3); }
[data-theme="dark"] .hr-backer img { filter: invert(1); }

/* ---------- Configurator (a buy page: pick a build, set the quantity, add an accessory, check out) ---------- */
/* The product photo stays put on the left while the choices scroll on the right. Every choice is a
   real form control, and the checkout button is a real link that buy.js keeps pointed at the cart. */
.hr-config { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, var(--measure)); gap: var(--space-8); align-items: start; }
.hr-config-aside { position: sticky; top: calc(var(--nav-height) + var(--space-7)); display: grid; gap: var(--space-5); min-width: 0; }
.hr-config-media { margin: 0; }
.hr-config-media .hr-media { aspect-ratio: 3 / 2; }
/* Contact: a card under the photo for orders the choices do not cover. It is built like an option
   card, and the whole card is the link. */
.hr-config-contact { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--space-4); padding: var(--space-5); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--ground-raised); color: var(--ink); text-decoration: none; transition: border-color var(--duration-fast) var(--ease-out); }
.hr-config-contact:hover { border-color: var(--ink-3); }
.hr-config-contact:hover .hr-btn { border-color: var(--ink); }
.hr-config-contact:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.hr-config-panel { display: grid; gap: var(--space-7); min-width: 0; }
.hr-config-head .hr-body-lg { margin-top: var(--space-4); color: var(--ink-2); }
.hr-config-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.hr-config-legend { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); width: 100%; margin-bottom: var(--space-4); padding: 0; font-size: 17px; line-height: 26px; font-weight: 600; }
.hr-config-legend small { font-size: 13px; line-height: 18px; font-weight: 500; color: var(--ink-2); }
.hr-config-row { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); margin-top: var(--space-4); }
.hr-config-row .hr-body-sm { color: var(--ink-2); }
/* Options: one radio per card. The input covers nothing and is hidden; the card shows its state. */
.hr-option-list { display: grid; gap: var(--space-3); }
.hr-option { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: var(--space-4); padding: var(--space-5); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--ground-raised); cursor: pointer; transition: border-color var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out); }
.hr-option:hover { border-color: var(--ink-3); }
.hr-option input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.hr-option-dot { display: grid; place-items: center; box-sizing: border-box; width: var(--space-5); height: var(--space-5); margin-top: 1px; border: 1px solid var(--ink-3); border-radius: 50%; }
.hr-option-dot::after { content: ''; width: var(--space-3); height: var(--space-3); border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform var(--duration-fast) var(--ease-out); }
.hr-option:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.hr-option:has(input:checked) .hr-option-dot { border-color: var(--ink); }
.hr-option:has(input:checked) .hr-option-dot::after { transform: scale(1); }
.hr-option:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
.hr-option-name { display: block; font-size: 17px; line-height: 26px; font-weight: 600; }
.hr-option-desc { display: block; margin-top: var(--space-1); font-size: 15px; line-height: 22px; color: var(--ink-2); }
.hr-option-price { font-size: 17px; line-height: 26px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* Stepper: a pill with minus, the count and plus. */
.hr-stepper { display: inline-flex; align-items: center; flex: none; height: 44px; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--ground-raised); }
.hr-stepper button { width: 44px; height: 100%; padding: 0; border: 0; border-radius: var(--radius-pill); background: none; font: inherit; font-size: 20px; line-height: 1; color: var(--ink); cursor: pointer; }
.hr-stepper button:disabled { color: var(--ink-3); opacity: 0.5; cursor: default; }
.hr-stepper button:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.hr-stepper output { min-width: var(--space-6); font-size: 17px; line-height: 26px; font-weight: 600; font-variant-numeric: tabular-nums; text-align: center; }
/* Add-on: an accessory with its photo, price and its own stepper. */
.hr-addon { display: grid; grid-template-columns: var(--space-9) minmax(0, 1fr) auto; align-items: center; gap: var(--space-4); padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--ground-raised); transition: border-color var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out); }
.hr-addon.is-added { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.hr-addon-photo { display: block; width: var(--space-9); height: var(--space-9); border-radius: var(--radius-sm); object-fit: cover; background: var(--ground-sunken); }
.hr-addon-match { margin-top: var(--space-2); padding: 0; border: 0; background: none; font: inherit; font-size: 15px; line-height: 22px; font-weight: 500; color: var(--ink); text-decoration: underline; text-underline-offset: var(--space-1); cursor: pointer; }
.hr-addon-match:focus-visible { outline: 2px solid var(--focus); outline-offset: var(--space-1); }
/* Summary: what is in the cart, then the button that opens it. */
.hr-summary { padding: var(--space-5); border-radius: var(--radius-md); background: var(--ground-sunken); }
.hr-summary-line { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); padding: var(--space-1) 0; font-size: 15px; line-height: 22px; }
.hr-summary-line strong { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hr-summary-line small { display: block; font-size: 13px; line-height: 18px; color: var(--ink-2); }
.hr-summary-total { margin-top: var(--space-3); padding-top: var(--space-4); border-top: 1px solid var(--line); font-size: 17px; line-height: 26px; font-weight: 600; }
.hr-summary-note { margin: var(--space-3) 0 0; font-size: 13px; line-height: 18px; color: var(--ink-2); }
/* The checkout button rides the bottom of the screen while the choices above it scroll, and
   settles under the summary. The negative margin closes the panel's gap to the summary. */
.hr-config-checkout { position: sticky; bottom: var(--space-4); z-index: 2; margin-top: calc(var(--space-5) - var(--space-7)); }
/* A fade of the page ground behind the button, so what scrolls under it does not show through. */
.hr-config-checkout::before { content: ''; position: absolute; z-index: -1; inset: calc(var(--space-5) * -1) 0 calc(var(--space-3) * -1); background: linear-gradient(to bottom, transparent, var(--ground) 45%); pointer-events: none; }
.hr-config-cta { box-sizing: border-box; width: 100%; box-shadow: var(--shadow-nav); }
/* These rows set their own display, so the hidden attribute needs saying again. */
.hr-summary-line[hidden], .hr-summary-line small[hidden], .hr-addon-match[hidden] { display: none; }
.hr-config-fine { margin: calc(var(--space-3) - var(--space-7)) 0 0; font-size: 13px; line-height: 18px; color: var(--ink-2); text-align: center; }
/* The choices only work once buy.js is running, because it is what points the checkout link at
   the chosen build. Until it marks the wrapper is-ready they stay hidden, and if it never does
   (no JavaScript, a failed load, an error) plain cart links stand in for them. is-pending covers
   the moment between the page arriving and the script starting, so the links do not flash. */
.hr-config:not(.is-ready) .hr-config-live { display: none; }
.hr-config.is-ready .hr-config-fallback, .hr-config.is-pending .hr-config-fallback { display: none; }
.hr-config-fallback { display: grid; gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
@media (max-width: 960px) {
  .hr-config { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
  /* One column: the photo leads and the contact card follows the order. */
  .hr-config-aside { display: contents; }
  .hr-config-contact { order: 1; }
}
@media (max-width: 720px) {
  .hr-config-panel { gap: var(--space-6); }
  .hr-config-checkout { margin-top: calc(var(--space-5) - var(--space-6)); }
  .hr-config-fine { margin-top: calc(var(--space-3) - var(--space-6)); }
  .hr-option, .hr-config-contact { padding: var(--space-4); gap: var(--space-3); }
  .hr-addon { grid-template-columns: var(--space-8) minmax(0, 1fr); }
  .hr-addon-photo { width: var(--space-8); height: var(--space-8); }
  .hr-addon .hr-stepper { grid-column: 1 / -1; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  .hr-option, .hr-option-dot::after, .hr-addon { transition: none; }
}

