/* V2-only composition. All typography, imagery and base components remain shared. */
html[data-ep-version="2"] #eopaia-preview .ep-header { padding: 18px 4%; gap: 24px; }
html[data-ep-version="2"] #eopaia-preview .ep-header nav { gap: 52px; }
html[data-ep-version="2"] #eopaia-preview .ep-v2-menu { position: relative; padding: 0; border: 0; }
html[data-ep-version="2"] #eopaia-preview .ep-v2-menu > :is(summary,.ep-v2-direct) {
  display: flex; align-items: center; justify-content: space-between; gap: 9px;
  min-height: 48px; padding: 11px 0; border: 0; border-bottom: 3px solid transparent;
  background: transparent; color: var(--ep-ink); text-align: left;
  list-style: none; font-family: var(--ep-font); font-size: 18px; font-weight: 650;
  line-height: 1.25; letter-spacing: -.25px; white-space: nowrap;
}
html[data-ep-version="2"] #eopaia-preview .ep-v2-menu > summary::-webkit-details-marker { display: none; }
html[data-ep-version="2"] #eopaia-preview .ep-v2-menu-chevron {
  display: block; width: 18px; height: 18px; flex: 0 0 18px;
  stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .18s ease;
}
html[data-ep-version="2"] #eopaia-preview .ep-v2-menu[open] .ep-v2-menu-chevron { transform: rotate(180deg); }
html[data-ep-version="2"] #eopaia-preview .ep-v2-menu-label { font: inherit; }
html[data-ep-version="2"] #eopaia-preview .ep-v2-menu-label small { display: none; }
html[data-ep-version="2"] #eopaia-preview .ep-v2-menu-active > :is(summary,.ep-v2-direct),
html[data-ep-version="2"] #eopaia-preview .ep-v2-menu[open] > :is(summary,.ep-v2-direct) { border-bottom-color: var(--ep-accent); }
html[data-ep-version="2"] #eopaia-preview .ep-v2-dropdown {
  position: absolute; top: 100%; left: -24px; z-index: 60; min-width: 285px;
  padding: 24px; background: var(--ep-paper); border: 1px solid var(--ep-line);
  box-shadow: 0 16px 32px var(--ep-shadow);
}
html[data-ep-version="2"] #eopaia-preview .ep-v2-menu-caption {
  display: block; padding-bottom: 16px; margin-bottom: 4px;
  border-bottom: 1px solid var(--ep-line); color: var(--ep-muted); font-size: 14px;
}
html[data-ep-version="2"] #eopaia-preview .ep-header nav .ep-v2-dropdown button {
  display: block; width: 100%; padding: 12px 0; border: 0; background: transparent;
  color: var(--ep-ink); text-align: left; font-size: 16px; font-weight: 500; line-height: 1.5; white-space: normal;
}
html[data-ep-version="2"] #eopaia-preview .ep-header nav .ep-v2-dropdown button:hover,
html[data-ep-version="2"] #eopaia-preview .ep-header nav .ep-v2-dropdown button.active { text-decoration: underline; text-underline-offset: 5px; }
html[data-ep-version="2"] #eopaia-preview :is(.ep-home-hero,.ep-v2-brand-hero) h1 { max-width: 720px; margin: 0 0 24px; }
html[data-ep-version="2"] #eopaia-preview :is(.ep-home-hero,.ep-v2-brand-hero) .ep-lead { max-width: 510px; margin-bottom: 26px; }
html[data-ep-version="2"] #eopaia-preview .ep-home-hero .ep-hero-media { object-position: right center; }
/* Keep the original photo intact; frame it for the existing desktop banner. */
html[data-ep-version="2"] #eopaia-preview .ep-v2-brand-hero .ep-hero-media { object-fit: cover; object-position: 50% 45%; }
html[data-ep-version="2"] #eopaia-preview .ep-v2-brand-hero::after {
  background: linear-gradient(90deg, rgba(20,38,26,.58) 0%, rgba(20,38,26,.48) 25%, rgba(20,38,26,.22) 42%, rgba(20,38,26,.06) 55%, transparent 68%);
}
html[data-ep-version="2"] #eopaia-preview .ep-v2-brand-hero :is(h1,.ep-eyebrow,.ep-lead) { color: var(--ep-on-dark); text-shadow: 0 1px 12px rgba(0,0,0,.2); }
html[data-ep-version="2"] #eopaia-preview .ep-hero .ep-btn.ep-secondary {
  background: transparent; border-color: var(--ep-on-dark); color: var(--ep-on-dark);
}
html[data-ep-version="2"] #eopaia-preview .ep-v2-collection-actions { margin-top: 32px; }
html[data-ep-version="2"] #eopaia-preview .ep-v2-section-nav { padding: 18px 5%; gap: 12px 32px; flex-wrap: wrap; border-bottom: 1px solid var(--ep-line); }
html[data-ep-version="2"] #eopaia-preview .ep-v2-section-nav button { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; font-size: 14px; }
html[data-ep-version="2"] #eopaia-preview [id^="ep-v2-"],
html[data-ep-version="2"] #eopaia-preview #ep-partner-questions { scroll-margin-top: calc(var(--ep-sticky-header-height,90px) + 24px); }
html[data-ep-version="2"] #eopaia-preview .ep-v2-story { padding: 48px 5% 56px; background: var(--ep-soft); }
html[data-ep-version="2"] #eopaia-preview .ep-v2-story .ep-brand-story-grid { grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); align-items: start; gap: 48px; }
/* Match the approved crop: retain the top setting and trim the lower foreground. */
html[data-ep-version="2"] #eopaia-preview .ep-v2-story .ep-brand-story-image { width: min(100%, 460px); margin: 0; justify-self: end; }
html[data-ep-version="2"] #eopaia-preview .ep-v2-story .ep-brand-story-image img {
  display: block; width: 100%; height: auto; max-height: none;
  aspect-ratio: 6 / 7; object-fit: cover; object-position: center top;
}
html[data-ep-version="2"] #eopaia-preview .ep-v2-disclosure { border-top: 1px solid var(--ep-line); padding: 18px 0; }
html[data-ep-version="2"] #eopaia-preview .ep-v2-disclosure > :is(summary,.ep-v2-direct) { font-family: var(--ep-font); font-size: 16px; font-weight: 500; line-height: 1.6; }
html[data-ep-version="2"] #eopaia-preview .ep-v2-disclosure > p { padding-top: 18px; }
html[data-ep-version="2"] #eopaia-preview .ep-v2-video-section { padding-top: 24px; padding-bottom: 24px; }
html[data-ep-version="2"] #eopaia-preview .ep-v2-video-section .ep-v2-disclosure > .ep-block { padding: 40px 0 16px; }
html[data-ep-version="2"] #eopaia-preview .ep-v2-close { margin-top: 16px; }
html[data-ep-version="2"] #eopaia-preview .ep-v2-mobile-group { width: 100%; padding: 18px 0; border-top: 1px solid var(--ep-line); }
html[data-ep-version="2"] #eopaia-preview .ep-v2-mobile-group h3 { font-size: 16px; line-height: 1.5; margin-bottom: 8px; }
/* Draw one line beneath the complete inline label, including spaces and arrow. */
html[data-ep-version="2"] #eopaia-preview :is(.ep-link,.ep-blog-read,.ep-feature-product-link > span),
html[data-ep-version="2"] #eopaia-preview :is(.ep-link:hover,.ep-blog-read:hover,.ep-feature-product-link:hover > span) { text-decoration: none; }
html[data-ep-version="2"] #eopaia-preview .ep-v2-link-line {
  display: inline; padding-bottom: 4px; line-height: inherit;
  background: linear-gradient(currentColor,currentColor) left bottom / 100% 1px no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
html[data-ep-version="2"] #eopaia-preview .ep-v2-link-line .ep-action-arrow {
  display: inline; width: auto; height: auto; margin: 0; padding: 0;
  font: inherit; vertical-align: baseline; text-decoration: none;
}
html[data-ep-version="2"] #eopaia-preview .ep-v2-link-line .ep-action-arrow::before { content: '\00a0'; }
@media (prefers-reduced-motion: reduce) {
  html[data-ep-version="2"] #eopaia-preview .ep-v2-menu-chevron { transition: none; }
}
@container (max-width: 1060px) {
  html[data-ep-version="2"] #eopaia-preview .ep-header { gap: 12px 20px; padding: 16px; }
  html[data-ep-version="2"] #eopaia-preview .ep-header nav { gap: 40px; justify-content: flex-start; }
  html[data-ep-version="2"] #eopaia-preview .ep-v2-menu:last-child .ep-v2-dropdown { left: auto; right: 0; }
}
@media (max-width: 767px) {
  html[data-ep-version="2"] #eopaia-preview .ep-v2-story .ep-brand-story-grid { grid-template-columns: 1fr; gap: 24px; }
  html[data-ep-version="2"] #eopaia-preview .ep-v2-section-nav { gap: 4px 20px; }
}
