/**
 * Oladipo Labs 1.6 visual refinement layer.
 * Retains original brand palette, logo and existing component styles.
 * Global inquiry uses its own prefixed class names for safe reuse.
 */

/* Shared readability / proportion */
body { overflow-wrap: break-word; }
:where(.site-main, .olabs-global-lead) p,
:where(.site-main, .olabs-global-lead) li { line-height: 1.65; }
:where(.site-main, .olabs-global-lead) h1,
:where(.site-main, .olabs-global-lead) h2,
:where(.site-main, .olabs-global-lead) h3 { line-height: 1.13; letter-spacing: -.035em; text-wrap: balance; }
:where(.site-main, .olabs-global-lead) .lead,
:where(.site-main, .olabs-global-lead) .prose { max-width: 74ch; }
:where(.site-main, .olabs-global-lead) a { text-underline-offset: .2em; }
:where(.site-main, .olabs-global-lead) .eyebrow { letter-spacing: .12em; }
:where(.site-main, .olabs-global-lead) .btn { transition: background-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease; }
:where(.site-main, .olabs-global-lead) .btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(0, 0, 0, .12); }

/* PWA showcase: the graphics represent an illustrative app, not a real client project. */
.pwa-showcase-section { padding-block: clamp(3.5rem, 6vw, 6rem); }
.pwa-showcase-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 2.5vw, 3rem); }
.pwa-showcase-copy h2 { font-size: clamp(2rem, 2.7vw, 3rem); max-width: none; text-wrap: pretty; }
.pwa-showcase-intro { font-size: clamp(1rem, 1.2vw, 1.1rem); }
.pwa-feature-list { gap: .7rem; margin-top: 1.5rem; }
.pwa-feature-list li { min-width: 0; padding: .95rem; gap: .7rem; align-items: start; transition: border-color .2s ease, background .2s ease; }
.pwa-feature-list li:hover { border-color: rgba(48,163,20,.5); background: rgba(255,255,255,.075); }
.pwa-feature-list .pwa-feature-mark { display: grid; place-items: center; align-self: start; flex: 0 0 24px; width: 24px; height: 24px; min-width: 24px; min-height: 24px; line-height: 1; }
.pwa-feature-mark svg { width: 15px; height: 15px; margin: 0; overflow: visible; }
.pwa-feature-list li > div { min-width: 0; }
.pwa-feature-list li div > span { font-size: clamp(.85rem, .95vw, .94rem); line-height: 1.55; }
.pwa-visual { width: 100%; min-height: 540px; padding: 22px 52px 18px 12px; overflow: visible; }
.pwa-browser { width: min(100%, 640px); min-height: 435px; transform: none; border-radius: 21px; }
.pwa-browser-content { padding: clamp(16px, 2vw, 24px); }
.pwa-browser-nav { min-height: 35px; gap: 8px; }
.pwa-browser-nav .site-logo-img { width: min(120px, 26%); height: 34px; max-height: 34px; object-fit: contain; }
.pwa-browser-nav span { flex: 0 1 32px; width: 32px; }
.pwa-browser-panel { margin-top: 22px; padding: clamp(18px, 2.4vw, 26px); border-radius: 18px; }
.pwa-browser-panel strong { max-width: 17ch; font-size: clamp(1.32rem, 2.1vw, 2rem); line-height: 1.13; letter-spacing: -.035em; }
.pwa-browser-panel p { max-width: 33ch; color: rgba(255,255,255,.83); font-size: clamp(.82rem, .9vw, .96rem); line-height: 1.55; }
.pwa-browser-panel small { font-size: .69rem; line-height: 1.4; }
.pwa-progress { font-size: .79rem; color: rgba(255,255,255,.85); }
.pwa-browser-cards { gap: 9px; }
.pwa-browser-cards div { min-width: 0; }
.pwa-browser-cards small { font-size: .65rem; color: #596477; }
.pwa-browser-cards strong { font-size: .84rem; line-height: 1.3; overflow-wrap: break-word; }
.pwa-phone { right: 0; bottom: 4px; width: 172px; min-height: 298px; padding: 27px 15px 15px; border-radius: 30px; }
.pwa-app-mark { width: 56px; height: 56px; margin: 23px 0 16px; padding: 5px; }
.pwa-app-mark .site-logo-img { width: 100%; height: 100%; max-height: 100%; object-fit: contain; }
.pwa-phone strong { max-width: 11ch; font-size: clamp(1.16rem, 1.55vw, 1.4rem); line-height: 1.18; }
.pwa-install-chip { padding: 10px 6px; font-size: .7rem; line-height: 1.2; }
.pwa-float-card--top { left: 0; top: 2%; }
.pwa-float-card--bottom { left: 6%; bottom: 1%; }

/* Global footer contact flow: one dark Oladipo Labs treatment. */
.olabs-global-lead {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background:
    radial-gradient(circle at 10% 14%, rgba(48,163,20,.14), transparent 24%),
    radial-gradient(circle at 90% 0%, rgba(48,163,20,.18), transparent 28%),
    radial-gradient(circle at 78% 68%, rgba(48,163,20,.10), transparent 24%),
    linear-gradient(180deg, #04070b 0%, #07101a 45%, #04070b 100%);
  color: #fff;
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
}
.olabs-global-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 3.5vw, 3.5rem);
  padding: clamp(1.8rem, 4vw, 3.5rem);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  background: radial-gradient(circle at 98% 0%,rgba(48,163,20,.18),transparent 37%), var(--olabs-charcoal);
  color: #fff;
}
.olabs-global-cta::after {
  content: '';
  position: absolute;
  inset: auto -5% -150px auto;
  width: 360px;
  aspect-ratio: 1;
  border: 1px solid rgba(48,163,20,.2);
  border-radius: 50%;
  z-index: -1;
  box-shadow: 0 0 0 40px rgba(48,163,20,.025), 0 0 0 80px rgba(48,163,20,.02);
}
.olabs-global-cta-copy { max-width: 900px; }
.olabs-global-cta h2 {
  max-width: none;
  margin: .4rem 0 .85rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #fff;
}
.olabs-global-cta p:not(.eyebrow) {
  max-width: 61ch;
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: clamp(1rem, 1.15vw, 1.13rem);
}
.olabs-global-cta .btn { flex: 0 0 auto; max-width: 100%; white-space: normal; text-align: center; }
.olabs-global-cta .btn span { font-size: 1.1rem; }
.olabs-global-contact {
  position: relative;
  padding: clamp(3rem, 5vw, 5rem) 0 clamp(2.2rem, 4vw, 3rem);
  scroll-margin-top: 105px;
  color: #fff;
}
.olabs-global-contact-heading {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(260px,.8fr);
  gap: clamp(1.25rem, 3.4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(1.4rem, 3vw, 2.3rem);
}
.olabs-global-contact-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  max-width: 22ch;
  margin: 0;
  color: #fff;
}
.olabs-global-contact-heading > p {
  max-width: 52ch;
  color: rgba(255,255,255,.76);
  font-size: clamp(1rem, 1.13vw, 1.12rem);
  margin: 0 0 .15rem;
}
.olabs-global-contact-form {
  width: 100%;
  padding: clamp(1.2rem, 3vw, 2.65rem);
  background: var(--olabs-charcoal);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
}
.olabs-global-contact-form .wpforms-container {
  width: 100%;
  max-width: none;
  margin: 0 !important;
}
.olabs-global-contact-form .wpforms-form { width: 100%; }
/* One field per row, including fields configured with WPForms half-width classes. */
.olabs-global-contact-form .wpforms-field-container {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: clamp(.9rem, 1.8vw, 1.35rem);
}
.olabs-global-contact-form .wpforms-field-container > .wpforms-field {
  grid-column: 1 / -1;
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  padding: 0 !important;
  margin: 0 !important;
  clear: both;
}
.olabs-global-contact-form .wpforms-field .wpforms-field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .8rem;
  max-width: none !important;
}
.olabs-global-contact-form .wpforms-field :is(.wpforms-one-half,.wpforms-first,.wpforms-field-row-block) {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  margin-left: 0 !important;
}
.olabs-global-contact-form :is(.wpforms-field-label,.wpforms-field-sublabel,.wpforms-field-description,.wpforms-field label) {
  color: rgba(255,255,255,.94) !important;
}
.olabs-global-contact-form .wpforms-field-label {
  display: block;
  margin-bottom: .5rem;
  font-weight: 700;
}
.olabs-global-contact-form .wpforms-field :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea) {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 52px;
  border: 1px solid rgba(255,255,255,.22) !important;
  border-radius: 12px;
  background: #111b26 !important;
  color: #fff !important;
  box-shadow: none;
}
.olabs-global-contact-form .wpforms-field :is(input,textarea)::placeholder { color: #b1bdca !important; opacity: 1; }
.olabs-global-contact-form .wpforms-field select option { background: #111b26; color: #fff; }
.olabs-global-contact-form .wpforms-field textarea { min-height: 158px; }
.olabs-global-contact-form .wpforms-field :is(input,select,textarea):focus-visible {
  outline: 2px solid var(--olabs-green) !important;
  outline-offset: 2px;
  border-color: var(--olabs-green) !important;
}
.olabs-global-contact-form .wpforms-field :is(input[type="checkbox"],input[type="radio"]) { accent-color: var(--olabs-green); }
.olabs-global-contact-form .wpforms-submit-container { margin-top: 1.5rem !important; }
.olabs-global-contact-form button[type="submit"] {
  min-height: 50px;
  padding-inline: clamp(1.3rem, 3vw, 2rem);
  background: var(--olabs-green) !important;
  border: 1px solid var(--olabs-green) !important;
  color: #fff !important;
  border-radius: 999px;
  font-weight: 750;
  transition: background .2s ease, transform .2s ease;
}
.olabs-global-contact-form button[type="submit"]:hover {
  background: var(--olabs-green-dark) !important;
  transform: translateY(-2px);
}
.olabs-global-contact-form :is(.wpforms-confirmation-container-full,.wpforms-error-container) {
  background: #14231c;
  color: #fff;
  border-color: rgba(48,163,20,.5);
}
.olabs-contact-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1rem;
  margin-top: clamp(1.3rem, 2.5vw, 2.1rem);
  font-style: normal;
}
.olabs-contact-detail {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  padding: clamp(1.1rem, 1.8vw, 1.5rem);
  background: var(--olabs-charcoal);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 15px;
}
.olabs-contact-detail-icon {
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(48,163,20,.12);
  color: #69d954;
}
.olabs-contact-detail-icon svg { width: 21px; height: 21px; }
.olabs-contact-detail-content { min-width: 0; }
.olabs-contact-detail-content :is(a,span:not(.screen-reader-text)) {
  color: #fff;
  font-size: clamp(.92rem, 1.05vw, 1.05rem);
  font-weight: 650;
  overflow-wrap: anywhere;
  line-height: 1.5;
}
.olabs-contact-detail a:hover { color: #8fea78; text-decoration: underline; }
.olabs-global-lead + .site-footer {
  background:
    radial-gradient(circle at 15% 0%, rgba(48,163,20,.10), transparent 35%),
    radial-gradient(circle at 90% 80%, rgba(48,163,20,.08), transparent 35%),
    linear-gradient(180deg, #04070b 0%, #07101a 100%);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.11);
  padding-top: clamp(2.2rem, 3.5vw, 3.4rem);
}

.olabs-global-lead::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0) 18%),
    radial-gradient(circle at 12% 100%, rgba(48,163,20,.08), transparent 26%);
  z-index: -1;
}
.olabs-global-contact .site-container,
.olabs-global-lead .site-container {
  position: relative;
  z-index: 1;
}

/* Single article: editorial layout with meaningful hero and calm reading column. */
.olabs-article-page { background: #fff; }
.olabs-article-hero { padding: clamp(3rem, 5.4vw, 5.6rem) 0 clamp(3rem, 5vw, 5rem); }
.olabs-article-hero-grid { display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(0, .87fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: center; }
.olabs-article-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; margin-bottom: clamp(2rem, 4vw, 3rem); color: rgba(255,255,255,.72); font-size: .86rem; }
.olabs-article-breadcrumb :is(a,span) { color: inherit; }
.olabs-article-breadcrumb a:hover { color: #fff; text-decoration: underline; }
.olabs-article-hero h1 { max-width: 17ch; font-size: clamp(2.3rem, 4.25vw, 4.9rem); line-height: 1.08; margin: .5rem 0 1.5rem; text-wrap: balance; color: #fff; }
.olabs-article-hero .eyebrow { margin-bottom: .5rem; }
.olabs-article-summary { max-width: 58ch; color: rgba(255,255,255,.83) !important; font-size: clamp(1.06rem, 1.4vw, 1.24rem); line-height: 1.55; }
.olabs-article-byline { display: flex; align-items: center; gap: .85rem; margin-top: 2rem; }
.olabs-article-avatar { width: 44px; height: 44px; border-radius: 50%; }
.olabs-article-byline-text { display: flex; flex-direction: column; gap: .2rem; line-height: 1.3; }
.olabs-article-byline-text strong { color: #fff; font-size: .9rem; }
.olabs-article-byline-text > span { color: rgba(255,255,255,.74); font-size: .81rem; }
.olabs-article-hero-media { min-width: 0; aspect-ratio: 1.12; border-radius: 24px; overflow: hidden; border: 1px solid rgba(255,255,255,.16); background: #111b27; box-shadow: 0 22px 70px rgba(0,0,0,.24); }
.olabs-article-hero-media > img { width: 100%; height: 100%; object-fit: cover; }
.olabs-article-hero-fallback { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 100%; padding: clamp(2rem, 4vw, 3.5rem); background: radial-gradient(circle at 75% 20%,rgba(48,163,20,.24), transparent 48%), linear-gradient(150deg,#111d2b,#071015); overflow: hidden; }
.olabs-article-hero-mark { position: relative; width: min(46%, 210px); z-index: 2; }
.olabs-article-hero-mark img { width: 100%; height: auto; }
.olabs-article-hero-gridlines { position: absolute; inset: 15% -60% -70% 28%; border: 1px solid rgba(48,163,20,.25); border-radius: 50%; box-shadow: 0 0 0 58px rgba(48,163,20,.035), 0 0 0 116px rgba(48,163,20,.025); }
.olabs-article-hero-fallback-label { position: relative; z-index: 2; margin-top: auto; padding-top: 5rem; color: rgba(255,255,255,.78); font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.olabs-article-reading { padding: clamp(3rem, 5vw, 5.2rem) 0 clamp(2.5rem, 5vw, 4.5rem); }
.olabs-article-layout { display: grid; grid-template-columns: minmax(175px, 230px) minmax(0, 770px); justify-content: center; gap: clamp(2rem, 5vw, 5.5rem); align-items: start; }
.olabs-article-toc { position: sticky; top: 120px; border-right: 1px solid var(--olabs-border); padding: .25rem 1.25rem .4rem 0; }
.olabs-article-toc .eyebrow { margin-bottom: 1.2rem; }
.olabs-article-toc ol { display: grid; gap: .8rem; padding: 0; margin: 0 0 1.4rem; list-style: none; }
.olabs-article-toc li { margin: 0; }
.olabs-article-toc a { display: block; font-size: .87rem; line-height: 1.45; font-weight: 600; color: #546174; transition: color .2s ease; }
.olabs-article-toc li.is-subsection a { margin-left: .85rem; font-size: .82rem; }
.olabs-article-toc a:hover { color: var(--olabs-green-dark); }
.olabs-back-to-blog { padding-top: .9rem; border-top: 1px solid var(--olabs-border); }
.olabs-article-body { min-width: 0; max-width: 770px; font-size: clamp(1.03rem, 1.18vw, 1.12rem); line-height: 1.8; color: #243044; }
.olabs-article-body > p { color: #243044; line-height: 1.8; }
.olabs-article-body :is(h2,h3,h4) { scroll-margin-top: 115px; margin-top: 2.1em; margin-bottom: .65em; line-height: 1.22; }
.olabs-article-body h2 { font-size: clamp(1.65rem, 2.3vw, 2.35rem); }
.olabs-article-body h3 { font-size: clamp(1.3rem, 1.7vw, 1.75rem); }
.olabs-article-body :is(ul,ol) { padding-left: 1.4em; }
.olabs-article-body li { margin-bottom: .45em; }
.olabs-article-body img { max-width: 100%; height: auto; border-radius: 16px; }
.olabs-article-body blockquote { margin: 2rem 0; padding: 1.2rem 1.5rem; border-left: 4px solid var(--olabs-green); border-radius: 0 14px 14px 0; background: var(--olabs-light); color: var(--olabs-ink); font-size: 1.12rem; }
.olabs-article-body :is(table, pre) { display: block; max-width: 100%; overflow-x: auto; }
.olabs-article-body a:not(.btn) { text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: rgba(48,163,20,.5); }
.olabs-article-author { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; margin-top: 3.2rem; padding: 2rem 0 0; border-top: 1px solid var(--olabs-border); align-items: start; }
.olabs-article-author img { width: 64px; height: 64px; border-radius: 50%; }
.olabs-article-author-label { color: #566171; text-transform: uppercase; letter-spacing: .1em; font-size: .73rem; font-weight: 850; }
.olabs-article-author h2 { margin: .3rem 0 .5rem; font-size: 1.35rem; }
.olabs-article-author p { margin-bottom: 0; font-size: .94rem; color: #566171; }
.olabs-article-related { background: #f5f7f8; }
.olabs-article-related-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.4rem; margin-bottom: 2rem; }
.olabs-article-related-heading h2 { margin: 0; font-size: clamp(2rem, 3vw, 3.3rem); }

/* Responsive: intentional collapse instead of cutting off overlapping visuals. */
@media (max-width: 1100px) {
  .pwa-showcase-grid { grid-template-columns: 1fr; }
  .pwa-showcase-copy h2 { max-width: 25ch; }
  .pwa-visual { max-width: 760px; min-height: 530px; margin-inline: auto; }
}
@media (max-width: 960px) {
  .olabs-article-hero-grid { grid-template-columns: 1fr; }
  .olabs-article-hero-copy { max-width: 820px; }
  .olabs-article-hero-media { max-width: 820px; width: 100%; aspect-ratio: 16 / 9; }
  .olabs-article-layout { grid-template-columns: minmax(0, 770px); }
  .olabs-article-toc { position: relative; top: auto; border-right: 0; border-bottom: 1px solid var(--olabs-border); padding-bottom: 1.2rem; }
  .olabs-article-toc ol { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .olabs-global-cta { flex-direction: column; align-items: start; }
}
@media (max-width: 960px) {
  .olabs-contact-details { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .pwa-feature-list { grid-template-columns: 1fr; }
  .pwa-visual { min-height: 420px; padding: 6px 30px 20px 0; }
  .pwa-browser { width: 100%; min-height: 360px; border-radius: 17px; }
  .pwa-browser-panel { margin-top: 15px; padding: 17px; }
  .pwa-browser-panel strong { font-size: clamp(1.25rem, 5vw, 1.6rem); }
  .pwa-browser-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pwa-browser-cards > div:nth-child(3) { display: none; }
  .pwa-browser-nav span { width: 20px; }
  .pwa-phone { right: 0; width: 128px; min-height: 239px; padding: 20px 9px 9px; border-width: 5px; border-radius: 24px; }
  .pwa-phone-top { width: 45px; height: 10px; }
  .pwa-app-mark { width: 37px; height: 37px; margin: 24px 0 14px; padding: 3px; }
  .pwa-phone strong { font-size: .96rem; }
  .pwa-install-chip { font-size: .59rem; padding: 8px 3px; }
  .olabs-global-cta { border-radius: 20px; }
  .olabs-global-contact-heading { grid-template-columns: 1fr; }
  .olabs-global-contact-form { padding: 1rem; border-radius: 16px; }
  .olabs-global-cta { padding: 1.7rem; }
  .olabs-global-lead { padding-top: 2rem; }
  .olabs-contact-details { grid-template-columns: 1fr; }
  .olabs-article-hero { padding-block: 2.8rem; }
  .olabs-article-breadcrumb { margin-bottom: 1.8rem; }
  .olabs-article-hero-media { aspect-ratio: 1.3; }
  .olabs-article-toc ol { grid-template-columns: 1fr; }
  .olabs-article-related-heading { align-items: start; flex-direction: column; }
}
@media (max-width: 420px) {
  .pwa-visual { min-height: 365px; padding-right: 13px; }
  .pwa-browser-content { padding: 12px; }
  .pwa-browser-bar { height: 36px; }
  .pwa-browser-nav .site-logo-img { width: 75px; }
  .pwa-browser-nav span { width: 12px; height: 5px; }
  .pwa-browser-panel { margin-top: 12px; padding: 14px; }
  .pwa-browser-panel small { font-size: .55rem; }
  .pwa-browser-panel strong { font-size: 1.12rem; }
  .pwa-browser-panel p { font-size: .72rem; }
  .pwa-progress { font-size: .64rem; }
  .pwa-browser-cards div { padding: 9px; }
  .pwa-browser-cards small { font-size: .53rem; }
  .pwa-browser-cards strong { font-size: .7rem; }
  .pwa-phone { width: 105px; min-height: 198px; padding: 19px 6px 7px; }
  .pwa-app-mark { width: 30px; height: 30px; margin: 20px 0 10px; }
  .pwa-phone strong { font-size: .78rem; }
  .pwa-install-chip { font-size: .52rem; padding: 5px 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .pwa-feature-list li, .olabs-global-cta .btn, .olabs-global-contact-form button[type="submit"], .olabs-article-toc a { transition: none; }
}

/* OLABS PORTFOLIO REFINEMENT */
.featured-projects-section {
  background:
    radial-gradient(circle at 95% 5%, rgba(48,163,20,.06), transparent 30%),
    #f6f7f9;
}

.featured-projects-section .portfolio-heading {
  gap: clamp(1.5rem,4vw,4rem);
  margin-bottom: clamp(1.5rem,3vw,2.5rem);
}

.featured-projects-section .portfolio-heading h2 {
  max-width: none;
  font-size: clamp(2rem,3.6vw,3.6rem);
  line-height: 1.12;
}

.featured-projects-section .portfolio-empty-state {
  display: grid;
  grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr);
  padding: 0;
  gap: 0;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(48,163,20,.2);
  background:
    radial-gradient(circle at 100% 5%,rgba(48,163,20,.18),transparent 45%),
    linear-gradient(135deg,#0b0f19,#111d25);
  box-shadow: 0 24px 65px rgba(3,10,17,.14);
  transition: transform .3s ease,box-shadow .3s ease;
}

.featured-projects-section .portfolio-empty-state:hover {
  transform: translateY(-4px);
  box-shadow: 0 35px 80px rgba(3,10,17,.2);
}

.featured-projects-section .portfolio-empty-visual {
  position: relative;
  min-height: 445px;
  overflow: hidden;
}

.featured-projects-section .portfolio-empty-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 445px;
  object-fit: cover;
  transition: transform .5s ease;
}

.featured-projects-section .portfolio-empty-state:hover
.portfolio-empty-image {
  transform: scale(1.045);
}

.featured-projects-section .portfolio-empty-visual.has-image::before {
  z-index: 2;
  background: linear-gradient(
    180deg,transparent 35%,rgba(5,7,10,.8) 100%
  );
}

.featured-projects-section .portfolio-empty-visual::after {
  content: "DESIGN / ENGINEERING / GROWTH";
  position: absolute;
  z-index: 3;
  left: 2rem;
  bottom: 2rem;
  right: 1rem;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: #fff;
}

.featured-projects-section .portfolio-empty-copy {
  align-self: center;
  padding: clamp(2rem,4.5vw,4.5rem);
}

.featured-projects-section .portfolio-empty-copy .eyebrow {
  color: #62dc4c;
  margin-bottom: .85rem;
}

.featured-projects-section .portfolio-empty-copy h3 {
  color: #fff;
  max-width: none;
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.featured-projects-section .portfolio-empty-copy > p:not(.eyebrow) {
  color: rgba(255,255,255,.8);
  font-size: clamp(1rem,1.15vw,1.1rem);
  line-height: 1.7;
}

.featured-projects-section .portfolio-principles {
  gap: .65rem;
  margin: 1.5rem 0 2rem;
}

.featured-projects-section .portfolio-principles span {
  background: rgba(48,163,20,.12);
  border: 1px solid rgba(98,220,76,.26);
  color: #e8f6e5;
  border-radius: 10px;
  padding: .65rem .8rem;
  font-size: .77rem;
}

.featured-projects-section .portfolio-empty-copy .text-link {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  background: #30a314;
  color: #fff;
  padding: .9rem 1.4rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: background .2s ease,transform .2s ease;
}

.featured-projects-section .portfolio-empty-copy .text-link:hover {
  background: #22860c;
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width:850px) {
  .featured-projects-section .portfolio-empty-state {
    grid-template-columns: 1fr;
  }

  .featured-projects-section .portfolio-empty-visual,
  .featured-projects-section .portfolio-empty-image {
    min-height: 290px;
    max-height: 420px;
  }

  .featured-projects-section .portfolio-empty-copy h3 {
    max-width: none;
  }
}

@media (max-width:600px) {
  .featured-projects-section .portfolio-empty-visual,
  .featured-projects-section .portfolio-empty-image {
    min-height: 260px;
    max-height: 320px;
  }

  .featured-projects-section .portfolio-empty-copy {
    padding: 1.6rem;
  }
}

@media (prefers-reduced-motion:reduce) {
  .featured-projects-section .portfolio-empty-state,
  .featured-projects-section .portfolio-empty-image,
  .featured-projects-section .portfolio-empty-copy .text-link {
    transition: none;
    transform: none;
  }
}

/* OLABS CAPABILITY INTERACTIONS V1 */

.capabilities-section .capability-card {
  position: relative;
  isolation: isolate;
  transition:
    transform .3s ease,
    box-shadow .3s ease,
    border-color .3s ease,
    background-color .3s ease;
}

/* Animated green top accent */
.capabilities-section .capability-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  right: 26px;
  height: 3px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(
    90deg,
    #22860c,
    #30a314,
    #78e260
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
  pointer-events: none;
}

/* Number badges */
.capabilities-section .capability-number {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 17px;
  border: 1px solid rgba(48,163,20,.3);
  background: rgba(48,163,20,.09);
  color: #30a314;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: .04em;
  box-shadow: inset 0 0 0 5px rgba(48,163,20,.035);
  transition:
    transform .3s ease,
    background .3s ease,
    border-color .3s ease,
    box-shadow .3s ease;
}

/* Stronger contrast on dark cards */
.capabilities-section .capability-card:nth-child(even)
.capability-number {
  color: #7ce667;
  border-color: rgba(124,230,103,.28);
  background: rgba(48,163,20,.13);
}

/* Reduce the oversized gap under the number */
.capabilities-section .capability-card h3 {
  margin-top: 2.1rem;
  transition: color .25s ease;
}

/* Status indicator */
.capabilities-section .capability-signal {
  transition:
    transform .3s ease,
    box-shadow .3s ease;
  transform-origin: right center;
}

/* Interactive states */
@media (hover: hover) and (pointer: fine) {

  .capabilities-section .capability-card:hover {
    transform: translateY(-7px);
    border-color: rgba(48,163,20,.5);
    box-shadow:
      0 24px 55px rgba(0,0,0,.16),
      0 0 0 1px rgba(48,163,20,.08);
  }

  .capabilities-section .capability-card:hover::before {
    transform: scaleX(1);
  }

  .capabilities-section .capability-card:hover
  .capability-number {
    transform: translateY(-3px) scale(1.06);
    background: rgba(48,163,20,.18);
    border-color: #30a314;
    box-shadow: 0 8px 24px rgba(48,163,20,.12);
  }

  .capabilities-section .capability-card:hover
  .capability-signal {
    transform: scaleX(1.18);
    box-shadow: 0 0 16px rgba(48,163,20,.18);
  }

  .capabilities-section .capability-card:nth-child(odd):hover {
    background-color: #fafff8;
  }

  .capabilities-section .capability-card:nth-child(even):hover {
    background-color: #13231e;
  }
}

/* Smaller screens */
@media (max-width: 600px) {
  .capabilities-section .capability-number {
    width: 52px;
    height: 52px;
    font-size: 1rem;
    border-radius: 14px;
  }

  .capabilities-section .capability-card h3 {
    margin-top: 1.5rem;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .capabilities-section .capability-card,
  .capabilities-section .capability-card::before,
  .capabilities-section .capability-number,
  .capabilities-section .capability-signal,
  .capabilities-section .capability-card h3 {
    transition: none;
  }

  .capabilities-section .capability-card:hover {
    transform: none;
  }

  .capabilities-section .capability-card:hover
  .capability-number {
    transform: none;
  }
}


/* OLABS LINK + FORM SELECT FIXES V1 */

/* ---------------------------------
   1) REMOVE HOVER UNDERLINES
--------------------------------- */

.site-footer a,
.olabs-global-contact a,
.olabs-contact-detail-content a,
.prose a,
.entry-content a,
.wp-block-post-content a,
.page-content a,
.content-section a {
  text-decoration: none;
  text-underline-offset: 0;
  transition: color .2s ease, opacity .2s ease, border-color .2s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.olabs-global-contact a:hover,
.olabs-global-contact a:focus-visible,
.olabs-contact-detail-content a:hover,
.olabs-contact-detail-content a:focus-visible,
.prose a:hover,
.prose a:focus-visible,
.entry-content a:hover,
.entry-content a:focus-visible,
.wp-block-post-content a:hover,
.wp-block-post-content a:focus-visible,
.page-content a:hover,
.page-content a:focus-visible,
.content-section a:hover,
.content-section a:focus-visible {
  text-decoration: none;
  color: var(--olabs-green, #30a314);
}

/* Keep buttons looking like buttons */
a.btn,
a.btn:hover,
a.btn:focus-visible,
.wp-block-button__link,
.wp-block-button__link:hover,
.wp-block-button__link:focus-visible {
  text-decoration: none;
}

/* ---------------------------------
   2) FORM SELECT / DROPDOWN STYLES
--------------------------------- */

/* Native selects */
.olabs-global-contact select,
.wpforms-container select,
.wpforms-form select {
  width: 100%;
  min-height: 56px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: 16px;
  border: 1px solid rgba(48,163,20,.35);
  background: #0c1624;
  color: #ffffff;
  padding: 0 3rem 0 1rem;
  box-shadow: 0 0 0 1px rgba(48,163,20,.08) inset;
}

.olabs-global-contact select:focus,
.wpforms-container select:focus,
.wpforms-form select:focus {
  outline: none;
  border-color: #30a314;
  box-shadow: 0 0 0 3px rgba(48,163,20,.16);
}

/* Native option readability */
.olabs-global-contact select option,
.wpforms-container select option,
.wpforms-form select option {
  background: #0f1724;
  color: #ffffff;
}

/* Add a visual dropdown arrow */
.olabs-global-contact .wpforms-field-select,
.wpforms-container .wpforms-field-select {
  position: relative;
}

.olabs-global-contact .wpforms-field-select::after,
.wpforms-container .wpforms-field-select::after {
  content: "";
  position: absolute;
  right: 1.15rem;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #7ce667;
  border-bottom: 2px solid #7ce667;
  transform: translateY(-60%) rotate(45deg);
  pointer-events: none;
}

/* Choices.js / WPForms modern dropdown */
.choices {
  margin-bottom: 0;
}

.choices__inner {
  min-height: 56px;
  border-radius: 16px;
  border: 1px solid rgba(48,163,20,.35);
  background: #0c1624;
  color: #ffffff;
  padding: .75rem 2.75rem .75rem 1rem;
  box-shadow: 0 0 0 1px rgba(48,163,20,.08) inset;
}

.is-focused .choices__inner,
.is-open .choices__inner {
  border-color: #30a314;
  box-shadow: 0 0 0 3px rgba(48,163,20,.16);
}

.choices__list--single {
  padding: 0;
  color: #ffffff;
}

.choices__placeholder {
  color: rgba(255,255,255,.72);
  opacity: 1;
}

.choices[data-type*=select-one]::after {
  border-color: #7ce667 transparent transparent;
  right: 1rem;
}

.choices.is-open[data-type*=select-one]::after {
  border-color: transparent transparent #7ce667;
  margin-top: -6px;
}

.choices__list--dropdown,
.choices__list[aria-expanded] {
  background: #0f1724;
  border: 1px solid rgba(48,163,20,.25);
  color: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 22px 55px rgba(0,0,0,.28);
}

.choices__list--dropdown .choices__item,
.choices__list[aria-expanded] .choices__item {
  color: #ffffff;
  background: transparent;
  font-size: 1rem;
  line-height: 1.45;
  padding: .8rem 1rem;
}

.choices__list--dropdown .choices__item--selectable.is-highlighted,
.choices__list[aria-expanded] .choices__item--selectable.is-highlighted {
  background: rgba(48,163,20,.14);
  color: #ffffff;
}

.choices__list--dropdown .choices__item--disabled,
.choices__list[aria-expanded] .choices__item--disabled {
  color: rgba(255,255,255,.5);
  opacity: 1;
}

/* WPForms field labels + helper text consistency */
.olabs-global-contact .wpforms-field-label,
.wpforms-container .wpforms-field-label {
  color: #ffffff;
}

.olabs-global-contact .wpforms-field-description,
.wpforms-container .wpforms-field-description {
  color: rgba(255,255,255,.72);
}

/* Fix weird oversized open area if dropdown is empty/min-height weirdness */
.choices__list--dropdown .choices__list,
.choices__list[aria-expanded] .choices__list {
  max-height: 260px;
  overflow-y: auto;
}


/* OLABS DROPDOWN REFINEMENT V2 */

/* Remove the arrow positioned relative to the entire form field */
.olabs-global-contact-form .wpforms-field-select::after {
  display: none !important;
}

/* Classic fallback: readable native menu */
.olabs-global-contact-form .wpforms-field-select select {
  appearance: auto !important;
  -webkit-appearance: auto !important;
  color-scheme: light;
  background: #111b26 !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  border-radius: 12px !important;
  outline: none !important;
  outline-offset: 0 !important;
}

.olabs-global-contact-form .wpforms-field-select select option {
  background: #fff !important;
  color: #111827 !important;
}

/* Modern dropdown */
.olabs-global-contact-form .choices {
  width: 100%;
  margin: 0;
}

.olabs-global-contact-form .choices .choices__inner {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 9px 44px 9px 16px !important;
  background: #111b26 !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  border-radius: 12px !important;
  box-shadow: none !important;
}

.olabs-global-contact-form .choices .choices__list--single,
.olabs-global-contact-form .choices .choices__item {
  color: #fff !important;
  font-size: 1rem;
}

.olabs-global-contact-form .choices .choices__placeholder {
  color: #b1bdca !important;
  opacity: 1;
}

/* Arrow is centered relative to the dropdown itself */
.olabs-global-contact-form
.choices[data-type*="select-one"]::after {
  right: 19px !important;
  top: 50% !important;
  margin-top: -2px;
  border-color: #30a314 transparent transparent !important;
}

.olabs-global-contact-form
.choices.is-open[data-type*="select-one"]::after {
  margin-top: -7px;
  border-color: transparent transparent #30a314 !important;
}

/* Dropdown panel */
.olabs-global-contact-form .choices__list--dropdown,
.olabs-global-contact-form .choices__list[aria-expanded] {
  background: #111b26 !important;
  border: 1px solid rgba(48,163,20,.45) !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 40px rgba(0,0,0,.3);
  overflow: hidden;
  z-index: 20;
}

.olabs-global-contact-form
.choices__list--dropdown .choices__item,
.olabs-global-contact-form
.choices__list[aria-expanded] .choices__item {
  background: #111b26 !important;
  color: #fff !important;
  padding: 12px 16px !important;
}

/* Oladipo Labs green hover and keyboard selection */
.olabs-global-contact-form
.choices__list--dropdown .choices__item.is-highlighted,
.olabs-global-contact-form
.choices__list[aria-expanded] .choices__item.is-highlighted {
  background: #22860c !important;
  color: #fff !important;
}

/* Clean focus ring aligned with the field */
.olabs-global-contact-form .choices.is-focused .choices__inner,
.olabs-global-contact-form .choices.is-open .choices__inner,
.olabs-global-contact-form .wpforms-field-select select:focus {
  border-color: #30a314 !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(48,163,20,.22) !important;
}


/* OLABS MODERN SELECT ALIGNMENT V3 */

/* Align the dropdown with all other form fields */
.olabs-global-contact-form
.wpforms-field-select > .choices.wpforms-field-row {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
}

/* Remove inherited offsets from Choices */
.olabs-global-contact-form
.wpforms-field-select .choices__inner {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box;
  border-radius: 12px !important;
}

/* Dark search field that was showing as a white strip */
.olabs-global-contact-form
.wpforms-field-select .choices__input--cloned {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 44px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 10px 16px !important;
  background: #111b26 !important;
  color: #ffffff !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  box-sizing: border-box;
}

.olabs-global-contact-form
.wpforms-field-select .choices__input--cloned:focus {
  background: #111b26 !important;
  color: #ffffff !important;
  box-shadow: none !important;
  outline: none !important;
}

.olabs-global-contact-form
.wpforms-field-select .choices__input--cloned::placeholder {
  color: #aeb9c8 !important;
  opacity: 1;
}

/* Make the entire opened panel dark, including search area */
.olabs-global-contact-form
.wpforms-field-select .choices__list--dropdown,
.olabs-global-contact-form
.wpforms-field-select .choices__list[aria-expanded] {
  background: #111b26 !important;
  color: #ffffff !important;
  border: 1px solid rgba(48,163,20,.4) !important;
  border-radius: 12px !important;
  overflow: hidden;
  box-sizing: border-box;
}

/* Maintain a clean green hover/keyboard selection */
.olabs-global-contact-form
.wpforms-field-select .choices__list--dropdown
.choices__item--selectable.is-highlighted {
  background: #22860c !important;
  color: #ffffff !important;
}

/* Consistent focus border */
.olabs-global-contact-form
.wpforms-field-select .choices.is-focused .choices__inner,
.olabs-global-contact-form
.wpforms-field-select .choices.is-open .choices__inner {
  border-color: #30a314 !important;
  box-shadow: 0 0 0 2px rgba(48,163,20,.18) !important;
}

/* Small-screen consistency */
@media (max-width: 600px) {
  .olabs-global-contact-form
  .wpforms-field-select > .choices.wpforms-field-row {
    width: 100% !important;
    margin-inline: 0 !important;
  }
}


/* OLABS ARTICLE REFRESH V2: shared editorial typography + enhanced guide */
.olabs-article-page .olabs-article-hero {
  padding-block: clamp(2.6rem, 4vw, 4.1rem);
}
.olabs-article-page .olabs-article-hero-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(2rem, 4vw, 4rem);
}
.olabs-article-page .olabs-article-breadcrumb { margin-bottom: clamp(1.1rem, 2vw, 1.75rem); }
.olabs-article-page .olabs-article-hero h1 {
  max-width: 22ch;
  font-size: clamp(2.3rem, 3.6vw, 4.2rem);
  line-height: 1.08;
  margin-bottom: 1.2rem;
}
.olabs-article-page .olabs-article-hero-media {
  aspect-ratio: 1.4;
  max-height: 440px;
}
.olabs-article-page .olabs-article-byline {
  margin-top: 1.3rem;
  gap: .7rem;
  padding-top: .85rem;
  border-top: 1px solid rgba(255,255,255,.14);
}
.olabs-article-page .olabs-article-byline-text {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
}
.olabs-article-page .olabs-article-byline-text strong,
.olabs-article-page .olabs-article-byline-text > span { font-size: .87rem; }
.olabs-article-page .olabs-article-reading { padding-block: clamp(2.2rem, 4vw, 3.6rem); }
.olabs-article-page .olabs-article-layout {
  grid-template-columns: minmax(230px, 275px) minmax(0, 780px);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: start;
}
.olabs-article-page .olabs-article-toc {
  position: sticky;
  top: 115px;
  max-height: calc(100vh - 135px);
  overflow-y: auto;
  padding: 1.35rem;
  border: 1px solid #e4e9ee;
  border-radius: 18px;
  background: #f9fbfa;
  box-shadow: 0 12px 32px rgba(4,12,21,.045);
}
.olabs-article-page .olabs-article-toc .eyebrow { margin: 0 0 .7rem; }
.olabs-article-toc-meter { height: 4px; border-radius: 99px; overflow: hidden; background: #e1eae3; }
.olabs-article-toc-meter > span {
  display: block; width: 0; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg,#22860c,#52cb34);
}
.olabs-article-toc-count { margin: .7rem 0 1rem; color: #657183; font-size: .79rem; line-height: 1.45; }
.olabs-article-page .olabs-article-toc ol {
  counter-reset: olabs-sections;
  display: grid;
  gap: .18rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}
.olabs-article-page .olabs-article-toc li { counter-increment: olabs-sections; }
.olabs-article-page .olabs-article-toc a:not(.olabs-back-to-blog) {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: .68rem .7rem;
  border-radius: 10px;
  color: #425166;
  font-size: .9rem;
  line-height: 1.45;
  font-weight: 600;
  transition: background-color .2s, color .2s;
}
.olabs-article-page .olabs-article-toc ol a::before {
  content: counter(olabs-sections, decimal-leading-zero);
  flex: 0 0 1.55rem;
  color: #22860c;
  font-size: .72rem;
  font-weight: 850;
  line-height: 1.85;
}
.olabs-article-page .olabs-article-toc li.is-subsection a { margin-left: .5rem; font-size: .85rem; }
.olabs-article-page .olabs-article-toc a.is-current {
  background: rgba(48,163,20,.095);
  box-shadow: inset 3px 0 0 var(--olabs-green);
  color: #111827;
}
.olabs-article-page .olabs-article-toc a:hover { background: rgba(48,163,20,.075); color: #22860c; }
.olabs-article-page .olabs-back-to-blog { display: block; border-top: 1px solid #dce4e0; padding: 1.1rem .6rem .1rem; font-size: .88rem; }
.olabs-article-page .olabs-article-body {
  max-width: 780px;
  font-size: 1.125rem;
  line-height: 1.68;
}
.olabs-article-page .olabs-article-body p:not(.eyebrow) {
  margin: 0 0 .95rem;
  line-height: 1.68;
}
.olabs-article-page .olabs-article-body :is(h2,h3,h4) {
  margin-top: 1.4em;
  margin-bottom: .55em;
  line-height: 1.16;
  font-weight: 750;
  letter-spacing: -.025em;
}
.olabs-article-page .olabs-article-body h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.olabs-article-page .olabs-article-body h3 { font-size: clamp(1.4rem, 2vw, 1.85rem); }
.olabs-article-page .olabs-article-body :is(h2,h3,h4) span[style*="font-weight"] { font-weight: inherit !important; }
.olabs-article-page .olabs-article-body :is(ul,ol) { margin-bottom: 1.2rem; }
.olabs-article-page .olabs-article-body li { margin-bottom: .25rem; line-height: 1.62; }
@media (max-width: 960px) {
  .olabs-article-page .olabs-article-hero-grid,
  .olabs-article-page .olabs-article-layout { grid-template-columns: minmax(0,1fr); }
  .olabs-article-page .olabs-article-toc {
    position: static;
    max-height: none;
    overflow: visible;
    padding: 1.25rem;
  }
  .olabs-article-page .olabs-article-toc ol { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .olabs-article-page .olabs-article-hero-media { max-height: 380px; }
}
@media (max-width: 650px) {
  .olabs-article-page .olabs-article-toc ol { grid-template-columns: 1fr; }
  .olabs-article-page .olabs-article-hero h1 { font-size: clamp(2.15rem,8vw,3rem); }
  .olabs-article-page .olabs-article-body h2 { font-size: clamp(1.8rem,6vw,2.2rem); }
}
@media (prefers-reduced-motion: reduce) {
  .olabs-article-page .olabs-article-toc a { transition: none; }
}
/* OLABS UNIFIED INTERIOR HERO V1
 * Home/front-page remains unchanged. Interior pages and blog share a compact
 * hero layout while retaining each page's own ACF/featured image.
 */
.site-main > .page-hero,
.olabs-article-page > .olabs-article-hero {
  min-height: 0 !important;
  padding-block: clamp(2.3rem, 3.7vw, 3.5rem) !important;
  background:
    radial-gradient(circle at 6% 10%, rgba(48,163,20,.13), transparent 32%),
    radial-gradient(circle at 93% 88%, rgba(48,163,20,.09), transparent 32%),
    var(--olabs-charcoal);
  color: #fff;
}
/* One desktop grid on all interiors, including Services, About, Blog. */
.site-main > .page-hero .page-hero-grid,
.site-main > .page-hero.page-hero--service .page-hero-grid,
.olabs-article-page > .olabs-article-hero .olabs-article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(1.5rem, 3.5vw, 3.5rem);
}
.site-main > .page-hero .page-hero-grid > div:first-child,
.olabs-article-page > .olabs-article-hero .olabs-article-hero-copy {
  max-width: none;
  min-width: 0;
}
.site-main > .page-hero h1,
.site-main > .page-hero.page-hero--service h1,
.olabs-article-page > .olabs-article-hero h1 {
  max-width: 25ch !important;
  margin: .35rem 0 .9rem !important;
  font-size: clamp(2rem, 3.1vw, 3.2rem) !important;
  font-weight: 650;
  line-height: 1.1 !important;
  letter-spacing: -.035em;
  text-wrap: balance;
  color: #fff;
}
.site-main > .page-hero .lead,
.olabs-article-page > .olabs-article-hero .olabs-article-summary {
  max-width: 65ch;
  margin: 0 !important;
  font-size: clamp(1rem, 1.15vw, 1.125rem) !important;
  line-height: 1.55 !important;
  color: rgba(255,255,255,.83);
}
.site-main > .page-hero .eyebrow { margin-bottom: .65rem; }
.site-main > .page-hero .page-hero-media,
.olabs-article-page > .olabs-article-hero .olabs-article-hero-media {
  width: 100%;
  min-width: 0;
  max-width: none;
  height: clamp(230px, 23vw, 330px);
  max-height: 330px;
  aspect-ratio: auto;
  border-radius: 20px;
  overflow: hidden;
  background: #12201d;
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 18px 40px rgba(0,0,0,.23);
}
.site-main > .page-hero .page-hero-media img,
.olabs-article-page > .olabs-article-hero .olabs-article-hero-media > img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  border: 0;
  border-radius: inherit;
}
.site-main > .page-hero .page-hero-media::before,
.site-main > .page-hero .page-hero-media::after { display: none; }
.olabs-article-page > .olabs-article-hero .olabs-article-hero-fallback { height: 100%; min-height: 0; }
.olabs-article-page > .olabs-article-hero .olabs-article-breadcrumb { margin-bottom: 1rem; }
.olabs-article-page > .olabs-article-hero .olabs-article-byline { margin-top: 1rem; }
/* Long article headlines are allowed to increase hero height naturally. */
@media (max-width: 900px) {
  .site-main > .page-hero .page-hero-grid,
  .site-main > .page-hero.page-hero--service .page-hero-grid,
  .olabs-article-page > .olabs-article-hero .olabs-article-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }
  .site-main > .page-hero,
  .olabs-article-page > .olabs-article-hero { padding-block: 2.3rem !important; }
  .site-main > .page-hero .page-hero-media,
  .olabs-article-page > .olabs-article-hero .olabs-article-hero-media {
    height: clamp(205px, 40vw, 290px);
    max-height: 290px;
  }
}
@media (max-width: 600px) {
  .site-main > .page-hero h1,
  .site-main > .page-hero.page-hero--service h1,
  .olabs-article-page > .olabs-article-hero h1 {
    max-width: none !important;
    font-size: clamp(1.9rem, 7.2vw, 2.45rem) !important;
  }
  .site-main > .page-hero .page-hero-media,
  .olabs-article-page > .olabs-article-hero .olabs-article-hero-media {
    height: clamp(190px, 57vw, 255px);
    max-height: 255px;
    border-radius: 16px;
  }
  .site-main > .page-hero,
  .olabs-article-page > .olabs-article-hero { padding-block: 2rem !important; }
}
/* OLABS STAGING MOBILE REFINEMENT V1
 * Scoped to mobile and existing Oladipo Labs components.
 * Keeps button labels/arrows together, reCAPTCHA inside form, and X symmetric.
 */
.split-section--text-only .split-grid { grid-template-columns: minmax(0, 1fr); }
.split-section--text-only .split-copy { width: 100%; max-width: 860px; }

/* Make green primary buttons readable in all link states, including hover. */
a.btn.btn-primary,
a.btn.btn-primary:link,
a.btn.btn-primary:visited,
a.btn.btn-primary:hover,
a.btn.btn-primary:focus-visible,
.site-main .btn.btn-primary:hover,
.olabs-global-lead .btn.btn-primary:hover,
.site-header .btn.btn-primary:hover {
  color: #fff !important;
  text-decoration: none !important;
}
a.btn.btn-primary:hover, a.btn.btn-primary:focus-visible {
  background-color: var(--olabs-green-dark, #22860c);
  border-color: var(--olabs-green-dark, #22860c);
}
a.btn.btn-primary :is(span, svg, i),
a.btn.btn-primary:hover :is(span, svg, i) { color: inherit !important; }
.olabs-global-contact-form .wpforms-submit:hover,
.olabs-global-contact-form .wpforms-submit:focus-visible { color: #fff !important; }

/* Stable, symmetric three-line burger -> X, ignoring older 1.5 transform rules. */
.menu-toggle > .menu-toggle-bar {
  top: 50%; left: 50%; margin: 0; position: absolute;
  width: 22px; height: 2px; transform-origin: 50% 50%;
}
.menu-toggle[aria-expanded="true"] > .menu-toggle-bar:nth-of-type(1) {
  transform: translate(-50%, -50%) rotate(45deg) !important;
}
.menu-toggle[aria-expanded="true"] > .menu-toggle-bar:nth-of-type(2) {
  opacity: 0 !important; transform: translate(-50%, -50%) scaleX(0) !important;
}
.menu-toggle[aria-expanded="true"] > .menu-toggle-bar:nth-of-type(3) {
  transform: translate(-50%, -50%) rotate(-45deg) !important;
}
@media (prefers-reduced-motion: reduce) {
  .menu-toggle > .menu-toggle-bar { transition: none !important; }
  .menu-toggle[aria-expanded="true"] > .menu-toggle-bar:nth-of-type(1) { transform: translate(-50%, -50%) rotate(45deg) !important; }
  .menu-toggle[aria-expanded="true"] > .menu-toggle-bar:nth-of-type(3) { transform: translate(-50%, -50%) rotate(-45deg) !important; }
}

/* The checkbox is an iframe fixed at 304px; JS below scales it to its wrapper. */
.olabs-global-contact-form .wpforms-recaptcha-container {
  width: 100%; max-width: 100%; min-width: 0;
  overflow: clip;
}
.olabs-global-contact-form .wpforms-recaptcha-container .g-recaptcha {
  transform-origin: 0 0;
}

@media (max-width: 700px) {
  .site-main .btn,
  .olabs-global-lead .btn,
  .site-header .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center !important;
    gap: .45rem;
    flex-wrap: nowrap !important;
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    width: max-content;
    min-height: 44px;
    padding: .8rem 1rem;
    font-size: clamp(.8rem, 3.35vw, .96rem);
    line-height: 1.25;
    white-space: nowrap !important;
    text-align: center;
  }
  .site-main .btn > :is(span, svg, i),
  .olabs-global-lead .btn > :is(span, svg, i) {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .site-main .button-row, .olabs-global-lead .button-row {
    max-width: 100%; min-width: 0;
  }
  .olabs-global-cta .btn { flex: 0 1 auto; }

  /* Keep all three contact cards evenly sized while the address stays legible. */
  .olabs-contact-details { grid-template-columns: minmax(0, 1fr) !important; }
  .olabs-contact-detail {
    min-width: 0;
    min-height: 78px;
    box-sizing: border-box;
    padding: .85rem .9rem;
    gap: .6rem;
  }
  .olabs-contact-detail a[href^="mailto:"] {
    font-size: clamp(.69rem, 3vw, .875rem) !important;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    letter-spacing: -.025em;
  }
  .olabs-contact-detail :is(a[href^="tel:"], span:not(.olabs-contact-detail-label)) {
    font-size: clamp(.84rem, 3.5vw, .98rem);
  }
}
@media (max-width: 360px) {
  .site-main .btn, .olabs-global-lead .btn {
    font-size: .76rem;
    padding-inline: .7rem;
    gap: .35rem;
  }
  .olabs-contact-detail { padding-inline: .65rem; gap: .4rem; }
  .olabs-contact-detail a[href^="mailto:"] { font-size: .665rem !important; }
}
/* OLABS MOBILE HEADER CTA FIX */
@media (max-width: 900px) {
    .site-header .header-inner > .header-cta {
        display: none !important;
    }

    .site-header .header-inner > .menu-toggle {
        margin-left: auto !important;
    }
}

/* OLABS WHITE CONTACT FORM FIELDS V1 */

/* Standard fields */
.olabs-global-contact-form .wpforms-field :is(
    input:not([type="checkbox"]):not([type="radio"]),
    select,
    textarea
) {
    background: #ffffff !important;
    color: #111827 !important;
    border: 1px solid #d4dbe3 !important;
    box-shadow: none !important;
}

/* Placeholder text */
.olabs-global-contact-form .wpforms-field :is(
    input,
    textarea
)::placeholder {
    color: #64748b !important;
    opacity: 1;
}

/* Focus styling */
.olabs-global-contact-form .wpforms-field :is(
    input,
    select,
    textarea
):focus {
    border-color: #30a314 !important;
    outline-color: #30a314;
}

/* Modern WPForms select */
.olabs-global-contact-form .wpforms-field-select .choices .choices__inner,
.olabs-global-contact-form .wpforms-field-select .choices .choices__list--single {
    background: #ffffff !important;
    color: #111827 !important;
}

/* Dropdown menu and search */
.olabs-global-contact-form .wpforms-field-select .choices__list--dropdown {
    background: #ffffff !important;
    border-color: #d4dbe3 !important;
}

.olabs-global-contact-form .wpforms-field-select .choices__list--dropdown .choices__item {
    background: #ffffff;
    color: #111827 !important;
}

.olabs-global-contact-form .wpforms-field-select .choices__list--dropdown .choices__item.is-highlighted {
    background: #e9f7e5 !important;
    color: #176c0b !important;
}

.olabs-global-contact-form .wpforms-field-select .choices__input--cloned {
    background: #ffffff !important;
    color: #111827 !important;
}

/* Keep native select options readable */
.olabs-global-contact-form select option {
    background: #ffffff;
    color: #111827;
}


/* OLABS WHITE CHOICES TEXT FIX V2 */

/* Closed dropdown: white field with dark selected text */
.olabs-global-contact-form .wpforms-field-select .choices,
.olabs-global-contact-form .wpforms-field-select .choices .choices__inner,
.olabs-global-contact-form .wpforms-field-select .choices .choices__list--single {
    background: #ffffff !important;
    color: #111827 !important;
}

.olabs-global-contact-form .wpforms-field-select .choices__list--single .choices__item,
.olabs-global-contact-form .wpforms-field-select .choices__list--single .choices__item--selectable {
    color: #111827 !important;
    opacity: 1 !important;
}

/* Placeholder before a selection */
.olabs-global-contact-form .wpforms-field-select .choices__placeholder {
    color: #64748b !important;
    opacity: 1 !important;
}

/* Open dropdown panel */
.olabs-global-contact-form .wpforms-field-select .choices .choices__list--dropdown,
.olabs-global-contact-form .wpforms-field-select .choices .choices__list[aria-expanded] {
    background: #ffffff !important;
    border-color: #d4dbe3 !important;
    color: #111827 !important;
}

/* Every dropdown option */
.olabs-global-contact-form .wpforms-field-select .choices__list--dropdown .choices__item,
.olabs-global-contact-form .wpforms-field-select .choices__list--dropdown .choices__item--choice,
.olabs-global-contact-form .wpforms-field-select .choices__list[aria-expanded] .choices__item {
    background: #ffffff !important;
    color: #111827 !important;
    opacity: 1 !important;
}

/* Hovered or keyboard-highlighted option */
.olabs-global-contact-form .wpforms-field-select .choices__list--dropdown .choices__item.is-highlighted,
.olabs-global-contact-form .wpforms-field-select .choices__list[aria-expanded] .choices__item.is-highlighted {
    background: #e9f7e5 !important;
    color: #176c0b !important;
}

/* Dropdown search field */
.olabs-global-contact-form .wpforms-field-select .choices .choices__input--cloned {
    background: #ffffff !important;
    color: #111827 !important;
    -webkit-text-fill-color: #111827 !important;
}

.olabs-global-contact-form .wpforms-field-select .choices .choices__input--cloned::placeholder {
    color: #64748b !important;
}

/* Dropdown indicator */
.olabs-global-contact-form .wpforms-field-select .choices[data-type*="select-one"]::after {
    border-top-color: #374151 !important;
}


/* OLABS CHOICES ROUNDED CORNERS V1 */

.olabs-global-contact-form .wpforms-field-select .choices,
.olabs-global-contact-form .wpforms-field-select .choices .choices__inner {
    border-radius: 12px !important;
}

.olabs-global-contact-form .wpforms-field-select .choices .choices__inner {
    overflow: hidden;
    min-height: 52px;
    border: 1px solid #d4dbe3 !important;
}

.olabs-global-contact-form .wpforms-field-select .choices .choices__list--single {
    border-radius: 12px !important;
}

/* Rounded dropdown when expanded */
.olabs-global-contact-form .wpforms-field-select .choices .choices__list--dropdown,
.olabs-global-contact-form .wpforms-field-select .choices .choices__list[aria-expanded] {
    border-radius: 12px !important;
    overflow: hidden;
}


/* OLABS SELECT PLACEHOLDER MATCH V1 */

/* Match typography of the other form inputs */
.olabs-global-contact-form .wpforms-field-select .choices__inner,
.olabs-global-contact-form .wpforms-field-select .choices__list--single,
.olabs-global-contact-form .wpforms-field-select .choices__list--single .choices__item {
    font-family: "Roboto", sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    letter-spacing: normal !important;
}

/* Actual selected values */
.olabs-global-contact-form .choices__list--single .choices__item:not(.choices__placeholder) {
    color: #111827 !important;
}

/* Empty selection: match the other placeholders */
.olabs-global-contact-form .choices__list--single .choices__placeholder,
.olabs-global-contact-form .choices__list--single .choices__item.choices__placeholder {
    color: #64748b !important;
    opacity: 1 !important;
    font-weight: 400 !important;
    -webkit-text-fill-color: #64748b !important;
}


/* OLABS SINGLE SELECT ARROW FIX */

/* Closed: downward arrow */
.olabs-global-contact-form .choices[data-type*="select-one"]::after {
    border-top-color: #374151 !important;
    border-bottom-color: transparent !important;
}

/* Open: upward arrow, never both */
.olabs-global-contact-form .choices[data-type*="select-one"].is-open::after {
    border-top-color: transparent !important;
    border-bottom-color: #374151 !important;
}

/* Center Choices.js selected text vertically */
.olabs-global-contact-form .choices__inner {
    display: flex !important;
    align-items: center !important;
    min-height: 52px;
    padding: 0 14px !important;
}

.olabs-global-contact-form .choices__list--single {
    padding: 0 !important;
    margin: 0 !important;
}
/* Match select height and alignment to regular inputs */
.olabs-global-contact-form .wpforms-field-select .choices {
    min-height: 52px !important;
}

.olabs-global-contact-form .wpforms-field-select .choices__inner {
    height: 52px !important;
    min-height: 52px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 14px !important;
}

.olabs-global-contact-form .wpforms-field-select .choices__list--single {
    display: flex !important;
    align-items: center !important;
    width: 100%;
    height: 100%;
    padding: 0 !important;
    margin: 0 !important;
}

.olabs-global-contact-form .wpforms-field-select .choices__list--single .choices__item {
    margin: 0 !important;
    line-height: 1.4 !important;
}


/* OLABS EMPHASIZED TEXT POPPINS V1 */

.eyebrow,
.faq-item summary,
.pwa-float-card,
.hero-signal,
.capability-card h3,
.process-card h3,
.service-card h3,
.feature-card h3,
.olabs-global-contact-form .wpforms-field-label,
.olabs-contact-detail-label {
    font-family: "Poppins", sans-serif !important;
}

/* Eyebrows: readable without excessive spacing */
.eyebrow {
    font-weight: 700 !important;
    letter-spacing: .09em !important;
}

/* FAQ: less heavy than the previous Inter 800 */
.faq-item summary {
    font-weight: 600 !important;
}

/* Floating UI cards */
.pwa-float-card,
.hero-signal {
    font-weight: 600 !important;
}


/* OLABS PORTFOLIO IMAGE AND LABEL FIX V1 */

/* Match the new Poppins typography */
.featured-projects-section .portfolio-principles span {
    font-family: "Poppins", sans-serif !important;
    font-size: 13px;
    font-weight: 600 !important;
    line-height: 1.5;
}

/* Fill the complete left panel with the featured image */
.featured-projects-section .portfolio-empty-visual.has-image {
    position: relative;
    align-self: stretch;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
}

.featured-projects-section .portfolio-empty-visual.has-image .portfolio-empty-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    object-fit: cover;
    object-position: center;
}


/* OLABS FOOTER EDITABLE CONTACT DETAILS V1 — social icon contrast */
/* Ensure filled SVG social icons stay white even when links turn brand green. */
.site-footer .social-links a:hover,
.site-footer .social-links a:focus-visible {
    color: #fff !important;
    background-color: var(--olabs-green, #30a314) !important;
    border-color: var(--olabs-green, #30a314) !important;
}
.site-footer .social-links a:hover svg,
.site-footer .social-links a:focus-visible svg,
.site-footer .social-links a:hover svg path,
.site-footer .social-links a:focus-visible svg path {
    color: #fff !important;
    fill: #fff !important;
}

/* OLABS HOMEPAGE H1 TYPOGRAPHY MATCH */
.hero-section .hero-copy h1 {
    font-family: "Poppins", sans-serif !important;
    font-size: clamp(2rem, 3.1vw, 3.2rem) !important;
    font-weight: 650 !important;
    line-height: 1.1 !important;
    letter-spacing: -.035em !important;
    text-wrap: balance;
    margin: .35rem 0 .9rem !important;
    color: #fff;
}

/* Preserve the branded green second line */
.hero-section .hero-copy h1 span {
    font: inherit;
    letter-spacing: inherit;
    color: var(--olabs-green);
}


/* OLABS FINAL HEADER POPPINS V1 */

/* Homepage H1, including green emphasized text */
.hero-section .hero-copy h1,
.hero-section .hero-copy h1 span {
    font-family: "Poppins", sans-serif !important;
    font-weight: 600 !important;
}

/* Desktop phone CTA */
.site-header .header-cta {
    font-family: "Poppins", sans-serif !important;
    font-weight: 600 !important;
}

/* Mobile Call Us bar */
.site-header .mobile-phone-bar a,
.site-header .mobile-phone-label,
.site-header .mobile-phone-number {
    font-family: "Poppins", sans-serif !important;
}

.site-header .mobile-phone-label {
    font-weight: 600 !important;
}

.site-header .mobile-phone-number {
    font-weight: 700 !important;
    letter-spacing: 0 !important;
}



/* OLABS_A11Y_FIX_V3 */

/* Mobile contact bar */
.mobile-phone-bar,
.mobile-phone-bar a {
    background-color: #267b11 !important;
}

.mobile-phone-bar a:hover,
.mobile-phone-bar a:focus-visible {
    background-color: #206b0a !important;
}

/* Homepage primary CTA */
body.home .hero-copy a.btn.btn-primary {
    background-color: #267b11 !important;
    border-color: #267b11 !important;
}

body.home .hero-copy a.btn.btn-primary:hover,
body.home .hero-copy a.btn.btn-primary:focus-visible {
    background-color: #206b0a !important;
    border-color: #206b0a !important;
}

/* Homepage hero badge */
body.home .hero-visual .hero-signal b {
    background-color: #267b11 !important;
}
