/* IGP Oil and Gas Management Company LLC – company pages and homepage sections.
   Scoped to .igp-* components. Uses the tokens and type classes from _next/static/css. */

:root {
  --igp-indigo: #170a5e;
  --igp-royal: #2135a9;
  --igp-sky: #35b6f5;
  --igp-cyan: #2ee3e3;
  --igp-sand: #f6e6d9;
  --igp-sand-2: #e5d9cf;
  --igp-night: #0e0640;
  --igp-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- navigation: current page ---------- */
nav a[aria-current="page"], nav a[aria-current="location"] { color: var(--igp-sky); }
nav a[aria-current="page"]::after { content: "Current page"; position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
footer a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- shared layout ---------- */
.igp-wrap { max-width: 1296px; margin: 0 auto; padding: 0 24px; }
.igp-section { padding: 104px 0; color: var(--igp-indigo); scroll-margin-top: 96px; }
.igp-section--sand { background: var(--igp-sand); }
.igp-section--white { background: #fff; }
.igp-section--night { background: radial-gradient(120% 90% at 75% 20%, #23177a 0, #170a5e 48%, var(--igp-night) 100%); color: #fff; }
.igp-eyebrow { display: block; margin-bottom: 16px; line-height: 100%; }
.igp-section--night .igp-eyebrow { color: var(--igp-cyan); }
.igp-h2 { margin-bottom: 28px; line-height: 110%; }
.igp-lede { max-width: 68ch; line-height: 150%; }
.igp-copy p { line-height: 150%; margin-bottom: 18px; max-width: 64ch; }
.igp-copy p:last-child { margin-bottom: 0; }
.igp-section--night .igp-copy p, .igp-section--night .igp-lede { color: rgba(255, 255, 255, .86); }
[id] { scroll-margin-top: 96px; }

/* industry labelling */
.igp-industry-tag {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 6px 14px 6px 10px;
  border-radius: 9999px; border: 1px solid currentColor; font: 500 13px/1.2 var(--font-ibm-plex-sans); letter-spacing: .04em; text-transform: uppercase; opacity: .85;
}
.igp-industry-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--igp-sky); }
.igp-divider { padding: 72px 0; background: var(--igp-indigo); color: #fff; text-align: center; }
.igp-divider p { max-width: 70ch; margin: 0 auto; line-height: 150%; color: rgba(255, 255, 255, .85); }
.igp-divider h2 { margin-bottom: 20px; }

/* ---------- buttons ---------- */
.igp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.igp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 24px;
  border-radius: 9999px; border: 1px solid var(--igp-cyan); background: var(--igp-cyan); color: var(--igp-indigo);
  font: 500 16px/1.2 var(--font-ibm-plex-sans); transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--igp-ease);
}
.igp-btn:hover { background: var(--igp-sky); border-color: var(--igp-sky); }
.igp-btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.igp-btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: currentColor; }
.igp-section--sand .igp-btn--ghost:hover, .igp-section--white .igp-btn--ghost:hover { background: var(--igp-indigo); color: #fff; border-color: var(--igp-indigo); }
.igp-btn:focus-visible, .igp-card a:focus-visible, .igp-subnav a:focus-visible { outline: 2px solid var(--igp-sky); outline-offset: 3px; }
.igp-btn::after { content: "→"; transition: transform .2s var(--igp-ease); }
.igp-btn:hover::after { transform: translateX(3px); }
.igp-btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- page lead (reuses the hero capsule language) ---------- */
.igp-lead { position: relative; height: 640px; overflow: hidden; color: #fff; background: var(--igp-night); }
.igp-lead picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.igp-lead::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(14, 6, 64, .55) 0, rgba(14, 6, 64, 0) 26%), linear-gradient(0deg, rgba(14, 6, 64, .45) 0, rgba(14, 6, 64, 0) 34%); }
.igp-lead__inner { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; padding-bottom: 72px; }
.igp-lead__capsule {
  max-width: 760px; padding: 56px 96px 56px 96px; border-radius: 0 9999px 9999px 0;
  background: rgba(255, 255, 255, .16); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1);
}
.igp-lead__capsule h1 { margin-bottom: 24px; line-height: 110%; }
.igp-lead__capsule p { line-height: 145%; max-width: 52ch; }
.igp-lead__credit { position: absolute; z-index: 3; right: 16px; bottom: 12px; font: 400 12px/1.3 var(--font-ibm-plex-sans); color: rgba(255, 255, 255, .78); text-shadow: 0 1px 6px rgba(0, 0, 0, .6); max-width: 60%; text-align: right; }

/* ---------- in-page navigation ---------- */
.igp-subnav { position: sticky; top: 92px; z-index: 30; padding: 14px 0; background: rgba(246, 230, 217, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(23, 10, 94, .1); }
.igp-subnav ul { display: flex; gap: 8px; overflow-x: auto; margin: 0; padding: 0; list-style: none; scrollbar-width: none; }
.igp-subnav ul::-webkit-scrollbar { display: none; }
.igp-subnav a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 18px; border-radius: 9999px; white-space: nowrap;
  border: 1px solid rgba(23, 10, 94, .25); color: var(--igp-indigo); font: 400 15px/1.2 var(--font-ibm-plex-sans); transition: background-color .2s, color .2s;
}
.igp-subnav a:hover, .igp-subnav a.is-current { background: var(--igp-indigo); color: #fff; border-color: var(--igp-indigo); }

/* ---------- split image + text ---------- */
.igp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.igp-split--rev .igp-split__media { order: 2; }
.igp-split__media { margin: 0; }
.igp-frame { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 240px 240px 240px 32px; background: var(--igp-sand-2); box-shadow: 0 30px 70px -40px rgba(23, 10, 94, .6); }
.igp-split--rev .igp-frame { border-radius: 240px 240px 32px 240px; }
.igp-frame--pill { border-radius: 9999px; aspect-ratio: 16 / 10; }
.igp-frame--wide { aspect-ratio: 21 / 9; border-radius: 9999px; }
.igp-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--igp-ease); }
.igp-split__media figcaption, .igp-figure figcaption { margin-top: 12px; padding-left: 24px; font: 400 13px/1.45 var(--font-ibm-plex-sans); opacity: .78; }
.igp-figure { margin: 56px 0 0; }

/* ---------- cards ---------- */
.igp-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.igp-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.igp-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.igp-card {
  position: relative; display: flex; flex-direction: column; padding: 32px 28px; border-radius: 24px; background: #fff; color: var(--igp-indigo);
  box-shadow: 0 24px 50px -36px rgba(23, 10, 94, .55); transition: transform .35s var(--igp-ease), box-shadow .35s var(--igp-ease);
}
.igp-section--white .igp-card { background: var(--igp-sand); }
.igp-section--night .igp-card { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: none; border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(8px); }
.igp-card__num { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 24px; border-radius: 50%; background: var(--igp-indigo); color: #fff; font: 500 14px/1 var(--font-ibm-plex-sans); }
.igp-section--night .igp-card__num { background: var(--igp-cyan); color: var(--igp-indigo); }
.igp-card h3 { font: 500 22px/1.25 var(--font-ibm-plex-sans); margin-bottom: 14px; }
.igp-card p { font: 400 16px/1.55 var(--font-ibm-plex-sans); margin: 0 0 12px; opacity: .9; }
.igp-card .igp-more { margin-top: auto; padding-top: 12px; font: 500 15px/1.2 var(--font-ibm-plex-sans); text-decoration: underline; text-underline-offset: 4px; }
.igp-card .igp-more::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* ---------- full-width photo band ---------- */
.igp-band { position: relative; overflow: hidden; color: #fff; background: var(--igp-night); }
.igp-band picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.igp-band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(14, 6, 64, .88) 0, rgba(14, 6, 64, .55) 55%, rgba(14, 6, 64, .25) 100%); }
.igp-band__inner { position: relative; z-index: 2; padding: 120px 0; }
.igp-band p { max-width: 60ch; line-height: 150%; color: rgba(255, 255, 255, .88); }
.igp-band__credit { position: absolute; z-index: 2; right: 16px; bottom: 10px; font: 400 12px/1.3 var(--font-ibm-plex-sans); color: rgba(255, 255, 255, .7); }

/* ---------- enquiry routes ---------- */
.igp-routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.igp-route { position: relative; padding: 40px; border-radius: 32px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.igp-route h3 { font: 500 28px/1.2 var(--font-ibm-plex-sans); margin-bottom: 14px; }
.igp-route p { line-height: 150%; margin-bottom: 0; }
.igp-route ul { margin: 18px 0 0; padding: 0 0 0 20px; list-style: disc; line-height: 1.6; color: rgba(255, 255, 255, .86); }

/* ---------- process path (commitment to delivery) ---------- */
.igp-path { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; margin: 56px 0 0; padding: 0; list-style: none; counter-reset: igp-path; }
.igp-path::before { content: ""; position: absolute; left: 20px; right: 20px; top: 19px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--igp-cyan), var(--igp-sky), var(--igp-royal)); }
.igp-path li { position: relative; counter-increment: igp-path; padding-top: 60px; }
.igp-path li::before {
  content: counter(igp-path, decimal-leading-zero); position: absolute; top: 0; left: 0; width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; background: var(--igp-indigo); color: #fff; border: 3px solid var(--igp-cyan); font: 500 13px/1 var(--font-ibm-plex-sans);
}
.igp-section--night .igp-path li::before { box-shadow: 0 0 0 6px var(--igp-indigo); }
.igp-path h3 { font: 500 19px/1.3 var(--font-ibm-plex-sans); margin-bottom: 10px; }
.igp-path p { font: 400 15px/1.55 var(--font-ibm-plex-sans); opacity: .86; margin: 0; }

/* ---------- facts list ---------- */
.igp-facts { margin: 40px 0 0; display: grid; gap: 0; border-top: 1px solid rgba(23, 10, 94, .16); }
.igp-facts > div { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid rgba(23, 10, 94, .16); }
.igp-facts dt { font: 500 16px/1.4 var(--font-ibm-plex-sans); }
.igp-facts dd { margin: 0; font: 400 17px/1.55 var(--font-ibm-plex-sans); }

/* ---------- quote (approved copy) ---------- */
.igp-bridge-copy { font: 300 26px/1.45 var(--font-ibm-plex-sans); max-width: 30ch; }
.igp-bridge-copy p { margin-bottom: 24px; max-width: none; }
.igp-bridge-copy strong { font-weight: 500; }
.igp-bridge-copy p:last-child { font-weight: 500; color: var(--igp-royal); }
.igp-section--night .igp-bridge-copy p:last-child { color: var(--igp-cyan); }

/* ---------- contact ---------- */
.igp-contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.igp-panel { padding: 40px; border-radius: 32px; background: #fff; box-shadow: 0 30px 70px -45px rgba(23, 10, 94, .55); }
.igp-types { display: grid; gap: 12px; margin: 0 0 32px; padding: 0; border: 0; }
.igp-types legend { font: 500 18px/1.3 var(--font-ibm-plex-sans); margin-bottom: 14px; }
.igp-type { position: relative; display: block; }
.igp-type input { position: absolute; opacity: 0; pointer-events: none; }
.igp-type span { display: block; padding: 18px 20px 18px 56px; border-radius: 20px; border: 1.5px solid rgba(23, 10, 94, .2); cursor: pointer; transition: border-color .2s, background-color .2s; }
.igp-type span::before { content: ""; position: absolute; left: 20px; top: 22px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--igp-indigo); background: #fff; }
.igp-type b { display: block; font: 500 17px/1.3 var(--font-ibm-plex-sans); }
.igp-type small { display: block; margin-top: 4px; font: 400 14px/1.45 var(--font-ibm-plex-sans); opacity: .8; }
.igp-type input:checked + span { border-color: var(--igp-royal); background: #f6f5ff; }
.igp-type input:checked + span::before { border-color: var(--igp-royal); box-shadow: inset 0 0 0 4px #fff; background: var(--igp-royal); }
.igp-type input:focus-visible + span { outline: 2px solid var(--igp-sky); outline-offset: 2px; }
.igp-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.igp-field { display: grid; gap: 8px; }
.igp-field--full { grid-column: 1 / -1; }
.igp-field label { font: 500 15px/1.3 var(--font-ibm-plex-sans); }
.igp-field label small { font-weight: 400; opacity: .7; }
.igp-field input, .igp-field select, .igp-field textarea {
  width: 100%; min-height: 48px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid rgba(23, 10, 94, .25); background: #fff;
  color: var(--igp-indigo); font: 400 16px/1.4 var(--font-ibm-plex-sans);
}
.igp-field textarea { min-height: 150px; resize: vertical; }
.igp-field input:focus, .igp-field select:focus, .igp-field textarea:focus { outline: 2px solid var(--igp-sky); outline-offset: 1px; border-color: var(--igp-royal); }
.igp-field [aria-invalid="true"] { border-color: #bd3d1d; }
.igp-type-only { display: none; }
.igp-form[data-type="buyer"] .igp-type-only[data-for~="buyer"], .igp-form[data-type="seller"] .igp-type-only[data-for~="seller"], .igp-form[data-type="general"] .igp-type-only[data-for~="general"] { display: grid; }
.igp-status { margin-top: 20px; padding: 16px 20px; border-radius: 16px; font: 400 15px/1.5 var(--font-ibm-plex-sans); background: #f6f5ff; border: 1px solid rgba(33, 53, 169, .25); }
.igp-status[hidden] { display: none; }
.igp-status--warn { background: #fff6e8; border-color: #e9c6a9; }
.igp-notice { margin-top: 28px; padding: 20px 24px; border-radius: 20px; border: 1px dashed rgba(23, 10, 94, .35); font: 400 15px/1.55 var(--font-ibm-plex-sans); }
.igp-notice strong { display: block; margin-bottom: 4px; font-weight: 500; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .igp-card:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -36px rgba(23, 10, 94, .7); }
  .igp-split:hover .igp-frame img, .igp-figure:hover .igp-frame img { transform: scale(1.04); }
  .og-js .og-reveal .igp-frame { clip-path: inset(0 0 100% 0 round 32px); transition: clip-path 1.2s var(--igp-ease); }
  .og-js .og-reveal.is-in .igp-frame { clip-path: inset(0 0 0 0 round 0); }
}

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .igp-split, .igp-contact { grid-template-columns: 1fr; gap: 40px; }
  .igp-split--rev .igp-split__media { order: 0; }
  .igp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .igp-cards--3 { grid-template-columns: 1fr; }
  .igp-path { grid-template-columns: 1fr; gap: 28px; }
  .igp-path::before { left: 19px; right: auto; top: 20px; bottom: 20px; width: 3px; height: auto; }
  .igp-path li { padding: 0 0 0 64px; }
  .igp-routes { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .igp-section { padding: 72px 0; }
  .igp-lead { height: 600px; }
  .igp-lead__inner { padding-bottom: 32px; }
  .igp-lead__capsule { width: calc(100% - 24px); padding: 40px 32px 40px 24px; }
  .igp-lead__credit { max-width: 90%; left: 16px; right: 16px; bottom: auto; top: 104px; text-align: left; }
  .igp-subnav { top: 88px; }
  .igp-cards, .igp-cards--2 { grid-template-columns: 1fr; }
  .igp-frame, .igp-split--rev .igp-frame { border-radius: 160px 160px 160px 24px; }
  .igp-frame--pill, .igp-frame--wide { border-radius: 120px; aspect-ratio: 4 / 3; }
  .igp-bridge-copy { font-size: 21px; }
  .igp-fields { grid-template-columns: 1fr; }
  .igp-panel { padding: 24px; border-radius: 24px; }
  .igp-facts > div { grid-template-columns: 1fr; gap: 6px; }
  .igp-route { padding: 28px; }
  .igp-band__inner { padding: 88px 0; }
}

/* ---------- integration with existing components ---------- */
nav .igp-nav-current > div:first-child { color: var(--igp-sky); }
#sustainability .igp-sus-bg { position: absolute; inset: 0; z-index: 0; }
#sustainability .igp-sus-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#sustainability .igp-sus-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 6, 64, .55), rgba(14, 6, 64, .72)); }
#sustainability > .max-w-\[1296px\] { position: relative; z-index: 2; }
#overview .igp-split__media figcaption { color: var(--igp-indigo); }
.igp-seq-page .og-seq__intro { padding-left: 24px; }
.igp-seq-page .og-seq__sticky { padding-left: 24px; }
.og-stage .og-fig__plate .og-points { margin-top: 0; }
/* the hero pause control has been removed at the client's request */
.og-hero-toggle { display: none !important; }
.igp-seq-page .og-eyebrow::before { display: none !important; }
.igp-facts[hidden], .igp-notice[hidden] { display: none; }
.igp-facts dd[data-placeholder] { opacity: .55; font-style: italic; }
.igp-contact-details { margin-top: 28px; }

/* logo: uploaded image or text wordmark from the short display name */
.igp-wordmark { display: inline-block; font: 700 29px/1 Arial, Helvetica, sans-serif; letter-spacing: .03em; color: #fff; white-space: nowrap; }
.igp-wordmark--footer { font-size: 33px; color: #152879; margin-bottom: 24px; }
.igp-logo--header { display: block; height: 32px; width: auto; max-width: 180px; object-fit: contain; }
.igp-logo--footer { display: block; height: 40px; width: auto; max-width: 220px; object-fit: contain; margin-bottom: 24px; }
.igp-footer-logo { display: inline-block; }
.igp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
