/* /research/commander-2026, B2026-11-26-16 (Commander in 2026 article).
   Ported from the approved sketch (artifact BjZENVQ3uWTpiNb2uKfDdi, version 11),
   every rule scoped under .cy so nothing leaks into the site layout. The palette
   is the house teal on teal-black (docs/reference/visual-style-guide.md). */
.cy { --surface: #0e1513;
  --panel: #1a2120;
  --well: #161d1c;
  --high: #252b2a;
  --primary: #1CDECA;
  --on-primary: #003731;
  --text: #DDE4E1;
  --muted: #BEC9C6;
  --faint: #899390;
  --rule: #3F4947;
  --display: "Oswald", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --thumb-w: 52px;
  --thumb-h: 38px;
  color-scheme: dark; }
.cy, .cy * { box-sizing: border-box; }
.cy { background: var(--surface); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.6; }
.cy a { color: var(--primary); }
.cy a:focus-visible, .cy button:focus-visible, .cy input:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.cy .wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.cy .sketchbar { font-size: 13px; color: var(--muted); border-bottom: 1px dashed var(--rule); padding-block: 10px; }
.cy .sketchbar strong { color: var(--text); font-weight: 500; }
.cy .eyebrow { display: flex; align-items: center; gap: 12px; color: var(--primary); font-size: 10px; letter-spacing: .25em; text-transform: uppercase; font-weight: 500; }
.cy .eyebrow::after { content: ""; height: 1px; width: 40px; background: var(--primary); opacity: .5; }
.cy .art { width: var(--thumb-w); height: var(--thumb-h); border-radius: 5px; object-fit: cover; display: block; flex: none; background: var(--well); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.cy .who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cy .who .nm { min-width: 0; line-height: 1.25; font-size: 15px; }
.cy .who .nm small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.cy .tag { display: inline-block; font-size: 11px; color: var(--primary); border: 1px solid rgba(28,222,202,.45); border-radius: 99px; padding: 0 7px; margin-left: 6px; vertical-align: 1px; }
.cy .hero { position: relative; overflow: hidden; border-radius: 16px; margin-top: 20px; background: var(--well); min-height: 460px; display: flex; }
.cy .hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.cy .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,21,19,.10) 0%, rgba(14,21,19,.55) 45%, rgba(14,21,19,.97) 100%); }
.cy .glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 100% 100%, rgba(28,222,202,.14) 0%, transparent 55%); }
.cy .hero .fg { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 28px; padding: 32px; width: 100%; }
.cy .hero h1 { font-family: var(--display); text-transform: uppercase; color: #fff; font-weight: 600; letter-spacing: -.01em; line-height: .9; margin: 14px 0 0; font-size: clamp(52px, 10vw, 128px); }
.cy .hero h1 .yr { display: block; color: var(--primary); }
.cy .hero .dek { max-width: 34em; margin: 16px 0 0; font-size: 17px; }
.cy .hero .stats { display: flex; gap: 40px; flex-wrap: wrap; border-top: 1px solid rgba(63,73,71,.6); padding-top: 20px; }
.cy .stat .n { font-family: var(--display); font-variant-numeric: tabular-nums; line-height: 1; font-size: clamp(34px, 5vw, 56px); color: #fff; }
.cy .stat:first-child .n { color: var(--primary); }
.cy .stat .l { margin-top: 8px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.cy .credit { margin-top: -16px; font-size: 11px; color: rgba(221,228,225,.6); text-align: right; }
.cy .intro { max-width: 680px; margin: 40px 0 0; font-size: 18px; }
.cy .intro p { margin: 0 0 14px; }
.cy section.s { margin-top: 72px; }
.cy .s h2 { font-family: var(--display); text-transform: uppercase; font-weight: 500; font-size: clamp(30px, 4.4vw, 46px); line-height: 1; letter-spacing: -.005em; margin: 14px 0 0; text-wrap: balance; }
.cy .s .lede { max-width: 640px; color: var(--muted); margin: 14px 0 0; }
.cy .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.cy .grid2 > * { min-width: 0; }
.cy .panel { background: var(--panel); border-radius: 16px; padding: 24px; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.cy .panel h3 { margin: 0 0 4px; font-size: 16px; font-weight: 500; }
.cy .panel .sub { margin: 0 0 14px; font-size: 13px; color: var(--muted); }
.cy .rows { display: flex; flex-direction: column; }
.cy .row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 4.6em; gap: 14px; align-items: center; padding: 9px 0; border-bottom: 1px solid rgba(63,73,71,.45); }
.cy .row:last-child { border-bottom: 0; }
.cy .row.nomid { grid-template-columns: minmax(0, 1fr) auto; }
.cy .row.two { grid-template-columns: minmax(0, 1fr) 4.2em 3.6em; }
.cy .fig { font-family: var(--display); font-variant-numeric: tabular-nums; text-align: right; font-size: 19px; line-height: 1.05; }
.cy .fig small { display: block; font-family: var(--body); font-size: 11px; color: var(--muted); margin-top: 3px; }
.cy .fig.hot { color: var(--primary); }
.cy .track { height: 6px; background: var(--well); border-radius: 99px; overflow: hidden; }
.cy .fill { display: block; height: 100%; background: rgba(28,222,202,.6); border-radius: 99px; }
.cy .peak .fill { background: var(--primary); box-shadow: 0 0 18px rgba(28,222,202,.55); }
.cy .colhead { display: grid; gap: 14px; font-size: 12px; color: var(--muted); padding-bottom: 6px; }
.cy .colhead span:not(:first-child) { text-align: right; }
.cy .mvsvg, .cy .wrsvg { width: 100%; height: 22px; display: block; overflow: visible; }
.cy .key { display: flex; gap: 20px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin-top: 12px; }
.cy .key span { display: inline-flex; align-items: center; gap: 6px; }
.cy .key i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.cy .map { background: var(--panel); border-radius: 20px; margin-top: 28px; padding: 24px; box-shadow: 0 6px 24px rgba(0,0,0,.3); position: relative; overflow: hidden; }
.cy .map::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 0% 0%, rgba(28,222,202,.08) 0%, transparent 45%); }
.cy .map .tools { position: relative; display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
.cy .find { position: relative; width: min(360px, 100%); }
.cy .find label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.cy .find input { width: 100%; background: var(--well); border: 1px solid var(--rule); color: var(--text); border-radius: 8px; padding: 10px 12px; font: inherit; font-size: 15px; }
.cy .find input:focus { outline: none; border: 2px solid var(--primary); padding: 9px 11px; }
.cy .sugg { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cy .sugg button { background: var(--high); color: var(--text); border: 1px solid var(--rule); border-radius: 99px; padding: 4px 10px; font: inherit; font-size: 13px; cursor: pointer; }
.cy .sugg button:hover { background: #303635; }
.cy .readout { position: relative; min-height: 72px; max-width: 440px; font-size: 14px; color: var(--muted); }
.cy .readout .rn { font-family: var(--display); text-transform: uppercase; color: var(--text); font-size: 22px; line-height: 1.05; }
.cy .readout .facts { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.cy .readout .facts b { font-family: var(--display); font-weight: 400; color: var(--primary); font-size: 18px; font-variant-numeric: tabular-nums; }
.cy .chart { position: relative; margin-top: 16px; }
.cy .chart svg { display: block; width: 100%; height: auto; }
.cy .chart text { font-family: var(--body); }
.cy .dot { fill: var(--primary); fill-opacity: .28; cursor: pointer; transition: fill-opacity .15s ease; }
.cy .dot:hover, .cy .dot.on { fill-opacity: 1; }
.cy .dot.dim { fill-opacity: .1; }
.cy .dot.hit { fill-opacity: 1; stroke: #fff; stroke-width: 1.5; }
.cy .mapnote { position: relative; display: flex; gap: 24px; flex-wrap: wrap; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 10px; }
.cy .callouts { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 20px; border-top: 1px solid var(--rule); padding-top: 16px; }
.cy .callouts > div { min-width: 0; }
.cy .callouts .lbl { font-size: 12px; color: var(--muted); margin-top: 8px; }
.cy .stack { display: flex; height: 54px; border-radius: 8px; overflow: hidden; margin-top: 28px; gap: 2px; }
.cy .stack div { background: var(--primary); }
.cy .legend { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px 24px; margin-top: 20px; }
.cy .legend > div { min-width: 0; border-top: 1px solid var(--rule); padding-top: 10px; }
.cy .legend .p { font-family: var(--display); font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.cy .legend .t { font-size: 14px; margin-top: 6px; }
.cy .legend .c { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cy .legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; background: var(--primary); margin-right: 6px; }
.cy .crown { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.cy .crown > * { min-width: 0; }
.cy .artpanel { position: relative; overflow: hidden; border-radius: 16px; min-height: 340px; display: flex; background: var(--well); box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.cy .artpanel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.cy .artpanel .scrim { background: linear-gradient(180deg, rgba(14,21,19,.05) 0%, rgba(14,21,19,.6) 40%, rgba(14,21,19,.97) 100%); }
.cy .artpanel .fg { position: relative; z-index: 1; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; width: 100%; }
.cy .artpanel .big { font-family: var(--display); text-transform: uppercase; color: #fff; font-size: clamp(38px, 5.6vw, 64px); line-height: .92; margin: 10px 0 0; text-wrap: balance; }
.cy .artpanel .cnt { margin-top: 12px; font-size: 15px; color: var(--text); }
.cy .artpanel .cnt b { font-family: var(--display); font-weight: 400; color: var(--primary); font-size: 24px; font-variant-numeric: tabular-nums; }
.cy .gc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px; align-items: center; margin-top: 28px; }
.cy .gc .gcbig { font-family: var(--display); font-size: clamp(80px, 12vw, 150px); line-height: .85; color: var(--primary); font-variant-numeric: tabular-nums; }
.cy .gc .gcbig span { font-size: .45em; }
.cy .gc .cap { margin-top: 12px; max-width: 20em; }
.cy .setrow { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 4.2em 5.2em 6.4em; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(63,73,71,.45); }
.cy .setrow:last-child { border-bottom: 0; }
.cy .sethead { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 4.2em 5.2em 6.4em; gap: 14px; font-size: 12px; color: var(--muted); padding-bottom: 6px; }
.cy .sethead span:nth-child(n+3) { text-align: right; }
.cy .trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.cy .trio > div { min-width: 0; border-top: 1px solid var(--rule); padding-top: 14px; }
.cy .trio .n { font-family: var(--display); font-size: clamp(40px, 5vw, 60px); line-height: 1; color: var(--primary); font-variant-numeric: tabular-nums; }
.cy .trio p { margin: 8px 0 0; font-size: 14px; color: var(--muted); max-width: 26em; }
.cy .precons { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.cy .precons > * { min-width: 0; }
.cy .prow { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, .6fr) 3.8em 3em 3.8em; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid rgba(63,73,71,.45); }
.cy .prow:last-child { border-bottom: 0; }
.cy .phead { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, .6fr) 3.8em 3em 3.8em; gap: 12px; font-size: 12px; color: var(--muted); padding-bottom: 6px; }
.cy .phead span:nth-child(n+2) { text-align: right; }
.cy .phead span:nth-child(2) { text-align: left; }
.cy .prow .fig { font-size: 17px; }
.cy .lenbar .track { position: relative; overflow: visible; }
.cy .lenbar .track::after { content: ""; position: absolute; top: -5px; bottom: -5px; left: calc(var(--typical, 65) / 90 * 100%); border-left: 1px dashed var(--faint); }
.cy { --pw: #E9E2C8; --pu: #5E9FD0; --pb: #75707C; --pr: #D46A52; --pg: #5E9E6C; }
.cy .pip { display: inline-block; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); vertical-align: -2px; }
.cy .pips { display: inline-flex; gap: 3px; flex: none; width: 86px; }
.cy .colours5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.cy .colours5 > div { min-width: 0; background: var(--panel); border-radius: 14px; padding: 18px; }
.cy .colours5 .pip { width: 26px; height: 26px; }
.cy .colours5 .n { font-family: var(--display); font-size: 40px; line-height: 1; margin-top: 12px; font-variant-numeric: tabular-nums; }
.cy .colours5 .l { font-size: 13px; color: var(--muted); margin-top: 6px; }
.cy .delta { font-family: var(--display); font-variant-numeric: tabular-nums; font-size: 15px; color: var(--muted); }
.cy .delta.up { color: var(--primary); }
.cy .cntrow { display: grid; grid-template-columns: 7em minmax(0, 1fr) 4.2em 5.4em; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(63,73,71,.45); font-size: 14px; }
.cy .cntrow:last-child { border-bottom: 0; }
.cy .cntrow .bars2 { display: flex; flex-direction: column; gap: 4px; }
.cy .cntrow .t25 { height: 4px; background: var(--well); border-radius: 99px; overflow: hidden; }
.cy .cntrow .t25 span { display: block; height: 100%; background: var(--faint); opacity: .6; border-radius: 99px; }
.cy .idrow { display: grid; grid-template-columns: 86px minmax(0, 1fr) 4.2em 4.6em; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid rgba(63,73,71,.45); font-size: 15px; }
.cy .idrow:last-child { border-bottom: 0; }
.cy .holchart { margin-top: 18px; }
.cy .holchart svg { display: block; width: 100%; height: auto; }
.cy .holchart text { font-family: var(--body); }
.cy .hrow { display: grid; grid-template-columns: minmax(0, 1fr) 5em; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid rgba(63,73,71,.45); font-size: 15px; }
.cy .hrow:last-child { border-bottom: 0; }
.cy .hrow small { display: block; font-size: 12px; color: var(--muted); }
html:has(.cy) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
html:has(.cy) { scroll-behavior: auto; }
}
.cy section.s, .cy .chapter { scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 72px); }
.cy .hl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(230px, auto); gap: 16px; margin-top: 28px; }
.cy .tile { position: relative; isolation: isolate; overflow: hidden; min-width: 0; border-radius: 16px; background: var(--well); display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; color: var(--text); text-decoration: none; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.cy .tile > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 28%; transition: transform .6s ease; }
.cy .tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,21,19,.2) 0%, rgba(14,21,19,.74) 34%, rgba(14,21,19,.97) 100%); }
.cy .tile:hover > img { transform: scale(1.05); }
.cy .tile .arr { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(14,21,19,.7); color: var(--primary); font-size: 15px; transition: background-color .15s ease, color .15s ease; }
.cy .tile:hover .arr, .cy .tile:focus-visible .arr { background: var(--primary); color: var(--on-primary); }
.cy .tile .k { font-size: 13px; font-weight: 500; color: var(--text); }
.cy .tile .k, .cy .tile .v, .cy .tile .f { text-shadow: 0 1px 10px rgba(0,0,0,.85), 0 0 2px rgba(0,0,0,.6); }
.cy .tile .v { font-family: var(--display); text-transform: uppercase; color: #fff; font-size: clamp(20px, 2.1vw, 25px); line-height: 1; margin-top: 6px; text-wrap: balance; }
.cy .tile .f { font-family: var(--display); font-variant-numeric: tabular-nums; color: var(--primary); font-size: clamp(30px, 3.3vw, 40px); line-height: 1; margin-top: 12px; white-space: nowrap; }
.cy .tile .f small { font-size: .45em; color: var(--text); margin-left: 4px; }
.cy .tile .c { font-size: 13px; line-height: 1.4; color: var(--muted); margin: 6px 0 0; }
.cy .tile.lead { grid-column: span 2; grid-row: span 2; padding: 28px; }
.cy .tile.lead::before { background: linear-gradient(180deg, rgba(14,21,19,.1) 0%, rgba(14,21,19,.66) 30%, rgba(14,21,19,.97) 100%), radial-gradient(ellipse at 100% 100%, rgba(28,222,202,.16) 0%, transparent 55%); }
.cy .lead .cover { color: inherit; text-decoration: none; }
.cy .lead .cover::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.cy .lead .k { font-size: 14px; color: var(--primary); }
.cy .lead .v { font-size: clamp(40px, 5.6vw, 70px); line-height: .92; margin-top: 10px; }
.cy .lead .f { font-size: clamp(46px, 5.4vw, 68px); margin-top: 14px; }
.cy .lead .c { font-size: 15px; color: var(--text); max-width: 30em; margin-top: 8px; }
.cy .lead .pre { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; align-items: end; margin-top: 22px; padding: 14px 16px; border-radius: 12px; background: rgba(14,21,19,.72); border: 1px solid rgba(63,73,71,.8); color: var(--text); text-decoration: none; transition: border-color .15s ease; }
.cy .lead .pre:hover { border-color: var(--primary); }
.cy .lead .pre .k { font-size: 13px; color: var(--muted); grid-column: 1 / -1; }
.cy .lead .pre .pv { font-family: var(--display); text-transform: uppercase; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.05; color: #fff; }
.cy .lead .pre .pf { font-family: var(--display); font-variant-numeric: tabular-nums; font-size: 24px; color: var(--primary); white-space: nowrap; text-align: right; }
.cy .lead .pre .c { grid-column: 1 / -1; margin-top: 4px; }
.cy .tile.day { background: var(--panel); }
.cy .tile.day::before { display: none; }
.cy .mini { display: flex; align-items: flex-end; gap: 2px; height: 64px; margin-bottom: auto; padding-right: 40px; }
.cy .mini span { flex: 1; min-width: 0; background: rgba(28,222,202,.3); border-radius: 2px 2px 0 0; }
.cy .mini span.pk { background: var(--primary); box-shadow: 0 0 12px rgba(28,222,202,.5); }
.cy .toc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule); }
.cy .toc > div { min-width: 0; }
.cy .toc .chlink { display: block; font-family: var(--display); text-transform: uppercase; font-size: 18px; color: var(--primary); text-decoration: none; }
.cy .toc .secs { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; }
.cy .toc .secs a { color: var(--muted); font-size: 14px; text-decoration: none; }
.cy .toc .secs a:hover, .cy .toc .chlink:hover { color: var(--text); }
.cy #precon-winners { scroll-margin-top: calc(env(safe-area-inset-top, 0px) + 72px); }
.cy .chapbar { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 9; transform: translateY(-110%); visibility: hidden; transition: transform .2s ease, visibility .2s; background: rgba(14,21,19,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.cy .chapbar.on { transform: none; visibility: visible; }
.cy .chapbar-in { max-width: 1280px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); display: flex; align-items: center; gap: 6px; padding-block: 10px; overflow-x: auto; scrollbar-width: none; }
.cy .chapbar-in::-webkit-scrollbar { display: none; }
.cy .chapbar a { flex: none; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; padding: 7px 14px; border-radius: 99px; border: 1px solid transparent; transition: background-color .15s ease, color .15s ease; }
.cy .chapbar a:hover { color: var(--text); background: var(--high); }
.cy .chapbar a[aria-current="true"] { color: var(--on-primary); background: var(--primary); }
.cy .chapbar .here { margin-left: auto; flex: none; font-size: 13px; color: var(--muted); padding-left: 12px; }
.cy .chapter { margin-top: 88px; padding: 36px 0 8px; border-top: 1px solid var(--rule); }
.cy .chapter h2 { font-family: var(--display); text-transform: uppercase; font-weight: 600; font-size: clamp(48px, 8vw, 96px); line-height: .9; margin: 12px 0 0; color: var(--text); }
.cy .chapter p { margin: 14px 0 0; color: var(--muted); max-width: 36em; font-size: 17px; }
.cy .chapter + section.s { margin-top: 40px; }
.cy .note { border: 1px dashed var(--faint); border-radius: 10px; padding: 12px 14px; font-size: 13px; color: var(--muted); margin-top: 18px; max-width: 720px; }
.cy .note b { color: var(--text); font-weight: 500; }
.cy .method { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 28px; }
.cy .method ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.cy .method li { margin-bottom: 8px; }
.cy .method li b { color: var(--text); font-weight: 500; }
.cy .more { display: flex; flex-direction: column; gap: 10px; }
.cy .more a { display: block; padding: 14px 16px; border: 1px solid var(--rule); border-radius: 10px; color: var(--text); text-decoration: none; }
.cy .more a:hover { background: var(--high); }
.cy .more a small { display: block; color: var(--muted); font-size: 13px; }
.cy .cta { margin-top: 72px; margin-bottom: 64px; position: relative; overflow: hidden; border-radius: 16px; background: var(--panel); padding: 32px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cy .cta::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 100% 100%, rgba(28,222,202,.16) 0%, transparent 60%); }
.cy .cta h2 { font-family: var(--display); text-transform: uppercase; font-weight: 500; font-size: clamp(28px, 4vw, 40px); line-height: 1; margin: 10px 0 0; }
.cy .cta p { margin: 10px 0 0; color: var(--muted); max-width: 34em; }
.cy .btn { position: relative; z-index: 1; display: inline-block; background: var(--primary); color: var(--on-primary); font-weight: 500; text-decoration: none; border-radius: 99px; padding: 12px 22px; }
.cy .btn:hover { background: rgba(28,222,202,.9); }
@media (max-width: 820px) {
.cy { --thumb-w: 44px; --thumb-h: 32px; }
.cy .grid2, .cy .crown, .cy .gc, .cy .method { grid-template-columns: 1fr; }
.cy .legend, .cy .callouts { grid-template-columns: repeat(2, minmax(0,1fr)); }
.cy .hero { min-height: 520px; }
.cy .hero .fg { padding: 22px; }
.cy .hero .stats { gap: 24px; }
.cy .panel, .cy .map { padding: 18px; }
.cy .row { grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr) 4.2em; gap: 10px; }
.cy .who .nm { font-size: 14px; }
.cy .setrow, .cy .sethead { grid-template-columns: minmax(0, 1.4fr) 3.8em 4.4em 5em; }
.cy .setrow .track, .cy .sethead span:nth-child(2) { display: none; }
.cy .trio, .cy .precons { grid-template-columns: 1fr; }
.cy .toc { grid-template-columns: 1fr; gap: 16px; }
.cy .hl { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(210px, auto); gap: 12px; }
.cy .tile { padding: 14px; }
.cy .tile.lead { grid-row: span 1; min-height: 480px; padding: 20px; }
.cy .chapbar .here { display: none; }
.cy .colours5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cy .cntrow { grid-template-columns: 5.6em minmax(0, 1fr) 3.8em 4.8em; }
.cy .prow, .cy .phead { grid-template-columns: minmax(0, 1fr) 3.8em 3.2em 3.4em; }
.cy .prow .track, .cy .phead span:nth-child(2) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
.cy, .cy * { transition: none !important; }
}

/* Site additions to the sketch: the house page gutter (a page wrapper is
   max-w-screen-xl with no side padding of its own; both layouts already pad
   <main>, so .wrap adds none at any width),
   row names that link to their commander or card page, and the bar under the
   hero that says when the figures were taken. */
.cy .wrap { max-width: 1280px; padding-left: 0; padding-right: 0; }
.cy .nmlink { color: inherit; text-decoration: none; }
.cy .nmlink:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.cy .credit { line-height: 1.5; }
.cy .tile .k { padding-right: 36px; }
@media (max-width: 1311px) { .cy .chapbar-in { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); } }
@media (min-width: 1312px) { .cy .chapbar-in { padding-left: 0; padding-right: 0; } }
/* The art thumbnail inside its hover-preview wrap keeps the row's layout. */
.cy .who > .card-hover-wrap { display: block; flex: none; line-height: 0; }
