.operational-excellence {
  --oe-ink: #08121b;
  --oe-text: #f0f4f3;
  --oe-muted: #b7c4cb;
  --oe-gold: #d4b984;
  --oe-mint: #a9c8b7;
  --oe-line: #ffffff24;
  --oe-gutter: clamp(19px, 5.1vw, 88px);
  --oe-width: 1320px;
  --oe-accent: var(--oe-gold);
  background: var(--oe-ink);
  color: var(--oe-text);
}

.operational-excellence :where(h1,h2,h3,p,figure,ol,ul,dl,dd) { margin: 0; }
.operational-excellence :where(ol,ul) { padding: 0; }
.operational-excellence :where(section[id]) { scroll-margin-top: 88px; }
.operational-excellence :where(a:focus-visible) { outline: 2px solid var(--oe-accent); outline-offset: 5px; }

.oe-shell {
  width: min(var(--oe-width), calc(100% - 2 * var(--oe-gutter)));
  margin-inline: auto;
}

.oe-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #080f18;
}

.oe-hero-inner {
  display: grid;
  align-items: center;
  min-height: clamp(490px, 39vw, 670px);
}

.oe-hero-copy {
  position: relative;
  z-index: 1;
  padding-block: 56px 76px;
  max-width: 590px;
}

.oe-return {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: #e1c99d;
  font-size: .875rem;
  letter-spacing: .04em;
  margin-bottom: clamp(22px, 4.2vw, 60px);
}
.oe-return:hover, .oe-related a:hover { color: #ffe1a9; }

.operational-excellence h1 {
  font-size: clamp(3.05rem, 5.2vw, 6.1rem);
  line-height: 1.15;
  letter-spacing: -.04em;
  font-weight: 650;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.oe-english {
  margin-top: 15px;
  font-size: clamp(1.05rem, 2vw, 1.8rem);
  color: var(--oe-gold);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: .035em;
}

.oe-thesis {
  margin-top: 29px;
  max-width: 28em;
  font-size: clamp(1rem, 1.55vw, 1.26rem);
  line-height: 1.9;
  color: #e1e8e9;
  text-wrap: pretty;
}

.oe-photo { min-width: 0; }
.oe-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  background: #101d26;
}

.oe-photo figcaption {
  margin-top: 9px;
  color: var(--oe-muted);
  font-size: .8125rem;
  line-height: 1.55;
}

.oe-hero-image {
  position: absolute;
  inset: 0 0 0 max(19%, calc((100vw - 930px) / 2));
  z-index: -1;
}

.oe-hero-image img {
  width: 100%;
  height: 100%;
  object-position: 62% 52%;
}

.oe-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #080f18 0%, #080f18ab 32%, #080f1812 76%);
}

.oe-hero-image figcaption {
  position: absolute;
  z-index: 1;
  bottom: 20px;
  right: var(--oe-gutter);
  padding: 6px 10px;
  background: #080f18df;
  color: #e4eded;
}

.oe-topic-nav {
  background: #0d1924;
  border-block: 1px solid var(--oe-line);
}

.oe-topic-links {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto;
}

.oe-topic-link {
  min-width: 0;
  min-height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px clamp(14px, 2.2vw, 30px);
  border-left: 1px solid var(--oe-line);
  color: var(--oe-text);
  font-size: clamp(.94rem, 1.5vw, 1.15rem);
  line-height: 1.55;
  border-top: 2px solid var(--oe-accent);
}

.oe-topic-link:last-child { border-right: 1px solid var(--oe-line); }
.oe-topic-property { --oe-accent: var(--oe-mint); }
.oe-topic-framework { --oe-accent: #9baebd; font-size: .875rem; }
.oe-topic-link > :last-child { color: var(--oe-accent); }
.oe-topic-link:hover, .oe-topic-link:focus-visible { background: #ffffff0b; }

.oe-section { padding-block: clamp(56px, 7vw, 112px); }
.oe-section + .oe-section { border-top: 1px solid var(--oe-line); }
.oe-mall { background: #0a1621; }
.oe-property { --oe-accent: var(--oe-mint); background: #101e1d; }
.oe-shared { --oe-accent: #b1c4d2; background: #0b1520; }

.oe-business-head {
  margin-bottom: clamp(28px, 4.2vw, 63px);
}

.oe-business-head-image {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.04fr);
  align-items: center;
  gap: clamp(20px, 5.2vw, 82px);
}

.oe-section-heading > h2 {
  font-size: clamp(2rem, 3.9vw, 4rem);
  line-height: 1.18;
  letter-spacing: -.025em;
  font-weight: 630;
  text-wrap: balance;
}

.oe-section-heading::before {
  content: "";
  display: block;
  width: 46px;
  height: 2px;
  margin-bottom: 18px;
  background: var(--oe-accent);
}

.oe-lead {
  margin-top: 17px;
  max-width: 31em;
  color: var(--oe-muted);
  font-size: clamp(1rem, 1.5vw, 1.24rem);
  line-height: 1.85;
  text-wrap: pretty;
}

.oe-business-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.14fr);
  grid-template-areas: "first modules" "second modules";
  grid-template-rows: auto 1fr;
  gap: 24px clamp(22px, 5vw, 78px);
  align-items: start;
}

.oe-property .oe-business-grid {
  grid-template-columns: minmax(0,1.14fr) minmax(0,1fr);
  grid-template-areas: "modules first" "modules second";
}

.oe-photo-first { grid-area: first; }
.oe-photo-second { grid-area: second; }
.oe-management { grid-area: modules; min-width: 0; }

.oe-management h3, .oe-kpis h3, .oe-flow h3, .oe-compare h3, .oe-value h3 {
  font-size: clamp(1.24rem, 2.2vw, 1.75rem);
  line-height: 1.4;
  font-weight: 620;
}

.oe-modules {
  list-style: none;
  margin-top: 15px;
  border-top: 1px solid var(--oe-line);
}

.oe-modules li {
  display: grid;
  grid-template-columns: minmax(min-content, .86fr) minmax(0,1.44fr);
  gap: 5px 14px;
  padding-block: 16px;
  border-bottom: 1px solid var(--oe-line);
}

.oe-modules strong {
  color: var(--oe-accent);
  font-size: 1rem;
  font-weight: 620;
}

.oe-modules p, .oe-flow-list p, .oe-compare p, .oe-value p, .oe-value dd {
  color: var(--oe-muted);
  font-size: .9625rem;
  line-height: 1.75;
}

.oe-kpis {
  display: grid;
  grid-template-columns: minmax(145px,auto) 1fr;
  align-items: baseline;
  gap: 13px 32px;
  margin-top: clamp(27px, 4.2vw, 60px);
  padding-block: 21px 10px;
  border-top: 1px solid var(--oe-accent);
}

.oe-kpis h3 {
  font-size: 1.05rem;
  color: var(--oe-text);
}

.oe-kpis h3 span {
  color: var(--oe-accent);
  font-size: .8em;
  margin-left: .3em;
}

.oe-kpis ul {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 19px;
  list-style: none;
  color: var(--oe-text);
  font-size: .94rem;
}

.oe-kpis li {
  padding-inline-start: 10px;
  border-inline-start: 1px solid var(--oe-accent);
  line-height: 1.3;
}

.oe-flow, .oe-compare, .oe-value {
  margin-top: clamp(37px, 6vw, 86px);
}

.oe-flow-list {
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: 20px;
  list-style: none;
  margin-top: 24px;
}

.oe-flow-list li {
  position: relative;
  min-width: 0;
  padding: 17px 11px 12px 0;
  border-top: 1px solid var(--oe-line);
}

.oe-step {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border: 1px solid #7c9bad;
  color: #dceaf2;
  font-size: .875rem;
  font-variant-numeric: tabular-nums;
}

.oe-flow-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: -5px;
  right: -13px;
  width: 8px;
  height: 8px;
  border: solid var(--oe-accent);
  border-width: 1px 1px 0 0;
  transform: rotate(45deg);
}

.oe-flow-list strong { display: block; line-height: 1.45; }
.oe-flow-list p { margin-top: 7px; }

.oe-feedback {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 22px;
  padding: 14px 17px;
  border-block: 1px solid var(--oe-line);
  background: #ffffff06;
  color: var(--oe-text);
  font-size: .92rem;
  line-height: 1.6;
}

.oe-feedback span { color: var(--oe-accent); font-size: 1.25rem; }

.oe-compare > p { margin-top: 9px; }
.oe-ai-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin-top: 20px;
  line-height: 1.65;
  font-size: .96rem;
}

.oe-ai-table thead th {
  padding: 14px 13px;
  background: #ffffff0a;
  color: #e6eef2;
  text-align: left;
}

.oe-ai-table thead th:first-child { width: 24%; }
.oe-ai-table thead th:nth-child(2), .oe-cell-label { color: var(--oe-gold); }
.oe-ai-table thead th:nth-child(3), td:last-child .oe-cell-label { color: var(--oe-mint); }
.oe-ai-table tbody th, .oe-ai-table tbody td {
  padding: 13px;
  vertical-align: top;
  border-bottom: 1px solid var(--oe-line);
  text-align: left;
}
.oe-ai-table td { color: #d8e1e5; }
.oe-cell-label { display: none; }

.oe-value dl {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 18px;
  margin-block: 19px 18px;
}

.oe-value dl > div { padding-top: 11px; border-top: 1px solid var(--oe-line); }
.oe-value dt {
  color: var(--oe-gold);
  font-size: clamp(1.42rem, 2.6vw, 2.5rem);
  font-weight: 650;
}

.oe-value dd { margin-top: 4px; }

.oe-related {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
  margin-top: clamp(37px, 5vw, 67px);
  padding-top: 15px;
  border-top: 1px solid var(--oe-line);
}

.oe-related a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: #e1c99d;
  font-size: .9rem;
  line-height: 1.5;
}

@media (max-width: 1010px) {
  .oe-flow-list { grid-template-columns: 1fr; gap: 0; margin-left: 12px; }
  .oe-flow-list li {
    display: grid;
    grid-template-columns: 36px minmax(0,1fr);
    align-items: start;
    gap: 13px;
    margin-left: 6px;
    padding: 0 0 18px 17px;
    border-top: 0;
  }
  .oe-flow-list li:not(:last-child) { border-left: 1px solid #7c9bad; }
  .oe-flow-list li:not(:last-child)::after { top: auto; bottom: 5px; left: -5px; transform: rotate(135deg); }
  .oe-step { margin-bottom: 0; }
  .oe-flow-list p { margin-top: 4px; }
}

@media (max-width: 760px) {
  .operational-excellence :where(section[id]) { scroll-margin-top: 72px; }
  .oe-hero-inner { min-height: 0; }
  .oe-hero-copy { padding-block: 16px 22px; }
  .oe-return { margin-bottom: 16px; }
  .operational-excellence h1 { font-size: clamp(2.43rem, 8vw, 4.2rem); }
  .oe-english { margin-top: 10px; }
  .oe-thesis { margin-top: 15px; }
  .oe-hero-image { position: static; z-index: auto; margin-bottom: 16px; }
  .oe-hero-image img { height: auto; }
  .oe-hero-image::after { content: none; }
  .oe-hero-image figcaption { position: static; padding: 0; background: none; color: var(--oe-muted); }
  .oe-topic-links { grid-template-columns: 1fr; padding-block: 7px; }
  .oe-topic-link, .oe-topic-link:last-child {
    min-height: 52px;
    margin-block: 4px;
    padding-block: 8px;
    border: 0;
    border-left: 2px solid var(--oe-accent);
  }
  .oe-business-head-image { grid-template-columns: 1fr; }
  .oe-business-grid, .oe-property .oe-business-grid {
    grid-template-columns: minmax(0,1fr);
    grid-template-areas: "first" "modules" "second";
    grid-template-rows: auto;
  }
  .oe-modules li { padding-block: 13px; }
  .oe-kpis { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .oe-modules li { grid-template-columns: 1fr; }
  .oe-ai-table { display: block; position: relative; }
  .oe-ai-table thead {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .oe-ai-table tbody { display: block; }
  .oe-ai-table tbody tr {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    margin-bottom: 16px;
    border-bottom: 1px solid var(--oe-line);
  }
  .oe-ai-table tbody th, .oe-ai-table tbody td {
    display: block;
    width: auto;
    padding: 8px 10px;
    border: 0;
    font-size: .875rem;
  }
  .oe-ai-table tbody th {
    grid-column: 1 / -1;
    background: #ffffff0a;
    font-size: .95rem;
  }
  .oe-ai-table tbody td + td { border-left: 1px solid var(--oe-line); }
  .oe-cell-label {
    display: block;
    margin-bottom: 3px;
    font-size: .8125rem;
    font-weight: 600;
  }
  .oe-value dl { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html:has(body.operational-excellence-page) { scroll-behavior: auto; }
}

