/* ==========================================================================
   STORYBOARD: AURA (2026-11-09)
   Page-specific layer on top of storyboard.css (the sb3 system from the
   Clinic storyboard, APPLE-STANDARD.md grammar). Loaded after
   storyboard.css on aura-story.html only. Additions: the designed phone
   frame that mirrors the prototype screens, the byline, and the
   guided-journey exit. Brand: Deep Navy #0A1826 ground via the site
   system, Health Teal #12B8B0 on the phone progress bar only, Clinical
   Blue #0284C7 unused here beyond links inherited from the base system.
   ========================================================================== */

/* Byline under the cold open support line ------------------------------- */
.aur-byline {
  margin-top: 14px !important;
  font-size: 13px !important;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.66) !important;
}

/* Pinned sequence: one track, two phone beats, one staged fact ---------- */
.aur-track { height: 340vh; }
.aur-stage-phone {
  position: absolute;
  left: 5vw;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  opacity: 0;
  pointer-events: none;
}

/* The phone frame: a designed view of the prototype screens ------------- */
.aur-phone {
  width: 300px;
  max-width: calc(100vw - 48px);
  background: #0A1826;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  padding: 12px 12px 0;
  box-shadow: 0 30px 80px rgba(3, 6, 14, 0.55);
  color: #fff;
  font-family: "Inter", sans-serif;
  text-align: left;
}
.aur-phone-notch {
  width: 84px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.22);
  margin: 2px auto 10px;
}
.aur-phone-bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 0 6px 10px;
}
.aur-phone-bar .aur-air {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.62);
  text-transform: none;
}
.aur-screen {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 16px 16px 14px;
  min-height: 300px;
}
.aur-screen-title {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 12px;
  color: #fff;
}
.aur-card {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 0 0 10px;
}
.aur-card-name {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 6px;
  color: #fff;
}
.aur-card-sub {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 3px;
}
.aur-bar {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.14);
  margin-top: 8px;
  overflow: hidden;
}
.aur-bar span {
  display: block;
  height: 100%;
  background: #12B8B0;
  border-radius: 3px;
}
.aur-sec {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 14px 0 8px;
}
.aur-sec:first-of-type { margin-top: 2px; }
.aur-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
  padding: 7px 0;
  color: rgba(255, 255, 255, 0.92);
}
.aur-on { font-size: 12px; font-weight: 700; color: #12B8B0; }
.aur-off { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, 0.45); }
.aur-kill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 12px 0;
  color: #fff;
}
.aur-note {
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
  margin: 12px 0 0;
}
.aur-nav {
  display: flex;
  justify-content: space-between;
  gap: 2px;
  padding: 12px 2px 14px;
}
.aur-nav-item {
  font-size: 9.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
}
.aur-nav-item.is-on { color: #fff; }

/* Static fallback: the two phone views side by side ---------------------- */
.aur-fallback-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin: 8px 0 4px;
}
.aur-fallback-phones figure { margin: 0; }
.aur-fallback-phones figcaption {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 300px;
  margin-top: 14px;
}

/* Guided-journey exit ------------------------------------------------------ */
.sb3-exit { padding: 40px 0 10px; }
.sb3-exit-link {
  font-weight: 600;
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  text-decoration: none;
}
.sb3-exit-link:hover { text-decoration: underline; text-underline-offset: 6px; }
.sb3-exit .sb3-support { margin-top: 12px; }

@media (max-width: 820px) {
  .aur-phone { width: 300px; }
  .aur-fallback-phones { gap: 22px; }
}
