
    .right-panel-content {
      transition: opacity 0.3s ease-in-out;
      max-width: 980px;
      margin: 0 auto;
      padding: 0 0 40px 0;
    }

    .hidden {
      opacity: 0;
    }
    .visually-hidden {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }
    body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
      font-weight: 400;
      margin: 0;
      padding: 0;
      background: white;
      color: black;
      text-align: left;
    }

    /* When webfont is ready, switch to it (reduces FOIT) */
    html.fonts-loaded body {
      font-family: 'proxima-nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    }
    .container {
      display: flex;
      min-height: 100vh;
    }
    .container { text-align: left; }
    /* Ensure .main uses flex-direction row by default */
    .main {
      display: flex;
      flex-direction: row;
    }
    .left-panel {
      width: 30%;
      background: #fff;
      padding: 32px;
      box-sizing: border-box;
      border-right: 1px solid #e0e0e0;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
    }
    .desktop-product-navigation {
      display: flex;
      flex: 1;
      flex-direction: column;
      min-height: 0;
    }
    .product-list-heading {
      margin: 0;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    #project-list {
      flex: 1;
      min-height: 0;
      margin-top: 16px;
      text-align: left;
      overflow-y: auto;
      overscroll-behavior: contain;
    }

    .mobile-product-selector {
      display: none;
    }

    /* Respect user preference: reduce motion */
    @media (prefers-reduced-motion: reduce) {
      .right-panel-content { transition: none !important; }
    }

    .product-list {
      display: block;
    }
    .usage-block {
      margin: 24px 0 32px;
      text-align: left;
      border-top: 1px solid #111;
      padding-top: 16px;
    }
    .usage-block :is(h2, h3) {
      font-size: 14px;
      font-weight: 700;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      margin: 0 0 12px;
    }
    .usage-step-text {
      white-space: pre-line;
      font-size: 14px;
      line-height: 1.7;
      color: #333;
      margin: 0;
    }
    .product-list a {
      display: block;
      width: 100%;
      border-bottom: 1px solid #eee;
      padding: 12px 16px;
      font-weight: bold;
      font-size: 13px;
      line-height: 1.8;
      letter-spacing: 0.02em;
      text-transform: uppercase;
      cursor: pointer;
      transition: color 0.3s ease;
      box-sizing: border-box;
      overflow-wrap: anywhere;
      color: inherit;
      text-decoration: none;
    }
    .product-list a:hover {
      color: #666;
    }
    .product-list a.active {
      background-color: #f2f2f2;
      font-weight: 600;
      color: #000;
      position: relative;
    }
    .product-list a.active::before {
      content: '';
      position: absolute;
      left: 4px;
      top: 50%;
      transform: translateY(-50%);
      width: 6px;
      height: 6px;
      background: black;
      border-radius: 50%;
    }
    .product-list a:focus-visible {
      outline: 2px solid #000;
      outline-offset: 2px;
    }

    .mobile-product-selector label {
      display: block;
      font-size: 11px;
      line-height: 1;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: #111;
      margin: 0 0 8px;
      text-align: left;
    }
    .mobile-select-wrap {
      position: relative;
    }
    .mobile-select-wrap::after {
      content: '';
      position: absolute;
      top: 50%;
      right: 14px;
      width: 7px;
      height: 7px;
      border-right: 1px solid #111;
      border-bottom: 1px solid #111;
      transform: translateY(-70%) rotate(45deg);
      pointer-events: none;
    }
    #mobile-product-select {
      display: block;
      width: 100%;
      box-sizing: border-box;
      min-height: 44px;
      padding: 10px 38px 10px 12px;
      border: 1px solid #d5d5d5;
      border-radius: 0;
      appearance: none;
      -webkit-appearance: none;
      box-shadow: none;
      background: #fff;
      color: #111;
      font: inherit;
      font-size: 13px;
      line-height: 1.4;
      white-space: normal;
      text-overflow: ellipsis;
    }
    #mobile-product-select:focus-visible {
      outline: 2px solid #111;
      outline-offset: 2px;
    }

    /* --- Feature text (card-style grid) --- */
    .feature-block {
      margin: 40px 0 28px;
      text-align: left;
    }
    .feature-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 16px;
    }
    .feature-grid > div {
      padding: 0px;
      border-radius: 0px;
      border: 0px solid transparent;
      background: #fff;
      box-sizing: border-box;
      transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    }
    .feature-grid > div:hover {
      border-color: #111;
    }
    .feature-grid .feature-full {
      grid-column: 1 / -1;
    }
    .feature-grid .feature-one-line {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      font-weight: 700;
      margin-top: 4px;
    }
    .feature-grid .feature-full p:first-child {
      font-weight: 600;
      font-size: 16px;
      margin: 0 0 6px;
    }
    .feature-block h3 {
      font-size: 16px;
      margin: 0 0 8px;
      font-weight: 700;
      color: #111;
      text-transform: none;
      letter-spacing: 0;
    }
    .feature-block p {
      font-size: 15px;
      line-height: 1.7;
      color: #333;
      margin: 0 0 14px;
      font-weight: 400;
    }
    @media (min-width: 900px) {
      .feature-grid { grid-template-columns: 1fr 1fr; column-gap: 24px; }
      .feature-grid .feature-full { grid-column: 1 / -1; }
    }

    @media (min-width: 769px) {
      .left-panel {
        position: sticky;
        top: 0;
        align-self: flex-start;
        height: 100vh;
        overflow: hidden;
      }
    }

    .time {
      font-size: 0.9rem;
      text-transform: uppercase;
      opacity: 0.8;
      color: #444;
      margin: 24px 0 16px 0;
      text-align: center;
    }
    .page-copyright {
      margin-top: 24px;
      font-family: 'proxima-nova', sans-serif;
      font-weight: 400;
      font-size: 0.7rem;
      color: #888;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      text-align: left;
    }
    .right-panel {
      width: 70%;
      padding: 32px;
      box-sizing: border-box;
    }
    .project-display {
      margin: 40px 0;
    }
    .project-image-container {
      width: 100%;
      margin-bottom: 16px;
    }

    img.full-fit {
      width: 100%;
      height: auto;
      display: block;
    }
    .project-image-container img.img-error {
      filter: saturate(0.4) contrast(0.9);
    }
    /* Reduce CLS by providing a reasonable intrinsic size hint */
    #project-image { contain-intrinsic-size: 800px 450px; }

    .project-meta-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 32px;
      margin-top: 20px;
      font-size: 13px;
      text-align: left;
    }

    .meta-left,
    .meta-right {
      flex: 1;
      min-width: 200px;
      line-height: 1.45;
    }

    .meta-entry {
      margin: 0 0 14px 0;
    }

    .meta-entry dt {
      font-weight: 700;
      margin-bottom: 2px;
      color: #111;
    }

    .meta-entry dd {
      margin: 0 0 10px 0;
      font-weight: 400;
      color: #333;
      line-height: 1.55;
    }
    .contact-section {
      margin-top: 60px;
      margin-bottom: 40px;
      text-align: center;
      font-size: 13px;
      line-height: 1.6;
    }
    .contact-section iframe {
      margin-top: 20px;
      max-width: 100%;
      border: none;
    }
    .project-description {
      margin: 32px 0;
      text-align: left;
      font-size: 15px;
      line-height: 1.65;
      color: #333;
      padding: 0;
    }

    #project-description p {
      margin: 0 0 18px 0;
      line-height: 1.7;
      overflow-wrap: anywhere;
    }

    .project-description br {
      line-height: 1.7;
    }

    #product-heading { scroll-margin-top: 16px; }
    #product-detail { scroll-margin-top: 16px; }

    /* Lighter body weight for the long description */
    #project-description { font-weight: 400; }
    .project-description strong { font-weight: 700; color: #111; }

    .project-description h3 {
      font-size: 16px;
      text-transform: uppercase;
      margin-bottom: 16px;
      color: #111;
    }
    @media screen and (max-width: 768px) {
      .main {
        flex-direction: column;
      }


      .left-panel {
        width: 100%;
        border-right: none;
        padding: 20px 16px 0 16px;
        margin-top: 0;
      }

      .mobile-product-selector {
        display: block;
        width: 100%;
      }

      .desktop-product-navigation {
        display: none;
      }

      .right-panel {
        width: 100%;
        padding: 12px 16px 20px;
      }

      .right-panel-content {
        padding-top: 0;
      }

      .page-copyright {
        margin-top: 0;
      }

      #timestamp {
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
      }
      .container {
        flex-direction: column;
      }
      .project-meta-grid {
        flex-direction: column;
        gap: 20px;
      }
      .project-display img {
        margin-bottom: 12px;
      }
      .time,
      .contact-section {
        padding: 0 12px;
      }
      .feature-block { margin: 20px 0 12px; }
      .feature-grid { gap: 16px; }
      .page-copyright {
        padding: 0 12px;
        text-align: left;
      }
    }

.product-status { min-height: 1.5em; padding: 0 0 8px; font-size: 13px; }
.product-status:empty { display: none; }
.product-retry { border: 1px solid #111; background: #fff; color: #111; padding: 8px 12px; cursor: pointer; }
.product-retry[hidden] { display: none; }
.right-panel[data-status="loading"] .right-panel-content > section,
.right-panel[data-status="error"] .right-panel-content > section { display: none; }
.product-ingredient-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  min-height: 44px;
  margin-top: 6px;
  color: #111;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.product-ingredient-link span:first-child {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: #888;
}
.product-ingredient-link:hover span:first-child { text-decoration-color: currentColor; }
.product-ingredient-link:focus-visible {
  outline: 2px solid #111;
  outline-offset: 3px;
}
.product-ingredient-link[hidden] { display: none; }
.product-next-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
  margin-top: 6px;
}
.product-next-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #111;
  font-size: 13px;
  font-weight: 600;
  text-underline-offset: 3px;
}
.product-next-links a:focus-visible {
  outline: 2px solid #111;
  outline-offset: 3px;
}
.product-evidence { margin-top: 18px; }
.product-evidence h4 { margin: 0 0 4px; font-size: 14px; }
.product-evidence a {
  display: inline-block;
  margin-top: 6px;
  color: #111;
  font-size: 13px;
  text-underline-offset: 3px;
}
.product-evidence a[hidden] { display: none; }
.content-related-links { margin: 8px 0 12px; padding-left: 18px; font-size: 14px; }
.content-related-links a { color: inherit; }
