/* Release 3.2 — application shell and shared editorial interface.
   Native details is the single source of truth for mobile navigation. */
:root {
  --pro-container: 1200px;
  --ui-gutter: clamp(16px, 3vw, 36px);
  --ui-radius: 22px;
  --ui-focus: #22734b;
  --ui-shadow: 0 12px 36px rgba(16, 42, 30, .07);
}
html[data-oe-color-scheme="dark"] {
  --ui-focus: #a4e7bc;
  --ui-shadow: 0 12px 36px rgba(0,0,0,.25);
}
html { scroll-padding-top: 114px; }
html:has(body.admin-bar) { scroll-padding-top: 160px; }
body { margin: 0; overflow-x: clip; }
:where(a, button, summary, input, textarea, select):focus-visible {
  outline: 2px solid var(--ui-focus);
  outline-offset: 3px;
}
.oe-header { padding: 12px var(--ui-gutter) 0; z-index: 1000; }
.oe-header__inner {
  width: min(100%, var(--pro-container)); min-height: 76px;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
  grid-template-areas: "brand navigation action";
  gap: 14px; padding: 10px 14px; border-radius: 18px;
  box-shadow: var(--ui-shadow);
}
.oe-header .oe-brand { min-width: 0; justify-self: start; gap: 10px; }
.oe-header .oe-brand__text { min-width: 0; overflow: hidden; max-width: 100%; }
.oe-header .oe-brand__text strong { max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.oe-header .oe-brand__text small { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.oe-header .oe-brand__logo { flex-shrink: 0; max-width: 80px; }
.oe-header .oe-brand__logo .custom-logo { max-width: 80px; }
.oe-header .oe-nav--desktop { display: flex; justify-content: center; gap: 6px; min-width: 0; }
.oe-header .oe-nav--desktop .oe-menu > li > a { font-size: 13px; padding-inline: 8px; }
.oe-header .oe-header__cta { border-radius: 12px; }
.oe-header .oe-header__cta:focus-visible { outline-offset: 3px; }
.oe-mobile-menu { display: none; }
.oe-mobile-menu__toggle {
  display: grid; place-items: center; width: 44px; height: 44px;
  color: var(--pro-ink); background: var(--pro-surface);
  border: 1px solid var(--pro-line); border-radius: 12px;
  cursor: pointer; list-style: none;
}
.oe-mobile-menu__toggle::-webkit-details-marker { display: none; }
.oe-mobile-menu__toggle::marker { content: ""; }
.oe-mobile-menu__toggle:hover { background: var(--pro-surface-soft); }
.oe-mobile-menu__icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.oe-mobile-menu__icon--close, .oe-mobile-menu[open] .oe-mobile-menu__icon--open { display: none; }
.oe-mobile-menu[open] .oe-mobile-menu__icon--close { display: block; }
/* Native closed state also wins over older theme and plugin display rules. */
.oe-header .oe-mobile-menu:not([open]) > .oe-nav--mobile { display: none !important; }
.oe-header .oe-nav--mobile { display: none; }
@media (max-width: 1180px) {
  .oe-header { padding: 8px var(--ui-gutter) 0; }
  .oe-header__inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas: "brand action toggle"; min-height: 64px;
    gap: 8px; padding: 9px; border-radius: 16px;
  }
  .oe-header .oe-nav--desktop { display: none !important; }
  .oe-header .oe-mobile-menu { display: block; grid-area: toggle; }
  .oe-header .oe-header__cta { display: inline-flex; height: 44px; width: 44px; min-width: 44px; min-height: 44px; padding: 0; }
  .oe-header .oe-header__cta > span { display: none; }
  .oe-header .oe-mobile-menu[open] > .oe-nav--mobile {
    display: flex !important; position: absolute; z-index: 1010; inset-inline: 0;
    top: calc(100% + 8px); grid-area: auto; width: auto; margin: 0;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px;
    max-height: calc(100vh - 94px - var(--oe-admin-offset, 0px));
    max-height: calc(100dvh - 94px - var(--oe-admin-offset, 0px));
    padding: 12px; overflow-y: auto; overscroll-behavior: contain;
    color: var(--pro-ink); background: var(--pro-surface);
    border: 1px solid var(--pro-line); border-radius: 16px;
    box-shadow: 0 18px 48px rgba(9, 29, 19, .23);
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  .oe-header .oe-nav--mobile .oe-menu {
    width: 100%; display: flex; flex-direction: column;
    align-items: stretch; justify-content: flex-start; gap: 2px;
  }
  .oe-header .oe-nav--mobile .oe-menu > li > a {
    display: flex; justify-content: flex-start; width: 100%;
    min-height: 46px; padding: 10px 14px; border-radius: 9px;
    font-size: 15px; line-height: 1.5; white-space: normal;
  }
  .oe-header .oe-nav--mobile .oe-nav__utilities {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start;
    gap: 10px; padding: 12px 3px 2px; margin: 4px 0 0;
    border-top: 1px solid var(--pro-line);
  }
  .oe-header .oe-nav--mobile .oe-nav__utilities :is(.oe-color-mode,.oe-lang) { width: auto; padding: 0; margin: 0; border: 0; }
  html:not(.oe-color-js) .oe-header .oe-nav__utilities:not(:has(.oe-lang)) { display: none; }
  .oe-header .oe-nav--mobile .oe-lang ul { width: auto; }
  .oe-header .oe-nav--mobile .oe-lang a { width: auto; min-width: 44px; }
  body:has(.oe-mobile-menu[open]) > a.wp-call-button { visibility: hidden; pointer-events: none; }
}
@media (min-width: 1181px) {
  .oe-header .oe-mobile-menu { display: none !important; }
}
@media (max-width: 480px) {
  .oe-header .oe-brand { gap: 7px; }
  .oe-header .oe-brand__logo, .oe-header .oe-brand__logo .custom-logo { max-width: 45px; }
  .oe-header .oe-brand__text strong { font-size: 16px; }
  .oe-header .oe-brand__text small { font-size: 10px; }
  .oe-header .oe-brand__mark { width: 34px; height: 34px; flex-basis: 34px; }
}
@media (max-width: 360px) {
  .oe-header { padding-inline: 8px; }
  .oe-header .oe-brand__mark { display: none; }
  .oe-header .oe-brand__text small { font-size: 9px; }
}

/* High-priority value proposition, a clear next step and original portrait. */
.oe-front-page .oe-site-main { width: 100%; max-width: none; min-height: 50vh; margin: 0; padding: 0; }
.pro-container, .oe-footer > .pro-container { width: min(calc(100% - var(--ui-gutter) * 2), var(--pro-container)); }
.pro-hero { padding: clamp(32px, 5vw, 76px) 0 clamp(38px, 5vw, 72px); }
.pro-hero::before {
  background-image: radial-gradient(ellipse at 75% 15%, rgba(155,213,180,.20), transparent 50%),
    linear-gradient(var(--pro-line) 1px, transparent 1px), linear-gradient(90deg, var(--pro-line) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
  opacity: .46;
}
.pro-hero__grid { grid-template-columns: minmax(0,1.22fr) minmax(0,.78fr); align-items: center; gap: clamp(24px, 5vw, 72px); }
.pro-hero__copy, .pro-hero__visual { order: initial; min-width: 0; text-align: start; }
.pro-hero__copy { width: 100%; }
.pro-hero__visual { width: 100%; max-width: 420px; }
.pro-hero h1 {
  font-size: clamp(32px, 3.7vw, 52px); line-height: 1.48;
  margin: 17px 0 18px; letter-spacing: normal; text-wrap: balance;
}
html[dir="ltr"] .pro-hero h1 { line-height: 1.18; letter-spacing: -.035em; }
.pro-hero h1 span { color: var(--pro-brand); }
.pro-hero h1 span:first-child { color: var(--pro-ink); }
.pro-eyebrow { background: var(--pro-surface); font-size: 11px; padding: 8px 12px; line-height: 1.5; }
.pro-hero__lead { font-size: 16px; max-width: 63ch; line-height: 1.95; }
.pro-actions { margin-top: 24px; gap: 10px; }
.pro-button { min-height: 52px; border-radius: 11px; border-width: 1px; }
.pro-button--primary { box-shadow: 0 7px 18px rgba(29,69,51,.13); }
.pro-hero__facts {
  margin-top: 27px; padding: 17px 0; gap: 0; border-block: 1px solid var(--pro-line);
}
.pro-hero__facts > div { min-width: 0; padding-inline: 11px; }
.pro-hero__facts strong { overflow-wrap: anywhere; font-size: 14px; font-weight: 750; }
.pro-hero__facts span { font-size: 12px; line-height: 1.6; }
.pro-social-row { margin-top: 16px; gap: 7px; }
.pro-social-row a { border-radius: 10px; }
.pro-portrait { padding: 12px 12px 0; border-radius: 26px; box-shadow: var(--ui-shadow); }
.pro-portrait__image { border-radius: 17px; background: #fff; aspect-ratio: 4 / 5; }
.pro-portrait__image img { object-fit: contain; }
.pro-portrait figcaption { padding: 16px 8px 18px; }
.pro-trust { background: var(--pro-surface); }
.pro-trust__grid > div { min-height: 77px; font-size: 13px; padding: 12px 14px; }
.pro-section { padding-block: clamp(48px, 6vw, 90px); }
.pro-section__head { margin-bottom: clamp(24px, 3vw, 40px); gap: 26px; }
.pro-section h2 { font-size: clamp(27px, 3vw, 40px); letter-spacing: normal; line-height: 1.55; text-wrap: balance; }
html[dir="ltr"] .pro-section h2 { line-height: 1.22; }
.pro-kicker { font-size: 13px; margin-bottom: 10px; }
.pro-section__head > p { line-height: 1.9; }
.pro-service-grid { gap: 16px; }
.pro-service-card {
  min-height: 0; padding: clamp(22px, 2.4vw, 30px); border-radius: var(--ui-radius);
  box-shadow: 0 3px 12px rgba(16,42,30,.035);
}
.pro-service-card__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.pro-service-card__icon { width: 49px; height: 49px; border-radius: 13px; }
.pro-service-card__number { font: 600 13px/1 var(--pro-mono); color: var(--pro-muted); }
.pro-service-card h3 { margin-top: 19px; font-size: 19px; line-height: 1.55; }
.pro-service-card p { margin-bottom: 22px; font-size: 15px; }
.pro-service-card > a { padding-top: 12px; border-top: 1px solid var(--pro-line); justify-content: space-between; font-size: 14px; }
.pro-about { gap: clamp(24px, 5vw, 64px); }
.pro-audit-card { border-radius: var(--ui-radius); }
.pro-process { gap: 16px; }
.pro-process li { padding: 22px; border: 1px solid var(--pro-line); border-radius: 17px; background: var(--pro-surface); }
.pro-process__number { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--pro-surface-soft); }
.pro-experience-card, .pro-pricing-card, .pro-testimonial-card, .pro-article-card { border-radius: var(--ui-radius); }
.pro-pricing-card { min-width: 0; }
.pro-faq__item { border-radius: 14px; }
.pro-faq__item summary { min-height: 60px; }
.pro-faq__item[open] { border-color: var(--pro-brand); }
.pro-article-card__body h3 { line-height: 1.55; }
.pro-contact { padding-block: clamp(42px, 6vw, 80px); }
.pro-contact__actions { min-width: 0; }
.pro-contact__email { overflow-wrap: anywhere; }
html[data-oe-color-scheme="dark"] .pro-button--light { color: #173c2b; }
html[data-oe-color-scheme="dark"] .pro-button--light:hover { color: #0c2b1d; }
@media (max-width: 900px) {
  .pro-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .pro-hero__copy { max-width: 700px; justify-self: center; }
  .pro-hero__visual { max-width: 360px; }
  .pro-hero h1 { font-size: clamp(29px, 5vw, 43px); }
  .pro-hero h1, .pro-hero__lead { max-width: none; }
  .pro-hero__facts strong { font-size: 13px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 98px; }
  .pro-hero { padding: 23px 0 34px; }
  .pro-hero h1 { font-size: clamp(25px, 6.7vw, 35px); margin-block: 14px; }
  .pro-hero__lead { font-size: 15px; }
  .pro-eyebrow { font-size: 10px; }
  .pro-actions { display: grid; grid-template-columns: 1fr; gap: 9px; margin-top: 20px; }
  .pro-hero__facts { margin-top: 22px; }
  .pro-hero__facts > div { padding-inline: 7px; }
  .pro-hero__facts strong { font-size: 12px; }
  .pro-hero__facts span { font-size: 11px; }
  .pro-hero__visual { max-width: 310px; }
  .pro-portrait { padding: 9px 9px 0; }
  .pro-portrait figcaption { padding: 12px 6px; }
  .pro-trust__grid > div { min-height: 63px; font-size: 12px; }
  .pro-section__head { gap: 12px; }
  .pro-service-card { padding: 20px; }
  .pro-service-card p { margin-bottom: 16px; }
  .pro-process li { padding: 18px; }
}

/* A coherent reading experience for archive, search, standard page and single. */
body:not(.oe-front-page) .oe-site-main {
  width: min(100%, calc(var(--pro-container) + 2 * var(--ui-gutter)));
  padding: clamp(24px, 3vw, 42px) var(--ui-gutter) clamp(36px, 5vw, 66px);
}
.oe-breadcrumbs {
  padding: 8px 0; border: 0; border-radius: 0; background: none;
  box-shadow: none; margin-bottom: 15px; font-size: 12px;
}
.oe-section-head, .oe-article-header {
  background: var(--pro-surface); border: 1px solid var(--pro-line);
  border-radius: var(--ui-radius); padding: clamp(22px, 4vw, 38px);
  margin: 0 0 22px; box-shadow: var(--ui-shadow);
}
.oe-section-head h1, .oe-article-header .oe-article-title {
  color: var(--pro-ink); font-size: clamp(25px, 3.1vw, 39px); line-height: 1.5;
  margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: none;
}
.oe-section-head h1::before { content: none; }
.oe-section-head > p { color: var(--pro-muted); font-size: 15px; max-width: 75ch; margin-top: 12px; line-height: 1.9; }
.oe-archive-search { max-width: 620px; margin-top: 20px; }
.oe-search-form { display: flex; align-items: end; gap: 8px; margin: 0; }
.oe-search-form > label { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; color: var(--pro-muted); font-size: 13px; }
.oe-search-form input, .oe-search-form button {
  min-width: 0; min-height: 48px; border-radius: 10px; font-size: 14px; padding: 10px 12px;
}
.oe-search-form input { width: 100%; color: var(--pro-ink); border: 1px solid var(--pro-line); background: var(--pro-bg); }
.oe-search-form button { border: 1px solid var(--pro-brand); background: var(--pro-brand); color: #fff; cursor: pointer; flex: 0 0 auto; font-weight: 700; }
html[data-oe-color-scheme="dark"] .oe-search-form button { color: #0b1510; }
.oe-post-card, .oe-widget, .oe-content, .oe-featured, .oe-meta-bar, .oe-related, .oe-comments {
  border-radius: 17px; border-color: var(--pro-line);
}
.oe-post-card { background: var(--pro-surface); box-shadow: none; padding: 16px; transition: border-color .16s ease, box-shadow .16s ease; }
.oe-post-card:hover { border-color: var(--pro-brand); box-shadow: var(--ui-shadow); }
.oe-post-card__title { font-size: clamp(19px, 2vw, 23px); line-height: 1.5; }
.oe-post-card__excerpt { font-size: 15px; line-height: 1.85; }
.oe-post-card__thumb { border-radius: 12px; }
.oe-post-card--no-thumb { grid-template-columns: minmax(0, 1fr); }
.oe-post-card--no-thumb .oe-post-card__body { grid-column: 1 / -1; }
.oe-meta, .oe-meta-bar { font-size: 12px; color: var(--pro-muted); flex-wrap: wrap; }
.oe-content { font-size: 16px; line-height: 1.95; }
.oe-content :where(img, video, iframe) { max-width: 100%; }
.oe-content a { overflow-wrap: anywhere; }
.oe-content :where(pre, .wp-block-table) { max-width: 100%; overflow-x: auto; }
.oe-mini-item--no-thumb { grid-template-columns: minmax(0,1fr); }
.oe-mini-item--no-thumb > div { grid-column: 1 / -1; }
.oe-mini-item__title { -webkit-line-clamp: 3; }
.oe-empty-state { padding: 30px; text-align: center; }
.oe-footer { border-top: 1px solid var(--pro-line); }
@media (max-width: 640px) {
  .oe-section-head, .oe-article-header { border-radius: 17px; padding: 20px; margin-bottom: 16px; }
  .oe-section-head h1, .oe-article-header .oe-article-title { font-size: 25px; }
  .oe-post-card { padding: 13px; }
  .oe-content { font-size: 15.5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .oe-header *, .pro-home *, .oe-post-card { transition-duration: 0s !important; animation-duration: 0s !important; }
}
@media print {
  .oe-header .oe-mobile-menu, .oe-header .oe-nav--desktop, .oe-archive-search { display: none !important; }
  .oe-section-head, .oe-article-header { box-shadow: none; }
}
