/* DM Sans Variable 5.3.0, Latin and Latin Extended. */
@font-face {
  font-family: "DM Sans Variable";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../vendor/dm-sans/5.3.0/dm-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "DM Sans Variable";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../vendor/dm-sans/5.3.0/dm-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "DM Sans Variable";
  font-style: italic;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../vendor/dm-sans/5.3.0/dm-sans-latin-ext-wght-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "DM Sans Variable";
  font-style: italic;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../vendor/dm-sans/5.3.0/dm-sans-latin-wght-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --orchid-heading-font: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --orchid-body-font: "DM Sans Variable", var(--orchid-heading-font);
  --orchid-ink: #5c1831;
  --orchid-deep: #8f2248;
  --orchid-plum: #c4477f;
  --orchid-lilac: #f7dce7;
  --orchid-gold: #f4b18e;
  --orchid-layout-max: 1250px;
  --orchid-shadow: 0 22px 55px rgba(122, 42, 76, 0.15);
  --orchid-page-backdrop:
    radial-gradient(circle at top left, rgba(252, 210, 224, 0.78), transparent 30%),
    radial-gradient(circle at top right, rgba(255, 229, 210, 0.62), transparent 24%),
    linear-gradient(180deg, #fff8fa 0%, #fff4f7 48%, #fff9fb 100%);
}

html,
body {
  scroll-behavior: smooth;
}

body {
  color: var(--orchid-ink);
  background: var(--orchid-page-backdrop);
  font-family: var(--orchid-heading-font);
}

body.site-shell {
  font-family: var(--orchid-body-font);
}

/* Keep the previous font for headings that inherited it from the body. */
:where(h1, h2, h3, .h1, .h2, .h3, .page-title, .section-title) {
  font-family: var(--orchid-heading-font);
}

.site-shell :is(.section-subtitle, .pipeline-subtitle, .te-description-box, .db-card-title) {
  font-family: var(--orchid-body-font);
}

#header-container,
#footer-container {
  position: relative;
  z-index: 50;
}

a {
  transition: color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

img {
  max-width: 100%;
  display: block;
}

/* Shared back-to-top control used by long pages across the site. */
.site-back-to-top {
  position: fixed;
  right: clamp(1rem, 2.4vw, 2.25rem);
  bottom: clamp(1rem, 2.4vw, 2.25rem);
  z-index: 950;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: linear-gradient(145deg, var(--orchid-plum), var(--orchid-deep));
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(91, 15, 50, 0.26);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  cursor: pointer;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.site-back-to-top svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.site-back-to-top.is-visible:hover {
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 15px 32px rgba(91, 15, 50, 0.32);
}

.site-back-to-top:focus {
  outline: none;
}

.site-back-to-top:focus-visible {
  color: #ffffff;
  outline: 3px solid rgba(225, 137, 175, 0.42);
  outline-offset: 3px;
}

@media (max-width: 575.98px) {
  .site-back-to-top {
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-back-to-top {
    transition: none;
  }
}

.bg-orchid {
  background: #a72e63 url("../image/header.webp") center center / cover no-repeat !important;
}

/* 主功能区块容器 */
.orchid-feature-section {
  width: 100%;
  max-width: none;
  margin: 2rem 0 0;
  padding: 0;
  text-align: center;
}

/* 功能卡片网格布局 */
.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 0;
  justify-content: center;
}

/* 功能卡片图标 */
.feature-card-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  pointer-events: none;
}

/* 单个功能卡片样式 */
.feature-card {
  position: relative;
  padding: 1.6rem;
  background: rgba(255, 255, 255, 0.74);
  border-radius: 24px;
  border: 1px solid rgba(203, 103, 136, 0.12);
  box-shadow: 0 10px 25px rgba(150, 66, 102, 0.06);
  backdrop-filter: blur(12px);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(150, 66, 102, 0.1);
}

.feature-card h3 {
  color: #b8377b;
  font-size: 1.1rem;
  margin: 0 0 0.6rem;
  letter-spacing: 1px;
  font-weight: 600;
  text-transform: uppercase;
}

.feature-card h4 {
  font-size: 1.2rem;
  color: #3a2e4c;
  margin: 0 0 0.8rem;
  font-weight: 600;
}

.feature-card p {
  color: #5a4f6e;
  font-size: 0.95rem;
  line-height: 1.6;
}

.text-orchid {
  color: var(--orchid-deep) !important;
}

.navbar {
  min-height: clamp(220px, 17vw, 280px);
  padding: 0;
  border-bottom: 1px solid rgba(196, 71, 127, 0.2);
  box-shadow: 0 16px 38px rgba(143, 34, 72, 0.13);
  position: relative;
  overflow: visible;
  z-index: 1000;
  isolation: isolate;
}

.navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(84, 10, 45, 0.3) 0%, rgba(113, 18, 58, 0.12) 38%, rgba(255, 255, 255, 0) 68%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 48%, rgba(80, 10, 43, 0.48) 100%);
  pointer-events: none;
}

.navbar::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  height: 66px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(91, 15, 50, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.navbar > .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: inherit;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--orchid-layout-max);
  padding-right: 1rem;
  padding-left: 1rem;
}

.site-brand-row {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  width: 100%;
  min-height: 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 1.08rem;
  padding: 0;
  align-self: auto;
  font-size: clamp(2.5rem, 2.15rem + 0.65vw, 3.1rem);
  letter-spacing: 0.02em;
  margin-left: 0;
  margin-right: 0;
}

.brand-mark-shell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 122px;
  height: 122px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 0.14rem;
}

.navbar-brand strong {
  color: rgba(255, 255, 255, 0.88);
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-weight: 700;
  line-height: 1.02;
  text-shadow: 0 2px 14px rgba(78, 6, 39, 0.42);
}

.brand-lockup small {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(78, 6, 39, 0.4);
}

.logo-depressed {
  width: 114px;
  height: 114px;
  margin-right: 0;
  filter: drop-shadow(0 3px 10px rgba(78, 6, 39, 0.34));
  opacity: 0.9;
  transition: transform 0.3s ease;
}

.navbar-brand:hover .brand-mark-shell {
  transform: translateY(-1px);
}

.navbar-brand:hover .logo-depressed {
  transform: scale(1.03);
}

.navbar-nav .nav-item {
  padding-right: 0.16rem;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: clamp(1.05rem, 0.95rem + 0.16vw, 1.17rem);
  font-weight: 700;
  letter-spacing: 0;
  position: relative;
  padding-left: 0.62rem;
  padding-right: 0.62rem;
  text-shadow: 0 1px 7px rgba(57, 4, 29, 0.48);
}

.navbar-nav .dropdown-toggle {
  cursor: pointer;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0.1rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0));
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:focus::after {
  opacity: 1;
  transform: translateY(0);
}

.navbar-nav .dropdown.show > .dropdown-toggle::after {
  opacity: 1;
  transform: translateY(0);
}

.navbar-nav .dropdown-toggle::after {
  margin-left: 0;
  vertical-align: baseline;
  border: 0;
}

.navbar-toggler {
  background: rgba(143, 34, 72, 0.88);
  border-color: rgba(143, 34, 72, 0.25);
}

.navbar .dropdown-menu {
  min-width: 220px;
  border: 1px solid rgba(198, 87, 126, 0.16);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 250, 252, 0.99), rgba(255, 241, 246, 0.98));
  box-shadow: 0 20px 42px rgba(128, 45, 80, 0.14);
  margin-top: 0.9rem;
  padding: 0.65rem 0;
  z-index: 1200;
}

.navbar .dropdown-menu::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  width: 100%;
  height: 15px;
  background: transparent;
}

.navbar .dropdown-item {
  padding: 0.72rem 1.25rem;
  color: var(--orchid-ink);
  font-size: 1rem;
  font-weight: 600;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
  color: var(--orchid-deep);
  background:
    linear-gradient(90deg, rgba(255, 228, 236, 0.95), rgba(255, 248, 250, 0.98));
}

.navbar .dropdown-submenu {
  position: relative;
}

.navbar .submenu-trigger-row {
  position: relative;
}

.navbar .submenu-parent-link {
  padding-right: 3.2rem;
}

.navbar .submenu-toggle {
  position: absolute;
  top: 50%;
  right: 0.72rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  color: var(--orchid-deep);
  background: transparent;
  border: 0;
  transform: translateY(-50%);
  cursor: pointer;
}

.navbar .submenu-toggle span {
  display: block;
  width: 0.48rem;
  height: 0.48rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.navbar .submenu-toggle:hover,
.navbar .submenu-toggle:focus {
  color: var(--orchid-plum);
  background: transparent;
  outline: 0;
}

.navbar .submenu-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  border: 0;
  text-align: left;
  white-space: normal;
  cursor: pointer;
}

.navbar .submenu-row-arrow {
  flex: 0 0 auto;
  width: 0.48rem;
  height: 0.48rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.navbar .dropdown-submenu.is-open > .submenu-trigger-row .submenu-toggle span,
.navbar .dropdown-submenu.is-open > .submenu-toggle-row .submenu-row-arrow {
  transform: rotate(135deg);
}

.navbar .tools-dropdown .submenu-row-arrow {
  display: none;
}

.navbar .tools-dropdown .web-tools-menu {
  min-width: 330px;
}

.navbar .tools-dropdown .web-tools-menu .submenu-row-arrow {
  display: block;
}

.navbar .nav-item > .tools-dropdown {
  right: 0;
  left: auto;
  min-width: 340px;
}

.navbar .stats-dropdown {
  right: 0;
  left: auto;
  min-width: 340px;
  max-width: min(440px, calc(100vw - 2rem));
  max-height: min(72vh, 570px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
}

.navbar .stats-menu-section + .stats-menu-section::before {
  content: "";
  display: block;
  height: 1px;
  margin: 0.55rem 1.1rem 0.35rem;
  background: linear-gradient(90deg, rgba(188, 75, 116, 0.55), rgba(188, 75, 116, 0.12));
}

.navbar .stats-dropdown .dropdown-item {
  padding-top: 0.48rem;
  padding-bottom: 0.48rem;
  line-height: 1.35;
  white-space: normal;
}

.navbar .dropdown-menu[aria-labelledby="navDropGuides"] {
  right: 0;
  left: auto;
}

.navbar .tools-dropdown .dropdown-submenu > .dropdown-menu {
  min-width: 310px;
  max-height: none;
  overflow: visible;
}

.navbar .tools-dropdown .tools-menu-scroll {
  max-height: min(70vh, 560px);
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  border-radius: inherit;
}

.navbar .tools-dropdown .web-tools-submenu > .web-tools-menu {
  max-height: none;
  overflow: visible;
}

.navbar .tools-dropdown .web-tools-menu > .dropdown-submenu > .dropdown-menu {
  padding: 0;
}

/* Keep every site scrollbar visually consistent with the Tools submenu.
   Firefox uses the standard properties; Chromium/Edge use the WebKit rules
   below so their native arrow buttons are not painted. */
@supports not selector(::-webkit-scrollbar) {
  * {
    scrollbar-width: thin !important;
    scrollbar-color: rgba(196, 71, 127, 0.3) transparent !important;
  }
}

*::-webkit-scrollbar {
  width: 4px !important;
  height: 4px !important;
}

*::-webkit-scrollbar-track {
  margin-block: 12px !important;
  margin-inline: 12px !important;
  background: transparent !important;
}

*::-webkit-scrollbar-thumb {
  border-radius: 999px !important;
  background: linear-gradient(180deg, rgba(231, 132, 170, 0.2), rgba(177, 48, 102, 0.48), rgba(231, 132, 170, 0.2)) !important;
  box-shadow: 0 0 5px rgba(196, 71, 127, 0.24) !important;
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(231, 132, 170, 0.3), rgba(177, 48, 102, 0.62), rgba(231, 132, 170, 0.3)) !important;
}

*::-webkit-scrollbar-button {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  -webkit-appearance: none;
  background: transparent !important;
}

*::-webkit-scrollbar-button:single-button,
*::-webkit-scrollbar-button:vertical:decrement,
*::-webkit-scrollbar-button:vertical:increment {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  -webkit-appearance: none;
  background: transparent !important;
}

.navbar .dropdown-submenu > .dropdown-menu {
  display: none;
  margin: 0;
}

.navbar .dropdown-submenu.is-open > .dropdown-menu {
  display: block;
}

.navbar .mega-menu-container {
  border: 1px solid rgba(198, 87, 126, 0.16);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 250, 252, 0.99), rgba(255, 241, 246, 0.98));
  margin-top: 0.9rem;
  padding: 0.55rem 0 0.7rem;
  box-shadow: 0 28px 50px rgba(128, 45, 80, 0.16);
  z-index: 1200;
}

#navHoverGenoSyn {
  position: relative !important;
}

#navHoverGenoSyn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 15px;
  background: transparent;
}

#navHoverGenoSyn > .mega-menu-container {
  margin-top: 0.9rem;
}

#navHoverGenoSyn > .mega-menu-container::before {
  top: -15px;
  height: 15px;
}

.tool-card {
  display: block;
  height: 100%;
  padding: 1rem 1.1rem;
  text-decoration: none !important;
  background:
    linear-gradient(180deg, rgba(255, 249, 251, 0.97), rgba(255, 239, 245, 0.94));
  border: 1px solid rgba(203, 103, 136, 0.14);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.tool-card:hover {
  transform: translateY(-3px);
  background:
    linear-gradient(180deg, rgba(255, 246, 249, 0.99), rgba(255, 231, 239, 0.97));
  border-color: rgba(198, 87, 126, 0.34);
  box-shadow: 0 18px 28px rgba(146, 58, 93, 0.16);
}

.tool-card:hover .tool-card-title {
  color: var(--orchid-deep);
}

.tool-card-title {
  color: var(--orchid-deep);
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.tool-card-desc {
  color: rgba(30, 47, 95, 0.72);
  font-size: 0.88rem;
  line-height: 1.5;
}

@media (min-width: 1200px) {
  .navbar-expand-xl .navbar-nav #navHoverGenoSyn:hover > .mega-menu-container {
    animation: genoSynDropDownFade 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  }

  #navHoverGenoSyn > .mega-menu-container {
    left: 50%;
    right: auto;
    width: 760px !important;
    max-width: calc(100vw - 2rem);
    transform: translateX(-50%);
  }

  #navHoverGenoSyn > .mega-menu-container > .container {
    max-width: none;
    padding-left: 1.35rem;
    padding-right: 1.35rem;
  }

  #navHoverGenoSyn .mega-menu-container .row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 1.35rem;
    align-items: start;
    margin-left: 0;
    margin-right: 0;
    padding: 0.65rem 0 0.85rem !important;
  }

  #navHoverGenoSyn .mega-menu-container .col-12 {
    grid-column: 1 / -1;
    padding-left: 0;
    padding-right: 0;
  }

  #navHoverGenoSyn .mega-menu-container .col-12 h5 {
    text-align: center;
  }

  #navHoverGenoSyn .mega-menu-container .col-md-4 {
    display: flex;
    flex-direction: column;
    width: auto;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }

  #navHoverGenoSyn .mega-menu-container .col-md-4 > .mb-3 {
    display: flex;
    flex: 0 0 auto;
    width: 100%;
    margin-bottom: 0.85rem !important;
  }

  #navHoverGenoSyn .mega-menu-container .col-md-4 > .mb-3:last-child {
    margin-bottom: 0 !important;
  }

  #navHoverGenoSyn .mega-menu-container .tool-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 0 0 auto;
    width: 100%;
    box-sizing: border-box;
    height: 78px;
    min-height: 78px;
    padding: 0.8rem 1rem;
  }

  #navHoverGenoSyn .mega-menu-container .evolution-structure-column .tool-card {
    height: 47.5px;
    min-height: 47.5px;
    padding: 0.45rem 1rem;
  }

  #navHoverGenoSyn .mega-menu-container .evolution-structure-column .tool-card-title {
    margin-bottom: 0;
  }
}

@keyframes genoSynDropDownFade {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.orchid-home {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.orchid-home::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 14% 16%, rgba(248, 224, 241, 0.7), transparent 22%),
    radial-gradient(circle at 88% 14%, rgba(226, 218, 255, 0.74), transparent 20%);
  opacity: 0.18;
}

.section-shell {
  position: relative;
  padding: 4.8rem 0;
  z-index: 1;
}

.section-heading {
  margin-bottom: 2.4rem;
  max-width: 760px;
}

.section-heading.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  color: var(--orchid-deep);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: rgba(255, 247, 250, 0.82);
  border: 1px solid rgba(205, 104, 138, 0.14);
  box-shadow: 0 12px 24px rgba(177, 77, 113, 0.08);
}

.section-heading .section-tag:only-child {
  margin-bottom: 0;
}

.home-page .section-heading > .section-tag,
.home-page .story-copy > .section-tag,
.home-page .story-flow-header > .section-tag {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  gap: 1rem;
  padding: 0 0 0 1rem;
  border: 0;
  border-radius: 0;
  margin-bottom: 0.95rem;
  background: transparent;
  box-shadow: none;
  color: var(--orchid-ink);
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
  text-transform: none;
}

.home-page .section-heading > .section-tag::before,
.home-page .story-copy > .section-tag::before,
.home-page .story-flow-header > .section-tag::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18rem;
  width: 4px;
  height: 1.75rem;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--orchid-deep), var(--orchid-plum));
}

.home-page .section-heading > .section-tag::after,
.home-page .story-copy > .section-tag::after,
.home-page .story-flow-header > .section-tag::after {
  content: "";
  position: relative;
  flex: 1 1 auto;
  min-width: 4rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(143, 34, 72, 0.38), rgba(143, 34, 72, 0));
}

@media (max-width: 575px) {
  .home-page .section-heading > .section-tag,
  .home-page .story-copy > .section-tag,
  .home-page .story-flow-header > .section-tag {
    padding-left: 0.85rem;
    font-size: 1.45rem;
  }

  .home-page .section-heading > .section-tag::before,
  .home-page .story-copy > .section-tag::before,
  .home-page .story-flow-header > .section-tag::before {
    height: 1.35rem;
  }

  .home-page .section-heading > .section-tag::after,
  .home-page .story-copy > .section-tag::after,
  .home-page .story-flow-header > .section-tag::after {
    min-width: 2rem;
  }
}

.section-heading h2,
.hero-copy .hero-title,
.highlight-copy h2 {
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

.section-heading h2,
.highlight-copy h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(2rem, 3.4vw, 3rem);
  color: var(--orchid-ink);
  line-height: 1.1;
}

.section-heading p,
.highlight-copy p,
.hero-lead,
.signal-card p,
.stat-card p,
.path-card p,
.gateway-card p,
.story-copy p,
.story-list li,
.resource-section-heading p,
.film-strip-home-copy p,
.hero-carousel-caption p,
.hero-carousel-meta p,
.hero-floating-metric p,
.hero-bloom-note p {
  color: rgba(30, 47, 95, 0.75);
  line-height: 1.75;
}

.hero-section {
  position: relative;
  padding: 4.4rem 0 3rem;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 15%, rgba(251, 207, 223, 0.56), transparent 20%),
    radial-gradient(circle at 15% 20%, rgba(255, 222, 209, 0.52), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  gap: 2rem;
  align-items: center;
}

.hero-copy .hero-title {
  margin-bottom: 1.05rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.06em;
  width: fit-content;
  max-width: none;
  font-size: clamp(2.2rem, 3.55vw, 3.7rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--orchid-ink);
}

.hero-copy .hero-title span {
  display: block;
  white-space: nowrap;
}

.hero-copy .hero-title::after {
  content: "";
  width: clamp(14rem, 50%, 18rem);
  height: 3px;
  margin-top: 0.42rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(143, 34, 72, 0.92), rgba(210, 92, 138, 0.36), rgba(210, 92, 138, 0));
}

.hero-lead {
  max-width: 680px;
  font-size: 1.08rem;
  margin-bottom: 1.6rem;
}

.hero-gene-search {
  max-width: 42rem;
  margin-bottom: 1.55rem;
}

.hero-gene-search-bar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.5rem 0.55rem 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(203, 103, 136, 0.16);
  box-shadow: 0 14px 28px rgba(145, 58, 94, 0.08);
  backdrop-filter: blur(14px);
}

.hero-gene-search-bar:focus-within {
  border-color: rgba(196, 71, 127, 0.34);
  box-shadow: 0 18px 38px rgba(145, 58, 94, 0.12);
}

.hero-gene-search-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(143, 34, 72, 0.72);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.hero-gene-search-input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.35rem 0;
  border: 0;
  background: transparent;
  color: var(--orchid-ink);
  font-size: 0.98rem;
}

.hero-gene-search-input::placeholder {
  color: rgba(92, 24, 49, 0.48);
}

.hero-gene-search-input:focus {
  outline: none;
}

.hero-gene-search-button {
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.35rem;
  background: linear-gradient(135deg, #8f2248, #d24d84);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(143, 34, 72, 0.18);
}

.hero-gene-search-button:hover {
  transform: translateY(-1px);
}

.hero-gene-search-hint {
  max-width: 38rem;
  margin: 0.75rem 0 0;
  padding-left: 0.2rem;
  color: rgba(92, 24, 49, 0.72);
  font-size: 0.88rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.9rem;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 0.95rem 1.45rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 18px 32px rgba(49, 74, 134, 0.14);
}

.hero-btn:hover {
  transform: translateY(-2px);
}

.hero-btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #8f2248, #d24d84);
}

.hero-btn-primary:hover {
  color: #ffffff;
}

.hero-btn-secondary {
  color: var(--orchid-deep);
  background: rgba(255, 248, 250, 0.94);
  border: 1px solid rgba(203, 103, 136, 0.16);
}

.hero-signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.signal-card {
  padding: 1.15rem 1.2rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(203, 103, 136, 0.12);
  box-shadow: 0 18px 38px rgba(150, 66, 102, 0.08);
  backdrop-filter: blur(14px);
}

.signal-card strong {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 1.05rem;
  color: var(--orchid-ink);
}

.signal-label,
.stat-label {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(191, 74, 114, 0.94);
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.hero-photo-card,
.hero-orchid-card,
.hero-floating-metric,
.hero-bloom-note {
  position: absolute;
  border-radius: 28px;
  box-shadow: var(--orchid-shadow);
}

.hero-photo-card {
  top: 1.2rem;
  left: 0;
  width: min(100%, 440px);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(203, 103, 136, 0.16);
  backdrop-filter: blur(12px);
}

.hero-photo-card img {
  width: 100%;
  border-radius: 22px;
  object-fit: cover;
}

.hero-orchid-card {
  right: 0;
  bottom: 3rem;
  width: min(72%, 330px);
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 252, 253, 0.84), rgba(255, 232, 241, 0.82));
  border: 1px solid rgba(204, 104, 138, 0.16);
}

.hero-orchid-card img {
  border-radius: 22px;
}

.hero-floating-metric {
  right: 1rem;
  top: 2.5rem;
  width: min(64%, 260px);
  padding: 1.3rem 1.4rem;
  background: linear-gradient(145deg, rgba(255, 252, 253, 0.9), rgba(255, 237, 243, 0.92));
  border: 1px solid rgba(203, 103, 136, 0.12);
}

.hero-floating-metric span,
.hero-bloom-kicker {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(183, 68, 108, 0.94);
}

.hero-floating-metric strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1.3rem;
  line-height: 1.35;
}

.hero-bloom-note {
  left: 2rem;
  bottom: 0;
  width: min(56%, 230px);
  padding: 1rem 1.1rem;
  background: linear-gradient(140deg, rgba(110, 22, 56, 0.94), rgba(199, 72, 118, 0.92));
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-bloom-note p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.stats-grid {
  display: grid;
  gap: 1rem;
}

.stats-grid-featured {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.stats-grid-compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card {
  position: relative;
  padding: 1.4rem 1.3rem;
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 252, 253, 0.9), rgba(255, 240, 245, 0.9));
  border: 1px solid rgba(203, 103, 136, 0.12);
  box-shadow: 0 18px 34px rgba(145, 58, 94, 0.08);
}

.stat-card::after {
  content: "";
  position: absolute;
  right: -42px;
  top: -42px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 221, 232, 0.96), rgba(255, 221, 232, 0));
}

.stat-card strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 0.45rem;
  font-size: clamp(1.5rem, 2vw, 2.5rem);
  color: var(--orchid-deep);
}

.stat-card p {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

.stat-card-emphasis {
  min-height: 220px;
}

.overview-stage {
  position: relative;
}

.overview-board {
  padding: 1.7rem;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(252, 213, 227, 0.46), transparent 24%),
    linear-gradient(180deg, rgba(255, 252, 253, 0.96), rgba(255, 241, 246, 0.9));
  border: 1px solid rgba(203, 103, 136, 0.13);
  box-shadow: 0 24px 44px rgba(145, 58, 94, 0.08);
  backdrop-filter: blur(14px);
}

.overview-board-intro {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.4rem;
}

.overview-board-intro h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.75rem, 2.7vw, 2.35rem);
  color: var(--orchid-ink);
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

.overview-board-intro p {
  max-width: 42rem;
  margin-bottom: 0;
}

.overview-board-chipset {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-content: flex-start;
  gap: 0.65rem;
  min-width: 260px;
}

.overview-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 248, 250, 0.92);
  border: 1px solid rgba(203, 103, 136, 0.14);
  box-shadow: 0 10px 22px rgba(145, 58, 94, 0.06);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--orchid-deep);
}

.overview-module-stack {
  display: grid;
  gap: 1rem;
}

.overview-module-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.9fr) minmax(220px, 0.75fr);
  gap: 1.1rem;
  align-items: center;
  padding: 1.2rem 1.25rem;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(203, 103, 136, 0.1);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.overview-module-row:hover {
  transform: translateY(-2px);
  border-color: rgba(203, 103, 136, 0.18);
  box-shadow: 0 16px 28px rgba(145, 58, 94, 0.08);
}

.overview-module-kicker {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(183, 68, 108, 0.92);
}

.overview-module-copy h4 {
  margin-bottom: 0.55rem;
  font-size: 1.18rem;
  line-height: 1.4;
  color: var(--orchid-ink);
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

.overview-module-copy p {
  margin-bottom: 0;
  color: rgba(30, 47, 95, 0.75);
  line-height: 1.65;
}

.overview-module-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.overview-metric-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.62rem 0.82rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 248, 250, 0.98), rgba(255, 237, 243, 0.94));
  border: 1px solid rgba(203, 103, 136, 0.12);
  box-shadow: 0 10px 20px rgba(145, 58, 94, 0.05);
  color: var(--orchid-deep);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}

.overview-module-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-start;
}

.overview-module-links a {
  display: inline-flex;
  align-items: center;
  padding: 0.62rem 0.88rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(203, 103, 136, 0.14);
  color: var(--orchid-ink);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
}

.overview-module-links a:hover {
  transform: translateY(-1px);
  color: var(--orchid-deep);
  border-color: rgba(203, 103, 136, 0.24);
  box-shadow: 0 10px 18px rgba(145, 58, 94, 0.08);
}

.pathways-section::before {
  content: "";
  position: absolute;
  inset: 2rem 0 auto auto;
  width: 440px;
  height: 440px;
  background: url("../image/orchid-hero.svg") center/contain no-repeat;
  opacity: 0.07;
  pointer-events: none;
}

.pathways-grid,
.gateway-grid {
  display: grid;
  gap: 1.2rem;
}

.pathways-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.path-card,
.gateway-card {
  position: relative;
  padding: 1.6rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.83);
  border: 1px solid rgba(203, 103, 136, 0.13);
  box-shadow: 0 22px 42px rgba(145, 58, 94, 0.08);
  backdrop-filter: blur(14px);
}

.module-section .pathways-grid {
  align-items: stretch;
}

.module-section .path-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0;
  overflow: hidden;
}

.path-visual {
  width: 100%;
  height: 102px;
  margin-bottom: 1.25rem;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 239, 246, 0.96), rgba(242, 238, 251, 0.94));
}

.path-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.path-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: #ffffff;
  background: linear-gradient(135deg, #932449, #d45588);
  box-shadow: 0 16px 28px rgba(164, 66, 106, 0.18);
}

.path-card h3,
.gateway-card h3 {
  margin-bottom: 0.7rem;
  font-size: 1.28rem;
  color: var(--orchid-ink);
}

.module-section .path-card h3 {
  margin-right: 1.6rem;
  margin-left: 1.6rem;
}

.home-page .module-section .path-card p {
  margin: 0.1rem 1.6rem 1.35rem;
  min-height: 7.6rem;
  padding: 0.82rem 0.95rem 0.82rem 1.08rem;
  border-left: 4px solid rgba(180, 44, 93, 0.42);
  border-radius: 8px;
  color: rgba(47, 63, 112, 0.82);
  background:
    linear-gradient(90deg, rgba(255, 236, 243, 0.96), rgba(255, 248, 251, 0.64) 58%, rgba(248, 250, 255, 0.54));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
  text-align: left;
  text-justify: auto;
}

.path-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.path-links a,
.gateway-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--orchid-deep);
  font-weight: 700;
  text-decoration: none;
}

.path-links a {
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 236, 243, 0.94);
}

.module-section .path-links {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  align-items: center;
  gap: 0.55rem;
  max-width: none;
  margin-top: auto;
  padding: 0.1rem 1.6rem 1.6rem;
}

.module-section .path-links a {
  flex: 1 1 max-content;
  width: auto;
  max-width: 100%;
  min-width: 5.6rem;
  min-height: 42px;
  padding: 0.58rem 0.72rem;
  border-radius: 8px;
  justify-content: center;
  text-align: center;
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: break-word;
}

.path-links a:hover,
.gateway-card a:hover {
  color: var(--orchid-plum);
}

.highlight-section {
  padding-top: 2.2rem;
}

.highlight-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 1.6rem;
  padding: 2rem;
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(108, 18, 53, 0.97), rgba(169, 42, 89, 0.94), rgba(224, 98, 135, 0.9));
  box-shadow: 0 34px 62px rgba(120, 34, 72, 0.18);
}

.highlight-panel::before {
  content: "";
  position: absolute;
  inset: auto -20px -60px auto;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 220, 232, 0.24), rgba(255, 220, 232, 0));
}

.highlight-copy {
  position: relative;
  z-index: 1;
}

.highlight-copy h2,
.highlight-copy p,
.highlight-list li {
  color: #ffffff;
}

.highlight-copy .section-tag {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
}

.highlight-list {
  list-style: none;
  padding-left: 0;
  margin: 1.25rem 0 0;
}

.highlight-list li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.82);
}

.highlight-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orchid-gold);
}

.highlight-visuals {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: end;
  gap: 1rem;
  grid-template-columns: 1fr 0.95fr;
}

.highlight-visual-card {
  padding: 1rem;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.highlight-visual-card.accent {
  align-self: start;
  margin-top: 2rem;
}

.gateway-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gateway-card {
  min-height: 220px;
}

.gateway-card a {
  margin-top: 1.1rem;
}

footer.site-footer {
  position: relative;
  padding: 4rem 0 2.6rem;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(111, 20, 55, 0.96), rgba(176, 44, 93, 0.93) 55%, rgba(228, 108, 142, 0.88)) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 60;
  isolation: isolate;
}

footer.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 222, 232, 0.24), transparent 22%),
    radial-gradient(circle at left center, rgba(255, 226, 210, 0.18), transparent 24%),
    radial-gradient(circle at 50% 120%, rgba(255, 255, 255, 0.08), transparent 30%);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr) minmax(260px, 0.95fr);
  gap: 1.6rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  gap: 1rem;
}

.footer-brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-brand h4,
.footer-title {
  margin-bottom: 0.8rem;
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

.footer-brand p,
.footer-note,
.contact-info {
  color: rgba(248, 244, 250, 0.84);
  line-height: 1.75;
}

.quick-links a,
.footer-inline-links a {
  color: rgba(252, 246, 250, 0.88);
  text-decoration: none;
}

.quick-links a:hover,
.footer-inline-links a:hover {
  color: #ffffff;
}

.footer-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
}

.footer-inline-links a {
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.table-container {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(203, 103, 136, 0.12);
  border-radius: 24px;
  padding: 1.8rem;
  box-shadow: 0 20px 44px rgba(145, 58, 94, 0.08);
  margin-top: 2.2rem;
  margin-bottom: 2.2rem;
}

/* Shared elevated shell for full-page content cards. This class is applied
   only to page-level wrappers, never to internal table or form cards. */
body.site-shell .site-content .floating-page-shell {
  box-sizing: border-box;
  width: calc(100% - 30px);
  max-width: 1110px;
  background-color: #ffffff;
  border: 1px solid #eed5df;
  border-radius: 16px;
  margin-top: 3rem;
  margin-right: auto;
  margin-left: auto;
  box-shadow:
    0 2px 24px rgba(143, 34, 72, 0.05),
    0 8px 40px rgba(143, 34, 72, 0.04);
}

/* A shell already inside a Bootstrap container naturally has the same
   width as sp_data.html, so do not subtract the gutters twice. */
body.site-shell .site-content .container > .floating-page-shell {
  width: 100%;
  max-width: 100%;
}

@media (min-width: 576px) {
  body.site-shell .site-content .floating-page-shell {
    max-width: 510px;
  }
}

@media (min-width: 768px) {
  body.site-shell .site-content .floating-page-shell {
    max-width: 690px;
  }
}

@media (min-width: 992px) {
  body.site-shell .site-content .floating-page-shell {
    max-width: 930px;
  }
}

@media (min-width: 1200px) {
  body.site-shell .site-content .floating-page-shell {
    max-width: var(--orchid-layout-max);
  }

  body.site-shell .site-content .container,
  footer.site-footer > .container {
    max-width: var(--orchid-layout-max);
    padding-right: 1rem;
    padding-left: 1rem;
  }
}

/* Shared legacy data-table behavior retained by several database pages. */
.table-container table th,
.table-container table td {
  text-align: center !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
}

.table-container table th {
  padding: 10px 15px !important;
  font-size: 15px !important;
}

.table-container table td {
  font-size: 14px !important;
}

.custom-table-scroll {
  width: 100%;
  overflow-x: auto;
  clear: both;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}

.custom-table-scroll::-webkit-scrollbar {
  height: 8px;
}

.custom-table-scroll::-webkit-scrollbar-track {
  background: rgba(223, 231, 248, 0.88);
  border-radius: 999px;
}

.custom-table-scroll::-webkit-scrollbar-thumb {
  background: rgba(91, 110, 172, 0.55);
  border-radius: 999px;
}

.custom-table-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(68, 88, 150, 0.75);
}

@media (min-width: 1200px) {
  .navbar {
    --nav-menu-gap: 9px;
  }

  .navbar-expand-xl .navbar-collapse {
    flex-grow: 0;
    width: 100%;
    justify-content: center;
    min-height: 66px;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  .navbar-expand-xl .site-nav-list {
    width: 100%;
    min-height: 66px;
    align-self: stretch;
    justify-content: space-between;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .navbar-expand-xl .site-nav-list > .nav-item {
    display: flex;
    align-items: center;
  }

  .navbar .nav-item > .dropdown-menu,
  .navbar .nav-item > .mega-menu-container {
    margin-top: calc(var(--nav-menu-gap) + 1px);
  }

  .navbar-expand-xl .navbar-nav .dropdown:hover > .dropdown-menu,
  .navbar-expand-xl .navbar-nav .dropdown:hover > .mega-menu-container {
    display: block;
  }

  .navbar .dropdown-submenu > .dropdown-menu {
    top: -0.65rem;
    left: calc(100% + var(--nav-menu-gap) + 1px);
  }

  .navbar .tools-dropdown .dropdown-submenu > .dropdown-menu {
    right: calc(100% + var(--nav-menu-gap) + 1px) !important;
    left: auto !important;
    transform: none !important;
  }

  .navbar .tools-dropdown .web-tools-menu > .dropdown-submenu {
    position: static;
  }

  .navbar .tools-dropdown .web-tools-menu > .dropdown-submenu > .dropdown-menu {
    top: 0;
    right: calc(100% + var(--nav-menu-gap) + 1px) !important;
  }

  .navbar .tools-dropdown .web-tools-menu > .dropdown-submenu::before {
    display: none;
  }

  /* Static category rows share the panel's bridge area; keep only the active
     category's bridge in the hit-test path while crossing to its flyout. */
  .navbar .tools-dropdown .web-tools-menu > .dropdown-submenu:hover::before,
  .navbar .tools-dropdown .web-tools-menu > .dropdown-submenu:focus-within::before {
    display: block;
  }

  .navbar .tools-dropdown .submenu-row-arrow {
    transform: rotate(-135deg);
  }

  .navbar .tools-dropdown .web-tools-submenu > .submenu-trigger-row .submenu-toggle span {
    transform: rotate(-135deg);
  }

  /* The Stats menu itself scrolls, so its own ::before bridge is clipped by
     overflow. Keep the hover hit-area on the non-scrolling nav item instead. */
  .navbar .stats-nav-item::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1199;
    width: 100%;
    height: calc(var(--nav-menu-gap) + 1px);
    background: transparent;
  }

  /* Keep the parent submenu hovered while the pointer crosses the visual gap
     into its flyout. This bridge belongs to the parent, so it cannot vanish
     before the pointer reaches the child menu. */
  .navbar .dropdown-submenu::before {
    content: "";
    position: absolute;
    top: 0;
    left: 100%;
    z-index: 1;
    width: calc(var(--nav-menu-gap) + 2px);
    height: 100%;
    background: transparent;
  }

  .navbar .tools-dropdown .dropdown-submenu::before {
    right: 100%;
    left: auto;
  }

  .navbar .dropdown-submenu:hover > .dropdown-menu,
  .navbar .dropdown-submenu:focus-within > .dropdown-menu {
    display: block;
  }

  .navbar .dropdown-submenu > .dropdown-menu::before {
    top: 0;
    left: calc(-1 * var(--nav-menu-gap) - 2px);
    width: calc(var(--nav-menu-gap) + 2px);
    height: 100%;
  }

  .navbar .tools-dropdown .dropdown-submenu > .dropdown-menu::before {
    right: calc(-1 * var(--nav-menu-gap) - 2px);
    left: auto;
  }
}

@media (min-width: 1200px) and (max-width: 1499px) {
  .navbar-brand {
    font-size: 2.5rem;
  }

  .navbar-brand .brand-lockup small {
    display: block;
  }

  .navbar-nav .nav-item {
    padding-right: 0.08rem;
  }

  .navbar-nav .nav-link {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    font-size: 1.07rem;
  }
}

@media (max-width: 1199px) {
  .navbar {
    min-height: 190px;
  }

  .site-brand-row {
    flex: 0 0 130px;
    min-height: 130px;
  }

  .brand-mark-shell {
    width: 80px;
    height: 80px;
  }

  .logo-depressed {
    width: 72px;
    height: 72px;
  }

  .navbar-toggler {
    position: static;
    margin-left: auto;
  }

  .navbar-collapse {
    width: calc(100% + 2rem);
    margin: 0 -1rem;
    padding: 0.45rem 1rem 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(91, 15, 50, 0.72);
  }

  .navbar-brand {
    margin-right: 0.45rem;
    font-size: 1.08rem;
  }

  .navbar-brand .brand-lockup small {
    display: none;
  }

  .navbar-nav .nav-item {
    padding-right: 0.12rem;
  }

  .navbar-nav .nav-link {
    padding-right: 0.2rem;
    padding-left: 0.2rem;
    font-size: 0.91rem;
  }

  .hero-grid,
  .highlight-panel {
    grid-template-columns: 1fr;
  }

  .hero-copy .hero-title {
    max-width: none;
  }

  .hero-signal-grid,
  .stats-grid-featured,
  .stats-grid-compact,
  .pathways-grid,
  .gateway-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual {
    min-height: 560px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .navbar .dropdown-submenu > .dropdown-menu {
    position: static;
    min-width: 0;
    margin: 0.5rem 0.75rem 0.75rem;
    padding: 0.25rem 0;
    background: rgba(255, 255, 255, 0.76);
    border-radius: 12px;
    box-shadow: inset 3px 0 0 rgba(196, 71, 127, 0.3);
  }

  .navbar .nav-item > .tools-dropdown,
  .navbar .stats-dropdown,
  .navbar .dropdown-menu[aria-labelledby="navDropGuides"] {
    right: auto;
    left: auto;
    min-width: 0;
    max-height: none;
    overflow: visible;
  }

  .navbar .tools-dropdown .dropdown-submenu > .dropdown-menu {
    max-height: none;
    overflow: visible;
  }

  .navbar .mega-menu-container::before,
  .navbar .dropdown-menu::before {
    display: none;
  }
}

@media (max-width: 991px) {
  .navbar {
    padding: 0;
  }

  .navbar .mega-menu-container {
    position: static;
    border-radius: 18px;
    margin-top: 0.6rem;
    box-shadow: 0 18px 30px rgba(35, 51, 99, 0.12);
  }

  .navbar .dropdown-submenu > .dropdown-menu {
    position: static;
    min-width: 0;
    margin: 0.5rem 0.75rem 0.75rem;
    padding: 0.25rem 0;
    background: rgba(255, 255, 255, 0.76);
    border-radius: 12px;
    box-shadow: inset 3px 0 0 rgba(196, 71, 127, 0.3);
  }

  .navbar .nav-item > .tools-dropdown {
    right: auto;
    left: auto;
    min-width: 0;
  }

  .navbar .stats-dropdown,
  .navbar .dropdown-menu[aria-labelledby="navDropGuides"] {
    right: auto;
    left: auto;
    max-height: none;
    overflow: visible;
  }

  .navbar .tools-dropdown .dropdown-submenu > .dropdown-menu {
    max-height: none;
    overflow: visible;
  }

  .navbar .dropdown-submenu > .dropdown-menu .dropdown-item {
    padding-left: 1.65rem;
    font-size: 0.94rem;
  }

  .navbar .dropdown-submenu.is-open .submenu-toggle span,
  .navbar .dropdown-submenu.is-open .submenu-toggle-row .submenu-row-arrow {
    transform: rotate(135deg);
  }

  .navbar .mega-menu-container::before,
  .navbar .dropdown-menu::before {
    display: none;
  }

  .hero-section {
    padding-top: 3.4rem;
  }

  .hero-visual {
    min-height: auto;
    display: grid;
    gap: 1rem;
  }

  .hero-photo-card,
  .hero-orchid-card,
  .hero-floating-metric,
  .hero-bloom-note {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .hero-signal-grid,
  .stats-grid-featured,
  .stats-grid-compact,
  .pathways-grid,
  .gateway-grid,
  .footer-grid,
  .highlight-visuals {
    grid-template-columns: 1fr;
  }

  .section-shell {
    padding: 4rem 0;
  }

  .home-page .module-section .path-card p {
    min-height: 0;
  }
}

@media (max-width: 767px) {
  .brand-mark-shell {
    width: 62px;
    height: 62px;
  }

  .logo-depressed {
    width: 56px;
    height: 56px;
  }

  .navbar-brand {
    gap: 0.62rem;
    font-size: 1.32rem;
  }

  .brand-lockup small {
    display: none;
  }

  .hero-copy .hero-title {
    font-size: 2.35rem;
  }

  .hero-btn {
    width: 100%;
    min-width: 0;
  }

  .hero-gene-search-bar {
    flex-wrap: wrap;
    row-gap: 0.75rem;
    border-radius: 28px;
    padding: 0.8rem;
  }

  .hero-gene-search-input {
    flex: 1 1 calc(100% - 2rem);
    font-size: 0.95rem;
  }

  .hero-gene-search-button {
    width: 100%;
  }

  .section-heading h2,
  .highlight-copy h2 {
    font-size: 1.9rem;
  }

  .highlight-panel {
    padding: 1.5rem;
  }

  .table-container {
    padding: 1rem;
  }
}

/* Refinement: make the homepage feel like a scrollable portal, not a single poster */
.orchid-home {
  overflow: visible;
}

.home-page .section-heading p,
.home-page .hero-lead,
.home-page .signal-card p,
.home-page .stat-card p,
.home-page .path-card p,
.home-page .gateway-card p,
.home-page .story-copy p,
.home-page .story-list li,
.home-page .resource-section-heading p,
.home-page .film-strip-home-copy p,
.home-page .hero-carousel-caption p,
.home-page .hero-carousel-meta p,
.home-page .overview-board-intro p,
.home-page .overview-module-copy p {
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
  hyphens: auto;
}

.hero-section {
  padding: 3.25rem 0 2.25rem;
}

.hero-grid.hero-grid-compact {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
  align-items: stretch;
  gap: 2.1rem;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy .hero-title {
  max-width: 11ch;
}

.home-page .hero-copy .hero-lead {
  max-width: 35rem;
  margin-bottom: 1.15rem;
  text-align: left;
  text-wrap: pretty;
}

.hero-metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  max-width: 34rem;
}

.hero-metric {
  padding: 0.85rem 0;
  border-top: 1px solid rgba(143, 34, 72, 0.16);
  border-bottom: 1px solid rgba(143, 34, 72, 0.1);
}

.hero-metric strong {
  display: block;
  color: var(--orchid-deep);
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1;
}

.hero-metric span {
  display: block;
  margin-top: 0.35rem;
  color: rgba(30, 47, 95, 0.68);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-visual.hero-visual-compact {
  min-height: 0;
  display: grid;
  gap: 1rem;
  align-content: start;
}

.hero-carousel-shell,
.hero-carousel-meta {
  width: 100%;
}

.hero-carousel-shell {
  padding: 1rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(203, 103, 136, 0.15);
  box-shadow: 0 24px 46px rgba(145, 58, 94, 0.12);
  backdrop-filter: blur(14px);
}

.hero-carousel {
  overflow: hidden;
  border-radius: 24px;
}

.hero-carousel .carousel-item {
  position: relative;
}

.hero-carousel .carousel-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 22, 42, 0.06), rgba(17, 22, 42, 0.48));
}

.hero-carousel .carousel-item img {
  display: block;
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: center;
}

.hero-carousel-indicators {
  margin-bottom: 0.9rem;
}

.hero-carousel-indicators li {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border-top: 0;
  border-bottom: 0;
  background-color: rgba(255, 255, 255, 0.55);
}

.hero-carousel-indicators .active {
  background-color: #ffffff;
}

.hero-carousel-caption {
  position: absolute;
  left: 2.65rem;
  right: 2.65rem;
  bottom: 1.35rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.95rem 1.55rem 1rem;
  border-radius: 20px;
  background: rgba(255, 250, 252, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
}

.hero-carousel-caption span,
.hero-carousel-meta span {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(183, 68, 108, 0.94);
}

.hero-carousel-caption strong,
.hero-carousel-meta strong {
  display: block;
  margin-bottom: 0;
  font-size: 1.12rem;
  line-height: 1.34;
  color: var(--orchid-ink);
  text-wrap: balance;
}

.hero-carousel-caption p,
.hero-carousel-meta p {
  margin-bottom: 0;
  font-size: 0.98rem;
  line-height: 1.52;
  text-wrap: pretty;
}

.hero-carousel-control {
  width: 11%;
  z-index: 3;
}

.hero-carousel-control .carousel-control-prev-icon,
.hero-carousel-control .carousel-control-next-icon {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  background-color: rgba(24, 32, 60, 0.28);
  background-size: 48% 48%;
}

.hero-carousel-meta {
  padding: 1.2rem 1.35rem;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 252, 253, 0.92), rgba(255, 237, 243, 0.92));
  border: 1px solid rgba(203, 103, 136, 0.12);
  box-shadow: 0 18px 34px rgba(145, 58, 94, 0.08);
}

.hero-photo-card.hero-photo-card-compact,
.hero-floating-metric.hero-floating-metric-compact {
  position: relative;
  inset: auto;
  width: 100%;
}

.hero-photo-card.hero-photo-card-compact img {
  max-height: 320px;
  object-fit: cover;
}

.hero-photo-card.hero-photo-card-compact .real-orchid-shot {
  width: min(100%, 320px);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 50%;
  object-fit: cover;
  object-position: left center;
  box-shadow: 0 18px 34px rgba(76, 90, 132, 0.16);
}

.hero-floating-metric.hero-floating-metric-compact strong {
  font-size: 1.2rem;
}

.hero-signal-grid.hero-signal-grid-compact {
  margin-top: 1.35rem;
}

.section-soft {
  padding-top: 3rem;
}

.module-section {
  padding-top: 2.8rem;
}

.orchid-resource-section {
  padding-top: 3rem;
}

.resource-section-heading {
  max-width: 860px;
}

.resource-atlas-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.resource-node-card {
  --node-accent: #c88ba5;
  --node-mid: #b9688e;
  --node-deep: #8f3b60;
  --node-shade-strong: rgba(83, 12, 43, 0.42);
  --node-shade-soft: rgba(83, 12, 43, 0.18);
  --node-inner-shadow: rgba(58, 7, 29, 0.2);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "top"
    "chart";
  gap: 0.95rem;
  align-items: start;
  min-height: 364px;
  padding: 1.08rem 1.15rem 1.15rem;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(252, 214, 227, 0.34), transparent 30%),
    linear-gradient(180deg, rgba(255, 252, 253, 0.97), rgba(255, 242, 247, 0.94));
  border: 1px solid rgba(203, 103, 136, 0.12);
  box-shadow: 0 22px 42px rgba(145, 58, 94, 0.08);
  isolation: isolate;
  overflow: hidden;
  text-decoration: none !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.resource-node-card::before {
  content: "";
  position: absolute;
  right: -54px;
  bottom: -92px;
  width: 185px;
  height: 185px;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(203, 103, 136, 0.18) 0%, rgba(203, 103, 136, 0.04) 48%, transparent 72%);
  pointer-events: none;
}

.resource-scale-01 {
  --node-accent: #d8a8ba;
  --node-mid: #c985a0;
  --node-deep: #a24f72;
  --node-shade-strong: rgba(122, 48, 82, 0.34);
  --node-shade-soft: rgba(122, 48, 82, 0.14);
  --node-inner-shadow: rgba(92, 24, 55, 0.16);
}

.resource-scale-02 {
  --node-accent: #d09ab0;
  --node-mid: #c07797;
  --node-deep: #984568;
  --node-shade-strong: rgba(113, 39, 74, 0.36);
  --node-shade-soft: rgba(113, 39, 74, 0.15);
  --node-inner-shadow: rgba(86, 21, 50, 0.17);
}

.resource-scale-03 {
  --node-accent: #c88ba5;
  --node-mid: #b9688e;
  --node-deep: #8f3b60;
  --node-shade-strong: rgba(106, 33, 68, 0.38);
  --node-shade-soft: rgba(106, 33, 68, 0.16);
  --node-inner-shadow: rgba(78, 18, 46, 0.18);
}

.resource-scale-04 {
  --node-accent: #bf7d99;
  --node-mid: #ae5b84;
  --node-deep: #853556;
  --node-shade-strong: rgba(98, 27, 61, 0.4);
  --node-shade-soft: rgba(98, 27, 61, 0.17);
  --node-inner-shadow: rgba(72, 15, 42, 0.19);
}

.resource-scale-05 {
  --node-accent: #b87290;
  --node-mid: #a7507b;
  --node-deep: #7d2f50;
  --node-shade-strong: rgba(91, 23, 56, 0.42);
  --node-shade-soft: rgba(91, 23, 56, 0.18);
  --node-inner-shadow: rgba(66, 12, 38, 0.2);
}

.resource-scale-06 {
  --node-accent: #ad6589;
  --node-mid: #9a436e;
  --node-deep: #742846;
  --node-shade-strong: rgba(84, 19, 50, 0.44);
  --node-shade-soft: rgba(84, 19, 50, 0.19);
  --node-inner-shadow: rgba(60, 10, 35, 0.21);
}

.resource-scale-07 {
  --node-accent: #a65a80;
  --node-mid: #923964;
  --node-deep: #6b223e;
  --node-shade-strong: rgba(78, 16, 45, 0.46);
  --node-shade-soft: rgba(78, 16, 45, 0.2);
  --node-inner-shadow: rgba(55, 8, 31, 0.22);
}

.resource-scale-08 {
  --node-accent: #9b4b72;
  --node-mid: #84305a;
  --node-deep: #621b38;
  --node-shade-strong: rgba(70, 13, 40, 0.48);
  --node-shade-soft: rgba(70, 13, 40, 0.21);
  --node-inner-shadow: rgba(50, 7, 28, 0.23);
}

.resource-scale-09 {
  --node-accent: #913e67;
  --node-mid: #78264f;
  --node-deep: #591530;
  --node-shade-strong: rgba(64, 10, 36, 0.5);
  --node-shade-soft: rgba(64, 10, 36, 0.22);
  --node-inner-shadow: rgba(45, 6, 25, 0.24);
}

.resource-scale-10 {
  --node-accent: #87325d;
  --node-mid: #6d1d45;
  --node-deep: #4d1028;
  --node-shade-strong: rgba(57, 8, 32, 0.52);
  --node-shade-soft: rgba(57, 8, 32, 0.23);
  --node-inner-shadow: rgba(40, 5, 22, 0.25);
}

.resource-scale-11 {
  --node-accent: #7f1e40;
  --node-mid: #5f1735;
  --node-deep: #420b22;
  --node-shade-strong: rgba(50, 5, 27, 0.54);
  --node-shade-soft: rgba(50, 5, 27, 0.24);
  --node-inner-shadow: rgba(34, 3, 18, 0.26);
}

.resource-atlas-grid .resource-node-card {
  --node-accent: #d6a2b7;
  --node-mid: #b9688e;
  --node-deep: #8f3b60;
  --node-shade-strong: rgba(106, 33, 68, 0.38);
  --node-shade-soft: rgba(106, 33, 68, 0.16);
  --node-inner-shadow: rgba(78, 18, 46, 0.18);
}

.resource-node-card:hover {
  transform: translateY(-4px);
  border-color: rgba(203, 103, 136, 0.22);
  box-shadow: 0 26px 46px rgba(145, 58, 94, 0.12);
}

.resource-node-card:focus-visible {
  outline: 3px solid rgba(183, 77, 114, 0.26);
  outline-offset: 4px;
}

.resource-node-top {
  grid-area: top;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0;
}

.resource-node-top i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #d6a2b7, #b9688e);
  color: #ffffff;
  font-size: 1rem;
  box-shadow: 0 12px 24px rgba(164, 66, 106, 0.18);
}

.resource-node-group {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(143, 34, 72, 0.82);
  line-height: 1.25;
}

.resource-node-chart {
  grid-area: chart;
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.9rem;
  align-items: start;
}

.resource-node-ring {
  position: relative;
  width: 100%;
  height: auto;
  padding: 0.15rem 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  isolation: isolate;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.resource-node-ring::before {
  content: none;
}

.resource-node-ring::after {
  content: none;
}

.resource-node-ring strong,
.resource-node-ring span {
  position: relative;
  z-index: 1;
  text-align: center;
}

.resource-node-ring strong {
  max-width: 100%;
  font-size: 2.24rem;
  font-weight: 800;
  color: #8f3b60;
  line-height: 1.05;
  letter-spacing: 0;
}

.resource-node-ring span {
  max-width: 100%;
  margin-top: 0.2rem;
  padding-left: 0;
  border-left: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(143, 34, 72, 0.58);
}

.resource-node-plot {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: start;
  height: 220px;
  padding: 0.74rem 0.58rem 0.42rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(249, 233, 240, 0.92));
  border: 1px solid rgba(203, 103, 136, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 12px 24px rgba(145, 58, 94, 0.07);
}

.resource-node-plot::before {
  content: none;
}

.resource-node-plot-copy {
  display: grid;
  grid-template-rows: auto minmax(2.15rem, 2.15rem);
  align-content: start;
  gap: 0.18rem;
}

.resource-node-plot-kicker {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(121, 49, 78, 0.5);
}

.resource-node-plot-copy p {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.38;
  color: rgba(101, 58, 77, 0.72);
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.resource-node-mini-chart {
  width: 100%;
  height: 142px;
  margin-top: 0.38rem;
  align-self: end;
}

.resource-node-card:hover .resource-node-plot {
  border-color: rgba(203, 103, 136, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 16px 28px rgba(145, 58, 94, 0.1);
}

.filmstrip-section {
  padding-top: 2.8rem;
}

.film-strip-home {
  --film-frame-width: 310px;
  --film-frame-height: 300px;
  --film-track-gap: 1.15rem;
  --film-perforation-height: 18px;
  --film-divider-width: 3px;
  --film-divider-inset: 10px;
  --film-shell-fill:
    radial-gradient(circle at 15% 30%, #f1c4cb 0, #f1c4cb 18%, transparent 34%),
    radial-gradient(circle at 85% 42%, #e4a2ad 0, #e4a2ad 20%, transparent 36%),
    linear-gradient(180deg, #efc1c8 0%, #e796a4 52%, #d9778a 100%);
  overflow: hidden;
  padding: 0.45rem 0 0;
  user-select: none;
}

.film-strip-home-bg {
  position: relative;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  padding: 1.4rem clamp(1.25rem, 4vw, 4rem);
  background: var(--film-shell-fill);
  border-top: 1px solid rgba(170, 52, 78, 0.16);
  border-bottom: 1px solid rgba(170, 52, 78, 0.16);
  cursor: grab;
}

.film-strip-home-bg:active {
  cursor: grabbing;
}

.film-strip-home-seam-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.film-strip-home-perforations {
  position: absolute;
  left: 0;
  width: 100%;
  height: var(--film-perforation-height);
  z-index: 3;
  background-repeat: repeat-x;
  background-size: 28px var(--film-perforation-height);
  pointer-events: none;
}

.film-strip-home-perforations-top {
  top: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='28' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='7' y='3' width='14' height='12' rx='4' ry='4' fill='%23fff8fa' stroke='%23f1c5d2' stroke-width='1'/%3E%3C/svg%3E");
}

.film-strip-home-perforations-bottom {
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='28' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='7' y='3' width='14' height='12' rx='4' ry='4' fill='%23fff8fa' stroke='%23f1c5d2' stroke-width='1'/%3E%3C/svg%3E");
}

.film-strip-home-track {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  gap: var(--film-track-gap);
  will-change: transform;
}

.film-strip-home-frame {
  flex: 0 0 var(--film-frame-width);
  display: flex;
  flex-direction: column;
  height: var(--film-frame-height);
  overflow: hidden;
  text-decoration: none !important;
  border-radius: 6px;
  background: linear-gradient(180deg, #fffdfd, #fff4f7);
  border: 1px solid rgba(214, 154, 176, 0.26);
  box-shadow: 0 14px 28px rgba(145, 58, 94, 0.14);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.film-strip-home-frame:hover {
  transform: scale(1.04);
  box-shadow: 0 18px 36px rgba(145, 58, 94, 0.2);
}

.film-strip-home-image-wrap {
  height: 55%;
  overflow: hidden;
  background: #dbe2ea;
}

.film-strip-home-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.film-strip-home-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  height: 45%;
  padding: 0.75rem 0.95rem;
  background: linear-gradient(180deg, rgba(255, 252, 253, 0.98), rgba(255, 240, 245, 0.96));
}

.film-strip-home-copy h3 {
  margin-bottom: 0;
  font-size: 1rem;
  color: var(--orchid-ink);
}

.film-strip-home-copy p {
  margin-bottom: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: rgba(30, 47, 95, 0.74);
}

.film-strip-home-seam {
  position: absolute;
  top: calc(var(--film-perforation-height) + var(--film-divider-inset));
  bottom: calc(var(--film-perforation-height) + var(--film-divider-inset));
  width: var(--film-divider-width);
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.24s ease;
  background: var(--orchid-page-backdrop);
  background-attachment: fixed;
  background-position: center top;
  border-radius: 999px;
  box-shadow: none;
}

.film-strip-home-seam::before,
.film-strip-home-seam::after {
  content: none;
}

.orchid-image-card {
  overflow: hidden;
}

.module-orchid-visual {
  margin-top: 1rem;
  padding: 0.9rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 244, 248, 0.94), rgba(255, 231, 238, 0.88));
}

.module-orchid-visual img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
}

.module-orchid-visual .real-orchid-banner {
  width: 100%;
  max-height: 220px;
  border-radius: 18px;
  object-fit: cover;
  object-position: center;
}

.orchid-story-section {
  padding-top: 2.6rem;
}

.story-flow-header {
  display: block;
  margin-bottom: 1.8rem;
}

.story-flow-header p {
  max-width: 920px;
  margin: 0.7rem 0 0;
  color: rgba(30, 47, 95, 0.74);
  line-height: 1.65;
}

.workflow-map {
  --flow-rose: #b24c7c;
  --flow-teal: #4f9f9c;
  --flow-gold: #e7b470;
  --flow-violet: #7b6fb3;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 1.55rem 1.45rem;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 251, 253, 0.97), rgba(247, 245, 250, 0.92));
  border: 1px solid rgba(203, 103, 136, 0.14);
  box-shadow: 0 28px 54px rgba(145, 58, 94, 0.1);
}

.workflow-map::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 22% 18%, rgba(231, 180, 112, 0.12), transparent 24%),
    radial-gradient(circle at 78% 62%, rgba(79, 159, 156, 0.11), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 236, 243, 0.2));
}

.workflow-terminal {
  position: relative;
  z-index: 2;
  width: min(100%, 560px);
  padding: 0.9rem 1.1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(203, 103, 136, 0.13);
  box-shadow: 0 16px 28px rgba(145, 58, 94, 0.07);
  backdrop-filter: blur(10px);
}

.workflow-terminal-start {
  margin: 0 auto 0.95rem;
  text-align: center;
}

.workflow-terminal-result {
  margin: 0.95rem auto 0;
  text-align: center;
  border-color: rgba(79, 159, 156, 0.2);
}

.workflow-terminal span,
.workflow-step-copy span {
  display: block;
  margin-bottom: 0.46rem;
  color: rgba(143, 34, 72, 0.78);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.workflow-terminal strong {
  display: block;
  margin-bottom: 0.32rem;
  color: var(--orchid-ink);
  font-size: 1.18rem;
  line-height: 1.25;
}

.workflow-terminal p,
.workflow-step-copy p {
  margin: 0;
  color: rgba(30, 47, 95, 0.72);
  line-height: 1.55;
}

.workflow-spine {
  position: relative;
  display: grid;
  gap: 0;
  padding: 0.35rem 0;
}

.workflow-spine::before,
.workflow-spine::after {
  content: "";
  position: absolute;
  top: -1.3rem;
  bottom: -1.3rem;
  left: 50%;
  width: 3px;
  border-radius: 8px;
  transform: translateX(-50%);
}

.workflow-spine::before {
  background: linear-gradient(180deg, rgba(178, 76, 124, 0.18), rgba(79, 159, 156, 0.22), rgba(123, 111, 179, 0.18));
}

.workflow-spine::after {
  background: linear-gradient(180deg, var(--flow-rose), var(--flow-teal), var(--flow-violet));
  transform: translateX(-50%) scaleY(0);
  transform-origin: top;
  transition: transform 1.8s ease;
}

.workflow-map.timeline-active .workflow-spine::after {
  transform: translateX(-50%) scaleY(1);
}

.workflow-step {
  --step-accent: var(--flow-rose);
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 78px minmax(0, 1fr);
  align-items: center;
  min-height: 0;
  color: inherit;
  text-decoration: none !important;
}

.workflow-step + .workflow-step {
  margin-top: -2.25rem;
}

.workflow-step:nth-child(3),
.workflow-step:nth-child(5) {
  margin-top: -1.45rem;
}

.workflow-step:nth-child(2) {
  --step-accent: #619a78;
}

.workflow-step:nth-child(3) {
  --step-accent: var(--flow-teal);
}

.workflow-step:nth-child(4) {
  --step-accent: var(--flow-violet);
}

.workflow-step:nth-child(5) {
  --step-accent: #9e3d7f;
}

.workflow-step::after {
  content: "";
  position: absolute;
  top: 50%;
  z-index: 0;
  width: 74px;
  height: 2px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(143, 34, 72, 0.08), color-mix(in srgb, var(--step-accent) 58%, transparent));
}

.workflow-step-left::after {
  right: calc(50% + 20px);
}

.workflow-step-right::after {
  left: calc(50% + 20px);
}

.workflow-step-index {
  position: relative;
  z-index: 2;
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 8px;
  background: #ffffff;
  border: 2px solid color-mix(in srgb, var(--step-accent) 42%, #ffffff);
  color: var(--orchid-deep);
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(145, 58, 94, 0.12);
}

.workflow-step-card {
  position: relative;
  z-index: 1;
  grid-row: 1;
  display: grid;
  grid-template-columns: 39% minmax(0, 1fr);
  width: min(100%, 570px);
  min-height: 164px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(203, 103, 136, 0.14);
  box-shadow: 0 22px 44px rgba(145, 58, 94, 0.1);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.workflow-step-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--step-accent), var(--flow-gold));
}

.workflow-step-left .workflow-step-card {
  grid-column: 1;
  justify-self: end;
}

.workflow-step-right .workflow-step-card {
  grid-column: 3;
  justify-self: start;
}

.workflow-step:hover .workflow-step-card {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--step-accent) 38%, #ffffff);
  box-shadow: 0 28px 54px rgba(145, 58, 94, 0.14);
}

.workflow-step-visual {
  position: relative;
  min-height: 164px;
  background: rgba(255, 244, 248, 0.8);
}

.workflow-step-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0), rgba(255, 244, 248, 0.54)),
    linear-gradient(180deg, transparent, rgba(92, 24, 49, 0.08));
}

.workflow-step-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.workflow-step-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 1.12rem 1.18rem;
}

.workflow-step-copy span {
  color: color-mix(in srgb, var(--step-accent) 78%, var(--orchid-deep));
}

.workflow-step-copy strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--orchid-ink);
  font-size: 1.18rem;
  line-height: 1.28;
}

.workflow-map.workflow-enhanced .workflow-step {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.workflow-map.workflow-enhanced .workflow-step-left {
  transform: translate(-22px, 24px);
}

.workflow-map.workflow-enhanced .workflow-step-right {
  transform: translate(22px, 24px);
}

.workflow-map.workflow-enhanced .workflow-step.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .workflow-map.workflow-enhanced .workflow-step {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .workflow-spine::after {
    transition: none;
  }
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: 1.5rem;
  align-items: center;
}

.story-copy h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--orchid-ink);
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

.story-list li {
  color: rgba(30, 47, 95, 0.78);
}

.analysis-flow-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.analysis-flow-card {
  display: block;
  min-height: 180px;
  padding: 1.1rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 252, 253, 0.94), rgba(255, 240, 245, 0.9));
  border: 1px solid rgba(203, 103, 136, 0.13);
  box-shadow: 0 18px 34px rgba(145, 58, 94, 0.08);
  color: inherit;
  text-decoration: none !important;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.analysis-flow-card:hover {
  transform: translateY(-3px);
  border-color: rgba(203, 103, 136, 0.24);
  box-shadow: 0 22px 38px rgba(145, 58, 94, 0.12);
}

.analysis-flow-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.8rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(196, 71, 127, 0.16), rgba(244, 177, 142, 0.22));
  border: 1px solid rgba(203, 103, 136, 0.16);
  color: var(--orchid-deep);
  font-size: 0.82rem;
  font-weight: 800;
}

.analysis-flow-card strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--orchid-ink);
  font-size: 1.05rem;
  line-height: 1.35;
}

.analysis-flow-card p {
  margin-bottom: 0;
  color: rgba(30, 47, 95, 0.74);
  font-size: 0.9rem;
  line-height: 1.55;
}

.story-visuals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.story-visual-card {
  padding: 1rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(203, 103, 136, 0.13);
  box-shadow: 0 22px 42px rgba(145, 58, 94, 0.08);
}

.story-visual-card-soft {
  background: linear-gradient(180deg, rgba(255, 246, 249, 0.94), rgba(255, 233, 239, 0.9));
}

.real-orchid-panel {
  width: 100%;
  min-height: 240px;
  border-radius: 20px;
  object-fit: cover;
  object-position: center;
}

footer.site-footer {
  padding: 3.2rem 0 2.4rem;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 2rem;
  align-items: start;
}

.footer-brand-wrap {
  gap: 1rem;
}

.footer-brand-mark-shell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.footer-brand-block,
.footer-links-block {
  min-width: 0;
}

.footer-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.footer-brand-eyebrow {
  display: inline-flex;
  margin-bottom: 0.45rem;
  color: rgba(255, 239, 246, 0.72);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.widgetheading {
  margin-bottom: 0.8rem;
  color: #fff8fb;
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

.footer-contact-panel {
  max-width: 100%;
}

.footer-inline-links-compact {
  gap: 0.65rem 0.85rem;
}

.quick-links {
  padding-left: 0;
}

.quick-links a {
  color: rgba(252, 246, 250, 0.88);
}

.quick-links a:hover {
  color: #ffffff;
}

.footer-bottom-contact {
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom-contact .contact-info {
  max-width: 100%;
  color: rgba(252, 246, 250, 0.9);
}

.contact-info-inline {
  font-size: 0.84rem;
  line-height: 1.25;
  white-space: nowrap;
  text-align: center;
}

@media (max-width: 1199px) {
  .resource-atlas-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .overview-module-row,
  .hero-grid.hero-grid-compact,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .hero-carousel .carousel-item img {
    height: 380px;
  }
}

@media (max-width: 991px) {
  .hero-copy .hero-title {
    max-width: none;
  }

  .orchid-home::before {
    background:
      radial-gradient(circle at 18% 16%, rgba(248, 224, 241, 0.64), transparent 20%),
      radial-gradient(circle at 86% 12%, rgba(226, 218, 255, 0.7), transparent 18%);
  }

  .resource-atlas-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .overview-board-intro {
    flex-direction: column;
  }

  .overview-board-chipset {
    justify-content: flex-start;
  }

  .overview-module-links {
    justify-content: flex-start;
  }

  .hero-signal-grid.hero-signal-grid-compact,
  .analysis-flow-panel,
  .story-visuals {
    grid-template-columns: 1fr;
  }

  .story-flow-header {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    margin-bottom: 1.2rem;
  }

  .story-flow-header p {
    max-width: none;
  }

  .workflow-map {
    padding: 1.1rem;
  }

  .workflow-spine {
    gap: 1rem;
    padding: 0.45rem 0 0.55rem;
  }

  .workflow-spine::before,
  .workflow-spine::after {
    left: 1.28rem;
    transform: translateX(0);
  }

  .workflow-map.timeline-active .workflow-spine::after {
    transform: translateX(0) scaleY(1);
  }

  .workflow-step {
    grid-template-columns: 56px minmax(0, 1fr);
    min-height: 0;
  }

  .workflow-step-index {
    grid-column: 1;
    grid-row: 1;
    width: 2.8rem;
    height: 2.8rem;
  }

  .workflow-step-card,
  .workflow-step-left .workflow-step-card,
  .workflow-step-right .workflow-step-card {
    grid-column: 2;
    grid-row: 1;
    justify-self: stretch;
    width: 100%;
    max-width: none;
    grid-template-columns: 132px minmax(0, 1fr);
    min-height: 156px;
  }

  .workflow-step::after {
    left: 1.28rem;
    width: 34px;
    transform: none;
  }

  .workflow-step-left::after,
  .workflow-step-right::after {
    right: auto;
    left: 1.28rem;
  }

  .workflow-step-visual {
    min-height: 156px;
  }

  .footer-brand-wrap {
    flex-direction: column;
  }

  .footer-brand-mark-shell {
    width: 58px;
    height: 58px;
  }

  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-carousel .carousel-item img {
    height: 320px;
  }

  .hero-carousel-caption {
    left: 2.2rem;
    right: 2.2rem;
    bottom: 1rem;
    padding: 0.9rem 1.2rem 0.95rem;
  }

  .contact-info-inline {
    font-size: 0.8rem;
  }

  .film-strip-home-frame {
    flex-basis: 280px;
    height: 286px;
  }
}

@media (max-width: 575px) {
  .hero-grid.hero-grid-compact {
    gap: 1.6rem;
  }

  .hero-copy .hero-title {
    font-size: 1.95rem;
  }

  .hero-gene-search {
    margin-bottom: 1.35rem;
  }

  .hero-gene-search-bar {
    gap: 0.7rem;
    padding: 0.72rem;
  }

  .hero-gene-search-input {
    font-size: 0.92rem;
  }

  .hero-gene-search-button {
    padding: 0.76rem 1.1rem;
    font-size: 0.9rem;
  }

  .hero-gene-search-hint {
    font-size: 0.82rem;
  }

  .hero-carousel-shell {
    padding: 0.7rem;
    border-radius: 24px;
  }

  .hero-carousel .carousel-item img {
    height: 260px;
  }

  .hero-carousel-caption {
    left: 1.35rem;
    right: 1.35rem;
    padding: 0.82rem 1rem 0.88rem;
  }

  .hero-carousel-caption strong,
  .hero-carousel-meta strong {
    font-size: 1rem;
  }

  .resource-atlas-grid {
    grid-template-columns: 1fr;
  }

  .resource-node-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "top"
      "chart";
    min-height: 344px;
    padding: 1.05rem;
  }

  .resource-node-chart {
    gap: 0.82rem;
  }

  .resource-node-ring {
    width: 100%;
    height: auto;
  }

  .resource-node-ring strong {
    font-size: 2.08rem;
  }

  .resource-node-plot {
    height: 210px;
    padding: 0.72rem 0.5rem 0.38rem;
  }

  .resource-node-plot-copy p {
    font-size: 0.7rem;
  }

  .resource-node-mini-chart {
    height: 134px;
  }

  .orchid-home::before {
    background:
      radial-gradient(circle at 18% 16%, rgba(248, 224, 241, 0.6), transparent 20%),
      radial-gradient(circle at 86% 10%, rgba(226, 218, 255, 0.68), transparent 18%);
  }

  .overview-board {
    padding: 1.2rem;
  }

  .overview-module-row {
    padding: 1rem;
  }

  .overview-module-links a,
  .overview-metric-pill {
    width: 100%;
    justify-content: center;
  }

  .film-strip-home-bg {
    padding: 1.15rem 1rem;
  }

  .film-strip-home {
    --film-frame-width: 232px;
    --film-frame-height: 264px;
    --film-track-gap: 0.9rem;
  }

  .film-strip-home-track {
    gap: var(--film-track-gap);
  }

  .film-strip-home-frame {
    flex-basis: var(--film-frame-width);
    height: var(--film-frame-height);
  }

  .film-strip-home-copy {
    padding: 0.65rem 0.8rem;
  }

  .module-section .path-links a {
    min-width: min(100%, 5.6rem);
  }

  .path-visual {
    height: 88px;
  }

  .workflow-map {
    padding: 0.85rem;
  }

  .workflow-terminal {
    padding: 0.78rem 0.86rem;
    text-align: left;
  }

  .workflow-spine {
    gap: 0.9rem;
  }

  .workflow-spine::before,
  .workflow-spine::after,
  .workflow-step-left::after,
  .workflow-step-right::after {
    left: 1.02rem;
  }

  .workflow-step {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .workflow-step-index {
    width: 2.15rem;
    height: 2.15rem;
    font-size: 0.66rem;
  }

  .workflow-step-card,
  .workflow-step-left .workflow-step-card,
  .workflow-step-right .workflow-step-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .workflow-step-visual {
    min-height: 128px;
    height: 128px;
  }

  .workflow-step-copy {
    padding: 0.9rem 0.96rem 1rem;
  }
}

/* Homepage section rhythm */
.home-page .hero-section {
  padding: 3.45rem 0 3rem;
  background: transparent;
}

.home-page .orchid-feature-section {
  margin-top: 2.6rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(143, 34, 72, 0.1);
}

.home-page .section-shell {
  position: relative;
  padding: 4.35rem 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.home-page .section-shell::before {
  content: none;
}

.home-page .section-heading {
  max-width: none;
  margin-bottom: 2.2rem;
}

.home-page .section-heading p,
.home-page .story-copy > p {
  max-width: none;
  text-align: left;
  text-justify: auto;
}

.home-page .feature-card p,
.home-page .module-section .path-card p,
.home-page .path-card p,
.home-page .workflow-terminal p,
.home-page .workflow-step-copy p {
  text-align: justify;
  text-align-last: left;
  text-justify: inter-word;
  hyphens: auto;
  overflow-wrap: normal;
}

.home-page .filmstrip-section {
  padding-bottom: 4.5rem;
}

@media (max-width: 991px) {
  .home-page .hero-section,
  .home-page .section-shell {
    padding: 3.25rem 0;
  }

  .home-page .orchid-feature-section {
    margin-top: 2.1rem;
    padding-top: 1.45rem;
  }
}
