:root{color-scheme:dark;--bg:#0a1521;--panel:#0d1e2b;--line:#294151;--white:#f0f6f7;--text:#b5c7d1;--accent:#70eadc;--mono:ui-monospace,SFMono-Regular,Consolas,monospace}
*{box-sizing:border-box}html{scroll-behavior:auto}body{margin:0;background:var(--bg);color:var(--white);font-family:system-ui,-apple-system,"Segoe UI",sans-serif}a{color:inherit;text-decoration:none}a:focus-visible{outline:2px solid var(--accent);outline-offset:5px}p{margin:0;color:var(--text);line-height:1.65}.wrap{width:min(1220px,calc(100% - 96px));margin-inline:auto}header{background:#09131e;border-bottom:1px solid var(--line)}.bar{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:84px}.brand{display:grid;place-items:center;background:#f4f6f6;border-radius:6px;padding:7px 11px}.brand img{display:block;width:155px;height:46px;object-fit:contain}nav{display:flex;align-items:center;gap:32px;font-size:14px;font-weight:600;color:#c7d6dc}nav a:hover,.secondary:hover,.foot a:hover{color:var(--accent)}.contact{border:1px solid #4a6b77;border-radius:4px;padding:10px 16px}.hero{background:radial-gradient(ellipse at 76% 27%,#113342 0%,transparent 58%),#0a1521}.hero-grid{display:grid;grid-template-columns:1.12fr 1fr;align-items:center;gap:44px;padding-block:76px}.eyebrow{color:var(--accent);font:600 12px/1.5 var(--mono);letter-spacing:.14em}.dot,.figure-head i{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--accent);margin-right:8px;box-shadow:0 0 12px #56e8d77a}h1,h2,h3{margin:0;line-height:1.07;letter-spacing:-.04em}h1{font-size:clamp(44px,5.25vw,80px);margin-block:22px 20px}h1 em{font-style:normal;color:var(--accent)}.lead{font-size:clamp(17px,1.55vw,22px);max-width:42ch}.actions{display:flex;align-items:center;gap:18px 23px;flex-wrap:wrap;margin-top:30px}.button{display:inline-flex;align-items:center;justify-content:center;gap:15px;background:var(--accent);color:#071e24;font-weight:750;font-size:14px;border-radius:4px;padding:13px 17px}.button:hover{background:#b0fff4}.secondary{font-size:14px;font-weight:650}.schematic{margin:0;border:1px solid #375365;border-radius:9px;background:#0a1926;overflow:hidden;box-shadow:0 15px 48px #040b1270}.schematic svg{display:block;width:100%;height:auto}.figure-head,figcaption{display:flex;justify-content:space-between;gap:10px;padding:14px 15px;font:500 10px/1.45 var(--mono);letter-spacing:.07em;color:#b1c8d4}.figure-head{border-bottom:1px solid var(--line)}figcaption{border-top:1px solid var(--line);justify-content:flex-start;flex-wrap:wrap}figcaption span:last-child{margin-left:auto}figcaption b{display:inline-block;width:12px;height:2px;vertical-align:middle;margin-right:5px}.a{background:var(--accent)}.t{background:#edab62}.results{background:#102432;border-block:1px solid var(--line);padding-block:38px}.result-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:24px;align-items:start}.results h2{font-size:29px;margin:9px 0 10px}.metric{border-left:1px solid #365263;padding-left:23px}.metric strong{display:block;font-size:clamp(36px,5.1vw,69px);font-weight:750;line-height:1.13;letter-spacing:-.06em;color:var(--accent)}.metric span{display:block;max-width:30ch;color:#d5e0e4;margin-top:6px}.note{font-size:12px;margin-top:18px}.system{padding-block:76px}.system h2,.outreach h2{font-size:clamp(35px,4.4vw,61px);margin:10px 0 14px}.intro{max-width:67ch;font-size:18px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin-top:30px}.steps article,.fit{padding:24px;background:#0e202e;border:1px solid var(--line);border-radius:5px}.steps span{color:var(--accent);font:600 12px var(--mono);letter-spacing:.08em}.steps h3,.fit h3{font-size:24px;margin:14px 0 9px}.fit{margin-top:17px;display:grid;grid-template-columns:1fr 3fr;gap:16px}.fit h3{margin:2px 0}.outreach{background:#fff;border-block:1px solid var(--line);padding-block:clamp(28px, 2.5375vw, 31.5px)}.reach{display:grid;grid-template-columns:2fr 1fr;gap:28px;align-items:center}.person{color:var(--white);font-weight:700;font-size:1.25em}.role{font-size:14px;margin-bottom:13px}.foot{display:flex;justify-content:space-between;gap:15px;padding-block:24px;color:#acc0cd;font-size:13px}
@media(max-width:980px){.wrap{width:calc(100% - 56px)}.hero-grid{gap:25px;padding-block:60px}}
@media(max-width:730px){.wrap{width:calc(100% - 36px)}.hero-grid,.reach{grid-template-columns:1fr}.hero-grid{padding-block:46px;gap:30px}.result-grid{grid-template-columns:1fr 1fr;gap:19px 12px}.result-grid>div:first-child{grid-column:1/-1}.metric{padding-left:11px}.steps,.fit{grid-template-columns:1fr}.fit{gap:6px}.system{padding-block:50px}nav{gap:12px;font-size:13px}.bar{min-height:74px}.brand img{width:115px;height:35px}.contact{padding:6px 8px}}
@media(max-width:400px){nav>a:first-child{display:none}figcaption{font-size:9px}.figure-head{font-size:9px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.brand{display:flex;gap:12px;background:transparent;padding:0}.brand img{width:43px;height:54px}.brand>span{font-size:19px;font-weight:800;line-height:1;letter-spacing:.12em}.brand>span>span{display:block;font-size:9px;letter-spacing:.22em;color:var(--text);margin-top:4px}@media(max-width:730px){.brand img{width:34px;height:43px}.brand>span{font-size:15px}.brand>span>span{font-size:8px}}
.author-copy{max-width:830px;margin-inline:auto}
.author-copy h2{max-width:21ch;font-size:clamp(34px,4.1vw,57px)}
.author-body{margin-top:29px;padding-top:25px;border-top:1px solid var(--line);font-size:17px}
.author-body p{line-height:1.75}
.author-body p+p{margin-top:19px}
.author-body strong{color:var(--white)}
.hero-copy{background:none;border:0}
.product-title{margin:0 0 18px;font-size:clamp(84px,11vw,164px);line-height:.9;letter-spacing:-.075em;color:var(--accent)}
.hero-copy h2{max-width:25ch;font-size:clamp(26px,3.2vw,46px);line-height:1.1}
.system .author-body{margin-top:0;padding-top:0;border-top:0}
.outreach h2{max-width:20ch;font-size:26px}
.foot{justify-content:center;align-items:center;flex-direction:column;gap:11px;padding-block:32px;letter-spacing:.1em}
.footer-logo{display:block;width:64px;height:80px;object-fit:contain}

/* One editorial layout for the original MS-AI article. */
.chapter{border-top:1px solid var(--line)}
.chapter-overview,.chapter-technology{background:#f8fafb}
.chapter-grid{display:grid;grid-template-columns:minmax(230px, .75fr) minmax(0, 1.7fr);gap:clamp(28px, 6vw, 88px);padding-block:clamp(28px, 2.5375vw, 31.5px)}
.chapter-heading{background:transparent;border:0}
.chapter-heading h2{max-width:16ch;font-size:26px;line-height:1.12}
.chapter-body{max-width:70ch;font-size:clamp(16px, 1.45vw, 18px)}
.chapter-body p{line-height:1.75}
.chapter-body p+p{margin-top:17px}
.chapter-body strong{color:var(--white)}
@media(max-width:730px){
  .chapter-grid{grid-template-columns:1fr;gap:17px}
  .chapter-heading h2{max-width:27ch}
  .reach .button{max-width:100%;overflow-wrap:anywhere;text-align:center}
}

.hero-copy .product-title{font-weight:800;font-size:clamp(42px,5.5vw,78px);letter-spacing:-.065em}
.hero-copy #author-title{margin:0;max-width:19ch;font-size:clamp(34px,4.35vw,64px);line-height:1.06}
.hero-copy #author-title span{color:var(--accent);white-space:nowrap}

:root{color-scheme:light;--bg:#fff;--panel:#f7fafb;--line:#dce6e9;--white:#142a34;--text:#415760;--accent:#096b68}
.hero{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  display:grid;
  align-items:center;
  background:#000;
}
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:url("msai-weathered-oilfield-banner.webp") right bottom / 100% auto no-repeat;
  mask-image:linear-gradient(180deg,transparent 54%,#000 80%);
}
.hero-photo-labels {
  position: absolute;
  inset: auto 0 0;
  aspect-ratio: 3 / 1;
  z-index: -1;
  pointer-events: none;
}
.hero-valve-label {
  position: absolute;
  transform: translate(-50%, -100%);
  padding: 2px 5px;
  border-radius: 3px;
  background: #fffffff0;
  color: #000;
  font-size: clamp(9px, 1.05vw, 13px);
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
}
.hero-valve-label--tubing { left: 52%; top: 19%; }
.hero-valve-label--annular { left: 71.4%; top: 57.5%; }
@media (min-width: 1000px) {
  .hero-photo-labels {
    inset: 0 calc(-1 * clamp(30px,4vw,40px)) 0 auto;
    height: 100%;
  }
}
.hero .hero-grid{
  padding-block:clamp(28px,5vw,50px) calc(100vw / 3 + 12px);
}
.hero .hero-logo{width:clamp(108.75px,20.625vw,176.25px)}
.hero .product-title{font-size:clamp(37.8px,8.1vw,77.4px)}
.hero .author-subtitle{font-size:clamp(19px,3.5vw,28px);text-wrap:balance}
@media(min-width:1000px){
  .hero{
    min-height:clamp(245px,17vw,330px);
  }
  .hero::after{
    inset:0 0 0 auto;
    height:100%;
    aspect-ratio:3 / 1;
    max-width:100%;
    background-position:right calc(-1 * clamp(30px,4vw,40px)) center;
    background-size:auto 100%;
    mask-image:linear-gradient(90deg,transparent 0%,#000 17%);
  }
  .hero .hero-grid{padding-block:24px}
  .hero .hero-copy{
    width:min(81vw,1320px);
    grid-template-columns:min(13.75vw,197.5px) minmax(0,1fr);
    text-align:left;
    gap:clamp(18px,2.2vw,44px);
  }
  .hero .hero-logo{width:100%}
  .hero .product-title{font-size:clamp(55.8px,5.535vw,113.4px)}
  .hero .author-subtitle{font-size:clamp(21px,2vw,40px);max-width:33ch}
}
.schematic{background:#fff;border-color:#d4e2e6;box-shadow:0 12px 36px #244c5612}
.figure-head,figcaption{color:#49616b}
.figure-head i{box-shadow:none}
.t{background:#a65f20}
.button{color:#fff;background:#096b68}
.button:hover{color:#fff;background:#075653}
.foot{align-items:flex-end;text-align:right;color:var(--text)}

.hero-logo{display:block;width:clamp(57px,7vw,82px);height:auto;margin-bottom:24px}
.hero-copy .product-title{margin:0;font-size:clamp(72px,11vw,152px);line-height:.94}
.hero-copy .author-subtitle{margin-top:18px}
.article-heading{text-align:center;padding-block:clamp(16px,2.5vw,36px)}
.chapter-overview .chapter-grid{padding-top:clamp(10px,1.4vw,18px)}
.article-heading h2{color:var(--white);font-size:calc(var(--heading-size) * 1.386);line-height:1.2;font-weight:700;min-width:0}
:root{--heading-size:clamp(16px,2.05vw,27px)}

.hero-grid{display:block;padding-block:clamp(32px,5vw,68px) clamp(24px,4vw,52px)}
.hero-copy{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:clamp(14px,3vw,40px);}
.hero-logo{width:clamp(52.7px,17vw,191.25px);margin:0}
.hero-copy .product-title{color:#000;font-size:clamp(42px,12vw,146px);letter-spacing:-.06em;white-space:nowrap}
.hero-wordmark{container-type:inline-size}
.hero-copy .author-subtitle{color:#0B1636;font-size:47px;font-weight:700;line-height:1.2;text-wrap:balance}
@media(max-width:760px){
  .hero-copy .author-subtitle{font-size:clamp(22px,6vw,43px)}
  .hero-copy{container-type:inline-size}
  .hero-wordmark{display:contents}
  .hero-copy .author-subtitle{grid-column:1/-1;grid-row:2;margin-top:0}
}

.chapter-results .result-value{
  color:inherit;
  font-size:inherit;
  font-weight:800;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}

.msai-metrics{
  position:relative;
  width:100%;
  aspect-ratio:1680 / 624;
  margin:24px 0 0;
  overflow:hidden;
}
.msai-metrics img{position:absolute;inset:auto 0 0;display:block;width:100%;height:auto}

.hero{--subtitle-size:min(calc(var(--heading-size) * 2.025),5.4cqi)}
.hero .product-title{margin-inline-start:0}
.hero .author-subtitle { max-width:none; white-space:normal; font-size:calc(var(--subtitle-size) * 0.85); transform:translateY(-20px); }


.hero .author-subtitle span{display:block}
@media(max-width:340px){
  :root{--heading-size:min(16px,4.6vw)}
}

#contact .reach{grid-template-columns:minmax(0,1fr);justify-items:stretch;text-align:left;gap:4px}
#contact .reach > :first-child{justify-self:stretch;text-align:left}
#contact h2{max-width:none;margin:0}
.foot small{font-size:1.15em;font-weight:700}

@media(min-width:731px){
  #contact .reach{grid-template-columns:minmax(230px,.75fr) minmax(0,1.7fr);align-items:start;column-gap:clamp(28px,6vw,88px)}
}

.contact-person{
  display:grid;
  grid-template-columns:minmax(0,max-content) auto;
  align-items:center;
  column-gap:clamp(12px,3vw,36px);
}
.contact-person .role{margin:0}
.contact-email{
  grid-column:2;
  grid-row:1 / span 2;
  display:grid;
  place-items:center;
  width:56px;
  aspect-ratio:1;
  background:transparent;
  color:#0B1636;
  border:1px solid var(--line);
  border-radius:10px;
}
.contact-email:hover{border-color:currentColor}
.contact-email svg{width:24px;height:24px}

.permian-table-wrap{max-width:100%;overflow-x:auto;margin-top:20px}
.permian-table{width:100%;min-width:460px;border-collapse:collapse;font-size:clamp(.82rem,1.2vw,.95rem);line-height:1.4}
.permian-table caption{padding-bottom:10px;text-align:center;font-size:1.125rem;font-weight:700;color:var(--white)}
.permian-table th,.permian-table td{padding:10px;border-bottom:1px solid var(--line);text-align:center}
.permian-table thead th{background:var(--panel);color:var(--white)}
.permian-table tbody th{white-space:nowrap}
.permian-table td strong{color:#000}

.hero .product-title,.hero .author-subtitle{color:#fff;text-shadow:0 2px 8px #080b10}
