/* R2027 workbench candidate. Load AFTER all existing clinical styles. */
.pw-landing.r27-home {
  --r27-navy: #081d29;
  --r27-ivory: #f7f5ee;
  --r27-teal: #9ae0d1;
  --r27-gold: #d5bb83;
  --pw-ink: #142d36;
  --pw-ink-soft: #405b63;
  --pw-muted: #50676d;
  max-width: 1328px;
  padding: 24px 32px 64px;
  color: var(--pw-ink);
  background: var(--r27-ivory);
}
.pw-landing .r27-hero {
  text-align: left;
  padding: 68px 42% 70px 48px;
  min-height: 650px;
  border: 1px solid #26444e;
  border-radius: 8px;
  background: var(--r27-navy);
  box-shadow: 0 24px 50px #081d291c;
  overflow: visible;
  isolation: isolate;
}
.pw-landing .r27-hero::before { display: none; }
.pw-landing .r27-hero::after {
  border-radius: inherit;
  background: linear-gradient(90deg, #061b28f5 0%, #061b28d9 43%, #061b2840 78%, #061b2859 100%);
}
.pw-landing .r27-hero > .pw-clinical-film {
  opacity: .88;
  filter: saturate(.8);
  border-radius: inherit;
  object-position: 64% center;
}
.pw-landing .r27-hero .pw-hero-kicker {
  color: var(--r27-teal); background: transparent; padding: 0;
  font: 600 10px/1.6 ui-monospace, monospace; letter-spacing: .19em;
}
.pw-landing .r27-hero h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400; font-size: clamp(38px, 4.6vw, 66px); line-height: 1.04;
  color: var(--r27-ivory); margin: 0 0 24px; letter-spacing: -.045em;
}
.pw-landing .r27-hero > p { color: #d3e3e6; font-size: 15px; line-height: 1.8; margin: 0 0 28px; }
.pw-landing .r27-hero .pw-hero-search { margin: 0 0 22px; z-index: 4; }
.pw-landing .r27-hero .pw-hero-search input { background: #fcfcf7; color: #142d36; border-radius: 5px; padding-left: 18px; font-size: 14px; min-height: 54px; }
.pw-landing .r27-hero .pw-hero-search input::placeholder { color: #50676d; opacity: 1; }
.pw-landing .r27-hero .pw-hero-stats { justify-content: flex-start; color: #d3e3e6; gap: 12px 24px; }
.pw-landing .r27-hero .pw-hero-stats strong { color: #fff; }
.pw-landing .r27-hero #hero-cta > div { justify-content: flex-start !important; }
.pw-landing .r27-hero .pw-btn { border-radius: 4px; }
.pw-landing .r27-hero .pw-btn-primary { background: var(--r27-teal); color: #082c31; border-color: var(--r27-teal); }
.r27-eyebrow { display: block; font: 600 10px/1.7 ui-monospace, monospace; letter-spacing: .15em; text-transform: uppercase; }
.r27-instrument { position: absolute; right: 32px; bottom: 84px; width: 29%; padding: 24px; color: #c5e3e3; border: 1px solid #86c8c344; border-top-color: #a8d4c9aa; background: #071f2bd9; backdrop-filter: blur(12px); border-radius: 4px; }
.pw-hero .r27-instrument-title { font: 400 28px/1.15 Georgia, serif; color: #f7f5ee; margin: 14px 0 18px; }
.r27-instrument-links a { display: flex; justify-content: space-between; gap: 8px; padding: 12px 0; border-top: 1px solid #84b1ae35; color: #dbf4ed; font-size: 12px; }
.r27-instrument small { display: block; font: 9px/1.7 ui-monospace, monospace; color: #b4c8cb; margin-top: 16px; }
.r27-screen { height: 66px; margin-top: 20px; position: relative; overflow: hidden; background: repeating-linear-gradient(0deg, transparent 0 15px, #99d9ca12 15px 16px), repeating-linear-gradient(90deg, transparent 0 30px, #99d9ca12 30px 31px); }
.r27-screen i { position: absolute; width: 72%; height: 27px; left: 12%; top: 18px; border: 1px solid #9ae0d1; border-radius: 50%; transform: rotate(-12deg); }
.r27-screen i:nth-child(2) { transform: rotate(12deg); opacity: .65; }
.r27-screen i:nth-child(3) { transform: rotate(32deg); opacity: .4; }
.r27-screen span { position: absolute; top: 0; bottom: 0; width: 1px; background: #d5bb83; box-shadow: 0 0 15px #d5bb8388; animation: r27-scan 9s ease-in-out infinite alternate; }
@keyframes r27-scan { from { left: 8%; opacity: .3; } to { left: 92%; opacity: .8; } }
.r27-motion-toggle { position: absolute; right: 32px; bottom: 24px; border: 1px solid #82a6ad; border-radius: 4px; padding: 10px 14px; min-height: 44px; background: #092331; color: #d9ebe9; font: 11px/1.5 ui-monospace, monospace; cursor: pointer; }
.r27-atlas { display: grid; grid-template-columns: 1fr 1fr; margin: 68px 0 56px; border: 1px solid #bacbc7; background: #fdfcf8; border-radius: 6px; overflow: hidden; }
.r27-atlas-copy { padding: 44px; }
.r27-atlas .r27-eyebrow, .r27-standards .r27-eyebrow { color: #316c66; }
.r27-atlas h3, .r27-standards h3 { font: 400 clamp(32px, 3.5vw, 48px)/1.07 Georgia, serif; letter-spacing: -.045em; margin: 24px 0; }
.r27-atlas h3 em, .r27-standards h3 em { font-weight: 400; color: #28685f; }
.r27-atlas-copy p, .r27-standards p { font-size: 14px; line-height: 1.8; color: #405b63; }
.r27-link-button { display: inline-flex; justify-content: space-between; align-items: center; gap: 24px; padding: 14px 18px; min-height: 48px; color: #f7f5ee; background: #123b3c; border-radius: 3px; margin-top: 18px; font-size: 13px; font-weight: 600; }
.r27-footnote { display: block; margin-top: 12px; font: 10px/1.7 ui-monospace, monospace; color: #50676d; }
.r27-molecule { display: flex; flex-direction: column; justify-content: space-between; margin: 0; padding: 24px; min-width: 0; color: #9ae0d1; background: radial-gradient(ellipse at 50% 48%, #174645, #091e2b 75%); }
.r27-figure-top { display: flex; justify-content: space-between; gap: 12px; font: 10px/1.6 ui-monospace, monospace; text-transform: uppercase; letter-spacing: .1em; color: #d2e5e2; }
.r27-molecule svg { display: block; width: 100%; max-height: 300px; }
.r27-molecule-nodes { filter: drop-shadow(0 0 7px #9ae0d155); }
.r27-molecule figcaption { padding-top: 16px; border-top: 1px solid #9ae0d133; font: 10px/1.8 ui-monospace, monospace; color: #d5bb83; }
.r27-molecule figcaption span { color: #b6cccd; }
.pw-landing.r27-home .pw-research-gateway { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; margin-bottom: 56px; }
.pw-landing.r27-home .pw-research-gateway h3 { font: 400 30px/1.2 Georgia, serif; }
.pw-landing.r27-home .pw-research-gateway > p { margin: 12px 0 24px; }
.pw-landing.r27-home .pw-research-step { padding: 28px; border-radius: 4px; background: #fffefa; border-color: #cad7d1; box-shadow: none; }
.pw-landing.r27-home .pw-step-marker { color: #386f65; font-size: 10px; }
.pw-landing.r27-home .pw-research-step strong { margin: 20px 0 10px; font-size: 18px; }
.pw-landing.r27-home .pw-research-step small { line-height: 1.8; }
.pw-landing.r27-home .pw-section-title { font-family: Georgia, serif; font-weight: 400; margin-top: 40px; }
.pw-landing.r27-home .pw-category-card, .pw-landing.r27-home .pw-featured-card { border-color: #cad7d1; border-radius: 6px; box-shadow: none; }
.r27-standards { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; padding: 48px 0 24px; margin-top: 64px; border-top: 1px solid #bdccc7; }
.r27-standards h3 { margin: 20px 0; }
.r27-standards-intro > a { display: inline-block; padding: 12px 0; color: #245d55; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.r27-evidence article { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid #d4dcd5; }
.r27-evidence article:first-child { padding-top: 0; }
.r27-step { font: 11px/2 ui-monospace, monospace; color: #80662f; }
.r27-evidence h4 { margin: 0 0 8px; font-size: 16px; }
.r27-evidence p { margin: 0; font-size: 13px; }
.pw-landing.r27-home :where(a, button, input):focus-visible { outline: 3px solid #c38b2a; outline-offset: 4px; }
.r27-motion-paused .r27-screen span, .r27-page-hidden .r27-screen span { animation-play-state: paused; }
@media (hover: hover) { .r27-link-button:hover { background: #235950; color: #fff; } }
@media (max-width: 1000px) {
  .pw-landing .r27-hero { padding: 48px 36% 78px 32px; }
  .r27-instrument { right: 20px; width: 29%; padding: 16px; }
  .pw-hero .r27-instrument-title { font-size: 23px; }
  .r27-atlas-copy { padding: 30px; }
  .r27-standards { gap: 32px; }
}
@media (max-width: 700px) {
  .pw-landing.r27-home { padding: 12px 16px 40px; }
  .pw-landing .r27-hero { margin-top: 12px; padding: 36px 22px 82px; min-height: 0; }
  .pw-landing .r27-hero h2 { font-size: clamp(38px, 10vw, 54px); }
  .pw-landing .r27-hero > p { font-size: 14px; }
  .pw-landing .r27-hero::after { background: linear-gradient(100deg, #061b28ee, #061b28b5); }
  .r27-instrument { position: relative; inset: auto; width: auto; margin-top: 30px; padding: 18px; }
  .r27-screen { height: 44px; margin-top: 12px; }
  .pw-hero .r27-instrument-title { font-size: 24px; }
  .r27-instrument-links { display: flex; gap: 20px; }
  .r27-instrument-links a { flex: 1; }
  .r27-motion-toggle { right: 22px; bottom: 20px; }
  .r27-atlas { grid-template-columns: 1fr; margin: 36px 0; }
  .r27-atlas-copy { padding: 28px 24px; }
  .r27-molecule { padding: 24px; }
  .r27-molecule svg { max-height: 230px; }
  .r27-standards { grid-template-columns: 1fr; gap: 24px; margin-top: 40px; padding-top: 32px; }
  .pw-landing.r27-home .pw-research-step { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .pw-landing.r27-home *, .pw-landing.r27-home *::before, .pw-landing.r27-home *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .pw-landing .r27-hero > .pw-clinical-film { display: block; }
  .pw-landing.r27-home .pw-research-step:hover, .pw-landing.r27-home .pw-category-card:hover, .pw-landing.r27-home .pw-featured-card:hover { transform: none !important; }
}
