/* === iProv Outcomes Pages v5 ===
 * Work.co-style: metrics ARE the design.
 * Giant typography, no cards, no decoration.
 * Shared by hub (/outcomes/) and story pages.
 */

/* ── Break out of Genesis/Altitude Pro content container ── */
.site-inner,
.content-sidebar-wrap,
.content,
.full-width-content .content,
.entry-content,
.entry {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
}

/* Hide Genesis elements on outcomes pages */
.entry-header,
.site-header,
.site-footer,
.nav-primary,
.nav-secondary,
.sidebar,
.breadcrumb,
.footer-widgets {
  display: none !important;
}

/* ── Reset & Base ── */
.outcomes-page {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #353E48;
  line-height: 1.6;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.outcomes-page *,
.outcomes-page *::before,
.outcomes-page *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.outcomes-page a { color: inherit; }

/* ── Skip Link ── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 24px;
  background: #353E48;
  color: #fff !important;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none !important;
  transition: top 150ms ease;
}

.skip-link:focus {
  top: 16px;
  outline: 3px solid #1BB576;
  outline-offset: 2px;
}
.outcomes-page img { display: block; max-width: 100%; }

/* ── Hide WP Admin Bar ── */
.outcomes-page #wpadminbar { display: none !important; }
html.outcomes-page { margin-top: 0 !important; }

/* ── Override Genesis .entry-content link underlines ── */
.entry-content .outcomes-page a { text-decoration: none !important; }
.entry-content .outcomes-page a:hover { text-decoration: none !important; }

/* ── Layout Container ── */
.outcomes-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ── Header ── */
.outcomes-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 0;
  border-bottom: 1px solid #e5e7eb;
}

.outcomes-header-logo {
  height: 36px;
}

.outcomes-header-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #6b7280;
  letter-spacing: 0.02em;
}

/* ── Hero Metric (full-width, giant) ── */
.outcomes-hero-metric {
  padding: 80px 0 40px;
}

.outcomes-metric-giant {
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: #1BB576;
}

.outcomes-metric-giant-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  color: #353E48;
  margin-top: 16px;
  margin-bottom: 12px;
}

.outcomes-metric-giant-desc {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.6;
  max-width: 480px;
}

/* ── Story Link ── */
.outcomes-story-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1BB576;
  text-decoration: none !important;
  transition: opacity 150ms ease;
}

.outcomes-story-link:hover {
  opacity: 0.7;
  text-decoration: none !important;
}

/* ── Three-up Metrics Row ── */
.outcomes-metrics-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  padding: 64px 0;
  border-top: 1px solid #e5e7eb;
}

/* ── Two-up Metrics Row ── */
.outcomes-metrics-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 64px 0;
  border-top: 1px solid #e5e7eb;
}

/* ── Metric Items ── */
.outcomes-metric-large {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #353E48;
}

.outcomes-metric-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #353E48;
  margin-top: 12px;
  margin-bottom: 8px;
}

.outcomes-metric-desc {
  font-size: 0.88rem;
  color: #6b7280;
  line-height: 1.55;
}

/* ── Metric as Quote ── */
.outcomes-metric-quote {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #353E48;
}

/* ── CTA Section ── */
.outcomes-cta {
  padding: 80px 0;
  border-top: 1px solid #e5e7eb;
}

.outcomes-cta-text {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 700;
  line-height: 1.3;
  max-width: 500px;
  margin-bottom: 24px;
}

.outcomes-cta-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  background: #1BB576;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none !important;
  transition: background 200ms ease, transform 200ms ease;
}

.outcomes-cta-btn:hover {
  background: #159960;
  transform: translateY(-2px);
  text-decoration: none !important;
  color: #fff !important;
}

/* ── Back Link (story pages) ── */
.outcomes-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  margin-bottom: 40px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #6b7280;
  text-decoration: none !important;
  transition: color 150ms ease;
}

.outcomes-back:hover {
  color: #353E48;
  text-decoration: none !important;
}

/* ── Scroll Reveal ── */
.outcomes-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.outcomes-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .outcomes-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── Gravity Form in CTA ── */
.outcomes-cta .gform_wrapper {
  max-width: 500px;
  margin-top: 8px;
}

.outcomes-cta .gform_wrapper input[type="text"],
.outcomes-cta .gform_wrapper input[type="email"],
.outcomes-cta .gform_wrapper input[type="tel"],
.outcomes-cta .gform_wrapper textarea,
.outcomes-cta .gform_wrapper select {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 0.95rem !important;
  padding: 12px 16px !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: #111 !important;
  transition: border-color 150ms ease !important;
}

.outcomes-cta .gform_wrapper input:focus,
.outcomes-cta .gform_wrapper textarea:focus,
.outcomes-cta .gform_wrapper select:focus {
  border-color: #1BB576 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(27, 181, 118, 0.1) !important;
}

.outcomes-cta .gform_wrapper .gform_button,
.outcomes-cta .gform_wrapper input[type="submit"] {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  display: inline-block !important;
  padding: 14px 32px !important;
  border-radius: 8px !important;
  background: #1BB576 !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  border: none !important;
  cursor: pointer !important;
  transition: background 200ms ease, transform 200ms ease !important;
}

.outcomes-cta .gform_wrapper .gform_button:hover,
.outcomes-cta .gform_wrapper input[type="submit"]:hover {
  background: #159960 !important;
  transform: translateY(-2px) !important;
}

.outcomes-cta .gform_wrapper label {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: #111 !important;
}

.outcomes-cta .gform_wrapper .gfield_description,
.outcomes-cta .gform_wrapper .gform_validation_errors {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 0.85rem !important;
}

/* ==========================================================
   STORY PAGES (Work.co case study style)
   ========================================================== */

/* ── Story Hero ── */
.story-hero {
  padding: 48px 0 0;
  position: relative;
  min-height: 500px;
}

.story-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
}

.story-hero-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 80px;
}

.story-hero-logo {
  height: 40px;
  filter: brightness(0) invert(1);
}

.story-hero-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  text-decoration: none !important;
  transition: color 150ms ease;
  padding: 12px 0;
  display: inline-block;
}

.story-hero-nav a:hover {
  color: #fff;
  text-decoration: none !important;
}

.story-hero-client {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.story-hero-headline {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.25;
  max-width: 700px;
  margin-bottom: 64px;
}

/* ── Hero Media (video/image breaking boundary) ── */
.story-hero-media {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  transform: translateY(80px);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
}

.story-hero-media .video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  background: #000;
}

.story-hero-media iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ── YouTube Facade ── */
.yt-facade {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  background: #000;
  cursor: pointer;
  overflow: hidden;
}

.yt-facade-thumb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  height: auto;
  pointer-events: none;
}

/* Dark overlay so play button pops */
.yt-facade::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  z-index: 1;
  transition: background 200ms ease;
}

.yt-facade:hover::before {
  background: rgba(0,0,0,0.4);
}

/* Play button - large, centered */
.yt-facade-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 88px;
  height: 88px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  pointer-events: none;
  transition: transform 200ms ease, box-shadow 200ms ease;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.yt-facade:hover .yt-facade-play {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.yt-facade-play::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 16px 0 16px 28px;
  border-color: transparent transparent transparent #353E48;
}

/* "Watch the story" label */
.yt-facade-label {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.03em;
  pointer-events: none;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.yt-facade--loaded {
  cursor: default;
}

.yt-facade--loaded::before {
  display: none;
}

/* ── Hero Metric Visual (for stories without video) ── */
.story-hero-metric-visual {
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  transform: translateY(80px);
  text-align: center;
  background: #fff;
  border-radius: 12px;
  padding: 48px 64px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
}

.story-hero-metric-visual .metric-display {
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}

.story-hero-metric-visual .metric-unit {
  font-size: 1.1rem;
  font-weight: 600;
  color: #6b7280;
  margin-top: 8px;
}

/* ── Story Content Area ── */
.story-content {
  padding-top: 120px;
  background: #fff;
}

/* ── Story Row (label left, content right) ── */
.story-row {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  border-top: 1px solid #e5e7eb;
}

.story-row:first-child {
  border-top: none;
}

.story-row-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #353E48;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-top: 4px;
}

.story-row-label a {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: underline !important;
  text-transform: none;
  letter-spacing: 0;
  padding: 10px 0;
}

.story-row-label a:hover {
  opacity: 0.7;
}

/* ── Capability List ── */
.story-capabilities {
  list-style: disc;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.story-capabilities li {
  font-size: 0.95rem;
  color: #353E48;
  line-height: 1.5;
}

/* ── Outcomes Grid ── */
.story-outcomes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 64px;
}

.story-outcome-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
}

.story-outcome-desc {
  font-size: 0.88rem;
  color: #6b7280;
  line-height: 1.5;
  margin-top: 8px;
}

/* ── Overview ── */
.story-overview p {
  font-size: 1rem;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 16px;
}

.story-overview p:last-child {
  margin-bottom: 0;
}

/* ── Quote Section ── */
.story-quote-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 48px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}

.story-quote {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: #353E48;
  max-width: 750px;
  margin: 0 auto 24px;
}

.story-quote-attr {
  font-size: 0.85rem;
  font-weight: 600;
  color: #6b7280;
}

/* ── Takeaway Sections ── */
.story-takeaway {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
  border-top: 1px solid #e5e7eb;
}

.story-takeaway-header {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  padding: 64px 0 40px;
}

.story-takeaway-number {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.story-takeaway-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #353E48;
  line-height: 1.2;
}

.story-takeaway-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  padding-bottom: 40px;
}

.story-takeaway-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #374151;
}

/* ── Story CTA ── */
.story-cta {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 48px;
  border-top: 1px solid #e5e7eb;
}

.story-cta-text {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 24px;
}

.story-cta-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  background: #1BB576;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none !important;
  transition: background 200ms ease, transform 200ms ease;
}

.story-cta-btn:hover {
  background: #159960;
  transform: translateY(-2px);
  text-decoration: none !important;
  color: #fff !important;
}

/* ── More Outcomes ── */
.story-more {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 48px 80px;
  border-top: 1px solid #e5e7eb;
}

.story-more-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #353E48;
  margin-bottom: 32px;
}

.story-more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.story-more-card {
  text-decoration: none !important;
  color: inherit;
  padding: 32px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  transition: border-color 200ms ease, transform 200ms ease;
  display: block;
}

.story-more-card:hover {
  border-color: #353E48;
  transform: translateY(-2px);
  text-decoration: none !important;
}

.story-more-card-client {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
  margin-bottom: 8px;
}

.story-more-card-metric {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
}

.story-more-card-desc {
  display: block;
  font-size: 0.85rem;
  color: #6b7280;
}

/* ── Genesis link override for story pages ── */
.entry-content .story-hero a,
.entry-content .story-content a {
  text-decoration: none !important;
}

.entry-content .story-content a:hover {
  text-decoration: none !important;
}

.entry-content .story-row-label a {
  text-decoration: underline !important;
}

/* ── Responsive (hub) ── */
@media (max-width: 768px) {
  .outcomes-wrap { padding: 0 24px; }
  .outcomes-metrics-3 { grid-template-columns: 1fr; gap: 32px; }
  .outcomes-metrics-2 { grid-template-columns: 1fr; gap: 32px; }
  .outcomes-hero-metric { padding: 40px 0 24px; }
  .outcomes-metric-giant { font-size: 5rem; }
  .outcomes-header { padding: 24px 0; }
  .outcomes-cta { padding: 48px 0; }
}

@media (max-width: 480px) {
  .outcomes-wrap { padding: 0 16px; }
  .outcomes-metric-giant { font-size: 3.5rem; }
  .outcomes-metric-large { font-size: 2.5rem; }
  .outcomes-metric-giant-desc { font-size: 0.88rem; }
  .outcomes-cta-btn { display: block; text-align: center; }
}

/* ── Responsive (story) ── */
@media (max-width: 768px) {
  .story-hero { min-height: auto; }
  .story-hero-inner { padding: 0 24px; }
  .story-hero-header { margin-bottom: 40px; }
  .story-hero-client { font-size: 1.6rem; }
  .story-hero-headline { font-size: 1.3rem; margin-bottom: 40px; }
  .story-hero-media { transform: translateY(48px); }
  .story-hero-metric-visual { transform: translateY(48px); padding: 32px; }
  .story-content { padding-top: 80px; }

  .story-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 32px 24px;
  }

  /* Align capabilities on mobile (override .entry-content ul) */
  .story-capabilities {
    padding-left: 20px !important;
    list-style: disc !important;
  }

  .story-capabilities::before {
    content: 'Services';
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #353E48;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
    margin-left: -20px;
  }

  .story-takeaway-header,
  .story-takeaway-body {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-left: 0;
    padding-right: 0;
  }

  .story-takeaway-header { padding-top: 40px; padding-bottom: 24px; }

  .story-quote-section { padding: 48px 24px; }
  .story-quote { font-size: 1.15rem; }
  .story-takeaway { padding: 0 24px; }
  .story-cta { padding: 48px 24px; }
  .story-cta-btn { display: block; text-align: center; }
  .story-more { padding: 48px 24px; }
  .story-more-grid { grid-template-columns: 1fr; gap: 16px; }

  .story-outcomes { gap: 24px 32px; }
  .story-outcome-number { font-size: 2rem; }
}

@media (max-width: 480px) {
  .story-outcomes { grid-template-columns: 1fr; }
  .story-hero-logo { height: 32px; }
  .irc-device-screen { height: 200px; }
}

/* ── IRC Hero Showcase (device frame + gauge overlay) ── */
.irc-hero-showcase {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  transform: translateY(80px);
  z-index: 2;
}

.irc-device-frame {
  background: #1a1a2e;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
}

.irc-device-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: #2a2a3e;
}

.irc-device-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.irc-device-dot:first-child { background: #ff5f56; }
.irc-device-dot:nth-child(2) { background: #ffbd2e; }
.irc-device-dot:nth-child(3) { background: #27c93f; }

.irc-device-url {
  margin-left: 12px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  font-family: 'Inter', -apple-system, sans-serif;
}

.irc-device-screen {
  height: 380px;
  overflow: hidden;
  position: relative;
}

.irc-scroll-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.irc-gauge-overlay {
  position: absolute;
  bottom: -32px;
  right: -32px;
  width: 160px;
  background: rgba(26, 26, 46, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  text-align: center;
  z-index: 3;
}

.irc-gauge-overlay .gauge-svg {
  width: 110px;
  height: 110px;
}

.irc-gauge-overlay .gauge-label {
  font-size: 0.72rem;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .irc-hero-showcase { transform: translateY(48px); }
  .irc-device-screen { height: 260px; }
  .irc-gauge-overlay {
    bottom: -24px;
    right: -8px;
    width: 120px;
    padding: 14px;
  }
  .irc-gauge-overlay .gauge-svg { width: 80px; height: 80px; }
}

/* ── Lighthouse Gauge Animation (IRC story) ── */
.gauge-wrap { position: relative; }
.gauge-svg { width: 180px; height: 180px; display: block; margin: 0 auto; }
.gauge-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #6b7280;
  margin-top: 12px;
  text-align: center;
}
.gauge-bg { opacity: 0.3; }

.gauge-ring--before {
  stroke-dashoffset: 337;
  animation: gaugeDisappear 0.6s ease-in 2s forwards;
}

.gauge-ring--after {
  stroke-dashoffset: 553;
  animation: gaugeAppear 1.2s ease-out 2.6s forwards;
}

.gauge-score {
  animation: scoreSwap 0.4s ease-in-out 2.8s forwards;
}

@keyframes gaugeDisappear {
  to { stroke-dashoffset: 553; opacity: 0; }
}

@keyframes gaugeAppear {
  to { stroke-dashoffset: 17; }
}

@keyframes scoreSwap {
  0% { opacity: 1; }
  40% { opacity: 0; }
  41% { opacity: 0; }
  100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .gauge-ring--before { animation: none; stroke-dashoffset: 553; opacity: 0; }
  .gauge-ring--after { animation: none; stroke-dashoffset: 17; }
}
