/* 5Oman Research: What makes an Omani property Reel travel.
   Tokens follow the 5Oman public site (dark only). Chart series colours are the
   dataviz-validated dark palette (see site-build-report.md). */
:root {
  color-scheme: dark;
  --ground: #0b0d10;
  --panel: #14171c;
  --panel-2: #181b21;
  --line: #22262c;
  --line-2: #2c3139;
  --ink: #f2efe8;
  --muted: #b6b2a8;
  --dim: #8f8b83;
  --accent: #2fd39b;
  --accent-ink: #06110d;
  --bezel: #1c1f24;

  /* chart roles (validated: node validate_palette.js "#1fa874,#d95926,#9085e9" --mode dark --surface #14171c --pairs all) */
  --s1: #1fa874;   /* emerald: above typical, Oman, highlight slot 1 */
  --s2: #d95926;   /* orange: below typical, Dubai, highlight slot 2 */
  --s3: #9085e9;   /* violet: highlight slot 3 */
  --quiet: #3a3f47; /* de-emphasis marks (not a series colour) */
  --grid: #22262c;
  --axis: #3a3f47;

  --radius: 12px;
  --gutter: 16px;
  --rail: 208px;
  --display: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--ground); color: var(--muted);
  font: 400 16px/1.6 var(--sans); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, svg, canvas, iframe { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration-color: color-mix(in srgb, var(--accent) 60%, transparent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.small { font-size: 13px; }
.dim { color: var(--dim); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- type ---------- */
.kicker { margin: 0 0 14px; font: 600 11px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
h1, h2, .h3, .display { font-family: var(--display); font-weight: 500; font-optical-sizing: auto; letter-spacing: -0.02em; color: var(--ink); }
h2 { font-size: clamp(28px, 4.4vw, 46px); line-height: 1.05; margin: 0 0 18px; text-wrap: balance; }
.h3 { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.1; margin: 56px 0 18px; }
.lead { font-size: clamp(16px, 1.6vw, 18px); line-height: 1.6; color: var(--muted); max-width: 64ch; margin: 0; text-wrap: pretty; }
p { text-wrap: pretty; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: 820px; }
.section { padding-block: clamp(72px, 11vw, 144px) 0; position: relative; }
.section:last-of-type { padding-bottom: clamp(72px, 10vw, 120px); }
.sec-head { max-width: 780px; margin-bottom: clamp(28px, 4vw, 48px); }
.grid-2 { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
.cards-3 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
@media (min-width: 900px) {
  :root { --gutter: 32px; }
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- nav: top bar (mobile) + rail (desktop) ---------- */
.wordmark { font: 600 16px/1 var(--sans); color: var(--ink); text-decoration: none; letter-spacing: -0.01em; white-space: nowrap; }
.wordmark .five { color: var(--accent); }
.wm-sub { color: var(--dim); font-weight: 500; margin-left: 4px; }
.topbar {
  position: sticky; top: 0; z-index: 40; height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 var(--gutter); background: rgba(11, 13, 16, .86); backdrop-filter: saturate(1.2) blur(14px); -webkit-backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-current {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line); color: var(--ink); font-size: 13px; font-weight: 500; cursor: pointer;
  max-width: 55vw; overflow: hidden; white-space: nowrap;
}
.topbar-current span { overflow: hidden; text-overflow: ellipsis; }
.topbar-current[aria-expanded="true"] svg { transform: rotate(180deg); }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: transparent; }
.progress span { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

.rail { position: fixed; z-index: 45; top: 54px; left: 0; right: 0; background: var(--ground); box-shadow: 0 24px 48px -12px rgba(0,0,0,.8); border-bottom: 1px solid var(--line);
  padding: 8px var(--gutter) 16px; display: none; max-height: calc(100vh - 54px); overflow-y: auto; }
.rail.open { display: block; }
.rail-mark { display: none; }
.rail-progress { display: none; }
.rail-list { list-style: none; margin: 0; padding: 0; counter-reset: sec; }
.rail-list li { counter-increment: sec; }
.rail-list a {
  display: flex; align-items: center; gap: 10px; padding: 9px 4px; font-size: 14px; color: var(--muted); text-decoration: none; border-radius: 8px;
}
.rail-list a::before { content: counter(sec, decimal-leading-zero); font: 500 11px/1 var(--sans); color: var(--dim); width: 20px; font-variant-numeric: tabular-nums; }
.rail-list a[aria-current="true"] { color: var(--ink); }
.rail-list a[aria-current="true"]::before { color: var(--accent); }
.rail-list a:hover { color: var(--ink); }

@media (min-width: 1200px) {
  body { padding-left: var(--rail); }
  .topbar { display: none; }
  html { scroll-padding-top: 24px; }
  .rail { display: block; top: 0; bottom: 0; right: auto; width: var(--rail); max-height: none; padding: 32px 18px 24px 28px; background: transparent; box-shadow: none; border: 0; border-right: 1px solid var(--line); }
  .rail-mark { display: block; margin-bottom: 36px; }
  .rail-list a { padding: 6px 0; font-size: 13px; position: relative; transition: color .2s; }
  .rail-list a[aria-current="true"]::after { content: ""; position: absolute; left: -28px; top: 6px; bottom: 6px; width: 2px; background: var(--accent); border-radius: 2px; }
  .rail-progress { display: block; position: absolute; left: 28px; right: 18px; bottom: 24px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
  .rail-progress span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
}

/* ---------- reveal motion ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(56px, 11vw, 136px) 0 0; overflow: hidden; isolation: isolate; }
.hero-field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 92%); mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 92%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 50% at 18% 20%, rgba(11, 13, 16, .92), rgba(11, 13, 16, .45) 70%, transparent), linear-gradient(90deg, rgba(11,13,16,.85), rgba(11,13,16,.2) 70%); }
.hero-title { font-size: clamp(40px, 8vw, 92px); line-height: 1.0; margin: 0 0 24px; max-width: 13ch; text-wrap: balance; }
.hero-lead { font-size: clamp(17px, 2vw, 21px); max-width: 52ch; color: var(--muted); }
.meta-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; margin: clamp(40px, 6vw, 64px) 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .meta-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.meta-row div { min-width: 0; }
.meta-row dt { font: 600 11px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.meta-row dd { margin: 0; font: 600 clamp(30px, 4.6vw, 52px)/1 var(--sans); letter-spacing: -0.03em; color: var(--ink); }
.meta-row dd.meta-note { font: 400 12.5px/1.4 var(--sans); letter-spacing: 0; color: var(--dim); margin-top: 8px; }
.meta-row dd.window { font-size: clamp(20px, 2.6vw, 28px); line-height: 1.15; letter-spacing: -0.01em; padding-top: 6px; }
.findings { display: grid; gap: 16px; margin-top: clamp(40px, 6vw, 72px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.finding { padding: 24px 22px 22px; display: flex; flex-direction: column; gap: 10px; transition: border-color .25s, transform .25s var(--ease); }
.finding:hover { border-color: var(--line-2); transform: translateY(-2px); }
.finding .kicker { margin: 0; }
.finding h3 { margin: 0; font: 500 21px/1.15 var(--display); letter-spacing: -0.015em; color: var(--ink); }
.finding p { margin: 0; font-size: 14.5px; line-height: 1.55; }
.finding .stat { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.finding .stat b { font: 600 30px/1 var(--sans); letter-spacing: -0.03em; color: var(--accent); }
.finding .stat span { font-size: 13px; color: var(--dim); line-height: 1.3; }

/* ---------- chart cards ---------- */
.chart-card { margin: 0; padding: clamp(18px, 2.4vw, 28px); min-width: 0; }
.chart-card + .chart-card, .grid-2 + .chart-card { margin-top: 20px; }
.grid-2 > .chart-card, .ingredients > .chart-card { margin-top: 0; }
.chart-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 14px; }
.chart-title { margin: 0; font: 600 16px/1.35 var(--sans); color: var(--ink); }
.chart-sub { margin: 4px 0 0; font-size: 13px; color: var(--dim); line-height: 1.45; max-width: 60ch; }
.chart { position: relative; width: 100%; min-width: 0; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart text { font: 400 12px var(--sans); fill: var(--dim); }
.chart .t-ink { fill: var(--ink); }
.chart .t-muted { fill: var(--muted); }
.chart .t-strong { fill: var(--ink); font-weight: 600; }
.chart .tick { font-variant-numeric: tabular-nums; font-size: 11px; }
.chart .gridline { stroke: var(--grid); stroke-width: 1; shape-rendering: crispEdges; }
.chart .ref { stroke: var(--ink); stroke-width: 1; opacity: .55; shape-rendering: crispEdges; }
.chart .ref-label { font-size: 11px; fill: var(--muted); }
.chart-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--dim); }
.chart-foot a { color: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0; list-style: none; font-size: 12.5px; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 7px; }
.sw { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.sw.dot { border-radius: 50%; }
.sw.ring { border-radius: 50%; background: transparent !important; box-shadow: inset 0 0 0 2px var(--muted); }
.sw.line { width: 14px; height: 2px; border-radius: 2px; }

.bar, .dotmark, .stem { transition: transform 1s var(--ease), opacity .6s var(--ease); transform-box: fill-box; }
.bar.grow-r { transform-origin: left center; }
.bar.grow-l { transform-origin: right center; }
.chart-card:not(.drawn) .bar { transform: scaleX(0); }
.chart-card:not(.drawn) .dotmark { opacity: 0; transform: scale(.4); }
.dotmark { transform-origin: center; }
.hit { fill: transparent; cursor: pointer; }
.pt { transition: opacity .6s var(--ease); }
.chart-card:not(.drawn) .pt { opacity: 0 !important; }
.row-hit { fill: transparent; }
.row:hover .row-bg, .row:focus-visible .row-bg, .row.selected .row-bg { fill: rgba(255, 255, 255, .035); }
.row { cursor: pointer; outline: none; }
.row.selected .row-bg { fill: rgba(47, 211, 155, .07); }
.row:focus-visible .row-bg { stroke: var(--accent); stroke-width: 1.5; }
.row:hover .bar, .row.selected .bar { filter: brightness(1.18); }
.row-bg { fill: transparent; transition: fill .2s; }

/* table view */
.tv-btn { background: none; border: 1px solid var(--line); color: var(--muted); padding: 6px 12px; border-radius: 999px; font-size: 12.5px; cursor: pointer; }
.tv-btn:hover { color: var(--ink); border-color: var(--line-2); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 12px; max-width: 100%; }
.table-wrap.card { margin-top: 0; }
table { border-collapse: collapse; width: 100%; font-size: 13.5px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 600 11px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
td { color: var(--muted); }
td.n, th.n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tbody tr:hover td { background: rgba(255, 255, 255, .02); }
.table-scroll { max-height: 420px; overflow: auto; }
.table-scroll thead th { position: sticky; top: 0; background: var(--panel); z-index: 1; }

/* ---------- tooltip ---------- */
.tooltip { position: fixed; z-index: 60; pointer-events: none; min-width: 140px; max-width: 260px; padding: 10px 12px; background: #1b1f25; border: 1px solid var(--line-2);
  border-radius: 10px; box-shadow: 0 14px 40px -12px rgba(0, 0, 0, .7); font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.tooltip .tt-title { color: var(--dim); font-size: 11.5px; margin-bottom: 4px; display: flex; align-items: center; gap: 6px; }
.tooltip .tt-val { color: var(--ink); font: 600 18px/1.2 var(--sans); letter-spacing: -0.01em; }
.tooltip .tt-row { display: flex; justify-content: space-between; gap: 16px; }
.tooltip .tt-row b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.tooltip .tt-hint { margin-top: 6px; color: var(--dim); font-size: 11.5px; }

/* ---------- controls ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 14px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease); }
.pill.primary { background: var(--accent); color: var(--accent-ink); }
.pill.primary:hover { background: #45dea9; color: var(--accent-ink); }
.pill.ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.pill.ghost:hover { border-color: var(--accent); color: var(--ink); }
.pill.sm { min-height: 32px; padding: 0 14px; font-size: 13px; }
.seg { display: inline-flex; padding: 3px; gap: 2px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; }
.seg button { border: 0; background: transparent; color: var(--muted); padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 500; cursor: pointer; min-height: 34px; transition: background .2s, color .2s; }
.seg button[aria-checked="true"], .seg button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; }
.chip { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent;
  color: var(--muted); font-size: 12.5px; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.chip:hover { border-color: var(--line-2); color: var(--ink); }
.chip[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); background: rgba(255, 255, 255, .04); }
.chip .sw { background: var(--quiet); }
.switch { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); cursor: pointer; user-select: none; }
.switch input { appearance: none; -webkit-appearance: none; width: 36px; height: 20px; border-radius: 999px; background: var(--line-2); position: relative; cursor: pointer; margin: 0; transition: background .2s; flex: none; }
.switch input::after { content: ""; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); transition: transform .2s var(--ease); }
.switch input:checked { background: var(--accent); }
.switch input:checked::after { transform: translateX(16px); background: var(--accent-ink); }
.controls-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 12px; }

/* ---------- note band / quotes ---------- */
.note-band { margin-top: 20px; display: grid; gap: 14px 28px; grid-template-columns: minmax(0, 1fr); padding: clamp(20px, 3vw, 32px); border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(47, 211, 155, .08), rgba(47, 211, 155, 0) 60%), var(--panel); }
@media (min-width: 900px) { .note-band { grid-template-columns: 200px minmax(0, 1fr); align-items: center; } }
.note-band .big { font: 500 clamp(24px, 3vw, 32px)/1.05 var(--display); color: var(--ink); letter-spacing: -0.02em; margin: 0; }
.note-band p { margin: 0; }
.bleed-quote { margin-top: clamp(72px, 10vw, 128px); padding: clamp(56px, 9vw, 112px) var(--gutter); text-align: center; border-block: 1px solid var(--line);
  background: radial-gradient(70% 120% at 50% 0%, rgba(47, 211, 155, .10), transparent 60%), var(--panel); }
.bleed-quote blockquote { margin: 0 auto; max-width: 900px; }
.bleed-quote p { margin: 0; font: 500 clamp(26px, 4.4vw, 50px)/1.1 var(--display); letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.bleed-quote em { font-style: normal; color: var(--accent); }
.bleed-quote cite { display: block; margin-top: 20px; font: 400 13px/1.4 var(--sans); color: var(--dim); font-style: normal; }

/* ---------- style detail panel & embeds ---------- */
.style-panel { margin-top: 20px; padding: clamp(20px, 3vw, 32px); border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--panel-2); outline: none; animation: panelIn .45s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.sp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.sp-head h3 { margin: 0 0 8px; font: 500 clamp(24px, 3vw, 32px)/1.1 var(--display); color: var(--ink); letter-spacing: -0.02em; }
.sp-close { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--muted); cursor: pointer; font-size: 18px; line-height: 1; }
.sp-close:hover { color: var(--ink); border-color: var(--ink); }
.sp-body { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .sp-body { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.sp-body p { margin: 0 0 12px; }
.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin: 16px 0 0; }
.kv div { background: var(--panel-2); padding: 12px 14px; }
.kv dt { font-size: 11.5px; color: var(--dim); margin-bottom: 2px; }
.kv dd { margin: 0; font: 600 20px/1.2 var(--sans); color: var(--ink); letter-spacing: -0.01em; }
.embeds { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); align-content: start; }
.embed { position: relative; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); overflow: hidden; min-width: 0; }
.embed-ph { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; aspect-ratio: 4 / 5; padding: 16px;
  background: radial-gradient(100% 70% at 50% 0%, rgba(144, 133, 233, .10), transparent 70%), repeating-linear-gradient(135deg, rgba(255,255,255,.015) 0 10px, transparent 10px 20px); }
.embed-ph .who { font-size: 13px; color: var(--ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.embed-ph .what { font-size: 12px; color: var(--dim); }
.embed-play { align-self: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(11, 13, 16, .6); color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: transform .2s var(--ease), border-color .2s; }
.embed-play:hover { transform: scale(1.06); border-color: var(--accent); }
.embed-links { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; }
.embed iframe { width: 100%; max-width: 400px; height: 580px; border: 0; margin: 0 auto; background: #fff; }
.embed .ig-link { display: block; padding: 8px 12px; font-size: 12px; border-top: 1px solid var(--line); }
.embeds.wide .embed.loaded { grid-column: span 1; }
.privacy { font-size: 12px; color: var(--dim); margin-top: 10px; }

.scatter-pick { margin-top: 16px; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); padding: 20px; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--panel-2); animation: panelIn .45s var(--ease); }
@media (min-width: 760px) { .scatter-pick { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } }
.scatter-pick h3 { margin: 0 0 6px; font: 500 22px/1.15 var(--display); color: var(--ink); }

/* ---------- ingredients ---------- */
.ingredients { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.ing { padding: 18px 18px 12px; }
.ing h3 { margin: 0 0 2px; font: 600 14.5px/1.35 var(--sans); color: var(--ink); }
.ing p { margin: 0 0 6px; font-size: 12.5px; color: var(--dim); }
.table-toggle-row { margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ---------- accounts ---------- */
.table-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sort-btn { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.sort-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.sort-btn::after { content: "↕"; opacity: .35; font-size: 11px; }
th[aria-sort="ascending"] .sort-btn::after { content: "↑"; opacity: 1; color: var(--accent); }
th[aria-sort="descending"] .sort-btn::after { content: "↓"; opacity: 1; color: var(--accent); }
th[aria-sort="ascending"], th[aria-sort="descending"] { color: var(--ink); }
.mk { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); margin-left: 6px; vertical-align: 1px; }
.acct-name { color: var(--dim); font-size: 12px; display: block; }

/* ---------- content cards ---------- */
.info { padding: 22px; display: flex; flex-direction: column; gap: 10px; transition: border-color .25s, transform .25s var(--ease); }
.info:hover { border-color: var(--line-2); transform: translateY(-2px); }
.info h3 { margin: 0; font: 500 21px/1.15 var(--display); color: var(--ink); letter-spacing: -0.015em; }
.info p { margin: 0; font-size: 14.5px; line-height: 1.6; }
.info .src { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; color: var(--dim); line-height: 1.45; }
.info .src a { color: var(--muted); }
.conf { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.conf i { display: inline-flex; gap: 3px; }
.conf i b { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); }
.conf i b.on { background: var(--ink); }

/* catalogue */
.catalog { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 256px), 1fr)); }
.cat { padding: 20px; display: flex; flex-direction: column; gap: 8px; text-align: left; cursor: pointer; transition: border-color .25s, transform .25s var(--ease); color: inherit; }
.cat:hover { border-color: var(--line-2); transform: translateY(-2px); }
.cat h3 { margin: 0; font: 500 20px/1.15 var(--display); color: var(--ink); letter-spacing: -0.015em; }
.cat p { margin: 0; font-size: 14px; line-height: 1.55; }
.cat .why { color: var(--dim); font-size: 13px; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.badge.yes { border-color: rgba(47, 211, 155, .5); color: var(--ink); }
.badge.yes::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.badge.partly::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(90deg, var(--accent) 50%, var(--line-2) 50%); }
.badge.no::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1px solid var(--dim); }
.cat-stat { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 12.5px; color: var(--dim); }
.cat-stat b { font: 600 22px/1 var(--sans); color: var(--ink); letter-spacing: -0.02em; }
.cat-stat b.up { color: var(--accent); }
.ours-tag { font-size: 12.5px; color: var(--muted); }
.ours-tag strong { color: var(--ink); font-weight: 600; }

/* gulf */
.agents { margin-top: 20px; display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); padding: clamp(20px, 3vw, 32px); }
@media (min-width: 900px) { .agents { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stat-row b { display: block; font: 600 clamp(30px, 5vw, 48px)/1 var(--sans); color: var(--ink); letter-spacing: -0.03em; }
.stat-row span { display: block; margin-top: 8px; font-size: 13px; line-height: 1.4; }
.agents ul { margin: 8px 0 0; padding: 0; list-style: none; }
.agents li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.agents li:last-child { border-bottom: 0; }
.agents li strong { color: var(--ink); font-weight: 600; }
.callout { margin-top: 20px; padding: clamp(20px, 3vw, 32px); border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--accent); }
.callout h3 { margin: 0 0 10px; font: 500 24px/1.15 var(--display); color: var(--ink); }
.callout p { margin: 0 0 10px; max-width: 72ch; }

/* ---------- ours ---------- */
.section-ours { background: radial-gradient(60% 40% at 50% 30%, rgba(47, 211, 155, .08), transparent 70%); padding-bottom: 24px; }
.ours { display: grid; gap: 40px 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .ours { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.our { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.phone { position: relative; width: min(100%, 270px); aspect-ratio: 9 / 16; border: 6px solid var(--bezel); border-radius: 28px; overflow: hidden; background: #000;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .04); transition: transform .4s var(--ease); }
.our:hover .phone { transform: translateY(-4px); }
.phone video, .phone img { width: 100%; height: 100%; object-fit: cover; }
.sound { position: absolute; right: 10px; bottom: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(11, 13, 16, .7); color: var(--ink); cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(6px); }
.sound:hover { background: rgba(11, 13, 16, .9); }
.tap-cover { position: absolute; inset: 0; border: 0; background: transparent; cursor: pointer; }
.our h3 { margin: 6px 0 0; font: 500 24px/1.1 var(--display); color: var(--ink); letter-spacing: -0.015em; }
.verdict { display: inline-block; font-size: 12.5px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: rgba(47, 211, 155, .12); color: var(--accent); border: 1px solid rgba(47, 211, 155, .35); }
.our p { margin: 0; font-size: 14.5px; max-width: 36ch; }

/* ---------- recommendations ---------- */
.recs { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.rec { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 18px; padding: clamp(20px, 3vw, 28px); transition: border-color .25s; }
@media (min-width: 900px) { .rec { grid-template-columns: 88px minmax(0, 1fr) 220px; gap: 4px 28px; } }
.rec:hover { border-color: var(--line-2); }
.rec.top { border-color: rgba(47, 211, 155, .35); background: linear-gradient(110deg, rgba(47, 211, 155, .07), transparent 55%), var(--panel); }
.rec-rank { font: 500 clamp(40px, 6vw, 64px)/0.9 var(--display); color: var(--dim); letter-spacing: -0.03em; }
.rec.top .rec-rank { color: var(--accent); }
.rec h3 { margin: 0 0 8px; font: 500 clamp(22px, 2.6vw, 28px)/1.1 var(--display); color: var(--ink); letter-spacing: -0.015em; }
.rec p { margin: 0 0 8px; font-size: 15px; }
.rec .evidence { font-size: 13.5px; color: var(--dim); }
.rec .evidence strong { color: var(--muted); font-weight: 600; }
.rec-side { grid-column: 2; display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-top: 8px; }
@media (min-width: 900px) { .rec-side { grid-column: 3; grid-row: 1 / span 2; flex-direction: column; align-items: flex-start; margin-top: 0; } }
.vpill { display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.vpill.v-build { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.vpill.v-variant { border-color: var(--accent); color: var(--accent); }
.vpill.v-later { border-color: var(--line-2); color: var(--ink); }
.vpill.v-skip { color: var(--dim); border-style: dashed; }
.effort { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--dim); }
.effort i { display: inline-flex; gap: 3px; align-items: flex-end; }
.effort i b { width: 5px; border-radius: 2px; background: var(--line-2); }
.effort i b:nth-child(1) { height: 6px; } .effort i b:nth-child(2) { height: 10px; } .effort i b:nth-child(3) { height: 14px; }
.effort i b.on { background: var(--muted); }
.linkbtn { text-align: left; background: none; border: 0; padding: 0; color: var(--ink); cursor: pointer; font-size: 13px; text-decoration: underline; text-decoration-color: rgba(47, 211, 155, .6); text-underline-offset: 3px; }
.linkbtn:hover { color: var(--accent); }

/* ---------- method ---------- */
.prose p { margin: 0 0 16px; font-size: 16.5px; line-height: 1.7; }
.prose h3 { font: 600 13px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin: 32px 0 10px; }
.prose ul { margin: 0; padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose .spend { padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); font-size: 14.5px; }
.sources { margin: 0; padding-left: 22px; font-size: 14px; line-height: 1.5; }
.sources li { padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--dim); }
.sources li::marker { color: var(--dim); font-variant-numeric: tabular-nums; font-size: 12px; }
.sources a { color: var(--ink); }
.sources .also { margin-top: 28px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0 56px; margin-top: 24px; }
.footer p { margin: 0 0 8px; }
.noscript { padding: 24px; text-align: center; color: var(--ink); }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .chart-card:not(.drawn) .bar, .chart-card:not(.drawn) .dotmark { transform: none; opacity: 1; }
}
@media (forced-colors: active) {
  .bar, .dotmark { forced-color-adjust: none; }
}

/* phones: chips scroll sideways inside their own row instead of stacking */
@media (max-width: 599px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -4px; padding: 2px 4px 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}

/* ---------- round 2: ranges, small samples, listings ---------- */
.chart .whisk { stroke: var(--muted); stroke-width: 1.5; stroke-linecap: round; opacity: .75; transition: opacity .6s var(--ease); }
.chart-card:not(.drawn) .whisk { opacity: 0; }
.row.row-small .whisk { opacity: .5; stroke-dasharray: none; }
.chart .small-lbl { fill: var(--dim); font-style: italic; }
.sw.whisk { width: 16px; height: 8px; border-radius: 0; background: linear-gradient(var(--muted), var(--muted)) center / 100% 1.5px no-repeat,
  linear-gradient(var(--muted), var(--muted)) left center / 1.5px 8px no-repeat, linear-gradient(var(--muted), var(--muted)) right center / 1.5px 8px no-repeat; }
.sw.hollow { border-radius: 50%; background: transparent !important; box-shadow: inset 0 0 0 2px var(--s1); }
.legend-row { margin-top: 16px; }
.switches { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.mix-note { margin: 14px 0 0; padding: 14px 18px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); font-size: 15px; }
.mix-note strong { color: var(--ink); font-weight: 600; }
.top-reels { margin-top: clamp(48px, 7vw, 80px); }
.embed-ph.has-summary { aspect-ratio: auto; min-height: 300px; }
.embed-sum { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.cat-sub { display: block; font-size: 11.5px; color: var(--dim); margin-top: 4px; }
.cat-stat .barely { color: var(--muted); font-size: 13px; }
.rec-main { min-width: 0; }
.rec .evidence { overflow-wrap: anywhere; }
.embed-links { flex-wrap: wrap; row-gap: 4px; }
.embed-links a { white-space: nowrap; }
.seg button { white-space: nowrap; }
.seg .short { display: none; }
@media (max-width: 480px) { .seg .long { display: none; } .seg .short { display: inline; } .seg button { padding: 7px 13px; } }
@media (max-width: 599px) {
  .embed-ph.has-summary { min-height: 0; gap: 14px; }
  .embed-ph.has-summary .embed-play { width: 48px; height: 48px; }
}
@media (max-width: 599px) {
  .rec { grid-template-columns: minmax(0, 1fr); }
  .rec-rank { font-size: 34px; margin-bottom: 8px; }
  .rec-side { grid-column: 1; }
}
