/* Intel Focus feature report: brutalist print layer. Neo Sans Pro only. Scoped under .ifx. */

@font-face { font-family: "Neo Sans Pro"; src: url(fonts/NeoSansProLight.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Neo Sans Pro"; src: url(fonts/NeoSansProRegular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Neo Sans Pro"; src: url(fonts/NeoSansProItalic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Neo Sans Pro"; src: url(fonts/NeoSansProMedium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Neo Sans Pro"; src: url(fonts/NeoSansProBold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Neo Sans Pro"; src: url(fonts/NeoSansProBlack.woff2) format("woff2"); font-weight: 900; font-display: swap; }

:root {
  /* off-white and off-black grounds in both modes (user, 14 Oct 2026) */
  --ifx-paper: #f4f2ee;
  --ifx-ink: #141414;
  --ifx-mute: #555555;
  --ifx-faint: #8a8a8a;
  --ifx-red: #AA2726;
  --ifx-red-text: #AA2726;
  --ifx-blue: #5271FF;
  --ifx-blue-fill: #3D53E0;
  --ifx-blue-text: #2438C8;
  --ifx-band: #141414;
  --ifx-band-ink: #f4f2ee;
  --ifx-top: 0px;
  --ifx-gut: clamp(16px, 3.2vw, 44px);
  --ifx-b: 3px;
  --ifx-font: "Neo Sans Pro", -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="dark"] {
    --ifx-paper: #141414; --ifx-ink: #edebe6; --ifx-mute: #b0aea9; --ifx-faint: #8a8884;
    --ifx-red-text: #E5524F; --ifx-blue-text: #94A6FF; --ifx-band: #edebe6; --ifx-band-ink: #141414;
  }
}
:root[data-theme="dark"] {
  --ifx-paper: #141414; --ifx-ink: #edebe6; --ifx-mute: #b0aea9; --ifx-faint: #8a8884;
  --ifx-red-text: #E5524F; --ifx-blue-text: #94A6FF; --ifx-band: #edebe6; --ifx-band-ink: #141414;
}

html { background: var(--ifx-paper); }
body { margin: 0; background: var(--ifx-paper); color: var(--ifx-ink); }
.ifx, .ifx * { box-sizing: border-box; }
.ifx { font-family: var(--ifx-font); font-size: 18px; line-height: 1.55; color: var(--ifx-ink); background: var(--ifx-paper); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; overflow-x: clip; }
.ifx a { color: var(--ifx-blue-text); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.ifx a:hover { text-decoration-thickness: 3px; }
.ifx :focus-visible { outline: 3px solid var(--ifx-blue); outline-offset: 2px; }
.ifx p { margin: 0 0 1em; }
.ifx h1, .ifx h2, .ifx h3, .ifx h4 { font-family: var(--ifx-font); margin: 0; }
.ifx-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- prototype site bar (not shipped: the theme provides its own header) ---------- */
.ifx-proto-bar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 20px; height: 56px; padding: 0 var(--ifx-gut); background: var(--ifx-paper); border-bottom: var(--ifx-b) solid var(--ifx-ink); font: 500 14px/1 var(--ifx-font); }
.ifx-proto-bar b { font-weight: 900; font-size: 20px; letter-spacing: -0.02em; }
.ifx-proto-bar span { color: var(--ifx-mute); }
.ifx-proto-bar button { margin-left: auto; font: 500 14px/1 var(--ifx-font); background: none; color: var(--ifx-ink); border: 2px solid var(--ifx-ink); padding: 8px 12px; cursor: pointer; }

/* ---------- cover ---------- */
.ifx-cover { border-bottom: var(--ifx-b) solid var(--ifx-ink); }
.ifx-kick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: var(--ifx-b) solid var(--ifx-ink); font-size: 13px; font-weight: 500; }
.ifx-kick > * { padding: 10px var(--ifx-gut); border-right: 2px solid var(--ifx-ink); }
.ifx-kick > *:last-child { border-right: 0; }
.ifx-kick .is-hot { background: var(--ifx-band); color: var(--ifx-band-ink); }
.ifx-h1 { font-weight: 900; font-size: clamp(44px, 7.6vw, 136px); line-height: 0.88; max-width: 15ch; letter-spacing: -0.055em; padding: clamp(18px, 3vw, 40px) var(--ifx-gut) clamp(14px, 2vw, 28px); margin: 0; overflow-wrap: anywhere; }
.ifx-h1 i { font-style: normal; color: var(--ifx-red-text); }
.ifx-cover-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border-top: var(--ifx-b) solid var(--ifx-ink); }
.ifx-cover-copy { padding: clamp(20px, 3vw, 40px) var(--ifx-gut); border-right: var(--ifx-b) solid var(--ifx-ink); display: flex; flex-direction: column; gap: 28px; }
.ifx-dek { font-size: clamp(20px, 1.9vw, 26px); line-height: 1.35; font-weight: 400; margin: 0; }
/* key facts: plain-language tiles under the dek */
.ifx-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 2px solid var(--ifx-ink); margin-top: 6px; }
.ifx-fact { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 13px; border-bottom: 2px solid var(--ifx-ink); min-width: 0; }
.ifx-fact:nth-child(2) { border-right: 2px solid var(--ifx-ink); }
.ifx-fact.is-pin.is-red { border-right: 2px solid var(--ifx-ink); }
.ifx-fact.is-wide { grid-column: 1 / -1; }
.ifx-fact:last-child { border-bottom: 0; }
.ifx-fact .l { font-size: 12px; font-weight: 700; letter-spacing: 0.02em; color: var(--ifx-mute); }
.ifx-fact .v { font-size: 16px; font-weight: 500; line-height: 1.35; }
.ifx-fact .c { font-size: clamp(17px, 1.6vw, 21px); font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.15; }
.ifx-fact .s { font-size: 13px; color: var(--ifx-mute); line-height: 1.3; }
.ifx-fact.is-pin { border-top: 6px solid; }
.ifx-fact.is-pin.is-red { border-top-color: var(--ifx-red); }
.ifx-fact.is-pin.is-red .c { color: var(--ifx-red-text); }
.ifx-fact.is-pin.is-blue { border-top-color: var(--ifx-blue); }
.ifx-fact.is-pin.is-blue .c { color: var(--ifx-blue-text); }
.ifx-fact.is-credit { flex-direction: row; flex-wrap: wrap; gap: 10px 40px; background: var(--ifx-band); color: var(--ifx-band-ink); }
.ifx-fact.is-credit > span { display: flex; flex-direction: column; gap: 3px; }
.ifx-fact.is-credit .l { color: inherit; opacity: 0.72; }
@media (max-width: 560px) { .ifx-facts { grid-template-columns: 1fr; } .ifx-fact { border-right: 0 !important; } }
.ifx-meta { display: grid; grid-template-columns: max-content 1fr; margin: 0; border-top: 2px solid var(--ifx-ink); font-size: 14px; }
.ifx-meta dt, .ifx-meta dd { margin: 0; padding: 8px 0; border-bottom: 1px solid var(--ifx-ink); }
.ifx-meta dt { font-weight: 500; color: var(--ifx-mute); padding-right: 18px; }
.ifx-meta dd { font-weight: 500; }
.ifx-meta .is-red { color: var(--ifx-red-text); }
.ifx-meta .is-blue { color: var(--ifx-blue-text); }
.ifx-cover-plate { position: relative; min-height: min(78vh, 760px); }
.ifx-coord { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 28px; padding: 14px var(--ifx-gut) 18px; background: var(--ifx-band); color: var(--ifx-band-ink); border-top: var(--ifx-b) solid var(--ifx-ink); }
.ifx-coord strong { font-weight: 900; font-size: clamp(38px, 8.2vw, 148px); line-height: 0.95; letter-spacing: -0.045em; }
.ifx-coord strong i { font-style: normal; color: var(--ifx-red); }
.ifx-coord span { font-size: 14px; font-weight: 500; }

/* ---------- 3D plates ---------- */
.ifx-plate { position: relative; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ifx-plate-canvas { position: absolute; left: 0; top: 0; display: block; }
.ifx-plate-labels { position: absolute; left: 0; top: 0; pointer-events: none; }
.ifx-plate-note { position: absolute; left: 12px; bottom: 12px; z-index: 2; max-width: 34ch; font-size: 12px; font-weight: 500; line-height: 1.35; background: var(--ifx-paper); border: 2px solid var(--ifx-ink); padding: 6px 9px; }
.ifx-plate-fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; font-size: 14px; color: var(--ifx-mute); }
.ifx-tag { position: absolute; left: 0; top: 0; transition: opacity 0.25s; will-change: transform; }
.ifx-tag-in { position: absolute; left: -2px; bottom: 16px; white-space: nowrap; background: #0a0a0a; color: #fff; padding: 5px 8px 6px; font-size: 13px; font-weight: 500; line-height: 1.15; }
.ifx-tag-in::after { content: ""; position: absolute; left: 0; top: 100%; width: 2px; height: 16px; background: #0a0a0a; }
.ifx-tag-in b { display: block; font-weight: 700; }
.ifx-tag-in span { display: block; font-size: 12px; opacity: 0.86; }
.ifx-tag.is-red .ifx-tag-in, .ifx-tag.is-red .ifx-tag-in::after { background: #AA2726; }
.ifx-tag.is-blue .ifx-tag-in, .ifx-tag.is-blue .ifx-tag-in::after { background: #3D53E0; }
.ifx-tag.is-quiet .ifx-tag-in { background: #fff; color: #0a0a0a; border: 2px solid #0a0a0a; bottom: 6px; }
.ifx-tag.is-quiet .ifx-tag-in::after { display: none; }
.ifx-tag.is-time .ifx-tag-in { bottom: 4px; left: 0; translate: -50% 0; padding: 2px 5px; font-size: 12px; }
.ifx-tag.is-time .ifx-tag-in::after { display: none; }
.ifx-tag.is-axis .ifx-tag-in { bottom: auto; top: 4px; background: none; color: #0a0a0a; font-weight: 700; }
:root[data-theme="dark"] .ifx-tag.is-axis .ifx-tag-in { color: #f2f2f2; }
@media (prefers-color-scheme: dark) { :root[data-theme="dark"] .ifx-tag.is-axis .ifx-tag-in { color: #f2f2f2; } }
.ifx-north { position: absolute; left: 14px; top: 14px; width: 34px; height: 34px; border: 2px solid var(--ifx-ink); background: var(--ifx-paper); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.ifx-north::before { content: ""; position: absolute; top: 3px; left: 50%; width: 2px; height: 9px; margin-left: -1px; background: var(--ifx-red); }
.ifx-north span { margin-top: 6px; }

/* ---------- indexes: the analysts' file sits behind one button at the end of the report ---------- */
.ifx-index-cta { padding: clamp(28px, 4vw, 56px) var(--ifx-gut); border-top: var(--ifx-b) solid var(--ifx-ink); }
.ifx-index-btn { appearance: none; width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; align-items: end; text-align: left; cursor: pointer; font-family: var(--ifx-font); background: var(--ifx-band); color: var(--ifx-band-ink); border: 0; padding: clamp(20px, 3vw, 36px) clamp(18px, 3vw, 40px); }
.ifx-index-btn .t { font-weight: 900; font-size: clamp(40px, 6vw, 96px); line-height: 0.9; letter-spacing: -0.045em; }
.ifx-index-btn .s { grid-column: 1; font-size: 15px; font-weight: 500; opacity: 0.8; }
.ifx-index-btn .a { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: clamp(36px, 5vw, 80px); font-weight: 900; transition: transform 0.2s; }
.ifx-index-btn:hover .a, .ifx-index-btn:focus-visible .a { transform: translateX(8px); }
.ifx-index-btn:focus-visible, .ifx-back-btn:focus-visible { outline: 3px solid var(--ifx-blue); outline-offset: 3px; }
.ifx-back { padding: 14px var(--ifx-gut); border-bottom: 2px solid var(--ifx-ink); }
.ifx-back-btn { appearance: none; cursor: pointer; font: 700 15px/1 var(--ifx-font); background: none; color: var(--ifx-ink); border: 2px solid var(--ifx-ink); padding: 10px 14px; }
.ifx-back-btn::before { content: "\2190\00a0"; }
.ifx-back-btn:hover { background: var(--ifx-ink); color: var(--ifx-paper); }
/* ---------- tabs (retired) ---------- */
.ifx-tabs { position: sticky; top: var(--ifx-top); z-index: 30; display: grid; grid-template-columns: 1fr 1fr; background: var(--ifx-paper); border-bottom: var(--ifx-b) solid var(--ifx-ink); }
.ifx-tab { appearance: none; border: 0; border-right: var(--ifx-b) solid var(--ifx-ink); background: var(--ifx-paper); color: var(--ifx-ink); text-align: left; padding: 12px var(--ifx-gut) 13px; cursor: pointer; font-family: var(--ifx-font); display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: baseline; }
.ifx-tab:last-child { border-right: 0; }
.ifx-tab .n { grid-row: span 2; font-weight: 900; font-size: clamp(28px, 3.6vw, 48px); line-height: 0.9; letter-spacing: -0.04em; }
.ifx-tab .t { font-weight: 700; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.1; }
.ifx-tab .s { font-weight: 400; font-size: 13px; color: var(--ifx-mute); }
.ifx-tab[aria-selected="true"] { background: var(--ifx-band); color: var(--ifx-band-ink); }
.ifx-tab[aria-selected="true"] .s { color: inherit; opacity: 0.8; }
.ifx-tab:not([aria-selected="true"]):hover { background: repeating-linear-gradient(-45deg, transparent 0 6px, color-mix(in srgb, var(--ifx-ink) 10%, transparent) 6px 8px); }

/* ---------- section heads ---------- */
.ifx-sh { display: grid; grid-template-columns: 1fr; gap: 0 clamp(16px, 3vw, 44px); align-items: end; background: var(--ifx-band); color: var(--ifx-band-ink); padding: clamp(22px, 4vw, 56px) var(--ifx-gut) clamp(18px, 2.6vw, 30px); border-bottom: var(--ifx-b) solid var(--ifx-ink); scroll-margin-top: calc(var(--ifx-top) + 80px); }
.ifx-sh .n { font-weight: 900; font-size: clamp(76px, 13vw, 210px); line-height: 0.74; letter-spacing: -0.06em; }
.ifx-sh h2 { font-weight: 900; font-size: clamp(38px, 6.4vw, 104px); line-height: 0.86; letter-spacing: -0.045em; }
.ifx-sh p { grid-column: 1; margin: 14px 0 0; font-size: 15px; font-weight: 500; max-width: 60ch; opacity: 0.85; }

/* ---------- prose ---------- */
.ifx-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 66ch) minmax(0, 1fr); padding: clamp(32px, 5vw, 72px) var(--ifx-gut); border-bottom: var(--ifx-b) solid var(--ifx-ink); }
.ifx-body > * { grid-column: 2; }
.ifx-body.is-wide > .ifx-wide { grid-column: 1 / -1; }
.ifx-lede { font-size: clamp(21px, 2vw, 27px); line-height: 1.38; font-weight: 400; }
.ifx-h3 { font-weight: 900; font-size: clamp(26px, 2.6vw, 36px); line-height: 1; letter-spacing: -0.03em; margin: 1.6em 0 0.6em !important; }
.ifx-h3:first-child { margin-top: 0 !important; }
.ifx-note { font-size: 14px; color: var(--ifx-mute); border-left: var(--ifx-b) solid var(--ifx-ink); padding-left: 14px; }
.ifx-quote { margin: 0 0 1.2em; padding: 18px 22px; border: var(--ifx-b) solid var(--ifx-ink); font-size: clamp(21px, 2vw, 28px); line-height: 1.3; font-weight: 500; }
.ifx-quote .ur { display: inline-block; font-family: var(--ifx-font); direction: rtl; }
.ifx-quote cite { display: block; margin-top: 10px; font-size: 13px; font-style: normal; color: var(--ifx-mute); font-weight: 500; }
.ifx ul.ifx-list { margin: 0 0 1.2em; padding: 0; list-style: none; border-top: 2px solid var(--ifx-ink); }
.ifx ul.ifx-list li { padding: 10px 0 10px 28px; border-bottom: 1px solid var(--ifx-ink); position: relative; }
.ifx ul.ifx-list li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 10px; height: 10px; background: var(--ifx-ink); }

/* ---------- status ladder ---------- */
.ifx-st { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.ifx-st i { display: inline-grid; grid-template-columns: repeat(4, 9px); gap: 2px; }
.ifx-st i b { width: 9px; height: 9px; border: 1.5px solid currentColor; }
.ifx-st[data-l="4"] i b:nth-child(-n+4), .ifx-st[data-l="3"] i b:nth-child(-n+3), .ifx-st[data-l="2"] i b:nth-child(-n+2), .ifx-st[data-l="1"] i b:nth-child(-n+1) { background: currentColor; }
.ifx-st[data-l="c"] i b { background: repeating-linear-gradient(-45deg, currentColor 0 1.5px, transparent 1.5px 3.5px); }
.ifx-st[data-l="0"] { color: var(--ifx-red-text); }

/* ---------- claim register ---------- */
.ifx-reg-wrap { grid-column: 1 / -1 !important; margin-top: 32px; }
.ifx-reg-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 32px; margin-bottom: 14px; }
.ifx-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.ifx-reg { width: 100%; border-collapse: collapse; border: var(--ifx-b) solid var(--ifx-ink); font-size: 16px; }
.ifx-reg th { text-align: left; font-size: 13px; font-weight: 500; background: var(--ifx-band); color: var(--ifx-band-ink); padding: 10px 14px; }
.ifx-reg td { vertical-align: top; padding: 14px; border-top: 2px solid var(--ifx-ink); }
.ifx-reg td:first-child { width: 3.4em; font-weight: 900; font-size: 22px; line-height: 1; }
.ifx-reg td.c { font-weight: 700; width: 42%; }
.ifx-reg td.b { color: var(--ifx-mute); font-size: 15px; }
.ifx-reg tr:hover td { background: color-mix(in srgb, var(--ifx-ink) 5%, transparent); }

/* ---------- scrollytelling ---------- */
.ifx-scrolly { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border-bottom: var(--ifx-b) solid var(--ifx-ink); }
.ifx-steps { border-right: var(--ifx-b) solid var(--ifx-ink); counter-reset: step; }
.ifx-step { min-height: 88vh; padding: clamp(24px, 3vw, 44px) var(--ifx-gut); border-bottom: 2px solid var(--ifx-ink); display: flex; flex-direction: column; justify-content: center; gap: 14px; transition: background-color 0.3s; }
.ifx-step:last-child { border-bottom: 0; }
.ifx-step h3 { font-weight: 900; font-size: clamp(30px, 3.2vw, 46px); line-height: 0.95; letter-spacing: -0.035em; }
.ifx-step .k { font-size: 13px; font-weight: 700; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.ifx-step .k .ix { background: var(--ifx-band); color: var(--ifx-band-ink); padding: 2px 7px; }
.ifx-step p { margin: 0; }
.ifx-step.is-on .k .ix { background: var(--ifx-red); color: #fff; }
.ifx-stage { position: sticky; top: calc(var(--ifx-top) + var(--ifx-tabs-h, 64px)); height: calc(100vh - var(--ifx-top) - var(--ifx-tabs-h, 64px)); height: calc(100svh - var(--ifx-top) - var(--ifx-tabs-h, 64px)); }
.ifx-stage .ifx-plate { position: absolute; inset: 0; }
.ifx-stage-cap { position: absolute; right: 12px; top: 12px; z-index: 2; font-size: 12px; font-weight: 700; background: var(--ifx-band); color: var(--ifx-band-ink); padding: 4px 8px; }

/* ---------- evidence ---------- */
.ifx-ev-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 0; }
.ifx-ev { flex: var(--ar) 1 calc(var(--ar) * 120px); margin: 0; min-width: 0; border: 2px solid var(--ifx-ink); background: var(--ifx-ink); position: relative; }
.ifx-ev button { all: unset; display: block; cursor: zoom-in; width: 100%; }
.ifx-ev img { display: block; width: 100%; height: auto; aspect-ratio: var(--ar); object-fit: cover; }
.ifx-ev figcaption { background: var(--ifx-paper); color: var(--ifx-ink); font-size: 12px; font-weight: 500; line-height: 1.3; padding: 6px 7px 7px; border-top: 2px solid var(--ifx-ink); }
.ifx-tc { display: inline-block; background: var(--ifx-band); color: var(--ifx-band-ink); font-weight: 700; padding: 1px 5px; margin-right: 6px; }
.ifx-ev .q { position: absolute; top: 6px; right: 6px; background: var(--ifx-red); color: #fff; font-weight: 900; font-size: 13px; width: 22px; height: 22px; display: grid; place-items: center; }
.ifx-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ifx-pair .ifx-ev { flex: none; }
.ifx-pair .lbl { font-size: 12px; font-weight: 700; margin-bottom: 4px; }

/* ---------- Kazim strip ---------- */
.ifx-strip-wrap { padding: clamp(28px, 4vw, 56px) var(--ifx-gut); border-bottom: var(--ifx-b) solid var(--ifx-ink); }
.ifx-strip-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; align-items: end; margin-bottom: 16px; }
.ifx-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 0; border-top: var(--ifx-b) solid var(--ifx-ink); border-left: var(--ifx-b) solid var(--ifx-ink); }
.ifx-strip figure { margin: 0; border-right: var(--ifx-b) solid var(--ifx-ink); border-bottom: var(--ifx-b) solid var(--ifx-ink); min-width: 0; }
.ifx-strip button { all: unset; display: block; cursor: zoom-in; width: 100%; }
.ifx-strip img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: #222; }
.ifx-strip figcaption { padding: 6px 7px 8px; font-size: 12px; font-weight: 500; border-top: 2px solid var(--ifx-ink); line-height: 1.25; }
.ifx-strip figcaption b { display: block; font-size: 15px; font-weight: 900; }
.ifx-strip .look { display: inline-flex; align-items: center; gap: 5px; }
.ifx-strip .look::before { content: ""; width: 10px; height: 10px; border: 2px solid var(--ifx-ink); }
.ifx-strip .look.cap::before { background: var(--ifx-blue); border-color: var(--ifx-blue); }
.ifx-strip .look.turban::before { background: var(--ifx-red); border-color: var(--ifx-red); }

/* ---------- big figures ---------- */
.ifx-big { display: grid; grid-template-columns: auto 1fr; gap: 0 clamp(18px, 3vw, 44px); align-items: center; padding: clamp(28px, 4vw, 56px) var(--ifx-gut); border-bottom: var(--ifx-b) solid var(--ifx-ink); }
.ifx-big .num { font-weight: 900; font-size: clamp(96px, 17vw, 300px); line-height: 0.78; letter-spacing: -0.07em; }
.ifx-big .num sup { font-size: 0.42em; vertical-align: top; position: relative; top: 0.08em; letter-spacing: 0; }
.ifx-big p { max-width: 54ch; }
.ifx-btn { display: inline-flex; align-items: center; gap: 10px; font: 700 15px/1 var(--ifx-font); background: var(--ifx-blue-fill); color: #fff !important; text-decoration: none !important; padding: 13px 16px; border: 0; cursor: pointer; }
.ifx-btn:hover { background: #2f43c9; }

details.ifx-log-a11y { margin-top: 18px; border: 2px solid var(--ifx-ink); }
details.ifx-log-a11y summary { cursor: pointer; padding: 10px 14px; font-weight: 700; font-size: 15px; }
details.ifx-log-a11y dl { margin: 0; padding: 0 14px 14px; display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; font-size: 14px; }
details.ifx-log-a11y dt { font-weight: 700; }
details.ifx-log-a11y dd { margin: 0; }

/* ---------- casualties ---------- */
.ifx-cas { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border-bottom: var(--ifx-b) solid var(--ifx-ink); }
.ifx-cas .num { padding: clamp(28px, 4vw, 56px) var(--ifx-gut); border-right: var(--ifx-b) solid var(--ifx-ink); font-weight: 900; font-size: clamp(110px, 18vw, 300px); line-height: 0.8; letter-spacing: -0.07em; }
.ifx-cas .num small { display: block; font-size: 15px; font-weight: 700; letter-spacing: 0; margin-top: 18px; line-height: 1.3; }
.ifx-cas .txt { padding: clamp(28px, 4vw, 56px) var(--ifx-gut); }
.ifx-withheld { display: grid; place-items: center; text-align: center; min-height: 120px; padding: 12px; color: #fff; background: repeating-linear-gradient(-45deg, #0a0a0a 0 10px, #262626 10px 12px); font-size: 13px; font-weight: 700; line-height: 1.3; border: 2px solid var(--ifx-ink); }

/* ---------- sources ---------- */
.ifx-src { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ifx-ink); }
.ifx-src li { display: grid; grid-template-columns: 11em 1fr; gap: 4px 18px; padding: 10px 0; border-bottom: 1px solid var(--ifx-ink); font-size: 15px; }
.ifx-src li > span:first-child { font-weight: 700; }
.ifx-byline { font-size: 15px; }
.ifx-byline strong { font-weight: 700; }

/* ---------- analyst file ---------- */
.ifx-af-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border-bottom: var(--ifx-b) solid var(--ifx-ink); }
.ifx-af-intro > div { padding: clamp(28px, 4vw, 56px) var(--ifx-gut); }
.ifx-af-intro > div + div { border-left: var(--ifx-b) solid var(--ifx-ink); background: color-mix(in srgb, var(--ifx-ink) 4%, transparent); }
.ifx-af-intro h2 { font-weight: 900; font-size: clamp(48px, 8vw, 132px); line-height: 0.84; letter-spacing: -0.05em; margin-bottom: 22px !important; }
.ifx-af-toc { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ifx-ink); }
.ifx-af-toc li { border-bottom: 1px solid var(--ifx-ink); }
.ifx-af-toc a { display: grid; grid-template-columns: 2.4em 1fr auto; gap: 10px; padding: 10px 0; color: var(--ifx-ink) !important; text-decoration: none !important; font-weight: 700; }
.ifx-af-toc a span:last-child { font-weight: 500; color: var(--ifx-mute); font-size: 14px; }
.ifx-af-toc a:hover span:nth-child(2) { text-decoration: underline; text-decoration-thickness: 2px; }
.ifx-af-sec { border-bottom: var(--ifx-b) solid var(--ifx-ink); }
.ifx-af-sh { display: grid; grid-template-columns: auto 1fr auto; gap: 6px 22px; align-items: end; padding: 22px var(--ifx-gut) 16px; border-bottom: var(--ifx-b) solid var(--ifx-ink); scroll-margin-top: calc(var(--ifx-top) + 90px); }
.ifx-af-sh .n { font-weight: 900; font-size: clamp(48px, 6vw, 92px); line-height: 0.8; letter-spacing: -0.05em; }
.ifx-af-sh h3 { font-weight: 900; font-size: clamp(26px, 3vw, 44px); line-height: 0.95; letter-spacing: -0.03em; }
.ifx-af-sh .by { font-size: 13px; font-weight: 700; background: var(--ifx-band); color: var(--ifx-band-ink); padding: 4px 8px; white-space: nowrap; }
.ifx-af-pre { padding: 22px var(--ifx-gut); border-bottom: 2px solid var(--ifx-ink); max-width: none; display: grid; grid-template-columns: minmax(0, 66ch); }
.ifx-af-pre p, .ifx-af-pre li { font-size: 16px; }

.ifx-log { display: grid; }
.ifx-log-row { display: grid; grid-template-columns: 6.2em minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); border-bottom: 2px solid var(--ifx-ink); }
.ifx-log-row > * { padding: 12px 14px; min-width: 0; }
.ifx-log-row > * + * { border-left: 1px solid var(--ifx-ink); }
.ifx-log-row.is-head { position: sticky; top: calc(var(--ifx-top) + var(--ifx-tabs-h, 74px)); z-index: 5; background: var(--ifx-band); color: var(--ifx-band-ink); font-size: 13px; font-weight: 500; }
.ifx-log-row.is-head > * { padding-top: 8px; padding-bottom: 8px; border-color: transparent; }
.ifx-log-row .t { font-weight: 900; font-size: 20px; line-height: 1.05; }
.ifx-log-row .t small { display: block; font-size: 12px; font-weight: 500; margin-top: 4px; word-break: break-all; }
.ifx-log-row .t a { font-size: 12px; font-weight: 500; }
.ifx-log-row .nt { font-size: 15px; line-height: 1.45; }
.ifx-log-row .nt p { margin: 0 0 0.6em; }
.ifx-log-row .ref .ifx-ev figcaption { background: var(--ifx-paper); }
.ifx-log-row .empty { color: var(--ifx-faint); font-size: 13px; }
.ifx-log-row.is-sub { background: color-mix(in srgb, var(--ifx-ink) 3%, transparent); }
.ifx-log-div { padding: 10px var(--ifx-gut); background: var(--ifx-band); color: var(--ifx-band-ink); font-weight: 700; font-size: 14px; border-bottom: 2px solid var(--ifx-ink); }

.ifx-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.ifx-person { border-right: 2px solid var(--ifx-ink); border-bottom: 2px solid var(--ifx-ink); padding: 12px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ifx-person .ims { display: flex; gap: 6px; flex-wrap: wrap; }
.ifx-person .ims .ifx-ev { flex: var(--ar) 1 calc(var(--ar) * 70px); max-width: min(100%, calc(var(--ar) * 170px)); }
.ifx-person .ims .ifx-ev figcaption { display: none; }
.ifx-person .ts { display: flex; flex-wrap: wrap; gap: 4px; }
.ifx-person .no { font-size: 12px; font-weight: 700; color: var(--ifx-mute); }
.ifx-person p { margin: 0; font-size: 14px; line-height: 1.4; }

.ifx-geo-notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.ifx-geo-notes > div { padding: 18px var(--ifx-gut); border-bottom: 2px solid var(--ifx-ink); border-right: 2px solid var(--ifx-ink); display: flex; flex-direction: column; gap: 10px; }
.ifx-geo-notes p { margin: 0; font-size: 15px; }

/* ---------- lightbox ---------- */
dialog.ifx-lb { padding: 0; border: var(--ifx-b) solid var(--ifx-ink); background: var(--ifx-paper); color: var(--ifx-ink); max-width: min(94vw, 1400px); max-height: 94vh; font-family: var(--ifx-font); }
dialog.ifx-lb::backdrop { background: rgba(0, 0, 0, 0.86); }
dialog.ifx-lb img { display: block; max-width: 100%; max-height: calc(94vh - 70px); margin: 0 auto; }
dialog.ifx-lb .bar { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 10px 12px; border-top: 2px solid var(--ifx-ink); font-size: 14px; font-weight: 500; }
dialog.ifx-lb button { font: 700 14px/1 var(--ifx-font); background: var(--ifx-band); color: var(--ifx-band-ink); border: 0; padding: 10px 14px; cursor: pointer; }

/* ---------- responsive ---------- */
@media (max-width: 899px) {
  .ifx { font-size: 17px; }
  .ifx-kick { grid-template-columns: 1fr 1fr; }
  .ifx-kick > *:nth-child(2) { border-right: 0; }
  .ifx-kick > *:nth-child(-n+2) { border-bottom: 2px solid var(--ifx-ink); }
  .ifx-cover-grid { grid-template-columns: 1fr; }
  .ifx-cover-copy { border-right: 0; border-bottom: var(--ifx-b) solid var(--ifx-ink); }
  .ifx-cover-plate { min-height: 64vh; }
  .ifx-scrolly { grid-template-columns: 1fr; }
  .ifx-stage { order: -1; top: calc(var(--ifx-top) + var(--ifx-tabs-h, 64px)); height: 50vh; height: 50svh; z-index: 3; background: var(--ifx-paper); border-bottom: var(--ifx-b) solid var(--ifx-ink); }
  .ifx-steps { border-right: 0; }
  .ifx-step { min-height: 72vh; justify-content: flex-start; padding-top: 36px; }
  .ifx-cas, .ifx-af-intro { grid-template-columns: 1fr; }
  .ifx-cas .num { border-right: 0; border-bottom: var(--ifx-b) solid var(--ifx-ink); }
  .ifx-af-intro > div + div { border-left: 0; border-top: var(--ifx-b) solid var(--ifx-ink); }
  .ifx-log-row { grid-template-columns: 5.2em minmax(0, 1fr); }
  .ifx-log-row > .ref, .ifx-log-row > .nt { grid-column: 2; border-left: 1px solid var(--ifx-ink); border-top: 1px dashed var(--ifx-ink); }
  .ifx-log-row.is-head { display: none; }
  .ifx-big { grid-template-columns: 1fr; }
  .ifx-tab { grid-template-columns: 1fr; }
  .ifx-tab .n { grid-row: auto; }
  .ifx-tab .s { display: none; }
  .ifx-src li { grid-template-columns: 1fr; }
  .ifx-pair { grid-template-columns: 1fr; }
  .ifx-sh { grid-template-columns: 1fr; }
  .ifx-sh p { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) { .ifx * { transition: none !important; } }
@media print {
  .ifx-tabs, .ifx-proto-bar, .ifx-plate, .ifx-stage { display: none !important; }
  [role="tabpanel"][hidden] { display: block !important; }
  .ifx-step { min-height: 0; }
}

.ifx-log-row.k3 { grid-template-columns: 6.2em minmax(0, 5fr) minmax(0, 6fr); }
.ifx-log-row .fr .ifx-ev { flex-basis: calc(var(--ar) * 160px); }
.ifx-log-row .ref .ifx-ev { flex-basis: calc(var(--ar) * 110px); }
.ifx-tag.is-left .ifx-tag-in { left: auto; right: -2px; }
.ifx-tag.is-left .ifx-tag-in::after { left: auto; right: 0; }
:root[data-theme="dark"] .ifx-tag-in { box-shadow: 0 0 0 1px #f2f2f2; }
@media (prefers-color-scheme: dark) { :root[data-theme="dark"] .ifx-tag-in { box-shadow: 0 0 0 1px #f2f2f2; } }
:root[data-theme="dark"] .ifx-tag.is-axis .ifx-tag-in, :root[data-theme="dark"] .ifx-tag.is-quiet .ifx-tag-in { box-shadow: none; }
@media (max-width: 599px) { .ifx-proto-bar span { display: none; } }
.ifx-credit { position: absolute; right: 0; bottom: 0; z-index: 2; font-size: 11px; font-weight: 500; line-height: 1.2; color: #0a0a0a; background: rgba(255, 255, 255, 0.82); padding: 3px 6px; pointer-events: auto; }

/* wide scrollytelling: full-width sticky stage with text cards floating over its left side */
@media (min-width: 900px) {
  .ifx-scrolly.is-wide { display: block; position: relative; }
  .ifx-scrolly.is-wide .ifx-stage { z-index: 1; }
  .ifx-scrolly.is-wide .ifx-steps { position: relative; z-index: 2; border-right: 0; margin-top: calc(-100vh + var(--ifx-top) + var(--ifx-tabs-h, 64px)); pointer-events: none; }
  .ifx-scrolly.is-wide .ifx-step { min-height: 100vh; border: 0; align-items: flex-start; }
  .ifx-scrolly.is-wide .ifx-card { pointer-events: auto; max-width: 380px; background: var(--ifx-paper); border: var(--ifx-b) solid var(--ifx-ink); padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; }
  .ifx-scrolly.is-wide .ifx-step:last-child { min-height: 110vh; }
}
@media (max-width: 899px) {
  .ifx-scrolly.is-wide .ifx-card { display: flex; flex-direction: column; gap: 14px; }
}

/* 3D unavailable: the map plates fall back to a still of the ambush road; the other plates step aside */
.ifx-no3d .ifx-plate canvas, .ifx-no3d .ifx-plate .ifx-plate-labels { display: none !important; }
.ifx-no3d .ifx-cover-plate, .ifx-no3d [data-scrolly="ground"] .ifx-plate { background: #141414 url(../card.webp) center / cover no-repeat; }
.ifx-no3d [data-scrolly="timeline"] .ifx-stage, .ifx-no3d [data-scrolly="arsenal"] .ifx-stage, .ifx-no3d [data-scrolly="drone"] .ifx-stage { display: none; }
