/*
 * Oil, gas and petrochemical application pages (OilGasApps module). Loaded
 * after ms.css and lw.css, whose heading, card, note and table styles the
 * reused blocks keep. Logical properties only (RTL for ar and he). Button
 * labels never wrap. Motion runs only under .oga-motion (set by oga.js when
 * the visitor has not asked for reduced motion); without it every element is
 * in its final state.
 */
/* Section headings follow the site token --fs-h2 (Admin → Appearance → Typography). */
.lp-sec.oga-sec .ctas .btn { white-space: nowrap; }
.lp-sec.oga-sec :where(.ms-note, .lw-note) + .ctas { margin-block-start: var(--flow-gap); }

/* ------------------------------------------------------------------ */
/* Ecosystem: shared node                                               */
/* ------------------------------------------------------------------ */
.oga-eco { position: relative; overflow: hidden; }
.oga-eco::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 85% 0%, rgba(165, 0, 0, .22), transparent 55%), radial-gradient(ellipse at 0% 100%, rgba(212, 161, 46, .08), transparent 50%); pointer-events: none; }
.oga-eco > .wrap { position: relative; }
.oga-eco .lp-lede { color: var(--mist); }
.oga-eco-stage { margin-block-start: var(--space-6, 40px); }

.oga-node { position: relative; display: flex; align-items: flex-start; gap: var(--space-2, 12px); color: var(--white); text-decoration: none; }
a.oga-node:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.oga-node-no { flex: none; font-size: 12px; font-weight: 600; letter-spacing: .5px; color: var(--gold); }
.oga-node-ico { display: inline-grid; place-items: center; flex: none; inline-size: 40px; block-size: 40px; background: var(--navy-700); color: #FF8A8A; transition: background .25s ease, color .25s ease; }
.oga-node-ico .ico { inline-size: 22px; block-size: 22px; }
.oga-node-body { display: flex; flex-direction: column; gap: 6px; min-inline-size: 0; }
.oga-node-title { font-family: var(--f-card-title); font-size: var(--fs-card-title-sm, 17px); font-weight: var(--fw-card-title); letter-spacing: var(--tracking-card-title); line-height: 1.15; text-transform: var(--tt-card-title); color: var(--white); }
.oga-node-text { font-size: 14px; line-height: 1.5; color: var(--mist); }
.oga-node-go { margin-inline-start: auto; flex: none; color: #FF8A8A; transition: transform .2s ease; }
[dir="rtl"] .oga-node-go { transform: scaleX(-1); }
a.oga-node:is(:hover, :focus-visible) .oga-node-ico, .oga-node.is-hot .oga-node-ico { background: var(--red); color: var(--white); }
a.oga-node:is(:hover, :focus-visible) .oga-node-go { transform: translateX(4px); }
[dir="rtl"] a.oga-node:is(:hover, :focus-visible) .oga-node-go { transform: scaleX(-1) translateX(4px); }


/* ------------------------------------------------------------------ */
/* Shared: family colours, numbered list beside a drawing               */
/* ------------------------------------------------------------------ */
.is-f0 { --fc: #E04848; --fb: rgba(165, 0, 0, .2); }
.is-f1 { --fc: var(--gold); --fb: rgba(212, 161, 46, .16); }
.is-f2 { --fc: #6E9FDB; --fb: rgba(110, 159, 219, .16); }
.is-f3 { --fc: #C9D6E6; --fb: rgba(201, 214, 230, .1); }

.oga-list { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; border-block-start: 1px solid var(--navy-700); }
.oga-list.is-2col { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-4, 24px); }
.oga-list > li { border-block-end: 1px solid var(--navy-700); }
.oga-node.is-row { align-items: center; padding: 14px 10px; transition: background .25s ease; }
.oga-node.is-row .oga-node-ico { inline-size: 36px; block-size: 36px; }
.oga-node.is-row .oga-node-ico .ico { inline-size: 20px; block-size: 20px; }
.oga-node.is-row .oga-node-title { font-size: 15px; }
.oga-node.is-row .oga-node-text { font-size: 13.5px; line-height: 1.45; }
a.oga-node.is-row:is(:hover, :focus-visible), .oga-node.is-row.is-hot { background: var(--navy-800); }
.oga-node.is-row.is-hot .oga-node-no { color: var(--white); }
.oga-dial-lead { margin: 0 0 var(--space-4, 24px); max-inline-size: 62ch; font-size: 16px; line-height: 1.6; color: var(--mist); }
.oga-motion .oga-list > li { opacity: 0; transform: translateY(10px); transition: opacity .45s ease calc(500ms + var(--i) * 70ms), transform .45s ease calc(500ms + var(--i) * 70ms); }
.oga-motion .is-in .oga-list > li { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ */
/* Style 1 · plotplan (onshore oil & gas facilities)                    */
/* ------------------------------------------------------------------ */
.oga-pp { position: relative; padding: 20px 24px 28px; background-color: #0B1A2E; background-image: linear-gradient(rgba(140, 170, 210, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(140, 170, 210, .06) 1px, transparent 1px); background-size: 40px 40px; border: 1px dashed rgba(212, 161, 46, .55); outline: 6px solid rgba(11, 26, 46, .6); }
.oga-pp-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-block-end: 22px; }
.oga-pp-title { font-size: 12px; letter-spacing: 1.5px; color: #8FB3E0; }
.oga-pp-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; font-size: 12.5px; letter-spacing: .5px; color: var(--mist); }
.oga-pp-legend li { display: inline-flex; align-items: center; gap: 8px; }
.oga-pp-legend span { inline-size: 14px; block-size: 14px; background: var(--fb); border: 2px solid var(--fc); }
.oga-pp-north { margin-inline-start: auto; display: inline-flex; flex-direction: column; align-items: center; gap: 2px; color: var(--gold); }
.oga-pp-north svg { inline-size: 18px; block-size: 24px; fill: var(--gold); }
.oga-pp-north b { font-size: 11px; }
.oga-pp-units { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); grid-template-rows: auto 74px auto; column-gap: 14px; margin: 0; padding: 0; list-style: none; }
.oga-pp-unit { position: relative; grid-column: var(--col); display: flex; flex-direction: column; }
.oga-pp-unit.is-top { grid-row: 1; padding-block-end: 22px; }
.oga-pp-unit.is-bottom { grid-row: 3; padding-block-start: 22px; }
.oga-pp-unit .oga-node { flex: 1; flex-direction: column; gap: 10px; padding: 30px 16px 16px; background: rgba(6, 17, 31, .88); border: 2px solid var(--fc); box-shadow: inset 0 0 0 4px var(--fb); transition: transform .25s ease, background .25s ease, box-shadow .25s ease; }
.oga-pp-unit .oga-node-no { display: none; }
.oga-pp-unit .oga-node-ico { background: var(--fb); color: var(--fc); }
.oga-pp-unit .oga-node-go { position: absolute; inset-block-end: 12px; inset-inline-end: 12px; }
.oga-pp-unit .oga-node-text { font-size: 13.5px; }
.oga-pp-tag { position: absolute; z-index: 1; inset-inline-start: 12px; padding: 3px 8px; background: var(--fc); color: var(--navy-950); font-size: 11px; font-weight: 700; letter-spacing: 1px; }
.oga-pp-unit.is-top .oga-pp-tag { inset-block-start: -10px; }
.oga-pp-unit.is-bottom .oga-pp-tag { inset-block-start: 12px; }
.oga-pp-stub { position: absolute; inset-inline-start: 50%; inline-size: 6px; margin-inline-start: -3px; block-size: 22px; background: repeating-linear-gradient(180deg, #C9D6E6 0 4px, transparent 4px 7px); transition: background .25s ease; }
.oga-pp-unit.is-top .oga-pp-stub { inset-block-end: 0; }
.oga-pp-unit.is-bottom .oga-pp-stub { inset-block-start: 0; }
.oga-pp-stub.is-hot { background: var(--red); }
.oga-pp-unit a.oga-node:is(:hover, :focus-visible), .oga-pp-unit .oga-node.is-hot { background: #0F2440; box-shadow: inset 0 0 0 4px var(--fb), 0 0 0 1px var(--fc), 0 16px 30px rgba(0, 0, 0, .35); }
.oga-pp-unit.is-top a.oga-node:is(:hover, :focus-visible), .oga-pp-unit.is-top .oga-node.is-hot { transform: translateY(-4px); }
.oga-pp-unit.is-bottom a.oga-node:is(:hover, :focus-visible), .oga-pp-unit.is-bottom .oga-node.is-hot { transform: translateY(4px); }
.oga-pp-rack { position: relative; grid-column: 1 / -1; grid-row: 2; display: flex; flex-direction: column; justify-content: center; gap: 7px; padding-inline: 4px; background: repeating-linear-gradient(90deg, transparent 0 calc(100% / var(--cols) / 2 - 3px), rgba(201, 214, 230, .35) calc(100% / var(--cols) / 2 - 3px) calc(100% / var(--cols) / 2 + 3px), transparent calc(100% / var(--cols) / 2 + 3px) calc(100% / var(--cols))); border-block: 3px solid #C9D6E6; }
.oga-pp-line { display: block; block-size: 6px; border-radius: 3px; background: #5E7FA8; transform-origin: left; }
[dir="rtl"] .oga-pp-line { transform-origin: right; }
.oga-pp-line.is-2 { background: var(--gold); opacity: .85; }
.oga-pp-line.is-3 { background: #8FA6C2; }
.oga-pp-rack-label { position: absolute; inset-block-start: 50%; inset-inline-start: 50%; transform: translate(-50%, -50%); padding: 5px 14px; background: var(--red); color: var(--white); font-size: 12.5px; font-weight: 700; letter-spacing: 2px; white-space: nowrap; box-shadow: 0 8px 20px rgba(165, 0, 0, .35); }
[dir="rtl"] .oga-pp-rack-label { transform: translate(50%, -50%); }
.oga-pp-flow { position: absolute; inset-block: 9px; inset-inline: 0; pointer-events: none; overflow: hidden; }
.oga-pp-flow::before { content: ""; position: absolute; inset-block: 0; inline-size: 18%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent); opacity: 0; }

.oga-motion .oga-pp-line { transform: scaleX(0); transition: transform 1.1s cubic-bezier(.3, .6, .2, 1); }
.oga-motion .oga-pp-line.is-2 { transition-delay: .15s; }
.oga-motion .oga-pp-line.is-3 { transition-delay: .3s; }
.oga-motion .oga-pp-rack-label { opacity: 0; transition: opacity .5s ease .9s; }
.oga-motion .oga-pp-unit { opacity: 0; transition: opacity .5s ease calc(900ms + var(--i) * 90ms), transform .5s ease calc(900ms + var(--i) * 90ms); }
.oga-motion .oga-pp-unit.is-top { transform: translateY(-16px); }
.oga-motion .oga-pp-unit.is-bottom { transform: translateY(16px); }
.oga-motion .is-in .oga-pp-line { transform: none; }
.oga-motion .is-in .oga-pp-rack-label { opacity: 1; }
.oga-motion .is-in .oga-pp-unit { opacity: 1; transform: none; }
.oga-motion .is-in .oga-pp-flow::before { animation: oga-pp-flow 3.2s linear 2s infinite; }
@keyframes oga-pp-flow { 0% { inset-inline-start: -18%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { inset-inline-start: 100%; opacity: 0; } }

/* ------------------------------------------------------------------ */
/* Style 2 · carrier (LNG processing & terminals)                       */
/* ------------------------------------------------------------------ */
.oga-lc-ship { margin: 0; padding: 18px 18px 12px; background: radial-gradient(ellipse at 70% 0%, rgba(143, 216, 255, .14), transparent 60%), #08172A; border: 1px solid var(--navy-700); overflow: hidden; }
.oga-lc-plot { position: relative; }
.oga-lc-ship svg { display: block; inline-size: 100%; block-size: auto; overflow: visible; }
.oga-lc-house { fill: #DCE5EF; stroke: #8FA6C0; stroke-width: 1.5; }
.oga-lc-house.is-top { fill: #C9D6E6; }
.oga-lc-funnel { fill: var(--red); stroke: #7A0000; stroke-width: 1.5; }
.oga-lc-window { fill: #16314F; }
.oga-lc-mast { stroke: #C9D6E6; stroke-width: 2.5; }
.oga-lc-dome { stroke: #6F86A1; stroke-width: 1.5; }
.oga-lc-fill { opacity: .55; transform-box: fill-box; transform-origin: bottom; transform: scaleY(.62); }
.oga-lc-tank-no { font: 700 11px/1 var(--f-mono); letter-spacing: 1.2px; fill: #1B3456; text-anchor: middle; }
.oga-lc-trunk { stroke: #8FA6C0; stroke-width: 4; }
.oga-lc-hull { fill: #10284A; stroke: #36557D; stroke-width: 1.5; }
.oga-lc-boot { fill: #8C1D1D; }
.oga-lc-sheer { stroke: var(--gold); stroke-width: 1.5; opacity: .8; }
.oga-lc-name { font: 700 15px/1 var(--f-mono); letter-spacing: 4px; fill: var(--white); text-anchor: middle; }
.oga-lc-draft { stroke: var(--white); stroke-width: 1.5; }
.oga-lc-wave { fill: none; stroke: rgba(143, 216, 255, .55); stroke-width: 2; stroke-linecap: round; }
.oga-lc-wave.is-2 { stroke: rgba(143, 216, 255, .25); }
.oga-lc-mark { position: absolute; inset-inline-start: var(--x); inset-block-start: var(--y); display: grid; place-items: center; inline-size: 30px; block-size: 30px; margin-block-start: -15px; margin-inline-start: -15px; border-radius: 50%; background: var(--navy-950); border: 2.5px solid #8FD8FF; color: var(--white); font-size: 11.5px; font-weight: 700; transition: transform .25s ease, background .25s ease; z-index: 1; }
.oga-lc-mark.is-hot { background: #2F86C9; transform: scale(1.25); box-shadow: 0 0 0 6px rgba(143, 216, 255, .25); }
.oga-lc-caption { margin-block-start: 8px; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: #8FB3E0; text-align: center; }
.oga-lc-holds { display: grid; grid-template-columns: repeat(var(--tanks), minmax(0, 1fr)); gap: 12px; margin: var(--space-4, 24px) 0 0; padding: 0; list-style: none; }
.oga-lc-hold { display: flex; flex-direction: column; gap: 8px; padding: 12px; background: rgba(6, 17, 31, .7); border: 1px solid var(--navy-700); border-block-start: 3px solid #8FD8FF; }
.oga-lc-hold-no { font-size: 11.5px; font-weight: 700; letter-spacing: 1.5px; color: #8FD8FF; }
.oga-lc-cargo { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.oga-node.is-cargo { padding: 8px 6px; transition: background .25s ease; }
.oga-node.is-cargo .oga-node-no { display: grid; place-items: center; inline-size: 26px; block-size: 26px; border-radius: 50%; border: 2px solid #8FD8FF; color: var(--white); font-size: 10.5px; }
.oga-node.is-cargo .oga-node-title { font-size: 15px; }
.oga-node.is-cargo .oga-node-text { font-size: 13px; line-height: 1.45; }
.oga-node.is-cargo .oga-node-go { color: #8FD8FF; }
a.oga-node.is-cargo:is(:hover, :focus-visible), .oga-node.is-cargo.is-hot { background: var(--navy-800); }
.oga-node.is-cargo.is-hot .oga-node-no { background: #2F86C9; }

.oga-motion .oga-lc-vessel { opacity: 0; transform: translateX(-60px); transition: opacity .8s ease, transform 1.6s cubic-bezier(.2, .8, .2, 1); }
.oga-motion .oga-lc-fill { transform-box: fill-box; transform-origin: bottom; transform: scaleY(0); transition: transform 1s ease calc(1200ms + var(--i) * 220ms); }
.oga-motion .oga-lc-mark { opacity: 0; transform: scale(.4); transition: opacity .35s ease calc(1500ms + var(--i) * 220ms), transform .35s cubic-bezier(.3, 1.7, .5, 1) calc(1500ms + var(--i) * 220ms), background .25s ease; }
.oga-motion .oga-lc-hold { opacity: 0; transform: translateY(12px); transition: opacity .45s ease calc(1400ms + var(--i) * 120ms), transform .45s ease calc(1400ms + var(--i) * 120ms); }
.oga-motion .is-in .oga-lc-vessel { opacity: 1; transform: none; animation: oga-lc-bob 5s ease-in-out 1.8s infinite; }
.oga-motion .is-in .oga-lc-fill { transform: scaleY(.62); }
.oga-motion .is-in .oga-lc-mark { opacity: 1; transform: none; }
.oga-motion .is-in .oga-lc-mark.is-hot { transform: scale(1.25); }
.oga-motion .is-in .oga-lc-hold { opacity: 1; transform: none; }
.oga-motion .is-in .oga-lc-wave { animation: oga-lc-sea 3.2s linear infinite; }
.oga-motion .is-in .oga-lc-wave.is-2 { animation: oga-lc-sea2 5s linear infinite; }
@keyframes oga-lc-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(2px); } }
@keyframes oga-lc-sea { to { transform: translateX(40px); } }
@keyframes oga-lc-sea2 { to { transform: translateX(-60px); } }

/* ------------------------------------------------------------------ */
/* Style 3 · fractionator (oil refineries)                              */
/* ------------------------------------------------------------------ */
.oga-fr { position: relative; padding: 18px 20px; background: linear-gradient(180deg, rgba(143, 216, 255, .08), transparent 40%, rgba(255, 90, 78, .1)), #08172A; border: 1px solid var(--navy-700); }
.oga-fr-cap { display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 6px; text-align: center; }
.oga-fr-cap-label { font-size: 11.5px; font-weight: 700; letter-spacing: 1.5px; color: #8FD8FF; }
.oga-fr-cap.is-bottom .oga-fr-cap-label { color: #FF8A80; }
.oga-fr-feed { font-size: 11.5px; font-weight: 700; letter-spacing: 1.5px; color: var(--gold); }
.oga-fr-units { display: grid; grid-template-columns: minmax(0, 1fr) 132px minmax(0, 1fr); grid-template-rows: repeat(var(--rows), auto); row-gap: 14px; margin: 0; padding: 0; list-style: none; }
.oga-fr-col { position: relative; grid-column: 2; grid-row: 1 / -1; margin-inline: 24px; border: 3px solid #C9D6E6; border-radius: 42px / 28px; background: linear-gradient(180deg, rgba(143, 216, 255, .28), rgba(212, 161, 46, .22) 55%, rgba(255, 90, 78, .38)); overflow: hidden; }
.oga-fr-trays { position: absolute; inset: 24px 0; background: repeating-linear-gradient(180deg, transparent 0 26px, rgba(201, 214, 230, .55) 26px 28px); }
.oga-fr-vapour { position: absolute; inset: 0; }
.oga-fr-vapour i { position: absolute; inset-block-end: 10%; inline-size: 6px; block-size: 6px; border-radius: 50%; background: rgba(255, 255, 255, .7); opacity: 0; }
.oga-fr-vapour i:nth-child(1) { inset-inline-start: 18%; }
.oga-fr-vapour i:nth-child(2) { inset-inline-start: 42%; animation-delay: .8s !important; }
.oga-fr-vapour i:nth-child(3) { inset-inline-start: 66%; animation-delay: 1.6s !important; }
.oga-fr-vapour i:nth-child(4) { inset-inline-start: 30%; animation-delay: 2.4s !important; }
.oga-fr-vapour i:nth-child(5) { inset-inline-start: 56%; animation-delay: 3.2s !important; }
.oga-fr-col-label { position: absolute; inset: 0; display: grid; place-items: center; writing-mode: vertical-rl; font-size: 13px; font-weight: 700; letter-spacing: 4px; color: var(--white); text-shadow: 0 1px 4px rgba(6, 17, 31, .9); }
.oga-fr-draw { position: relative; grid-row: var(--row); display: flex; align-items: center; }
.oga-fr-draw.is-start { grid-column: 1; padding-inline-end: 0; }
.oga-fr-draw.is-end { grid-column: 3; padding-block-start: 46px; }
.oga-fr-draw > .oga-node { flex: 1; }
.oga-fr-pipe { position: absolute; inset-block-start: 50%; block-size: 6px; margin-block-start: -3px; inline-size: 28px; background: var(--tc); box-shadow: 0 0 8px color-mix(in srgb, var(--tc) 60%, transparent); transition: inline-size .25s ease; }
.oga-fr-draw.is-start .oga-fr-pipe { inset-inline-end: -28px; }
.oga-fr-draw.is-end .oga-fr-pipe { inset-inline-start: -28px; margin-block-start: 20px; }
.oga-node.is-draw { align-items: center; padding: 12px 14px; background: rgba(6, 17, 31, .75); border: 1px solid var(--navy-700); transition: background .25s ease, border-color .25s ease; }
.oga-fr-draw.is-start .oga-node.is-draw { border-inline-end: 3px solid var(--tc); }
.oga-fr-draw.is-end .oga-node.is-draw { border-inline-start: 3px solid var(--tc); }
.oga-node.is-draw .oga-node-ico { inline-size: 36px; block-size: 36px; }
.oga-node.is-draw .oga-node-ico .ico { inline-size: 20px; block-size: 20px; }
.oga-node.is-draw .oga-node-no { color: var(--tc); }
.oga-node.is-draw .oga-node-title { font-size: 15px; }
.oga-node.is-draw .oga-node-text { font-size: 13.5px; line-height: 1.45; }
a.oga-node.is-draw:is(:hover, :focus-visible), .oga-node.is-draw.is-hot { background: var(--navy-800); border-color: var(--tc); }
.oga-fr-pipe.is-hot { box-shadow: 0 0 0 3px color-mix(in srgb, var(--tc) 35%, transparent), 0 0 14px var(--tc); }

.oga-motion .oga-fr-col { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s cubic-bezier(.2, .8, .2, 1); }
.oga-motion .oga-fr-pipe { transform: scaleX(0); transition: transform .4s ease calc(1100ms + var(--i) * 120ms), box-shadow .25s ease; }
.oga-motion .oga-fr-draw.is-start .oga-fr-pipe { transform-origin: right; }
.oga-motion .oga-fr-draw.is-end .oga-fr-pipe { transform-origin: left; }
[dir="rtl"].oga-motion .oga-fr-draw.is-start .oga-fr-pipe { transform-origin: left; }
[dir="rtl"].oga-motion .oga-fr-draw.is-end .oga-fr-pipe { transform-origin: right; }
.oga-motion .oga-fr-draw > .oga-node { opacity: 0; transform: translateY(10px); transition: opacity .45s ease calc(1300ms + var(--i) * 120ms), transform .45s ease calc(1300ms + var(--i) * 120ms), background .25s ease, border-color .25s ease; }
.oga-motion .is-in .oga-fr-col { clip-path: inset(0 0 0 0 round 42px / 28px); }
.oga-motion .is-in .oga-fr-pipe { transform: none; }
.oga-motion .is-in .oga-fr-draw > .oga-node { opacity: 1; transform: none; }
.oga-motion .is-in .oga-fr-vapour i { animation: oga-fr-rise 4s ease-in 1.4s infinite; }
@keyframes oga-fr-rise { 0% { opacity: 0; transform: translateY(0); } 15% { opacity: .9; } 100% { opacity: 0; transform: translateY(-420px); } }

/* ------------------------------------------------------------------ */
/* Style 4 · firecurve (petrochemical plants)                           */
/* ------------------------------------------------------------------ */
.oga-fc-chart { position: relative; margin: 0; padding: 18px 18px 14px; background: radial-gradient(ellipse at 20% 0%, rgba(224, 72, 72, .14), transparent 60%), #08172A; border: 1px solid var(--navy-700); }
.oga-fc-chart svg { display: block; inline-size: 100%; block-size: auto; overflow: visible; }
.oga-fc-grid { stroke: rgba(143, 179, 224, .14); stroke-width: 1; }
.oga-fc-grid.is-rating { stroke: rgba(143, 179, 224, .22); stroke-dasharray: 3 5; }
.oga-fc-tick { font: 600 12px/1 var(--f-mono); fill: #8FB3E0; }
.oga-fc-tick.is-y { text-anchor: end; dominant-baseline: central; }
.oga-fc-tick.is-x { text-anchor: middle; }
.oga-fc-band { fill: rgba(212, 161, 46, .1); stroke: rgba(212, 161, 46, .5); stroke-dasharray: 4 4; }
.oga-fc-band-label { font: 700 11.5px/1 var(--f-mono); letter-spacing: 1px; fill: var(--gold); text-anchor: middle; }
.oga-fc-critical { stroke: #C9D6E6; stroke-width: 1.5; stroke-dasharray: 10 6; }
.oga-fc-critical-label { font: 600 11px/1 var(--f-mono); letter-spacing: .8px; fill: #C9D6E6; text-anchor: end; }
.oga-fc-area { fill: url(#oga-fc-heat); }
.oga-fc-hc { fill: none; stroke: #FF5A4E; stroke-width: 4; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(255, 90, 78, .6)); }
.oga-fc-bare { fill: none; stroke: #FFB347; stroke-width: 2.5; stroke-dasharray: 2 5; stroke-linecap: round; }
.oga-fc-steel { fill: none; stroke: #6E9FDB; stroke-width: 2.5; stroke-linecap: round; }
.oga-fc-fail { fill: var(--navy-950); stroke: var(--gold); stroke-width: 2.5; }
.oga-fc-curve-label { font: 700 11.5px/1 var(--f-mono); letter-spacing: 1px; text-anchor: end; }
.oga-fc-curve-label.is-hc { fill: #FF8A80; }
.oga-fc-curve-label.is-iso { fill: #A9BBD2; }
.oga-fc-curve-label.is-bare { fill: #FFC77A; text-anchor: start; }
.oga-fc-curve-label.is-steel { fill: #9CC0EC; text-anchor: start; }
.oga-fc-plot { position: relative; }
.oga-fc-mark { position: absolute; inset-inline-start: var(--x); inset-block-start: var(--y); display: grid; place-items: center; inline-size: 30px; block-size: 30px; margin-block-start: -15px; margin-inline-start: -15px; border-radius: 50%; background: var(--navy-950); border: 2.5px solid #FF5A4E; color: var(--white); font-size: 11.5px; font-weight: 700; transition: transform .25s ease, background .25s ease; z-index: 1; }
.oga-fc-mark.is-hot { background: #FF5A4E; transform: scale(1.25); box-shadow: 0 0 0 6px rgba(255, 90, 78, .25); }
.oga-fc-caption { margin-block-start: 10px; font-size: 13px; line-height: 1.5; color: var(--mist); text-align: start; }
[dir="rtl"] .oga-fc-caption { direction: rtl; }
.oga-fc-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: var(--space-4, 24px) 0 0; padding: 0; list-style: none; }
.oga-node.is-tile { block-size: 100%; padding: 16px; background: rgba(6, 17, 31, .7); border: 1px solid var(--navy-700); border-inline-start: 3px solid #FF5A4E; transition: background .25s ease, border-color .25s ease; }
.oga-node.is-tile .oga-node-no { display: grid; place-items: center; inline-size: 28px; block-size: 28px; border-radius: 50%; border: 2px solid #FF5A4E; color: var(--white); font-size: 11px; }
.oga-node.is-tile .oga-node-ico { display: none; }
a.oga-node.is-tile:is(:hover, :focus-visible), .oga-node.is-tile.is-hot { background: var(--navy-800); border-color: #FF5A4E; }
.oga-node.is-tile.is-hot .oga-node-no { background: #FF5A4E; }

.oga-motion .oga-fc-hc, .oga-motion .oga-fc-steel { stroke-dasharray: 100; stroke-dashoffset: 100; }
.oga-motion .oga-fc-hc { transition: stroke-dashoffset 1.6s cubic-bezier(.2, .8, .2, 1); }
.oga-motion .oga-fc-steel { transition: stroke-dashoffset 1.2s ease calc(900ms + var(--i) * 160ms); }
.oga-motion .oga-fc-area, .oga-motion .oga-fc-band, .oga-motion .oga-fc-band-label { opacity: 0; transition: opacity 1s ease .8s; }
.oga-motion .oga-fc-fail { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .35s cubic-bezier(.3, 1.7, .5, 1) calc(1800ms + var(--i) * 160ms); }
.oga-motion .oga-fc-mark { opacity: 0; transform: scale(.4); transition: opacity .35s ease calc(1200ms + var(--i) * 110ms), transform .35s cubic-bezier(.3, 1.7, .5, 1) calc(1200ms + var(--i) * 110ms), background .25s ease; }
.oga-motion .oga-fc-list > li { opacity: 0; transform: translateY(12px); transition: opacity .45s ease calc(1300ms + var(--i) * 70ms), transform .45s ease calc(1300ms + var(--i) * 70ms); }
.oga-motion .is-in .oga-fc-hc, .oga-motion .is-in .oga-fc-steel { stroke-dashoffset: 0; }
.oga-motion .is-in .oga-fc-hc { stroke-dasharray: none; }
.oga-motion .is-in .oga-fc-area, .oga-motion .is-in .oga-fc-band, .oga-motion .is-in .oga-fc-band-label { opacity: 1; }
.oga-motion .is-in .oga-fc-fail { transform: none; }
.oga-motion .is-in .oga-fc-mark { opacity: 1; transform: none; }
.oga-motion .is-in .oga-fc-mark.is-hot { transform: scale(1.25); }
.oga-motion .is-in .oga-fc-list > li { opacity: 1; transform: none; }
.oga-motion .is-in .oga-fc-hc { animation: oga-fc-flicker 2.6s ease-in-out 2s infinite; }
@keyframes oga-fc-flicker { 0%, 100% { filter: drop-shadow(0 0 6px rgba(255, 90, 78, .6)); } 50% { filter: drop-shadow(0 0 14px rgba(255, 140, 60, .9)); } }

/* ------------------------------------------------------------------ */
/* Style 5 · manifold (gas processing & compression)                    */
/* ------------------------------------------------------------------ */
.oga-mf { display: flex; flex-direction: column; gap: var(--space-6, 40px); padding: 36px 20px 22px; background: radial-gradient(ellipse at 0% 0%, rgba(212, 161, 46, .1), transparent 55%), #08172A; border: 1px solid var(--navy-700); }
.oga-mf-bank { --mc: var(--gold); }
.oga-mf-bank.is-export { --mc: #6EC98F; }
.oga-mf-header { position: relative; display: flex; align-items: center; gap: 0; block-size: 44px; }
.oga-mf-gauge { position: relative; flex: none; inline-size: 44px; block-size: 44px; border-radius: 50%; border: 3px solid #C9D6E6; background: radial-gradient(circle, #F4F8FC 0 55%, #C9D6E6 56%); z-index: 1; }
.oga-mf-gauge i { position: absolute; inset-block-start: 50%; inset-inline-start: 50%; inline-size: 15px; block-size: 3px; margin-block-start: -1.5px; background: var(--red); transform-origin: 0 50%; transform: rotate(-150deg); transition: transform 1.2s cubic-bezier(.3, 1.4, .5, 1) .4s; }
.oga-mf-gauge::after { content: ""; position: absolute; inset-block-start: 50%; inset-inline-start: 50%; inline-size: 6px; block-size: 6px; margin-block-start: -3px; margin-inline-start: -3px; border-radius: 50%; background: var(--navy-950); }
.oga-mf-pipe { position: relative; flex: 1; block-size: 16px; margin-inline-start: -2px; border-radius: 0 8px 8px 0; background: linear-gradient(180deg, #DCE5EF, #7F95AE 60%, #4F6580); overflow: hidden; }
[dir="rtl"] .oga-mf-pipe { border-radius: 8px 0 0 8px; }
.oga-mf-flow { position: absolute; inset: 5px 0; background: repeating-linear-gradient(90deg, var(--mc) 0 18px, transparent 18px 36px); opacity: .85; }
.oga-mf-cap { flex: none; inline-size: 10px; block-size: 26px; background: #C9D6E6; border-radius: 2px; }
.oga-mf-tag { position: absolute; inset-block-start: -2px; inset-inline-start: 58px; transform: translateY(-100%); font-size: 11.5px; font-weight: 700; letter-spacing: 1.5px; color: var(--mc); }
.oga-mf-branches { display: grid; grid-template-columns: repeat(var(--per), minmax(0, 1fr)); gap: 12px; margin: 0; padding-block: 0; padding-inline: 56px 10px; list-style: none; }
.oga-mf-branch { display: flex; flex-direction: column; align-items: stretch; }
.oga-mf-line { position: relative; align-self: center; inline-size: 8px; block-size: 52px; margin-block-start: -8px; background: linear-gradient(90deg, #DCE5EF, #7F95AE 60%, #4F6580); }
.oga-mf-valve { position: absolute; inset-block-start: 16px; inset-inline-start: 50%; inline-size: 24px; block-size: 20px; margin-inline-start: -12px; background: #E04848; clip-path: polygon(0 0, 100% 0, 0 100%, 100% 100%); transition: background .3s ease; }
.oga-mf-line b { position: absolute; inset-block-start: 18px; inset-inline-start: 20px; white-space: nowrap; font-size: 10px; font-weight: 700; letter-spacing: .8px; color: #8FB3E0; }
.oga-mf-line.is-hot .oga-mf-valve { background: var(--white); }
.oga-node.is-branch { flex: 1; flex-direction: column; gap: 10px; padding: 14px 14px 32px; background: rgba(6, 17, 31, .75); border: 1px solid var(--navy-700); border-block-start: 3px solid var(--mc); transition: background .25s ease, border-color .25s ease; }
.oga-node.is-branch .oga-node-ico { inline-size: 36px; block-size: 36px; }
.oga-node.is-branch .oga-node-ico .ico { inline-size: 20px; block-size: 20px; }
.oga-node.is-branch .oga-node-no { position: absolute; inset-block-start: 14px; inset-inline-end: 14px; color: var(--mc); }
.oga-node.is-branch .oga-node-title { font-size: 15px; }
.oga-node.is-branch .oga-node-text { font-size: 13.5px; line-height: 1.45; }
.oga-node.is-branch .oga-node-go { position: absolute; inset-block-end: 12px; inset-inline-end: 14px; }
a.oga-node.is-branch:is(:hover, :focus-visible), .oga-node.is-branch.is-hot { background: var(--navy-800); border-color: var(--mc); }

.oga-motion .oga-mf-flow { transform: translateX(-100%); }
.oga-motion .oga-mf-valve { background: #E04848; transition: background .3s ease calc(1000ms + var(--i) * 140ms); }
.oga-motion .oga-mf-branch > .oga-node { opacity: 0; transform: translateY(12px); transition: opacity .45s ease calc(1100ms + var(--i) * 140ms), transform .45s ease calc(1100ms + var(--i) * 140ms), background .25s ease, border-color .25s ease; }
.oga-motion .is-in .oga-mf-gauge i { transform: rotate(-30deg); }
.oga-motion .is-in .oga-mf-flow { transform: none; animation: oga-mf-flow 1.6s linear .6s infinite; }
.oga-motion .is-in .oga-mf-valve { background: #6EC98F; }
.oga-motion .is-in .oga-mf-line.is-hot .oga-mf-valve { background: var(--white); }
.oga-motion .is-in .oga-mf-branch > .oga-node { opacity: 1; transform: none; }
@keyframes oga-mf-flow { from { background-position: 0 0; } to { background-position: 36px 0; } }
.oga-mf-gauge i { transform: rotate(-30deg); }
.oga-motion .oga-mf-gauge i { transform: rotate(-150deg); }

/* ------------------------------------------------------------------ */
/* Style 6 · tankfarm (storage & export terminals)                      */
/* ------------------------------------------------------------------ */
.oga-tf { padding: 18px 20px 22px; background: linear-gradient(rgba(143, 179, 224, .05) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(143, 179, 224, .05) 1px, transparent 1px) 0 0 / 28px 28px, #08172A; border: 1px solid var(--navy-700); }
.oga-tf-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; margin-block-end: 14px; }
.oga-tf-title { font-size: 11.5px; font-weight: 700; letter-spacing: 1.5px; color: #8FB3E0; }
.oga-tf-key { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 1px; color: var(--mist); }
.oga-tf-key i { inline-size: 26px; border-block-start: 2px dashed var(--gold); }
.oga-tf-site { display: grid; grid-template-columns: minmax(0, 1fr) 120px; align-items: stretch; }
.oga-tf-bund { position: relative; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); grid-template-rows: auto 52px auto; column-gap: 12px; margin: 0; padding: 22px 18px; list-style: none; border: 2px dashed var(--gold); border-radius: 6px; }
.oga-tf-tank { position: relative; grid-column: var(--col); display: flex; flex-direction: column; }
.oga-tf-tank.is-top { grid-row: 1; }
.oga-tf-tank.is-bottom { grid-row: 3; }
.oga-tf-tag { position: absolute; inset-block-start: -9px; inset-inline-start: 50%; transform: translateX(-50%); z-index: 2; padding: 1px 6px; background: var(--navy-950); border: 1px solid var(--navy-700); font-size: 10px; font-weight: 700; letter-spacing: .8px; color: var(--gold); white-space: nowrap; }
[dir="rtl"] .oga-tf-tag { transform: translateX(50%); }
.oga-tf-stub { position: absolute; inset-inline-start: 50%; inline-size: 6px; margin-inline-start: -3px; block-size: 26px; background: #C9D6E6; }
.oga-tf-tank.is-top .oga-tf-stub { inset-block-end: -26px; }
.oga-tf-tank.is-bottom .oga-tf-stub { inset-block-start: -26px; }
.oga-tf-stub.is-hot { background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.oga-node.is-tank { flex: 1; flex-direction: column; align-items: center; gap: 10px; padding: 10px 6px 12px; text-align: center; border-radius: 4px; transition: background .25s ease; }
.oga-node.is-tank .oga-node-no { position: absolute; inset-block-start: 8px; inset-inline-start: 6px; font-size: 11px; }
.oga-node.is-tank .oga-node-ico { position: relative; inline-size: 108px; block-size: 108px; border-radius: 50%; border: 3px solid #C9D6E6; background: repeating-radial-gradient(circle, transparent 0 13px, rgba(201, 214, 230, .16) 13px 14px), #0E2440; color: var(--white); overflow: hidden; }
.oga-node.is-tank .oga-node-ico::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(212, 161, 46, .55), rgba(165, 0, 0, .5)); transform-origin: bottom; transform: scaleY(.66); }
.oga-node.is-tank .oga-node-ico::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .35); }
.oga-node.is-tank .oga-node-ico .ico { position: relative; z-index: 1; inline-size: 28px; block-size: 28px; }
.oga-node.is-tank .oga-node-body { align-items: center; }
.oga-node.is-tank .oga-node-title { font-size: 15px; }
.oga-node.is-tank .oga-node-text { font-size: 13px; line-height: 1.45; }
.oga-node.is-tank .oga-node-go { display: none; }
a.oga-node.is-tank:is(:hover, :focus-visible), .oga-node.is-tank.is-hot { background: rgba(26, 52, 86, .7); }
a.oga-node.is-tank:is(:hover, :focus-visible) .oga-node-ico, .oga-node.is-tank.is-hot .oga-node-ico { border-color: var(--gold); background: repeating-radial-gradient(circle, transparent 0 13px, rgba(201, 214, 230, .16) 13px 14px), #0E2440; }
.oga-tf-line { position: relative; grid-row: 2; grid-column: 1 / -1; align-self: center; block-size: 12px; margin-inline-end: -84px; border-radius: 6px; background: linear-gradient(180deg, #DCE5EF, #7F95AE 60%, #4F6580); overflow: visible; }
.oga-tf-flow { position: absolute; inset: 4px 0; background: repeating-linear-gradient(90deg, var(--gold) 0 16px, transparent 16px 32px); opacity: .9; }
.oga-tf-line-label { position: absolute; inset-block-start: 50%; inset-inline-start: calc((100% - 72px) / var(--cols)); transform: translate(-50%, -50%); z-index: 1; padding: 3px 8px; background: var(--navy-950); border: 1px solid var(--gold); border-radius: 3px; font-size: 10.5px; font-weight: 700; letter-spacing: 1.2px; color: var(--gold); white-space: nowrap; }
.oga-tf-jetty { position: relative; }
.oga-tf-berth { position: absolute; inset-block: 12% 12%; inset-inline-start: 44px; inline-size: 18px; background: #C9D6E6; border-radius: 2px; }
.oga-tf-ship { position: absolute; inset-block: 6% 6%; inset-inline-start: 66px; inline-size: 40px; background: #10284A; border: 2px solid #36557D; clip-path: polygon(50% 0, 100% 12%, 100% 100%, 0 100%, 0 12%); display: flex; flex-direction: column; align-items: center; justify-content: space-evenly; padding-block: 20px 12px; }
.oga-tf-ship i { inline-size: 22px; block-size: 22px; border-radius: 50%; background: #C9D6E6; opacity: .85; }
.oga-tf-jetty-label { position: absolute; inset-block-end: 0; inset-inline-start: 30px; font-size: 10.5px; font-weight: 700; letter-spacing: 1.2px; color: #8FB3E0; }
.oga-tf-trestle { display: none; }

.oga-motion .oga-node.is-tank .oga-node-ico::before { transform: scaleY(0); transition: transform 1.1s ease calc(600ms + var(--i) * 140ms); }
.oga-motion .oga-tf-tank { opacity: 0; transform: scale(.92); transition: opacity .45s ease calc(200ms + var(--i) * 90ms), transform .45s ease calc(200ms + var(--i) * 90ms); }
.oga-motion .oga-tf-line { clip-path: inset(0 100% 0 0); transition: clip-path 1.2s ease 1.4s; }
[dir="rtl"].oga-motion .oga-tf-line { clip-path: inset(0 0 0 100%); }
.oga-motion .oga-tf-ship { opacity: 0; transform: translateY(30px); transition: opacity .8s ease .4s, transform 1.4s cubic-bezier(.2, .8, .2, 1) .4s; }
.oga-motion .is-in .oga-node.is-tank .oga-node-ico::before { transform: scaleY(.66); }
.oga-motion .is-in .oga-tf-tank { opacity: 1; transform: none; }
.oga-motion .is-in .oga-tf-line { clip-path: inset(-30px -10px -30px -10px); }
.oga-motion .is-in .oga-tf-ship { opacity: 1; transform: none; }
.oga-motion .is-in .oga-tf-flow { animation: oga-tf-flow 1.4s linear 2.6s infinite; }
@keyframes oga-tf-flow { from { background-position: 0 0; } to { background-position: 32px 0; } }
[dir="rtl"] .oga-tf-flow { animation-direction: reverse; }
[dir="rtl"] .oga-tf-line-label { transform: translate(50%, -50%); }

/* ------------------------------------------------------------------ */
/* Style 7 · seachart (offshore support structures)                     */
/* ------------------------------------------------------------------ */
.oga-sc { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: var(--space-5, 32px); align-items: start; }
.oga-sc-chart { margin: 0; padding: 12px; background: #071426; border: 1px solid var(--navy-700); }
.oga-sc-plot { position: relative; }
.oga-sc-chart svg { display: block; inline-size: 100%; block-size: auto; }
.oga-sc-frame { fill: none; stroke: #4F6F96; stroke-width: 2; }
.oga-sc-frame.is-inner { stroke-width: 1; fill: #0A1D36; }
.oga-sc-grid { stroke: rgba(143, 179, 224, .12); stroke-width: 1; }
.oga-sc-tick { font: 600 10px/1 var(--f-mono); fill: #6F8FB6; text-anchor: middle; }
.oga-sc-depth { fill: rgba(78, 160, 220, .06); stroke: rgba(143, 216, 255, .45); stroke-width: 1.2; }
.oga-sc-depth-label { font: italic 600 12px/1 var(--f-mono); fill: #8FD8FF; opacity: .75; }
.oga-sc-land { fill: #2A3F5C; stroke: #8FA6C0; stroke-width: 1.5; }
.oga-sc-land.is-far { fill: #22354F; }
.oga-sc-place { font: 700 12px/1 var(--f-mono); letter-spacing: 1.4px; fill: var(--gold); }
.oga-sc-place.is-end { text-anchor: end; }
.oga-sc-rose circle { fill: none; stroke: #6F8FB6; stroke-width: 1.5; }
.oga-sc-rose circle.is-inner { stroke-dasharray: 2 4; }
.oga-sc-rose path { fill: #4F6F96; }
.oga-sc-rose path.is-n { fill: var(--red); }
.oga-sc-rose text { font: 700 14px/1 var(--f-mono); fill: #C9D6E6; text-anchor: middle; }
.oga-sc-route { fill: none; stroke: var(--gold); stroke-width: 3; stroke-dasharray: 1.2 1; stroke-linecap: round; }
.oga-sc-route-label { font: 700 11px/1 var(--f-mono); letter-spacing: 1.4px; fill: #C9D6E6; }
.oga-sc-port circle { fill: var(--navy-950); stroke: var(--gold); stroke-width: 2; }
.oga-sc-port path { fill: none; stroke: var(--gold); stroke-width: 1.6; }
.oga-sc-rig rect { fill: #C9D6E6; }
.oga-sc-rig path { fill: none; stroke: #C9D6E6; stroke-width: 2.5; }
.oga-sc-mark { position: absolute; inset-inline-start: var(--x); inset-block-start: var(--y); display: grid; place-items: center; inline-size: 28px; block-size: 28px; margin-block-start: -14px; margin-inline-start: -14px; border-radius: 50%; background: #0A1D36; border: 2.5px solid var(--gold); color: var(--white); font-size: 11px; font-weight: 700; transition: transform .25s ease, background .25s ease; z-index: 1; }
.oga-sc-mark::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1.5px solid rgba(212, 161, 46, .5); opacity: 0; }
.oga-sc-mark.is-hot { background: var(--gold); color: var(--navy-950); transform: scale(1.25); }
.oga-sc-caption { margin-block-start: 8px; font-size: 11.5px; letter-spacing: 1px; text-transform: uppercase; color: #8FB3E0; text-align: center; }
.oga-sc-list { border-block-start-color: rgba(212, 161, 46, .45); }
.oga-sc-list > li { border-block-end: 1px solid var(--navy-700); }
.oga-node.is-waypoint .oga-node-no { display: grid; place-items: center; inline-size: 26px; block-size: 26px; border-radius: 50%; border: 2px solid var(--gold); color: var(--white); font-size: 10.5px; }
.oga-node.is-waypoint.is-hot .oga-node-no { background: var(--gold); color: var(--navy-950); }

.oga-motion .oga-sc-route { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 2s cubic-bezier(.3, .6, .3, 1) .4s; }
.oga-motion .oga-sc-depth { opacity: 0; transition: opacity .8s ease calc(var(--i) * 160ms); }
.oga-motion .oga-sc-mark { opacity: 0; transform: scale(.4); transition: opacity .35s ease calc(700ms + var(--i) * 160ms), transform .35s cubic-bezier(.3, 1.7, .5, 1) calc(700ms + var(--i) * 160ms), background .25s ease; }
.oga-motion .is-in .oga-sc-route { stroke-dashoffset: 0; }
.oga-motion .is-in .oga-sc-route { animation: oga-sc-dash 0s linear 2.5s forwards; }
.oga-motion .is-in .oga-sc-depth { opacity: 1; }
.oga-motion .is-in .oga-sc-mark { opacity: 1; transform: none; }
.oga-motion .is-in .oga-sc-mark.is-hot { transform: scale(1.25); }
.oga-motion .is-in .oga-sc-mark::after { animation: oga-sc-ping 3s ease-out calc(2600ms + var(--i) * 300ms) infinite; }
@keyframes oga-sc-dash { to { stroke-dasharray: 1.2 1; } }
@keyframes oga-sc-ping { 0% { opacity: .9; transform: scale(.6); } 60%, 100% { opacity: 0; transform: scale(1.5); } }

/* ------------------------------------------------------------------ */
/* Style 8 · annunciator (utilities & energy infrastructure)            */
/* ------------------------------------------------------------------ */
.oga-an { padding: 16px; background: linear-gradient(180deg, #3A4656, #222B37 60%, #1A222D); border: 1px solid #56657A; border-radius: 6px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 18px 40px rgba(0, 0, 0, .35); }
.oga-an-head, .oga-an-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 4px 6px 12px; }
.oga-an-foot { padding: 12px 6px 2px; justify-content: flex-start; }
.oga-an-name { padding: 4px 10px; background: #0B1118; border: 1px solid #56657A; font-size: 12px; font-weight: 700; letter-spacing: 2px; color: #E8EEF5; }
.oga-an-keys { display: inline-flex; gap: 8px; }
.oga-an-key { padding: 5px 10px; border-radius: 3px; background: linear-gradient(180deg, #4C5A6D, #2C3644); border: 1px solid #6B7B91; box-shadow: 0 2px 0 #0B1118; font-size: 10.5px; font-weight: 700; letter-spacing: 1px; color: #C9D6E6; }
.oga-an-key:first-child { color: var(--gold); }
.oga-an-grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 6px; margin: 0; padding: 6px; list-style: none; background: #0B1118; border: 2px solid #0B1118; box-shadow: inset 0 0 0 1px #56657A; }
.oga-an-cell { --lamp: #6EC98F; position: relative; display: flex; }
.oga-an-cell.is-amber { --lamp: #F2B33D; }
.oga-an-cell.is-white { --lamp: #E8EEF5; }
.oga-an-cell.is-cyan { --lamp: #8FD8FF; }
.oga-an-code { position: absolute; inset-block-start: 10px; inset-inline-end: 12px; z-index: 1; font-size: 13px; font-weight: 700; letter-spacing: 1px; color: var(--lamp); pointer-events: none; }
.oga-node.is-window { flex: 1; flex-direction: column; gap: 8px; min-block-size: 150px; padding: 14px 14px 30px; background: radial-gradient(ellipse at 50% 30%, color-mix(in srgb, var(--lamp) 26%, #101820), color-mix(in srgb, var(--lamp) 10%, #0D141C) 75%); border: 1px solid color-mix(in srgb, var(--lamp) 45%, #0B1118); box-shadow: inset 0 0 22px color-mix(in srgb, var(--lamp) 22%, transparent); transition: background .25s ease, box-shadow .25s ease; }
.oga-node.is-window .oga-node-no { font-size: 11px; color: color-mix(in srgb, var(--lamp) 70%, #FFFFFF); }
.oga-node.is-window .oga-node-title { font-size: 15px; padding-inline-end: 34px; }
.oga-node.is-window .oga-node-text { font-size: 13px; line-height: 1.45; color: #D5DDE7; }
.oga-node.is-window .oga-node-go { position: absolute; inset-block-end: 10px; inset-inline-end: 12px; color: var(--lamp); }
a.oga-node.is-window:is(:hover, :focus-visible), .oga-node.is-window.is-hot { background: radial-gradient(ellipse at 50% 30%, color-mix(in srgb, var(--lamp) 48%, #101820), color-mix(in srgb, var(--lamp) 20%, #0D141C) 80%); box-shadow: inset 0 0 30px color-mix(in srgb, var(--lamp) 45%, transparent), 0 0 18px color-mix(in srgb, var(--lamp) 35%, transparent); }
.oga-an-led { inline-size: 12px; block-size: 12px; border-radius: 50%; background: #6EC98F; box-shadow: 0 0 10px #6EC98F; }
.oga-an-status { font-size: 12px; font-weight: 700; letter-spacing: 2px; color: #6EC98F; }
.oga-an-count { margin-inline-start: auto; font-size: 11.5px; letter-spacing: 1px; color: #8FA6C0; }

.oga-motion .oga-node.is-window { background: #0D141C; box-shadow: none; transition: background .25s ease, box-shadow .25s ease; }
.oga-motion .oga-an-code, .oga-motion .oga-node.is-window .oga-node-body, .oga-motion .oga-node.is-window .oga-node-no { opacity: .35; transition: opacity .3s ease calc(900ms + var(--i) * 130ms); }
.oga-motion .oga-an-led, .oga-motion .oga-an-status { opacity: .25; transition: opacity .4s ease 2.4s; }
.oga-motion .is-in .oga-node.is-window { animation: oga-an-lamp .9s steps(1, end) calc(300ms + var(--i) * 130ms) both; background: radial-gradient(ellipse at 50% 30%, color-mix(in srgb, var(--lamp) 26%, #101820), color-mix(in srgb, var(--lamp) 10%, #0D141C) 75%); box-shadow: inset 0 0 22px color-mix(in srgb, var(--lamp) 22%, transparent); }
.oga-motion .is-in a.oga-node.is-window:is(:hover, :focus-visible), .oga-motion .is-in .oga-node.is-window.is-hot { background: radial-gradient(ellipse at 50% 30%, color-mix(in srgb, var(--lamp) 48%, #101820), color-mix(in srgb, var(--lamp) 20%, #0D141C) 80%); }
.oga-motion .is-in .oga-an-code, .oga-motion .is-in .oga-node.is-window .oga-node-body, .oga-motion .is-in .oga-node.is-window .oga-node-no, .oga-motion .is-in .oga-an-led, .oga-motion .is-in .oga-an-status { opacity: 1; }
.oga-motion .is-in .oga-an-led { animation: oga-an-blink 2.4s ease-in-out 3s infinite; }
@keyframes oga-an-lamp { 0% { filter: brightness(2.2); } 25% { filter: brightness(.4); } 50% { filter: brightness(2); } 75% { filter: brightness(.6); } 100% { filter: none; } }
@keyframes oga-an-blink { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

/* ------------------------------------------------------------------ */
/* Selected projects                                                    */
/* ------------------------------------------------------------------ */
.oga-pj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4, 24px); margin: 0; padding: 0; list-style: none; }
.oga-pj-card.is-feature { grid-column: span 2; grid-row: span 2; }
.oga-pj-grid.is-single .oga-pj-card.is-feature { grid-column: 1 / -1; grid-row: auto; }
.oga-pj-card a { display: flex; flex-direction: column; block-size: 100%; background: var(--white); border: 1px solid var(--steel-200); color: inherit; text-decoration: none; transition: border-color .2s ease, box-shadow .25s ease; }
.oga-pj-card a:is(:hover, :focus-visible) { border-color: var(--navy-900); box-shadow: 0 14px 32px rgba(10, 22, 40, .12); }
.oga-pj-card a:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.oga-pj-img { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--steel-100); }
.oga-pj-card.is-feature .oga-pj-img { aspect-ratio: auto; flex: 1; min-block-size: 320px; }
.oga-pj-img img { inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.oga-pj-card a:is(:hover, :focus-visible) .oga-pj-img img { transform: scale(1.05); }
.oga-pj-img figcaption { position: absolute; inset-block-start: 12px; inset-inline-start: 12px; padding: 4px 10px; background: rgba(6, 17, 31, .82); color: var(--white); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.oga-pj-body { display: flex; flex-direction: column; gap: var(--space-2, 12px); padding: 18px 20px 20px; }
.oga-pj-country { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--red); }
.oga-pj-country .ico { inline-size: 14px; block-size: 14px; }
.lp .lp-sec .oga-pj-body h3 { margin: 0; font-family: var(--f-card-title); font-size: var(--fs-card-title); font-weight: var(--fw-card-title); letter-spacing: var(--tracking-card-title); line-height: 1.15; text-transform: var(--tt-card-title); color: var(--navy-900); }
.oga-pj-card.is-feature .oga-pj-body h3 { font-size: var(--fs-card-title-lg, 24px); }
.lp-sec .oga-pj-body p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.oga-pj-body .lp-dl { margin: 0; }
.oga-pj-body .textlink { margin-block-start: auto; white-space: nowrap; }
.oga-pj-empty { margin-block-start: var(--flow-gap); }
.oga-motion .oga-pj-card { opacity: 0; transform: translateY(20px); transition: opacity .6s ease calc(var(--i) * 90ms), transform .6s ease calc(var(--i) * 90ms); }
.oga-motion .is-in .oga-pj-card { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ */
/* Related applications                                                 */
/* ------------------------------------------------------------------ */
.oga-rel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--space-3, 16px); margin: 0; padding: 0; list-style: none; }
.oga-rel-card { position: relative; display: flex; flex-direction: column; block-size: 100%; min-block-size: 210px; overflow: hidden; background: var(--navy-900); color: var(--white); text-decoration: none; isolation: isolate; }
.oga-rel-img { position: absolute; inset: 0; z-index: -2; }
.oga-rel-img img { inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.oga-rel-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 17, 31, .15) 0%, rgba(6, 17, 31, .92) 75%); transition: background .3s ease; }
.oga-rel-card.no-img { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 14px), var(--navy-900); }
.oga-rel-card:is(:hover, :focus-visible)::after { background: linear-gradient(180deg, rgba(165, 0, 0, .2) 0%, rgba(6, 17, 31, .95) 70%); }
.oga-rel-card:is(:hover, :focus-visible) .oga-rel-img img { transform: scale(1.06); }
.oga-rel-card:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.oga-rel-body { display: flex; flex-direction: column; gap: 8px; margin-block-start: auto; padding: 18px; }
.oga-rel-ico { display: inline-grid; place-items: center; inline-size: 36px; block-size: 36px; background: var(--red); color: var(--white); }
.oga-rel-ico .ico { inline-size: 20px; block-size: 20px; }
.lp .lp-sec .oga-rel-body h3 { margin: 0; font-family: var(--f-card-title); font-size: var(--fs-card-title-sm, 17px); font-weight: var(--fw-card-title); letter-spacing: var(--tracking-card-title); line-height: 1.15; text-transform: var(--tt-card-title); color: var(--white); }
.oga-rel-text { font-size: 13.5px; line-height: 1.45; color: var(--mist); }
.oga-rel-go { color: #FF8A8A; }
[dir="rtl"] .oga-rel-go { transform: scaleX(-1); }
.oga-motion .oga-rel-grid > li { opacity: 0; transform: translateY(16px); transition: opacity .5s ease calc(var(--i) * 60ms), transform .5s ease calc(var(--i) * 60ms); }
.oga-motion .is-in.oga-rel-grid > li { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ */

/* ------------------------------------------------------------------ */
/* Tablets and phones                                                   */
/* ------------------------------------------------------------------ */
@media (max-width: 1099px) {
  .oga-pj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oga-pj-card.is-feature { grid-column: 1 / -1; grid-row: auto; }
  .oga-pp-unit .oga-node-text { display: none; }
  .oga-fc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oga-lc-holds { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .oga-mf-branches { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 0; }
  .oga-node.is-tank .oga-node-ico { inline-size: 88px; block-size: 88px; }
  .oga-node.is-tank .oga-node-text { display: none; }
  .oga-sc { grid-template-columns: minmax(0, 1fr); }
  .oga-sc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-4, 24px); }
  .oga-an-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  /* Plot plan: the rack runs down the inline-start side, units beside it */
  .oga-pp { padding: 16px; }
  .oga-pp-units { display: flex; flex-direction: column; gap: 12px; position: relative; padding-inline-start: 40px; }
  .oga-pp-rack { position: absolute; inset-block: 0; inset-inline-start: 0; inline-size: 26px; flex-direction: row; gap: 4px; padding: 0 3px; border-block: 0; border-inline: 3px solid #C9D6E6; background: none; }
  .oga-pp-line { inline-size: 5px; block-size: auto; transform-origin: top; }
  .oga-pp-rack-label, .oga-pp-flow { display: none; }
  .oga-pp-unit.is-top, .oga-pp-unit.is-bottom { padding: 0; }
  .oga-pp-unit .oga-node-text { display: block; }
  .oga-pp-unit.is-bottom .oga-pp-tag, .oga-pp-unit.is-top .oga-pp-tag { inset-block-start: -8px; }
  .oga-pp-stub { inset-block: 50% auto; inset-inline-start: -14px; margin: -3px 0 0; inline-size: 14px; block-size: 6px; background: repeating-linear-gradient(90deg, #C9D6E6 0 4px, transparent 4px 7px); }
  .oga-pp-unit.is-top .oga-pp-stub, .oga-pp-unit.is-bottom .oga-pp-stub { inset-block: 50% auto; }
  .oga-pp-unit a.oga-node:is(:hover, :focus-visible), .oga-pp-unit .oga-node.is-hot { transform: none !important; }
  .oga-motion .oga-pp-line { transform: scaleY(0); }
  .oga-motion .oga-pp-unit.is-top, .oga-motion .oga-pp-unit.is-bottom { transform: translateX(-12px); transition-delay: calc(300ms + var(--i) * 70ms); }
  [dir="rtl"].oga-motion .oga-pp-unit.is-top, [dir="rtl"].oga-motion .oga-pp-unit.is-bottom { transform: translateX(12px); }
  .oga-motion .is-in .oga-pp-unit.is-top, .oga-motion .is-in .oga-pp-unit.is-bottom { transform: none; }
  /* Fractionator: the column runs down the inline-start side */
  .oga-fr { padding: 14px 12px; }
  .oga-fr-units { display: flex; flex-direction: column; gap: 12px; position: relative; padding-inline-start: 52px; }
  .oga-fr-col { position: absolute; inset-block: 0; inset-inline-start: 0; inline-size: 30px; margin: 0; border-radius: 15px; }
  .oga-fr-col-label { font-size: 11px; letter-spacing: 3px; }
  .oga-fr-draw.is-end { padding-block-start: 0; }
  .oga-fr-draw.is-start .oga-fr-pipe, .oga-fr-draw.is-end .oga-fr-pipe { inset-inline-start: -22px; inset-inline-end: auto; inline-size: 22px; margin-block-start: -3px; }
  .oga-fr-draw.is-start .oga-node.is-draw { border-inline-end: 1px solid var(--navy-700); border-inline-start: 3px solid var(--tc); }
  .oga-motion .oga-fr-draw.is-start .oga-fr-pipe { transform-origin: left; }
  [dir="rtl"].oga-motion .oga-fr-draw.is-start .oga-fr-pipe { transform-origin: right; }
  .oga-fr-cap { justify-content: flex-start; text-align: start; }
  /* Manifold: the header runs down the inline-start side of its branches */
  .oga-mf { padding: 14px 12px; }
  .oga-mf-bank { position: relative; padding-inline-start: 52px; }
  .oga-mf-header { position: absolute; inset-block: 0; inset-inline-start: 0; flex-direction: column; block-size: auto; inline-size: 44px; }
  .oga-mf-pipe { inline-size: 16px; block-size: auto; margin-inline-start: 0; margin-block-start: -2px; border-radius: 0 0 8px 8px; background: linear-gradient(90deg, #DCE5EF, #7F95AE 60%, #4F6580); }
  [dir="rtl"] .oga-mf-pipe { border-radius: 0 0 8px 8px; }
  .oga-mf-flow { inset: 0 5px; background: repeating-linear-gradient(180deg, var(--mc) 0 18px, transparent 18px 36px); }
  .oga-mf-cap { inline-size: 26px; block-size: 10px; }
  .oga-mf-tag { position: static; transform: none; writing-mode: vertical-rl; margin-block-start: 8px; display: none; }
  .oga-mf-branches { display: flex; flex-direction: column; gap: 12px; padding: 0; }
  .oga-mf-branch { flex-direction: row; align-items: center; }
  .oga-mf-line { align-self: center; inline-size: 30px; block-size: 8px; margin-block: 0; margin-inline: -22px 0; background: linear-gradient(180deg, #DCE5EF, #7F95AE 60%, #4F6580); flex: none; }
  .oga-mf-valve { inset-block-start: 50%; inset-inline-start: 50%; margin-block-start: -10px; inline-size: 18px; clip-path: polygon(0 0, 100% 100%, 100% 0, 0 100%); margin-inline-start: -9px; }
  .oga-mf-line b { display: none; }
  @keyframes oga-mf-flow { from { background-position: 0 0; } to { background-position: 0 36px; } }
  /* Tank farm: tanks in a plain grid inside the bund, no line or jetty */
  .oga-tf { padding: 14px 12px; }
  .oga-tf-site { display: block; }
  .oga-tf-bund { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; row-gap: 18px; padding: 18px 10px; }
  .oga-tf-tank.is-top, .oga-tf-tank.is-bottom { grid-column: auto; grid-row: auto; }
  .oga-tf-line, .oga-tf-jetty, .oga-tf-stub { display: none; }
  .oga-node.is-tank .oga-node-text { display: block; }
  /* Fire curve: smaller marks */
  .oga-fc-chart { padding: 10px 8px 12px; }
  .oga-lc-ship { padding: 10px 8px; }
  .oga-lc-mark { inline-size: 22px; block-size: 22px; margin-block-start: -11px; margin-inline-start: -11px; font-size: 9.5px; border-width: 2px; }
  .oga-fc-mark { inline-size: 22px; block-size: 22px; margin-block-start: -11px; margin-inline-start: -11px; font-size: 9.5px; border-width: 2px; }
}
@media (max-width: 719px) {
  .oga-eco-stage { margin-block-start: var(--space-5, 32px); }
  .oga-pj-grid { grid-template-columns: minmax(0, 1fr); }
  .oga-pj-card.is-feature .oga-pj-img { min-block-size: 0; aspect-ratio: 4 / 3; flex: none; }
  /* Related applications: one row that swipes sideways */
  .oga-rel-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-block-end: 8px; margin-inline: calc(-1 * var(--gutter, 16px)); padding-inline: var(--gutter, 16px); scrollbar-width: thin; }
  .oga-rel-grid > li { flex: 0 0 72%; scroll-snap-align: start; }
  .oga-pp-north { display: none; }
  .oga-fc-list { grid-template-columns: minmax(0, 1fr); }
  .oga-fc-band-label, .oga-fc-critical-label { display: none; }
  .oga-fc-mark { display: none; }
  .oga-lc-mark, .oga-lc-tank-no { display: none; }
  .oga-sc-list { grid-template-columns: minmax(0, 1fr); }
  .oga-an { padding: 10px; }
  .oga-an-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 4px; gap: 4px; }
  .oga-node.is-window { min-block-size: 0; padding: 12px 10px 28px; }
  .oga-node.is-window .oga-node-text { display: none; }
  .oga-node.is-window .oga-node-title { font-size: 13.5px; padding-inline-end: 26px; }
  .oga-an-keys { display: none; }
  .oga-sc-chart { padding: 6px; }
  .oga-sc-mark { inline-size: 20px; block-size: 20px; margin-block-start: -10px; margin-inline-start: -10px; font-size: 9px; border-width: 2px; }
  .oga-sc-mark::after { display: none; }
  .oga-lc-holds { grid-template-columns: minmax(0, 1fr); }
  .oga-tf-bund { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 8px; }
  .oga-node.is-tank .oga-node-ico { inline-size: 76px; block-size: 76px; }
  .oga-node.is-tank .oga-node-text { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .oga-node.is-row, .oga-node-ico, .oga-node-go, .oga-pj-img img, .oga-pj-card a, .oga-rel-img img, .oga-rel-card::after,
  .oga-pp-unit .oga-node, .oga-pp-stub, .oga-fc-mark, .oga-node.is-tile, .oga-lc-mark, .oga-node.is-cargo, .oga-fr-pipe, .oga-node.is-draw, .oga-mf-valve, .oga-mf-gauge i, .oga-node.is-branch, .oga-node.is-tank, .oga-sc-mark, .oga-node.is-window { transition: none; }
}
