:root {
  --og-navy: #062b55;
  --og-blue: #187cb5;
  --og-gold: #d7b45c;
  --og-light-gold: #f3df9a;
  --og-off-white: #f7f8fa;
  --og-white: #fff;
  --og-text: #162638;
  --og-muted: #667587;
  --og-border: #dce2e8;
  --og-shadow: 0 20px 60px rgba(6, 43, 85, 0.1);
  --og-container: 1200px;
  --og-side-padding: clamp(1rem, 4vw, 4rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; overflow-x: clip; }
img, svg, video, iframe { display: block; max-width: 100%; height: auto; }
:where(p, h1, h2, h3, h4, li, a, span) { overflow-wrap: break-word; }
:where(.wp-site-blocks, .wp-site-blocks > *, main, section, header, footer, .wp-block-group, .wp-block-columns, .wp-block-column) { min-width: 0; }
a { text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:where(a, button, input, textarea, select):focus-visible { outline: 3px solid var(--og-blue); outline-offset: 3px; }
.wp-site-blocks { min-height: 100vh; }
.wp-site-blocks .alignwide { width: min(100%, var(--og-container)); max-width: var(--og-container); margin-inline: auto; }
.section, .contact-cta, .page-hero, .site-footer, .hero { padding-inline: var(--og-side-padding); }
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.eyebrow { color: var(--og-blue); font-size: clamp(.72rem, .68rem + .2vw, .8rem); font-weight: 800; letter-spacing: .14em; line-height: 1.5; text-transform: uppercase; }
.section-title { max-inline-size: 760px; margin-block-end: clamp(2rem, 5vw, 3.75rem); font-size: clamp(2rem, 1.55rem + 2.2vw, 3.25rem); }
.section-title::before { display: block; inline-size: 3.5rem; block-size: 3px; margin-block-end: 1rem; background: var(--og-gold); content: ""; }
.muted { color: var(--og-muted); }

/* The header grid remains physically left-to-right in every document direction. */
.site-header { position: sticky; z-index: 100; top: 0; padding-inline: var(--og-side-padding); border-bottom: 1px solid var(--og-border); background: rgba(255,255,255,.98); box-shadow: 0 4px 16px rgba(6,43,85,.035); }
.admin-bar .site-header { top: 32px; }
.site-header__inner,
.opexglobe-header-grid {
  display: grid !important;
  grid-template-areas: "logo navigation languages cta";
  grid-template-columns: auto minmax(0, 1fr) max-content max-content;
  align-items: center;
  width: min(100%, var(--og-container));
  min-height: 92px;
  margin-inline: auto;
  gap: clamp(.75rem, 1.5vw, 1.5rem);
  direction: ltr;
}
.opexglobe-header-logo-slot, .header-logo { grid-area: logo; justify-self: start; }
.opexglobe-header-nav-slot, .header-navigation { grid-area: navigation; min-width: 0; justify-self: stretch; }
.opexglobe-header-language-slot, .header-language { grid-area: languages; justify-self: end; direction: ltr; }
.opexglobe-header-cta-slot, .header-cta-shell { grid-area: cta; justify-self: end; direction: ltr; }
.opexglobe-header-grid > .wp-block-shortcode,
.site-header__inner > .wp-block-shortcode { width: auto; max-width: none; margin: 0; }
.opexglobe-header-logo-slot.wp-block-site-logo, .header-logo.wp-block-site-logo { margin: 0; }
.site-header .wp-block-site-logo img { width: auto; max-width: 166px; max-height: 64px; }
.site-header .wp-block-navigation { width: 100%; font-size: .9rem; font-weight: 600; }
.site-header .wp-block-navigation__container { width: 100%; justify-content: center; gap: clamp(1.2rem, 2vw, 2rem); }
.site-header .wp-block-navigation-item { min-width: 0; }
.site-header .wp-block-navigation-item__content { position: relative; color: var(--og-navy); padding-block: .75rem; text-decoration: none; transition: color .18s ease; }
.site-header .wp-block-navigation-item__content::after { position: absolute; right: 0; bottom: .35rem; left: 0; height: 2px; background: var(--og-gold); content: ""; opacity: 0; transform: scaleX(.45); transition: opacity .18s ease, transform .18s ease; }
.site-header .wp-block-navigation-item__content:hover::after,
.site-header .current-menu-item > .wp-block-navigation-item__content::after,
.site-header .wp-block-navigation-item__content[aria-current="page"]::after { opacity: 1; transform: scaleX(1); }
.header-cta, .header-cta .wp-block-button, .header-cta .wp-block-button__link { margin: 0; white-space: nowrap; }
.header-cta .wp-block-button__link { min-height: 48px; padding-inline: 1.15rem; border-radius: 0; font-size: .84rem; }
.header-menu-cta { display: none; }
.language-switcher { display: flex; align-items: center; justify-content: center; min-inline-size: 118px; min-height: 44px; gap: .5rem; color: var(--og-muted); font-size: .75rem; font-weight: 800; white-space: nowrap; direction: ltr; }
.language-switcher > * { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; }
.language-switcher > * + *::before { margin-inline-end: .5rem; color: var(--og-border); content: "|"; font-weight: 400; }
.language-switcher a, .language-switcher span { color: inherit; text-decoration: none; }
.language-switcher [aria-current="page"] { color: var(--og-navy); text-decoration: underline; text-decoration-color: var(--og-gold); text-decoration-thickness: 2px; text-underline-offset: .35em; }

.wp-block-button__link { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; transition: transform .18s ease, background-color .18s ease; }
.wp-block-button__link:hover { transform: translateY(-2px); background: var(--og-light-gold); }
.button-outline .wp-block-button__link { border: 1px solid rgba(255,255,255,.75); background: transparent; color: #fff; }
.button-outline .wp-block-button__link:hover { border-color: var(--og-gold); color: var(--og-light-gold); }

.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 680px; background: var(--og-navy); color: #fff; }
.hero::before, .hero::after { position: absolute; z-index: -1; border: 1px solid rgba(215,180,92,.24); border-radius: 50%; content: ""; }
.hero::before { width: 42rem; height: 42rem; inset: -14rem -10rem auto auto; }
.hero::after { width: 28rem; height: 28rem; inset: auto 12% -18rem auto; }
.hero__inner { display: grid !important; grid-template-columns: minmax(0, 2.1fr) minmax(220px, 1fr); align-items: center; min-height: 680px; gap: clamp(2rem, 6vw, 6rem); }
.hero__inner > .wp-block-column { min-width: 0; flex-basis: auto !important; }
.hero h1 { max-inline-size: 820px; margin: .35rem 0 1.5rem; color: #fff; font-size: clamp(2.6rem, 2rem + 3.2vw, 5.4rem); letter-spacing: -.035em; }
.hero p { max-inline-size: 700px; color: rgba(255,255,255,.82); font-size: clamp(1.05rem, .96rem + .45vw, 1.25rem); }
.hero .eyebrow { color: var(--og-light-gold); }
.hero__mark { position: relative; min-height: 360px; display: grid; place-items: center; }
.hero__mark::before { position: absolute; width: min(30vw, 330px); aspect-ratio: 1; border: 1px solid rgba(215,180,92,.5); border-radius: 50%; background: #fff; content: ""; }
.hero__mark figure { margin: 0; }
.hero__mark img { position: relative; width: min(24vw, 250px); }
.positioning { margin-block-start: 2rem; padding-inline-start: 1rem; border-inline-start: 3px solid var(--og-gold); font-size: .88rem !important; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }

.og-home-section--introduction > .wp-block-columns,
.og-home-section--vision-mission > .wp-block-columns,
.leadership-panel,
.contact-cta > .wp-block-columns {
  display: grid !important;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.og-home-section--introduction > .wp-block-columns > .wp-block-column,
.og-home-section--vision-mission > .wp-block-columns > .wp-block-column,
.leadership-panel > .wp-block-column,
.contact-cta > .wp-block-columns > .wp-block-column { min-width: 0; flex-basis: auto !important; }
.og-home-section--vision-mission > .wp-block-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.intro-highlights { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 !important; margin-block-start: 2rem; border-block: 1px solid var(--og-border); }
.intro-highlights > * { min-width: 0; margin: 0; padding: 1.25rem; text-align: center; color: var(--og-navy); font-weight: 800; }
.intro-highlights > * + * { border-inline-start: 1px solid var(--og-border); }
.statement-panel { width: 100%; max-width: 100%; padding: clamp(2rem, 4vw, 4rem); background: var(--og-navy); color: #fff; box-shadow: var(--og-shadow); }
.statement-panel h3 { color: var(--og-light-gold); }
.statement-panel p { color: rgba(255,255,255,.78); }

.value-grid, .business-grid, .services-grid { display: grid !important; align-items: stretch !important; gap: 1px !important; padding: 1px; background: var(--og-border); }
.value-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.business-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.value-grid > .wp-block-column, .business-grid > .wp-block-column, .services-grid > .wp-block-column { min-width: 0; flex-basis: auto !important; margin: 0; }
.value-card, .business-card, .service-card { height: 100%; min-height: 0; padding: clamp(1.5rem, 3vw, 2.25rem); background: #fff; }
.value-card h3, .business-card h3, .service-card h3 { margin-block-start: .65rem; font-size: clamp(1.05rem, .96rem + .42vw, 1.25rem); }
.card-number { color: var(--og-gold); font-size: .78rem; font-weight: 850; letter-spacing: .12em; }
.service-card { border-block-start: 3px solid var(--og-gold); }

/* Timeline: five aligned columns at >=1100px; one stable vertical axis below. */
.process { counter-reset: step; position: relative; display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: start; gap: 0 !important; }
.process::before { position: absolute; z-index: 0; top: 2.2rem; inset-inline: 10%; height: 1px; background: var(--og-gold); content: ""; }
.process-step { position: relative; min-width: 0; padding-inline: clamp(.5rem, 1.2vw, 1rem); text-align: center; }
.process-step::before { counter-increment: step; position: relative; z-index: 1; display: grid; place-items: center; width: 4.4rem; height: 4.4rem; margin: 0 auto 1.4rem; border: 1px solid var(--og-gold); border-radius: 50%; background: var(--og-navy); color: var(--og-light-gold); content: counter(step, decimal-leading-zero); font-weight: 800; }
.process-step h3 { min-height: 2.4em; margin-block: 0 .75rem; font-size: 1rem; letter-spacing: .08em; line-height: 1.2; text-transform: uppercase; }
.process-step p { margin: 0; color: var(--og-muted); font-size: .9rem; }

.leadership-panel { grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr); padding: clamp(2rem, 5vw, 5rem); background: var(--og-off-white); }
.leadership-monogram { min-height: clamp(240px, 30vw, 360px); display: grid; place-items: center; border: 1px solid var(--og-border); background: var(--og-navy); color: var(--og-light-gold); font-size: clamp(4rem, 10vw, 8rem); font-weight: 300; letter-spacing: -.08em; }
.expertise-list { display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; list-style: none; }
.expertise-list li { padding: .4rem .75rem; border: 1px solid var(--og-border); color: var(--og-navy); font-size: .85rem; }

.contact-cta { padding-block: clamp(4rem, 8vw, 7rem); background: var(--og-blue); color: #fff; }
.contact-cta > .wp-block-columns { grid-template-columns: minmax(0, 1.6fr) minmax(240px, .8fr); }
.contact-cta h2 { color: #fff; font-size: clamp(2rem, 1.6rem + 2vw, 3.25rem); }
.contact-links { gap: 1rem; }
.contact-links a { color: #fff; font-weight: 700; overflow-wrap: anywhere; }
.contact-links [dir="ltr"] { unicode-bidi: isolate; }

.page-hero { padding-block: clamp(4rem, 8vw, 7rem); background: var(--og-navy); }
.page-hero h1 { color: #fff; }
.entry-content { padding-block: clamp(3rem, 7vw, 6rem); }
.site-footer { padding-block: 4rem 2rem; background: var(--og-navy); color: rgba(255,255,255,.75); }
.site-footer h2, .site-footer h3, .site-footer a { color: #fff; }
.site-footer .wp-block-site-logo { display: inline-block; padding: .65rem; background: #fff; }
.site-footer .wp-block-site-logo img { width: auto; max-height: 92px; }
.site-footer__bottom { margin-block-start: 3rem; padding-block-start: 1.5rem; border-block-start: 1px solid rgba(255,255,255,.18); font-size: .82rem; }

.opexglobe-form { padding: clamp(1.25rem, 4vw, 3rem); border: 1px solid var(--og-border); background: var(--og-off-white); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.25rem; }
.opexglobe-form label { display: inline-block; margin-block-end: .4rem; color: var(--og-navy); font-weight: 700; }
.opexglobe-form input:not([type="checkbox"]), .opexglobe-form textarea, .opexglobe-form select { width: 100%; min-height: 48px; padding: .75rem; border: 1px solid #9daab7; border-radius: 0; background: #fff; color: var(--og-text); font: inherit; }
.opexglobe-form textarea { min-height: 150px; resize: vertical; }
.opexglobe-form input:invalid:not(:placeholder-shown), .opexglobe-form textarea:invalid:not(:placeholder-shown) { border-color: #a12b2b; }
.form-consent { display: flex; align-items: flex-start; gap: .6rem; }
.form-consent input { width: 1.2rem; height: 1.2rem; flex: 0 0 auto; margin-block-start: .2rem; }
.opexglobe-form button { min-height: 48px; padding: .75rem 1.5rem; border: 0; background: var(--og-gold); color: var(--og-navy); font: inherit; font-weight: 800; cursor: pointer; }
.form-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.form-message { margin-block-end: 1rem; padding: 1rem; border-inline-start: 4px solid; }
.form-message--success { border-color: #1c7a43; background: #e9f6ee; color: #145c32; }
.form-message--error { border-color: #a12b2b; background: #fbecec; color: #7e2020; }
.skip-link { position: fixed; z-index: 9999; inset-block-start: 1rem; inset-inline-start: 1rem; transform: translateY(-200%); padding: .75rem 1rem; background: #fff; color: var(--og-navy); }
.skip-link:focus { transform: none; }

@media (max-width: 1149px) {
  :root { --og-side-padding: 2rem; }
  .site-header__inner, .opexglobe-header-grid { grid-template-areas: "logo . languages navigation"; grid-template-columns: auto minmax(0, 1fr) max-content auto; }
  .opexglobe-header-cta-slot, .header-cta-shell { display: none; }
  .opexglobe-header-nav-slot, .header-navigation { justify-self: end; width: 44px; }
  .site-header :is(.opexglobe-header-nav-slot, .header-navigation) .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none; }
  .site-header :is(.opexglobe-header-nav-slot, .header-navigation) .wp-block-navigation__responsive-container-open { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; }
  .site-header .wp-block-navigation__responsive-container.is-menu-open { padding: clamp(1.5rem, 5vw, 3rem); background: var(--og-navy); color: #fff; }
  .site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { align-items: stretch; padding-block-start: 3.5rem; }
  .site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { align-items: stretch; gap: .35rem; }
  .site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { min-height: 48px; display: flex; align-items: center; color: #fff; font-size: 1.15rem; }
  .site-header .wp-block-navigation__responsive-container-close { width: 44px; height: 44px; display: grid; place-items: center; color: #fff; }
  .header-menu-cta { display: flex; margin-block-start: 1rem; }
  .header-menu-cta > .wp-block-navigation-item__content { justify-content: center; padding-inline: 1.25rem; background: var(--og-gold); color: var(--og-navy) !important; font-weight: 800; }

  .hero, .hero__inner { min-height: auto; }
  .hero__inner { grid-template-columns: minmax(0, 1.55fr) minmax(180px, .65fr); padding-block: 5rem; gap: 2rem; }
  .hero__mark { min-height: 240px; }
  .hero__mark img { width: 180px; }
  .og-home-section--introduction > .wp-block-columns,
  .og-home-section--vision-mission > .wp-block-columns,
  .leadership-panel,
  .contact-cta > .wp-block-columns { grid-template-columns: minmax(0, 1fr); }
  .statement-panel { padding: clamp(2rem, 6vw, 3rem); }
  .value-grid, .business-grid, .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: minmax(0, 1fr); gap: 1.5rem !important; }
  .process::before { top: 2.2rem; bottom: 2.2rem; inset-inline-start: 2.2rem; inset-inline-end: auto; width: 1px; height: auto; }
  .process-step { display: grid; grid-template-columns: 4.4rem minmax(0, 1fr); column-gap: 1.25rem; padding: 0; text-align: start; }
  .process-step::before { grid-row: 1 / 3; margin: 0; }
  .process-step h3 { min-height: 0; margin: .3rem 0 .45rem; }
  .process-step p { margin: 0; }
}

@media (max-width: 699px) {
  :root { --og-side-padding: 1.25rem; }
  .site-header__inner, .opexglobe-header-grid { grid-template-areas: "logo languages navigation"; grid-template-columns: auto minmax(0, 1fr) auto; min-height: 74px; gap: .5rem; }
  .opexglobe-header-language-slot, .header-language { justify-self: center; }
  .site-header .wp-block-site-logo img { max-width: 120px; max-height: 50px; }
  .language-switcher { gap: .35rem; font-size: .7rem; }
  .language-switcher > * + *::before { margin-inline-end: .35rem; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); padding-block: 4.25rem; }
  .hero__mark { display: none; }
  .hero h1 { font-size: clamp(2.35rem, 10vw, 3.5rem); }
  .wp-block-buttons { gap: .75rem; }
  .wp-block-buttons .wp-block-button { width: 100%; }
  .wp-block-buttons .wp-block-button__link { width: 100%; }
  .intro-highlights { grid-template-columns: minmax(0, 1fr); }
  .intro-highlights > * + * { border-inline-start: 0; border-block-start: 1px solid var(--og-border); }
  .value-grid, .business-grid, .services-grid { grid-template-columns: minmax(0, 1fr); }
  .leadership-panel { padding: 1.25rem; }
  .leadership-monogram { min-height: 220px; }
  .form-grid { grid-template-columns: 1fr; }
  .site-footer > .wp-block-columns { gap: 2.5rem; }
}

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

@media (max-width: 374px) {
  :root { --og-side-padding: 1rem; }
  .site-header .wp-block-site-logo img { max-width: 96px; }
  .language-switcher { min-inline-size: 108px; font-size: .66rem; gap: .25rem; }
  .language-switcher > * + *::before { margin-inline-end: .25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
