/* Original visual direction + retained modern credential/service components. */
:root {
  --m-ink: #262626;
  --m-body: #535353;
  --m-gold: #7E6318;
  --m-gold-hover: #665014;
  --m-sage: #E4E3D3;
  --m-soft: #F7F7F3;
  --m-line: rgba(83,83,83,.16);
}

/* Original content should remain visible immediately, without reveal effects. */
.oep .oep-reveal { animation: none; opacity: 1; }
.oep .oep-bleed { width: 100%; margin-left: 0; }
.oep-hero::after { background: #FFFFFF; }
.oep-hero__visual { min-width: 0; }
.oep-hero h1 em { white-space: normal; }
.oep-hero .oep-chips { margin-bottom: 0; }
.oep-topbar, .m-topbar { background: #262626; }
.m-topbar { font-size: 13px; }
.m-topbar .m-icon { color: #C9A43F; }
.site-header .inside-header { padding-block: .85rem; }
.main-navigation .main-nav > ul { gap: 10px; }
.main-navigation .main-nav > ul > li > a { padding-inline: 12px; }
.main-navigation .main-nav > ul > .oep-nav-cta > a {
  background: #7E6318;
  color: #FFFFFF;
  font-size: 13px;
  padding: 13px 19px;
  margin-left: 6px;
  line-height: 1.4;
}

/* Keep the new strip/cards clean, while giving them the original brand colors. */
.m-credential-strip { position: relative; z-index: 2; }
.oep .m-credential-inner { max-width: var(--oep-wrap); }
.oep #services h2, .oep #services h3 { font-weight: 650; font-stretch: 100%; }
.oep #services .m-section-heading h2 { line-height: 1.18; }
.oep .m-service-grid h3 { line-height: 1.35; }
.oep .m-service-card p { color: #535353; }
.oep .m-service-filters button { font-family: var(--oep-font); }
.oep .m-service-extra { color: #535353; }
.oep .m-search input { color: #262626; }
.oep .m-proof-slots { margin-top: 32px; }
.oep .m-proof-slots h3 { font-size: 20px; }
.oep .m-placeholder { color: #5B5B4C; }
.oep .m-proof-slots .m-small { font-size: 14px; color: #535353; }

/* Original quote card, with an explicitly non-delivering modern form shell. */
.oep-dispatch .m-request-form {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  gap: 15px;
}
.oep-dispatch .m-request-form label {
  color: #D7D6CA;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.oep-dispatch .m-request-form input,
.oep-dispatch .m-request-form select,
.oep-dispatch .m-request-form textarea {
  background: rgba(0,0,0,.28);
  color: #FFFFFF;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  font-size: 16px;
  padding: 13px 15px;
}
.oep-dispatch .m-request-form input::placeholder,
.oep-dispatch .m-request-form textarea::placeholder { color: #BDBCB0; }
.oep-dispatch .m-request-form input:focus,
.oep-dispatch .m-request-form select:focus,
.oep-dispatch .m-request-form textarea:focus {
  outline: 3px solid #C9A43F;
  outline-offset: 3px;
  border-color: #C9A43F;
}
.oep-dispatch .m-request-form select option { color: #262626; background: #FFFFFF; }
.oep-dispatch .m-form-disclosure { color: #D7D6CA; font-size: 12px; }
.oep-dispatch .m-form-status { color: #262626; font-size: 14px; }
.oep-dispatch__status { color: #D7D6CA; white-space: normal; }

/* Exact original gold remains in the hero and storm band. Smaller button text
   uses the original accessible dark-gold shade rather than low-contrast white. */
.oep-btn { --b: #7E6318; }
.oep-btn--lg { --b: #A28021; font-size: 1.2rem; font-weight: 800; }
.oep-btn--ghost { --b: #535353; }
.oep .oep-btn--ghost:hover { --b: #262626; }
.oep-aside__card--dark .oep-btn--ghost { color: #FFFFFF !important; border-color: rgba(255,255,255,.5); }
.oep-aside__card--dark .oep-btn--ghost:hover { color: #262626 !important; background: #FFFFFF; }
.oep-cta .oep-btn { position: relative; }
.oep-cta .oep-btn--ghost { color: #FFFFFF !important; }
.oep-cta__phone { position: relative; }
.oep-storm .oep-eyebrow, .oep-storm p { color: #111111; }
.oep-storm .oep-storm__list a { color: #FFFFFF; }

/* Original grouping, with the preserved searchable directory. */
.oep-communities .m-directory-toolbar { margin-bottom: 28px; }
.oep-area a strong { font: inherit; color: inherit; }
.oep-area li { margin: 0; }
.oep-area a > span { min-width: 0; }
.oep-area a > .m-icon { display: none; }
.oep-area a small { display: block; font-size: 12px; font-weight: 500; color: #535353; line-height: 1.5; margin-top: 3px; }
.oep-empty-state { margin-top: 24px; }
.oep .oep-faq details > p { padding: 0 1.4rem 1.3rem; color: #535353; }
.oep .oep-faq summary { line-height: 1.5; }
.oep .oep-faq details[open] summary::after { content: ''; }
.oep .oep-faq details > .oep-faq__a { padding: 0 1.4rem 1.3rem; font-size: 16px; }
.oep .oep-faq__a { font-size: 16px; line-height: 1.75; }
.oep .oep-faq__a p:last-child { margin-bottom: 0; }
.oep-review p, .oep-review .m-placeholder { color: #E6E5DA; }
.oep-review h3 { color: #FFFFFF; }
.oep-review .m-placeholder { border-color: #C9A43F; }
.oep-review-note { color: #BDBCB0; margin-top: 22px; }

/* Original interior layout, retaining readable articles and honest evidence. */
.oep-pagehero .oep-btn-row { margin-top: 24px; }
.oep-pagehero .oep-chips { margin-top: 24px; }
.oep-factbox h2 { font-size: 20px; color: #FFFFFF; }
.oep-factbox dl > div { display: grid; gap: 5px; }
.oep-factbox p { color: #C9C8BE; font-size: 13px; margin: 16px 0 0; }
.oep-prose { min-width: 0; }
.oep-prose section > h2 { margin-top: 2.2em; }
.oep-prose .oep-answer .oep-answer__label { margin-bottom: 8px; font-size: 12px; line-height: 1.5; }
.oep-prose .oep-aside__card { margin-block: 20px; }
.oep-author h2 { font-size: 20px; margin: 0 0 8px; }
.oep-author img { width: 54px; height: 54px; border-radius: 0; object-fit: contain; background: transparent; flex-shrink: 0; }
.oep-author p + p { margin-top: 9px; }
.oep-prose .oep-faq { gap: 12px; }
.oep-prose .oep-faq summary { font-size: 16px; }
.oep-related a strong { display: block; }
.oep-related a span { display: block; color: #535353; font-size: 14px; font-weight: 500; font-stretch: 100%; margin-top: 7px; }

/* The original footer remains shared on all native GP frontend views. */
.site-footer { background: #1E1E1E; }
.site-footer > .oep-footer { width: 100%; margin: 0; }
.oep-footer__brand > a { display: block; }
.oep-footer__brand > a > img { width: 200px; height: auto; margin-bottom: 20px; }
.oep-footer__brand p { margin: 0 0 20px; line-height: 1.75; }
.oep-footer-license { font-size: 13px; color: #BDBCB0; margin-top: 18px; }
.oep-footer-phone { font-size: 21px; color: #C9A43F !important; }
.oep-footer__bottom p { margin: 0; }
.oep-callbar a:first-child { background: #7E6318; }

@media (max-width: 1100px) {
  .main-navigation .main-nav > ul { gap: 4px; }
  .main-navigation .main-nav > ul > li > a { padding-inline: 8px; font-size: 13px; }
}
@media (max-width: 900px) {
  .site-header .m-menu-toggle ~ .main-navigation .main-nav > ul { flex-direction: column; }
  .site-header .m-menu-toggle ~ .main-navigation .main-nav > ul > li > a { padding: 13px 2px; }
  .site-header .m-menu-toggle ~ .main-navigation .main-nav > ul > .oep-nav-cta > a { margin-left: 0; padding: 13px 15px; }
  .oep .m-form-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .main-navigation .main-nav > ul > .oep-nav-cta > a { margin-left: 0; }
  .oep-dispatch .m-form-row { grid-template-columns: 1fr; }
  .oep-footer { padding-bottom: 5px; }
  .m-topbar { font-size: 12px; }
  .oep-btn--lg { font-size: 1.2rem; }
}
@media (max-width: 520px) {
  .oep-dispatch { padding: 23px; }
  .oep-dispatch__top { flex-wrap: wrap; }
  .oep-hero h1 { font-stretch: 105%; }
  .oep .oep-btn-row .oep-btn { white-space: normal; }
  .oep-footer__brand > a > img { width: 185px; }
  .oep-author { align-items: flex-start; gap: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Featured homeowner articles replace the previous review slot. */
.oep-featured-articles { position: relative; }
.oep-anchor-alias { position: absolute; inset-block-start: 0; }
.oep-article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.oep-article-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: #F7F7F3; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; color: #262626; }
.oep-article-image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #E4E3D3; }
.oep-article-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.oep-article-card:hover .oep-article-image img { transform: scale(1.035); }
.oep-article-body { display: flex; flex-direction: column; flex: 1; padding: 26px; }
.oep .oep-article-category { margin: 0 0 13px; color: #7E6318; font-family: var(--oep-mono); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.oep .oep-article-card h3 { margin: 0 0 14px; color: #262626; font-size: 23px; line-height: 1.3; font-weight: 750; font-stretch: 100%; }
.oep .oep-article-card h3 a { color: inherit; text-decoration: none; }
.oep .oep-article-card h3 a:hover { color: #7E6318; text-decoration: underline; text-underline-offset: .15em; }
.oep .oep-article-excerpt { margin: 0 0 24px; color: #535353; font-size: 15px; line-height: 1.75; }
.oep .oep-article-link { margin-top: auto; color: #7E6318; font-size: 14px; font-weight: 750; text-decoration: none; }
.oep .oep-article-link::after { content: ' →'; }
.oep .oep-article-link:hover { text-decoration: underline; text-underline-offset: .2em; }
.oep .oep-article-empty { color: #E4E3D3; grid-column: 1 / -1; }
.oep-article-image--empty { background: linear-gradient(135deg, #E4E3D3, #CBC9AD); }
.oep-article-page .oep-pagehero .oep-wrap { max-width: 1000px; }
.oep-article-page .oep-pagehero h1 { max-width: 950px; font-size: clamp(2.1rem, 1.4rem + 2.5vw, 3.6rem); line-height: 1.13; }
.oep .oep-article-status { color: #E4E3D3; font-size: 13px; margin-top: 22px; }
.oep-article-shell { max-width: 940px; margin-inline: auto; }
.oep-article-cover { margin: 0 0 42px; }
.oep-article-cover img { display: block; width: 100%; height: auto; border-radius: 12px; }
.oep-article-cover figcaption { font-size: 12px; color: #535353; margin-top: 10px; }
.oep-article-content { font-size: 17px; line-height: 1.85; }
.oep-article-content h2 { font-size: clamp(1.6rem, 1.2rem + 1vw, 2rem); line-height: 1.3; font-stretch: 100%; margin-top: 1.8em; }
.oep-article-content h3 { font-size: 21px; line-height: 1.4; font-stretch: 100%; }
.oep-article-content a { color: #7E6318; text-decoration: underline; text-underline-offset: .15em; }
.oep-article-content .oep-article-notice { padding: 20px 24px; background: #E4E3D3; border-left: 4px solid #7E6318; }
.oep-article-content .oep-article-sources { font-size: 14px; border-top: 1px solid #CBC9AD; padding-top: 22px; margin-top: 36px; }
@media (max-width: 900px) { .oep-article-grid { gap: 17px; } .oep-article-body { padding: 20px; } .oep .oep-article-card h3 { font-size: 21px; } }
@media (max-width: 700px) { .oep-article-grid { grid-template-columns: 1fr; gap: 26px; } .oep-article-body { padding: 25px; } .oep .oep-article-card h3 { font-size: 25px; } }
@media (prefers-reduced-motion: reduce) { .oep-article-card:hover .oep-article-image img { transform: none; } }

.oep-article-card .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Complete catalog-derived navigation; native disclosure semantics, no hover-only links. */
.oep-link-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.oep-link-group { min-width: 0; border: 1px solid rgba(83,83,83,.18); border-radius: 8px; background: #FFFFFF; padding: 16px 20px; }
.oep-link-group summary { cursor: pointer; color: #262626; font-size: 15px; font-weight: 700; line-height: 1.6; }
.oep-link-count { display: inline-block; margin-left: 8px; padding: 1px 8px; font-size: 11px; font-weight: 650; background: #E4E3D3; color: #535353; border-radius: 20px; }
.oep-link-group--communities, .oep-link-group--articles { grid-column: 1 / -1; }
.oep-link-groups .oep-link-group ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; gap: 6px 18px; padding: 0; margin: 15px 0 0; }
.oep-link-groups .oep-link-group--communities ul, .oep-link-groups .oep-link-group--articles ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.oep-link-groups li { min-width: 0; margin: 0; padding: 0; }
.oep-link-groups a { display: block; padding: 7px 0; font-size: 13px; line-height: 1.6; color: #7E6318; text-decoration: underline; text-underline-offset: .2em; overflow-wrap: anywhere; }
.oep-home-directory { border-top: 1px solid #E4E3D3; scroll-margin-top: 130px; }
.oep-home-directory .oep-head { max-width: 820px; }
.oep-home-directory :focus-visible { outline: 3px solid #7E6318; outline-offset: 4px; }
.site-header .inside-header { position: relative; }
.oep-all-pages > summary { cursor: pointer; color: #262626; font-size: 14px; font-weight: 650; line-height: 1.4; padding: 12px 8px; white-space: nowrap; }
.oep-all-pages > summary:hover, .oep-all-pages[open] > summary { color: #7E6318; }
.oep-all-pages-panel { position: absolute; top: 100%; right: 25px; width: min(850px, calc(100vw - 42px)); max-height: min(68vh, 650px); overflow-y: auto; overscroll-behavior: contain; padding: 24px; background: #F7F7F3; border: 1px solid #CBC9AD; border-top: 3px solid #A28021; border-radius: 0 0 12px 12px; box-shadow: 0 18px 40px rgba(0,0,0,.16); z-index: 110; }
.oep-all-pages-title { font-size: 18px; font-weight: 750; color: #262626; margin: 0 0 6px; }
.oep-all-pages-intro { font-size: 13px; margin: 0 0 20px; color: #535353; }
.main-navigation .oep-all-pages-panel .oep-link-group ul { position: static; left: auto; width: auto; height: auto; float: none; visibility: visible; opacity: 1; pointer-events: auto; transform: none; background: none; border: 0; box-shadow: none; }
.main-navigation .oep-all-pages-panel .oep-link-group li { float: none; width: auto; }
.main-navigation .oep-all-pages-panel .oep-link-group a { display: block; padding: 7px 0; color: #7E6318; font-size: 13px; line-height: 1.6; text-decoration: underline; white-space: normal; background: none; }
@media (max-width: 1180px) {
  .site-header .m-menu-toggle { display: flex; align-items: center; gap: 7px; padding: 9px 12px; border: 1px solid #CBC9AD; background: #F7F7F3; border-radius: 6px; color: #262626; font-size: 12px; }
  .site-header:has(.m-menu-toggle) .inside-header { flex-wrap: wrap; gap: 15px; }
  .site-header .m-menu-toggle ~ .main-navigation { width: 100%; display: block; }
  .site-header .m-menu-toggle ~ .main-navigation #primary-menu { display: none !important; max-height: calc(100svh - 150px); overflow-y: auto; }
  .site-header .m-menu-toggle[aria-expanded="true"] ~ .main-navigation #primary-menu { display: block !important; }
  .site-header .m-menu-toggle ~ .main-navigation .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-header .m-menu-toggle ~ .main-navigation .main-nav > ul > li > a { padding: 13px 2px; }
  .site-header .m-menu-toggle ~ .main-navigation .main-nav > ul > .oep-nav-cta > a { margin-left: 0; padding: 13px 15px; }
  .oep-all-pages > summary { padding: 13px 2px; }
  .oep-all-pages-panel { position: static; width: 100%; max-height: 50vh; padding: 18px; margin-bottom: 15px; box-shadow: none; border-radius: 8px; }
}
@media (max-width: 650px) {
  .oep-link-groups, .oep-link-groups .oep-link-group ul, .oep-link-groups .oep-link-group--communities ul, .oep-link-groups .oep-link-group--articles ul { grid-template-columns: minmax(0, 1fr); }
  .oep-link-group { padding: 15px 17px; }
  .oep-link-group summary { font-size: 14px; }
  .oep-all-pages-panel { padding: 15px; }
}
