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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Assistant", sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: #334155;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   LAYOUT
   ============================================ */
.blog-layout {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 24px;
  gap: 60px;
}

/* ============================================
   SIDEBAR NAVIGATION
   ============================================ */
.blog-sidebar {
  position: sticky;
  top: 40px;
  width: 280px;
  min-width: 280px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  padding-right: 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.blog-sidebar::-webkit-scrollbar {
  display: none;
}

/* Close button — hidden on desktop */
.sidebar-close {
  display: none;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: "Assistant", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
  margin-bottom: 16px;
}

.sidebar-close:hover {
  color: #bf3425;
  background: #fef7f6;
}

.sidebar-close svg {
  flex-shrink: 0;
}

.blog-sidebar-title {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #9d9d9c;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-left: 12px;
}

.blog-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.blog-sidebar-link {
  font-family: "Assistant", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #64748b;
  padding: 10px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: block;
}

.blog-sidebar-link:hover {
  color: #47577c;
  background-color: #f8fafc;
}

.blog-sidebar-link.active {
  color: #bf3425;
  background-color: #fef7f6;
  font-weight: 700;
}

/* ============================================
   MOBILE NAV TOGGLE
   ============================================ */
.mobile-nav-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #bf3425 0%, #9d2a1e 100%);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(191, 52, 37, 0.4);
  transition: all 0.3s ease;
  align-items: center;
  justify-content: center;
}

.mobile-nav-toggle:hover {
  transform: scale(1.1);
}

.mobile-nav-toggle svg {
  width: 24px;
  height: 24px;
  stroke: #ffffff;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.blog-content {
  flex: 1;
  max-width: 900px;
  min-width: 0;
}

/* ============================================
   BLOG META
   ============================================ */
.blog-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: #64748b;
  margin-bottom: 10px;
}

.blog-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-meta-icon {
  width: 16px;
  height: 16px;
  color: #64748b;
  flex-shrink: 0;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.blog-content h1 {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 2.75rem;
  line-height: 1.15;
  color: #1e293b;
  margin-bottom: 1.5rem;
}

.blog-content h2 {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  color: #1e293b;
  margin-top: 3.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #bf3425;
}

.blog-content h3 {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #47577c;
  margin-top: 2rem;
  margin-bottom: 0.875rem;
}

.blog-content h4 {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #1e293b;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.blog-content ul,
.blog-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.blog-content li {
  margin-bottom: 0.625rem;
  font-size: 1.0625rem;
}

.blog-content a {
  color: #47577c;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
  transition: color 0.2s;
}

.blog-content a:hover {
  color: #bf3425;
}

/* Subtitle */
.subtitle {
  font-size: 1.25rem;
  font-style: italic;
  color: #47577c;
  margin-bottom: 2rem;
}

/* Drop Cap */
.drop-cap::first-letter {
  float: left;
  font-family: "Archivo", sans-serif;
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 0.8;
  color: #bf3425;
  margin-right: 12px;
  margin-top: 8px;
}

/* ============================================
   IMAGES
   ============================================ */
.full-width-image {
  width: 100%;
  border-radius: 12px;
  margin: 2rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: block;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.full-width-image:hover {
  transform: scale(1.01);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.image-caption {
  font-size: 0.875rem;
  color: #64748b;
  text-align: center;
  margin-top: -1.25rem;
  margin-bottom: 2rem;
  font-style: italic;
}

/* ============================================
   SPLIT LAYOUT
   ============================================ */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin: 2.5rem 0;
}

.split-layout.reverse {
  direction: rtl;
}

.split-layout.reverse > * {
  direction: ltr;
}

.split-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: block;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.split-image img:hover {
  transform: scale(1.01);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.split-text h3 {
  margin-top: 0;
}

/* ============================================
   IMAGE GRID (3-UP)
   ============================================ */
.image-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}

.image-grid-item img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  display: block;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.image-grid-item img:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

.image-grid-item .image-caption {
  margin-top: 0.5rem;
  margin-bottom: 0;
}

/* ============================================
   INTRO / HIGHLIGHT CARDS
   ============================================ */
.intro-card {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem 0;
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.intro-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #bf3425, #47577c);
}

.highlight-box {
  background: linear-gradient(135deg, #fef7f6 0%, #fff8f7 100%);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  border: 1px solid #fbd5d0;
}

.highlight-box p {
  margin-bottom: 0;
}
.highlight-box h4 {
  color: #bf3425;
  margin-top: 0;
}

.highlight-box.dark {
  background: linear-gradient(135deg, #1e293b 0%, #2d3a52 100%);
  border-color: #334155;
  color: #e2e8f0;
}

.highlight-box.dark h4 {
  color: #f87171;
}
.highlight-box.dark p {
  color: #cbd5e1;
  margin-bottom: 0;
}

/* ============================================
   FEATURE GRID
   ============================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  border-color: #47577c;
  box-shadow: 0 8px 25px -5px rgba(71, 87, 124, 0.15);
  transform: translateY(-2px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #47577c 0%, #1e293b 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
  transition: background 0.3s;
}

.feature-item:hover .feature-icon {
  background: linear-gradient(135deg, #bf3425 0%, #9d2a1e 100%);
}

.feature-item h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}
.feature-item p {
  margin-bottom: 0;
  font-size: 0.9375rem;
  color: #475569;
}

/* ============================================
   STATS GRID
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.stat-card {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: #bf3425;
  box-shadow: 0 8px 25px -5px rgba(191, 52, 37, 0.12);
  transform: translateY(-2px);
}

.stat-value {
  font-family: "Archivo", sans-serif;
  font-size: 1.625rem;
  font-weight: 700;
  color: #bf3425;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.4;
}

/* ============================================
   DATA TABLE
   ============================================ */
.data-table-container {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  background: #ffffff;
}

.data-table thead {
  background: linear-gradient(135deg, #1e293b 0%, #2d3a52 100%);
}

.data-table th {
  padding: 14px 16px;
  text-align: left;
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  vertical-align: top;
}

.data-table tbody tr:hover {
  background-color: #f8fafc;
}
.data-table tbody tr:last-child td {
  border-bottom: none;
}

/* ============================================
   INFOGRAPHIC PLACEHOLDERS
   ============================================ */
.infographic-placeholder {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  margin: 2.5rem 0;
  text-align: center;
  color: #64748b;
}

.infographic-label {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: #47577c;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.infographic-description {
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.6;
}

/* ============================================
   LEARN MORE CARDS
   ============================================ */
.learn-more-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.learn-more-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.learn-more-card:hover {
  border-color: #bf3425;
  box-shadow: 0 8px 25px -5px rgba(191, 52, 37, 0.15);
  transform: translateY(-2px);
}

.learn-more-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #47577c 0%, #1e293b 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s;
  color: #ffffff;
}

.learn-more-card:hover .learn-more-icon {
  background: linear-gradient(135deg, #bf3425 0%, #9d2a1e 100%);
}

.learn-more-icon svg {
  width: 24px;
  height: 24px;
  color: #ffffff;
}

.learn-more-text {
  display: flex;
  flex-direction: column;
}

.learn-more-title {
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #1e293b;
  transition: color 0.3s;
}

.learn-more-card:hover .learn-more-title {
  color: #bf3425;
}

.learn-more-desc {
  font-size: 0.875rem;
  color: #64748b;
  margin-top: 0.25rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, #fef7f6 0%, #ffffff 100%);
  border: 2px solid #bf3425;
  border-radius: 16px;
  padding: 2rem;
  margin: 2.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #bf3425, #47577c);
}

.cta-section p {
  margin-bottom: 1.25rem;
  color: #1e293b;
  font-size: 1.125rem;
}

.cta-button {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, #bf3425 0%, #9d2a1e 100%);
  color: #ffffff !important;
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px -5px rgba(191, 52, 37, 0.4);
  color: #ffffff !important;
}

/* ============================================
   REFERENCES LIST
   ============================================ */
.references-list {
  padding-left: 1.5rem;
}

.references-list li {
  font-size: 0.9375rem;
  color: #475569;
  margin-bottom: 1rem;
  line-height: 1.65;
}

.references-list a {
  font-weight: 400;
  word-break: break-all;
}

/* ============================================
   AUTHOR SECTION
   ============================================ */
.author-section {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.author-card {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid #e2e8f0;
}

.author-image-wrapper {
  flex-shrink: 0;
}

.author-image {
  width: 180px;
  height: 180px;
  border-radius: 16px;
  object-fit: cover;
  display: block;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

.author-info {
  flex: 1;
  min-width: 0;
}

.author-name {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #1e293b;
  margin-bottom: 4px;
  text-decoration: underline;
  text-decoration-color: #bf3425;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.author-title {
  font-size: 1rem;
  font-weight: 600;
  color: #47577c;
  margin-bottom: 16px;
}

.author-social {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.author-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #f8fafc;
  border-radius: 10px;
  transition:
    transform 0.2s,
    background 0.2s;
  text-decoration: none;
}

.author-social a:hover {
  transform: scale(1.1);
  background: #e2e8f0;
}

.author-social svg {
  width: 24px;
  height: 24px;
}

.about-author-label {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: #bf3425;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.author-bio {
  font-size: 0.9375rem;
  color: #475569;
  line-height: 1.7;
  text-align: justify;
  margin: 0;
}

/* ============================================
   SECTION SCROLL MARGIN
   ============================================ */
section {
  scroll-margin-top: 40px;
}

/* ============================================
   RESPONSIVE — 1024px
   ============================================ */
@media (max-width: 1024px) {
  .blog-layout {
    flex-direction: column;
    gap: 32px;
  }

  /* Sidebar becomes horizontal pills on tablet */
  .blog-sidebar {
    position: relative;
    top: 0;
    width: 100%;
    min-width: 100%;
    max-height: none;
    padding-right: 0;
    padding-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
  }

  .blog-sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .blog-sidebar-link {
    font-size: 13px;
    padding: 8px 12px;
  }

  .blog-content h1 {
    font-size: 2rem;
  }

  .split-layout {
    grid-template-columns: 1fr;
  }

  .split-layout.reverse {
    direction: ltr;
  }
  .split-layout.reverse > * {
    direction: ltr;
  }

  .feature-grid,
  .learn-more-container {
    grid-template-columns: 1fr;
  }

  .image-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .author-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .author-social {
    justify-content: center;
  }
  .author-bio {
    text-align: center;
  }
}

/* ============================================
   RESPONSIVE — 768px (Mobile, sidebar overlay)
   ============================================ */
@media (max-width: 768px) {
  /* Show hamburger button */
  .mobile-nav-toggle {
    display: flex;
  }

  /* Sidebar becomes full-screen overlay */
  .blog-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: #ffffff;
    z-index: 999;
    padding: 20px;
    overflow-y: auto;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    border-bottom: none;
    max-height: 100vh;
  }

  .blog-sidebar.active {
    transform: translateY(0);
  }

  /* Show close button inside sidebar */
  .sidebar-close {
    display: flex;
  }

  .blog-sidebar-nav {
    flex-direction: column;
    gap: 4px;
  }

  .blog-sidebar-link {
    font-size: 16px;
    padding: 14px 16px;
    border-radius: 8px;
  }

  .blog-sidebar-title {
    font-size: 12px;
    margin-bottom: 20px;
    padding-top: 8px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .image-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   RESPONSIVE — 640px
   ============================================ */
@media (max-width: 640px) {
  .blog-layout {
    padding: 20px 12px;
  }

  .blog-content h1 {
    font-size: 1.75rem;
  }
  .blog-content h2 {
    font-size: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .intro-card,
  .highlight-box {
    padding: 1.25rem;
  }

  .cta-button {
    width: 100%;
    text-align: center;
    padding: 1rem;
  }

  .learn-more-card {
    padding: 1rem;
  }

  .learn-more-icon {
    width: 40px;
    height: 40px;
  }

  .learn-more-icon svg {
    width: 20px;
    height: 20px;
  }

  .feature-item {
    flex-direction: column;
  }
  .feature-icon {
    width: 40px;
    height: 40px;
  }

  .author-image {
    width: 140px;
    height: 140px;
  }

  .author-card {
    padding: 1.25rem;
  }
}

/* ============================================
   RESPONSIVE — 480px
   ============================================ */
@media (max-width: 480px) {
  .blog-layout {
    padding: 16px 10px;
  }

  .blog-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .cta-section {
    padding: 1.25rem;
  }

  .author-image {
    width: 100px;
    height: 100px;
  }

  .learn-more-container {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .blog-sidebar,
  .mobile-nav-toggle,
  .cta-section,
  .author-social {
    display: none;
  }

  .blog-layout {
    display: block;
    padding: 0;
  }

  .blog-content {
    max-width: 100%;
  }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   HIGH CONTRAST
   ============================================ */
@media (prefers-contrast: high) {
  .blog-sidebar-link.active {
    outline: 2px solid #bf3425;
  }

  .learn-more-card,
  .feature-item,
  .stat-card {
    border-width: 2px;
  }
}
/* <!-- INFOGRAPHIC 1: THERMOSET vs. THERMOPLASTIC — PHASE BEHAVIOUR --> */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap");

.cfrpw-root {
  font-family: "DM Sans", sans-serif;
  background: #ffffff;
  border-radius: 16px;
  padding: 36px 28px 32px;
  box-shadow: 0 4px 24px rgba(71, 87, 124, 0.1);
  max-width: 860px;
  margin: 0 auto;
}
/* ============================================
   SPLIT IMAGE CAPTION FIX
   Caption always below image even in split layouts
   ============================================ */
.split-image .image-caption {
  margin-top: 0.75rem;
  margin-bottom: 0;
  text-align: left;
}
/* <!-- INFOGRAPHIC SECTION 1: LAYUP AND STIFFNESS ASYMMETRY --> */
.lsa-wrap {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 28px 28px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  max-width: 820px;
  margin: 0 auto;
}

.lsa-header {
  margin-bottom: 28px;
}

.lsa-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9d9d9c;
  margin-bottom: 6px;
}

.lsa-title {
  font-size: 20px;
  font-weight: 700;
  color: #47577c;
  margin: 0 0 4px;
  line-height: 1.3;
}

.lsa-subtitle {
  font-size: 13px;
  color: #9d9d9c;
  font-style: italic;
}

/* Main layout */
.lsa-body {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 28px;
  align-items: start;
}

/* Stack section */
.lsa-stack-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9d9d9c;
  margin-bottom: 10px;
}

.lsa-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.lsa-ply {
  display: grid;
  grid-template-columns: 52px 1fr 110px;
  align-items: center;
  height: 52px;
  padding: 0 14px 0 10px;
  gap: 10px;
  opacity: 0;
  transform: translateX(-18px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
  position: relative;
  cursor: pointer;
}

.lsa-ply.visible {
  opacity: 1;
  transform: translateX(0);
}

.lsa-ply-hoop {
  background: #47577c;
}

.lsa-ply-offaxis {
  background: #5e6f96;
}

/* Separator line between ply groups */
.lsa-ply-sep {
  height: 2px;
  background: rgba(255, 255, 255, 0.25);
  margin: 0;
}

/* Mirror indicator */
.lsa-mirror-band {
  height: 10px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.18) 0px,
    rgba(255, 255, 255, 0.18) 6px,
    transparent 6px,
    transparent 12px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.lsa-mirror-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  background: #47577c;
  padding: 1px 8px;
  border-radius: 4px;
  position: relative;
  z-index: 1;
}

.lsa-ply-num {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  font-variant-numeric: tabular-nums;
}

/* SVG fiber lines */
.lsa-fiber-svg {
  width: 100%;
  height: 36px;
  overflow: visible;
}

.lsa-ply-tag {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.lsa-angle-badge {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.lsa-ply-role {
  font-size: 9.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  text-align: right;
}

/* Hover tooltip */
.lsa-ply::after {
  content: attr(data-tip);
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: #1e293b;
  color: #fff;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 0.2s,
    transform 0.2s;
  z-index: 10;
}

.lsa-ply:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Right panel */
.lsa-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Modulus ratio card */
.lsa-modulus-card {
  background: #f8fafc;
  border-radius: 12px;
  padding: 18px 16px;
  border: 1px solid #e2e8f0;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.5s ease 0.6s,
    transform 0.5s ease 0.6s;
}

.lsa-modulus-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.lsa-modulus-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9d9d9c;
  margin-bottom: 14px;
}

.lsa-modulus-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 8px;
}

.lsa-modulus-dir {
  font-size: 12px;
  font-weight: 600;
  color: #47577c;
  min-width: 56px;
}

.lsa-bar-track {
  flex: 1;
  height: 10px;
  background: #e2e8f0;
  border-radius: 5px;
  overflow: hidden;
}

.lsa-bar-fill {
  height: 100%;
  border-radius: 5px;
  width: 0%;
  transition: width 1s ease 0.9s;
}

.lsa-bar-hoop {
  background: #47577c;
}
.lsa-bar-axial {
  background: #9d9d9c;
}

.lsa-modulus-val {
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
  font-variant-numeric: tabular-nums;
  min-width: 28px;
  text-align: right;
}

/* Ratio display */
.lsa-ratio-box {
  margin-top: 14px;
  background: #47577c;
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.lsa-ratio-num {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1;
}

.lsa-ratio-desc {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  text-align: center;
}

/* Legend */
.lsa-legend-card {
  background: #f8fafc;
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.5s ease 0.9s,
    transform 0.5s ease 0.9s;
}

.lsa-legend-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.lsa-legend-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9d9d9c;
  margin-bottom: 10px;
}

.lsa-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
}

.lsa-legend-swatch {
  width: 24px;
  height: 10px;
  border-radius: 3px;
}

.lsa-legend-text {
  font-size: 11px;
  color: #475569;
}

/* Sequence notation */
.lsa-notation {
  margin-top: 18px;
  font-size: 12px;
  color: #9d9d9c;
  text-align: center;
  font-family: "Courier New", monospace;
  letter-spacing: 0.02em;
}

@media (max-width: 620px) {
  .lsa-body {
    grid-template-columns: 1fr;
  }
  .lsa-right {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .lsa-modulus-card,
  .lsa-legend-card {
    flex: 1;
    min-width: 160px;
  }
}
/* <!-- INFOGRAPHIC SECTION 2: UNIAXIAL COMPRESSIVE STRENGTH BAR CHART --> */
.ucs-wrap {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 28px 28px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  max-width: 700px;
  margin: 0 auto;
}

.ucs-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9d9d9c;
  margin-bottom: 6px;
}

.ucs-title {
  font-size: 20px;
  font-weight: 700;
  color: #47577c;
  margin: 0 0 4px;
  line-height: 1.3;
}

.ucs-subtitle {
  font-size: 12px;
  color: #9d9d9c;
  font-style: italic;
  margin-bottom: 32px;
}

/* Chart rows */
.ucs-chart {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ucs-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.ucs-row.visible {
  opacity: 1;
  transform: translateY(0);
}

.ucs-row-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.ucs-dir-label {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ucs-dir-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 20px;
  color: #fff;
}

.ucs-badge-axial {
  background: #9d9d9c;
}
.ucs-badge-hoop {
  background: #47577c;
}

.ucs-value-label {
  font-size: 22px;
  font-weight: 800;
  color: #1e293b;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.ucs-value-unit {
  font-size: 12px;
  font-weight: 500;
  color: #9d9d9c;
  margin-left: 2px;
}

/* Bar track */
.ucs-bar-track {
  width: 100%;
  height: 36px;
  background: #f1f5f9;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.ucs-bar-fill {
  height: 100%;
  border-radius: 8px;
  width: 0%;
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}

.ucs-bar-axial-fill {
  background: #9d9d9c;
}
.ucs-bar-hoop-fill {
  background: #47577c;
}

/* X-axis ticks */
.ucs-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding: 0 2px;
}

.ucs-tick {
  font-size: 11px;
  color: #9d9d9c;
  font-variant-numeric: tabular-nums;
  position: relative;
}

.ucs-tick::before {
  content: "";
  display: block;
  width: 1px;
  height: 5px;
  background: #e2e8f0;
  margin: 0 auto 2px;
}

/* Multiplier callout */
.ucs-callout {
  margin-top: 24px;
  background: #f8fafc;
  border-radius: 12px;
  padding: 16px 20px;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.45s ease 0.7s,
    transform 0.45s ease 0.7s;
}

.ucs-callout.visible {
  opacity: 1;
  transform: translateY(0);
}

.ucs-multiplier {
  font-size: 38px;
  font-weight: 900;
  color: #bf3425;
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.ucs-callout-text {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
}

.ucs-callout-text strong {
  color: #1e293b;
  font-weight: 700;
}
/* <!-- INFOGRAPHIC SECTION 3: UNIAXIAL VS BIAXIAL STRENGTH COMPARISON --> */
.ubcs-wrap {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 28px 28px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  max-width: 820px;
  margin: 0 auto;
}

.ubcs-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9d9d9c;
  margin-bottom: 6px;
}

.ubcs-title {
  font-size: 20px;
  font-weight: 700;
  color: #47577c;
  margin: 0 0 4px;
  line-height: 1.3;
}

.ubcs-subtitle {
  font-size: 12px;
  color: #9d9d9c;
  font-style: italic;
  margin-bottom: 28px;
}

/* Two-panel grid */
.ubcs-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 580px) {
  .ubcs-panels {
    grid-template-columns: 1fr;
  }
}

.ubcs-panel {
  background: #f8fafc;
  border-radius: 12px;
  padding: 18px 16px 14px;
  border: 1px solid #e2e8f0;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.ubcs-panel.visible {
  opacity: 1;
  transform: translateY(0);
}

.ubcs-panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.ubcs-dir-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 20px;
  color: #fff;
}

.ubcs-badge-axial {
  background: #9d9d9c;
}
.ubcs-badge-hoop {
  background: #47577c;
}

.ubcs-panel-title {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
}

/* Bar rows */
.ubcs-bar-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ubcs-bar-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ubcs-bar-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.ubcs-load-label {
  font-size: 11px;
  font-weight: 600;
  color: #475569;
}

.ubcs-val-group {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.ubcs-val {
  font-size: 14px;
  font-weight: 800;
  color: #1e293b;
  font-variant-numeric: tabular-nums;
}

.ubcs-delta {
  font-size: 11px;
  font-weight: 700;
  color: #bf3425;
}

.ubcs-delta-ref {
  font-size: 11px;
  font-weight: 600;
  color: #9d9d9c;
}

.ubcs-track {
  width: 100%;
  height: 20px;
  background: #e8edf4;
  border-radius: 5px;
  overflow: hidden;
}

.ubcs-fill {
  height: 100%;
  border-radius: 5px;
  width: 0%;
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Fill colours: uniaxial solid, biaxials lighter */
.ubcs-fill-uni-axial {
  background: #9d9d9c;
}
.ubcs-fill-bi1-axial {
  background: #bfbfbf;
}
.ubcs-fill-bi2-axial {
  background: #d8d8d8;
}

.ubcs-fill-uni-hoop {
  background: #47577c;
}
.ubcs-fill-bi1-hoop {
  background: #6e80a8;
}
.ubcs-fill-bi2-hoop {
  background: #96a7c8;
}

/* Axis ticks */
.ubcs-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  padding: 0 1px;
}

.ubcs-tick {
  font-size: 10px;
  color: #9d9d9c;
  font-variant-numeric: tabular-nums;
}

/* Legend */
.ubcs-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.4s ease 0.7s,
    transform 0.4s ease 0.7s;
}

.ubcs-legend.visible {
  opacity: 1;
  transform: translateY(0);
}

.ubcs-legend-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #475569;
}

.ubcs-legend-swatch {
  width: 22px;
  height: 10px;
  border-radius: 3px;
  flex-shrink: 0;
}

/* Drop callout strip */
.ubcs-callout-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.4s ease 0.85s,
    transform 0.4s ease 0.85s;
}

.ubcs-callout-strip.visible {
  opacity: 1;
  transform: translateY(0);
}

.ubcs-callout-cell {
  background: #f8fafc;
  border-radius: 10px;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
}

.ubcs-callout-dir {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9d9d9c;
  margin-bottom: 6px;
}

.ubcs-callout-drops {
  display: flex;
  gap: 10px;
}

.ubcs-callout-pill {
  flex: 1;
  background: #fff;
  border-radius: 7px;
  padding: 8px 6px;
  border: 1px solid #e2e8f0;
  text-align: center;
}

.ubcs-pill-pct {
  font-size: 18px;
  font-weight: 900;
  color: #bf3425;
  line-height: 1;
}

.ubcs-pill-label {
  font-size: 9.5px;
  color: #9d9d9c;
  margin-top: 3px;
  line-height: 1.3;
}
/* <!-- INFOGRAPHIC SECTION 4: FAILURE CRITERIA ERROR COMPARISON --> */
.fce-wrap {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 28px 28px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  max-width: 860px;
  margin: 0 auto;
}

.fce-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9d9d9c;
  margin-bottom: 6px;
}

.fce-title {
  font-size: 20px;
  font-weight: 700;
  color: #47577c;
  margin: 0 0 4px;
}

.fce-subtitle {
  font-size: 12px;
  color: #9d9d9c;
  font-style: italic;
  margin-bottom: 28px;
}

/* Two-panel grid */
.fce-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 600px) {
  .fce-panels {
    grid-template-columns: 1fr;
  }
}

.fce-panel {
  background: #f8fafc;
  border-radius: 12px;
  padding: 18px 16px 14px;
  border: 1px solid #e2e8f0;
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.fce-panel.visible {
  opacity: 1;
  transform: translateY(0);
}

.fce-panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.fce-dir-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 20px;
  color: #fff;
}

.fce-badge-hoop {
  background: #47577c;
}
.fce-badge-axial {
  background: #9d9d9c;
}

.fce-panel-meta {
  display: flex;
  flex-direction: column;
}

.fce-panel-dir {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}

.fce-panel-exp {
  font-size: 11px;
  color: #9d9d9c;
  margin-top: 1px;
}

/* Rows */
.fce-rows {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.fce-row {
  display: grid;
  grid-template-columns: 82px 1fr 46px;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateX(-10px);
  transition:
    opacity 0.38s ease,
    transform 0.38s ease;
}

.fce-row.visible {
  opacity: 1;
  transform: translateX(0);
}

.fce-criterion {
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
}

.fce-best-star {
  color: #47577c;
  font-size: 12px;
  line-height: 1;
}

.fce-track {
  height: 20px;
  background: #e8edf4;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.fce-fill {
  height: 100%;
  border-radius: 5px;
  width: 0%;
  transition: width 1.05s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}

/* Color ramp: best=navy, worst=red, middle interpolated */
.fce-c0 {
  background: #47577c;
} /* rank 1 — best  */
.fce-c1 {
  background: #6b6e8a;
} /* rank 2         */
.fce-c2 {
  background: #8f7095;
} /* rank 3         */
.fce-c3 {
  background: #a36880;
} /* rank 4         */
.fce-c4 {
  background: #b85f62;
} /* rank 5         */
.fce-c5 {
  background: #bf3425;
} /* rank 6 — worst */

.fce-pct {
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-align: right;
  color: #1e293b;
}

.fce-pct-best {
  color: #47577c;
}
.fce-pct-worst {
  color: #bf3425;
}

/* Tooltip on hover */
.fce-track::after {
  content: attr(data-tip);
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  pointer-events: none;
  white-space: nowrap;
}

/* Axis */
.fce-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  padding-left: 90px;
}

.fce-tick {
  font-size: 10px;
  color: #9d9d9c;
  font-variant-numeric: tabular-nums;
}

/* Insight strip */
.fce-insight {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.4s ease 0.75s,
    transform 0.4s ease 0.75s;
}

.fce-insight.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 600px) {
  .fce-insight {
    grid-template-columns: 1fr;
  }
}

.fce-insight-cell {
  background: #f8fafc;
  border-radius: 10px;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
}

.fce-insight-dir {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9d9d9c;
  margin-bottom: 8px;
}

.fce-insight-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.fce-insight-label {
  font-size: 11px;
  color: #475569;
}

.fce-insight-val {
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.fce-best-val {
  color: #47577c;
}
.fce-worst-val {
  color: #bf3425;
}

.fce-spread {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #e2e8f0;
  font-size: 11px;
  color: #475569;
}

.fce-spread strong {
  color: #1e293b;
}
/* <!-- INFOGRAPHIC SECTION 5: DAMAGE PROGRESSION SEQUENCE --> */
.dp-wrap {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 28px 28px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  max-width: 860px;
  margin: 0 auto;
}

.dp-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9d9d9c;
  margin-bottom: 6px;
}

.dp-title {
  font-size: 20px;
  font-weight: 700;
  color: #47577c;
  margin: 0 0 4px;
}

.dp-subtitle {
  font-size: 12px;
  color: #9d9d9c;
  font-style: italic;
  margin-bottom: 28px;
}

/* ── PROGRESSION TIMELINE ── */
.dp-timeline-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #9d9d9c;
  margin-bottom: 12px;
}

.dp-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.dp-timeline.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Connector line behind stages */
.dp-timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  left: calc(12.5%);
  width: calc(75%);
  height: 2px;
  background: linear-gradient(to right, #9d9d9c 0%, #bf3425 100%);
  z-index: 0;
}

.dp-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
  padding: 0 6px;
  cursor: default;
}

.dp-stage-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.dp-stage:hover .dp-stage-dot {
  transform: scale(1.3);
}

.dp-stage-dot-1 {
  background: #9d9d9c;
}
.dp-stage-dot-2 {
  background: #7b6f83;
}
.dp-stage-dot-3 {
  background: #bf3425;
  opacity: 0.6;
}
.dp-stage-dot-4 {
  background: #bf3425;
}

.dp-stage-arrow {
  position: absolute;
  top: 21px;
  right: -6px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid #9d9d9c;
  z-index: 2;
  display: none;
}

.dp-stage:not(:last-child) .dp-stage-arrow {
  display: block;
}

.dp-stage-card {
  background: #f8fafc;
  border-radius: 10px;
  padding: 10px 10px 10px;
  border: 1px solid #e2e8f0;
  width: 100%;
  box-sizing: border-box;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
  text-align: center;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 4px;
}

.dp-stage:hover .dp-stage-card {
  box-shadow: 0 4px 12px rgba(71, 87, 124, 0.12);
  transform: translateY(-2px);
}

.dp-stage-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9d9d9c;
}

.dp-stage-name {
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
}

.dp-stage-desc {
  font-size: 11px;
  color: #475569;
  line-height: 1.4;
  margin-top: 2px;
}

/* Stage-specific card accents */
.dp-stage-card-1 {
  border-top: 2px solid #9d9d9c;
}
.dp-stage-card-2 {
  border-top: 2px solid #7b6f83;
}
.dp-stage-card-3 {
  border-top: 2px solid rgba(191, 52, 37, 0.55);
}
.dp-stage-card-4 {
  border-top: 2px solid #bf3425;
}

.dp-propagation-note {
  font-size: 11px;
  color: #9d9d9c;
  font-style: italic;
  text-align: center;
  margin: 6px 0 24px;
}

/* ── MODE COEFFICIENTS ── */
.dp-modes-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #9d9d9c;
  margin-bottom: 12px;
}

.dp-modes {
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.45s ease 0.2s,
    transform 0.45s ease 0.2s;
}

.dp-modes.visible {
  opacity: 1;
  transform: translateY(0);
}

.dp-mode-row {
  display: grid;
  grid-template-columns: 160px 1fr 52px 120px;
  align-items: center;
  gap: 10px;
}

@media (max-width: 600px) {
  .dp-timeline {
    grid-template-columns: 1fr 1fr;
  }
  .dp-timeline::before {
    display: none;
  }
  .dp-mode-row {
    grid-template-columns: 1fr;
  }
  .dp-stage-arrow {
    display: none !important;
  }
}

.dp-mode-label {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dp-dominant-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: #47577c;
  color: #fff;
  padding: 2px 6px;
  border-radius: 10px;
  white-space: nowrap;
}

.dp-minor-tag {
  font-size: 9px;
  font-weight: 600;
  color: #9d9d9c;
  padding: 2px 6px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  white-space: nowrap;
}

.dp-track {
  height: 22px;
  background: #f1f5f9;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.dp-fill {
  height: 100%;
  border-radius: 6px;
  width: 0%;
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 6px;
  box-sizing: border-box;
  overflow: hidden;
}

.dp-fill-dominant {
  background: #47577c;
}
.dp-fill-mid {
  background: #8190b0;
}
.dp-fill-minor {
  background: #c5cad6;
}

.dp-fill-label {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
}

.dp-coeff {
  font-size: 18px;
  font-weight: 900;
  color: #1e293b;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.dp-coeff-dominant {
  color: #47577c;
}
.dp-coeff-minor {
  color: #9d9d9c;
}

.dp-scale-hint {
  font-size: 10px;
  color: #9d9d9c;
  text-align: right;
  margin-top: 1px;
}

/* Separator */
.dp-divider {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 20px 0;
}
/* <!-- INFOGRAPHIC SECTION 6: SHELL FAILURE PRESSURE AND STRAIN COMPARISON --> */
.sfp-wrap {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 28px 28px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  max-width: 820px;
  margin: 0 auto;
}

.sfp-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9d9d9c;
  margin-bottom: 6px;
}

.sfp-title {
  font-size: 20px;
  font-weight: 700;
  color: #47577c;
  margin: 0 0 4px;
}

.sfp-subtitle {
  font-size: 12px;
  color: #9d9d9c;
  font-style: italic;
  margin-bottom: 28px;
}

/* ── SECTION LABEL ── */
.sfp-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #9d9d9c;
  margin-bottom: 12px;
}

.sfp-divider {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 24px 0;
}

/* ── PRESSURE SECTION ── */
.sfp-pressure {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.sfp-pressure.visible {
  opacity: 1;
  transform: translateY(0);
}

.sfp-prow {
  display: grid;
  grid-template-columns: 110px 1fr 80px;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.sfp-plabel {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
}

.sfp-ptrack {
  height: 32px;
  background: #f1f5f9;
  border-radius: 7px;
  overflow: hidden;
}

.sfp-pfill {
  height: 100%;
  border-radius: 7px;
  width: 0%;
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  align-items: center;
  padding-left: 10px;
  box-sizing: border-box;
}

.sfp-pfill-exp {
  background: #47577c;
}
.sfp-pfill-sim {
  background: #8190b0;
}

.sfp-pval-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.sfp-pval {
  font-size: 18px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  color: #1e293b;
  line-height: 1;
}

.sfp-pdelta {
  font-size: 11px;
  font-weight: 700;
  color: #bf3425;
  margin-top: 2px;
}

.sfp-punit {
  font-size: 11px;
  font-weight: 500;
  color: #9d9d9c;
  margin-top: 2px;
}

/* Axis */
.sfp-axis-row {
  display: grid;
  grid-template-columns: 110px 1fr 80px;
  gap: 12px;
  margin-top: 4px;
}

.sfp-axis {
  display: flex;
  justify-content: space-between;
  padding: 0 1px;
}

.sfp-tick {
  font-size: 10px;
  color: #9d9d9c;
  font-variant-numeric: tabular-nums;
}

/* Validation pill */
.sfp-validation {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0f4fa;
  border-radius: 8px;
  padding: 8px 14px;
  margin-top: 10px;
  border: 1px solid #e2e8f0;
}

.sfp-validation-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #47577c;
  flex-shrink: 0;
}

.sfp-validation-text {
  font-size: 12px;
  color: #475569;
}

.sfp-validation-num {
  font-weight: 800;
  color: #47577c;
}

/* ── STRAIN SECTION ── */
.sfp-strain {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.45s ease 0.15s,
    transform 0.45s ease 0.15s;
}

.sfp-strain.visible {
  opacity: 1;
  transform: translateY(0);
}

.sfp-strain-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 560px) {
  .sfp-strain-panels {
    grid-template-columns: 1fr;
  }
  .sfp-prow {
    grid-template-columns: 90px 1fr 70px;
  }
}

.sfp-strain-panel {
  background: #f8fafc;
  border-radius: 12px;
  padding: 16px 14px 12px;
  border: 1px solid #e2e8f0;
}

.sfp-strain-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.sfp-dir-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 20px;
  color: #fff;
}

.sfp-badge-axial {
  background: #9d9d9c;
}
.sfp-badge-hoop {
  background: #47577c;
}

.sfp-strain-dir {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
}

/* Strain bar rows */
.sfp-srow {
  display: grid;
  grid-template-columns: 48px 1fr 64px;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
}

.sfp-stype {
  font-size: 11px;
  font-weight: 600;
  color: #475569;
}

.sfp-strack {
  height: 18px;
  background: #e8edf4;
  border-radius: 5px;
  overflow: hidden;
}

.sfp-sfill {
  height: 100%;
  border-radius: 5px;
  width: 0%;
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.sfp-sfill-shell-axial {
  background: #9d9d9c;
}
.sfp-sfill-uniax-axial {
  background: #c8cdd5;
}
.sfp-sfill-shell-hoop {
  background: #47577c;
}
.sfp-sfill-uniax-hoop {
  background: #8190b0;
}

.sfp-sval {
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #1e293b;
  text-align: right;
}

.sfp-sval-unit {
  font-size: 9px;
  color: #9d9d9c;
  display: block;
  font-weight: 500;
  text-align: right;
  margin-top: 0;
  line-height: 1;
}

/* Drop pill inside strain panel */
.sfp-drop-pill {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sfp-drop-label {
  font-size: 11px;
  color: #9d9d9c;
}

.sfp-drop-val {
  font-size: 20px;
  font-weight: 900;
  color: #bf3425;
  font-variant-numeric: tabular-nums;
}
