/* The Nomad Ops, Site C: reading pages (resources, blog, products, legal, links).
   Agent 3 owns this file. It sits on top of c.css and its SITE SYSTEM (.phero, .crumbs, .h1/.h2, .lead, .kicker,
   .win, .tbl, .faq, .chips, .build, .close, .site-foot, .sticky-cta) and only adds the reading-page pieces,
   prefixed cx-. Readability first. */

.cx { background: var(--cream); }
.cx main { display: block; }

/* ---------- Shared type ---------- */
.cx-small { font-family: var(--display); font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Hero (on c.css .phero.is-light) ---------- */
.phero .h1.cx-long { font-size: clamp(36px, 3.9vw, 60px); line-height: .98; max-width: 22ch; }
.phero.is-light .phero-in { align-items: start; }
.phero .cx-pick-chips { margin-top: 30px; }
.phero-side.cx-desk, .phero-side.build { align-self: start; }
.cx-post-hero .phero-copy { max-width: 62rem; }
.cx-post-hero .cx-post-plate { margin-top: clamp(32px, 5svh, 56px); }
.cx-prose .tbl-wrap { margin-top: 1em; }
.cx-prose .faq summary { font-size: 19px; }
.cx-prose .faq .ans p { color: var(--ink-soft); }

/* Framed film photo */
.cx-photo { position: relative; margin: 0; }
.cx-photo img { width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; border-radius: 10px; box-shadow: 0 34px 64px -40px rgba(20, 15, 10, .62); }
.cx-photo figcaption {
  position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px;
  background: rgba(20, 19, 15, .86); color: var(--bone); border-radius: 99px; padding: 8px 14px 8px 8px;
  font-family: var(--display); font-size: 14px; font-weight: 560;
}
.cx-photo figcaption img { width: 30px; height: 30px; aspect-ratio: 1; border-radius: 50%; box-shadow: none; object-position: 50% 22%; }

/* ---------- Bands ---------- */
.cx-band { padding: clamp(64px, 10svh, 120px) 0; }
.cx-band + .cx-band { padding-top: 0; }
.cx-band.is-paper { background: var(--paper); }
.cx-band.is-paper + .cx-band, .cx-band + .cx-band.is-paper { padding-top: clamp(64px, 10svh, 120px); }
.cx-band-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 18px 64px; align-items: end; margin-bottom: clamp(30px, 5svh, 52px); }
.cx-band-head p { font-size: 19px; color: var(--ink-soft); max-width: 34em; }

/* ---------- Rows (resources, blog) ---------- */
.cx-rows { border-top: 1px solid rgba(20, 19, 15, .14); }
.cx-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 23rem); gap: 18px 56px; align-items: center;
  padding: clamp(24px, 3.6svh, 36px) 0; border-bottom: 1px solid rgba(20, 19, 15, .14);
  position: relative; transition: background-color .5s ease;
}
.cx-row-k { font-family: var(--display); font-weight: 620; font-size: 14.5px; color: var(--red); margin-bottom: 8px; }
.cx-row h3 { font-family: var(--display); font-weight: 720; font-variation-settings: "wdth" 102; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.12; letter-spacing: -.016em; text-wrap: balance; }
.cx-row h3 a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .3s var(--ease); }
.cx-row h3 a:hover { background-size: 100% 1.5px; }
.cx-row p { margin-top: 10px; font-size: 18.5px; line-height: 1.5; color: var(--ink-soft); max-width: 40em; }
.cx-row-act { justify-self: end; }
.cx-row.is-pick { background: rgba(190, 48, 26, .06); box-shadow: inset 3px 0 0 var(--red); padding-inline: 18px; }
.cx-row { transition: background-color .5s ease, padding .4s var(--ease); }
.cx-btn-line {
  display: inline-flex; align-items: center; min-height: 46px; padding: 12px 18px; border-radius: var(--r);
  font-family: var(--display); font-weight: 620; font-size: 15px; text-decoration: none; white-space: nowrap;
  box-shadow: inset 0 0 0 1.5px var(--ink); transition: background-color .18s ease, color .18s ease;
}
.cx-btn-line:hover { background: var(--ink); color: var(--cream); }

/* ---------- Lead form ---------- */
.cx-form { width: 100%; }
.cx-form label { display: block; font-family: var(--display); font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.cx-form form { display: flex; gap: 8px; }
.cx-form input[type="email"] {
  flex: 1 1 auto; min-width: 0; min-height: 48px; padding: 12px 14px; border-radius: var(--r);
  border: 1.5px solid rgba(20, 19, 15, .28); background: #fff; color: var(--ink);
  font: 500 16px/1.2 var(--display);
}
.cx-form input[type="email"]::placeholder { color: #8a8378; }
.cx-form input[type="email"]:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(190, 48, 26, .25); }
.cx-form input[aria-invalid="true"] { border-color: var(--red); }
.cx-form .btn { flex: none; padding-inline: 18px; }
.resource-note { margin-top: 8px; font-family: var(--display); font-size: 14px; color: var(--ink-soft); min-height: 1.4em; }
.resource-note.is-err { color: var(--red); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cx-row.is-sent .cx-row-k::after { content: "Sent"; margin-left: 10px; color: var(--ok); }
.cx-row.is-sent { box-shadow: inset 3px 0 0 var(--ok); }

/* ---------- Picker (resources) ---------- */
.build.has-photo { overflow: hidden; isolation: isolate; }
.build-photo { position: absolute; inset: 0; z-index: -1; }
.build-photo picture { height: 100%; }
.build-photo img { width: 100%; height: 100%; object-fit: cover; }
.build-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 12, 9, .78) 0%, rgba(14, 12, 9, .9) 55%, rgba(14, 12, 9, .95) 100%); }
.cx-read.cx-read-after { padding-top: clamp(64px, 10svh, 120px); }
.cx-build .b-title { min-height: 0; }
.cx-pick-chips { padding-top: 10px; }
.cx-pick-chips .chips { margin-bottom: 0; }
.cx-build .b-what { min-height: 0; }
.cx-build .b-go { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; margin-top: 24px; }
.cx-build .b-go .link { color: var(--bone); }

/* ---------- Reading layout ---------- */
.cx-read { padding: 0 0 clamp(64px, 10svh, 120px); }
.cx-read-grid { display: grid; grid-template-columns: minmax(200px, 15rem) minmax(0, 42rem) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
.cx-aside { position: sticky; top: calc(var(--nav-h) + 28px); font-family: var(--display); }
.cx-aside-h { font-weight: 650; font-size: 14px; color: var(--ink-soft); margin-bottom: 12px; }
.cx-toc ol { display: grid; gap: 2px; border-left: 1.5px solid rgba(20, 19, 15, .14); }
.cx-toc a {
  display: block; padding: 7px 0 7px 14px; margin-left: -1.5px; border-left: 1.5px solid transparent;
  font-size: 14.5px; line-height: 1.3; font-weight: 520; color: var(--ink-soft); text-decoration: none;
  transition: color .2s ease, border-color .2s ease;
}
.cx-toc a:hover { color: var(--ink); }
.cx-toc a[aria-current] { color: var(--ink); border-left-color: var(--red); font-weight: 640; }

/* Reading meter: the homepage counter, turned into minutes left */
.cx-meter { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 26px; }
.cx-meter-n {
  font-weight: 820; font-variation-settings: "wdth" var(--mw, 104); font-size: 64px; line-height: .82; letter-spacing: -.04em;
  color: var(--red); font-variant-numeric: tabular-nums; transition: font-variation-settings .4s var(--ease);
}
.cx-meter-l { font-weight: 560; font-size: 14px; line-height: 1.2; color: var(--ink-soft); padding-bottom: 2px; }
.cx-line { position: fixed; left: 0; right: 0; top: var(--nav-h); height: 3px; z-index: 199; pointer-events: none; }
.cx-line i { display: block; height: 100%; background: var(--red); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.bar.is-hidden ~ .cx-line, .cx-line.is-top { top: 0; }

/* Prose */
.cx-prose { font-size: 20px; line-height: 1.66; color: var(--ink); min-width: 0; }
.cx-prose > * + * { margin-top: 1.05em; }
.cx-prose h2 {
  font-family: var(--display); font-weight: 760; font-variation-settings: "wdth" 102;
  font-size: clamp(27px, 2.4vw, 34px); line-height: 1.1; letter-spacing: -.02em; text-wrap: balance;
  margin-top: 2.2em; scroll-margin-top: calc(var(--nav-h) + 24px);
}
.cx-prose h3 { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.2; letter-spacing: -.01em; margin-top: 1.7em; }
.cx-prose h2 + *, .cx-prose h3 + * { margin-top: .6em; }
.cx-prose .cx-first { font-size: clamp(22px, 1.8vw, 25px); line-height: 1.5; }
.cx-prose a:not(.btn) { color: var(--ink); text-decoration-color: var(--red); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.cx-prose a:not(.btn):hover { color: var(--red); }
.cx-prose ul, .cx-prose ol { display: grid; gap: .5em; }
.cx-prose ul > li { position: relative; padding-left: 26px; }
.cx-prose ul > li::before { content: ""; position: absolute; left: 0; top: .78em; width: 12px; height: 1.5px; background: var(--red); }
.cx-prose ol { counter-reset: n; }
.cx-prose ol > li { position: relative; padding-left: 36px; counter-increment: n; }
.cx-prose ol > li::before { content: counter(n); position: absolute; left: 0; top: .1em; font-family: var(--display); font-weight: 760; font-size: 16px; color: var(--red); }
.cx-prose strong { font-weight: 600; }
.cx-prose code { font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace; font-size: .82em; background: var(--paper); border-radius: 4px; padding: 1px 5px; }
.cx-prose pre {
  background: var(--night); color: #E9E2D5; border-radius: 10px; padding: 20px 22px; overflow-x: auto;
  font: 14px/1.6 ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace; white-space: pre; tab-size: 2;
}
.cx-prose pre code { background: none; padding: 0; font-size: inherit; color: inherit; }
.cx-prose pre:focus-visible { outline-color: var(--red-hi); }

/* Sheet inside prose (the decision log) */
.cx-sheet { background: #fff; border-radius: 10px; padding: 24px 26px; box-shadow: 0 0 0 1px rgba(20, 19, 15, .1), 0 24px 48px -36px rgba(20, 15, 10, .5); font-size: 18.5px; }
.cx-sheet > * + * { margin-top: .9em; }
.cx-sheet-h { font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--red); }
.cx-tag { display: inline-flex; align-items: center; justify-content: center; min-width: 1.7em; padding: 0 6px; border-radius: 4px; background: var(--ink); color: var(--cream); font-family: var(--display); font-weight: 700; font-size: .8em; }

/* Endcap, author, back link */
.cx-endcap { background: var(--paper); border-radius: 10px; padding: 26px 28px; margin-top: 2.4em !important; }
.cx-endcap p { margin-bottom: 18px; }
.cx-author { display: flex; gap: 16px; align-items: flex-start; padding-top: 1.4em; border-top: 1px solid rgba(20, 19, 15, .14); font-size: 17.5px; line-height: 1.5; color: var(--ink-soft); }
.cx-author img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; flex: none; }
.cx-author strong { display: block; font-family: var(--display); font-weight: 680; color: var(--ink); font-size: 17px; }
.cx-back { display: inline-block; font-family: var(--display); font-weight: 600; font-size: 15.5px; text-decoration: none !important; padding: 8px 0; }

/* Post header */
.cx-byline { display: flex; align-items: center; gap: 14px; margin-top: 30px; font-family: var(--display); }
.cx-byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; }
.cx-byline a { font-weight: 650; font-size: 16px; text-decoration: none; }
.cx-byline p { font-size: 14.5px; color: var(--ink-soft); }
.cx-post-plate { margin-top: clamp(32px, 5svh, 56px); }
.cx-post-plate img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; border-radius: 10px; }

/* Related */
.cx-related { font-family: var(--display); }
.cx-related h2 { font-weight: 650; font-size: 14px; color: var(--ink-soft); margin-bottom: 10px; }
.cx-related ul { display: grid; border-top: 1px solid rgba(20, 19, 15, .14); }
.cx-related a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(20, 19, 15, .14); text-decoration: none; font-weight: 640; font-size: 15.5px; line-height: 1.3; }
.cx-related a:hover { color: var(--red); }
.cx-related a span { display: block; font-weight: 450; font-size: 14px; color: var(--ink-soft); margin-top: 3px; }
.cx-related.is-wide ul { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); column-gap: 32px; }

/* ---------- Buy panels ---------- */
.cx-buy { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px 28px; align-items: center; background: #fff; border-radius: 12px; padding: 18px; box-shadow: 0 0 0 1px rgba(20, 19, 15, .1), 0 30px 60px -44px rgba(20, 15, 10, .55); }
.cx-buy + .cx-buy { margin-top: 16px !important; }
.cx-buy img { border-radius: 8px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.cx-buy.is-plain { grid-template-columns: 1fr; padding: 26px 28px; }
.cx-buy-k { font-family: var(--display); font-weight: 650; font-size: 14px; color: var(--red); }
.cx-buy-name { font-family: var(--display); font-weight: 760; font-size: 24px; line-height: 1.15; letter-spacing: -.015em; margin: 4px 0 10px; }
.cx-buy p:not(.cx-buy-k):not(.cx-buy-name) { font-size: 17px; line-height: 1.5; color: var(--ink-soft); }
.cx-buy .btn { margin-top: 18px; }
.cx-buy-more { margin-top: 16px; font-size: 16px !important; }

/* ---------- Device demos (products) ---------- */
.cx-desk {
  position: relative; border-radius: 14px; overflow: hidden; background: var(--night); color: var(--bone);
  padding: clamp(18px, 2.6vw, 34px); box-shadow: 0 40px 80px -48px rgba(20, 15, 10, .75);
  isolation: isolate;
}
.cx-desk-photo { position: absolute; inset: 0; z-index: -1; }
.cx-desk-photo picture { height: 100%; }
.cx-desk-photo img { width: 100%; height: 100%; object-fit: cover; }
.cx-desk-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 12, 9, .55), rgba(14, 12, 9, .78)); }
.cx-desk-k { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-family: var(--display); font-weight: 560; font-size: 13.5px; color: var(--bone-soft); margin-bottom: 14px; }
.cx-desk-k b { color: var(--bone); font-weight: 650; }
.cx-demo-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; margin-top: 14px; font-family: var(--display); font-size: 13.5px; color: var(--bone-soft); }
.cx-replay {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: var(--r); border: 0; cursor: pointer;
  background: rgba(243, 237, 226, .1); color: var(--bone); font: 600 14px/1 var(--display); box-shadow: inset 0 0 0 1px rgba(243, 237, 226, .22);
}
.cx-replay:hover { background: rgba(243, 237, 226, .18); }
.cx-replay:focus-visible, .cx-desk :focus-visible { outline-color: var(--red-hi); }
.cx-replay svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }

/* Morning list demo */
.cx-ml-h { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: baseline; margin-bottom: 10px; }
.cx-ml-h b { font-size: 15px; }
.cx-ml-h span { font-size: 12.5px; color: var(--ui-soft); }
.cx-ml-status { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ui-soft); min-height: 20px; margin-bottom: 6px; }
.cx-ml-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.cx-ml-status.is-busy i { animation: cx-pulse 1s ease-in-out infinite; background: #C98A1B; }
@keyframes cx-pulse { 50% { opacity: .25; } }
.cx-ml-g { font-size: 11.5px; font-weight: 700; color: var(--ui-soft); margin: 12px 0 4px; letter-spacing: .01em; }
.cx-ml ul { display: grid; gap: 4px; }
.cx-ml li {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  padding: 8px 10px; border-radius: 6px; background: #fff; box-shadow: 0 0 0 1px var(--ui-line);
  transition: opacity .35s ease, transform .45s var(--ease);
}
.cx-ml li span { flex: none; font-size: 11.5px; font-weight: 650; color: var(--ok); }
.cx-ml li.is-dec span { color: var(--red); }
.cx-ml li.is-slip span { color: #9A6512; }
.cx-ml.is-armed li, .cx-ml.is-armed .cx-ml-g { opacity: 0; transform: translateY(6px); }
.cx-ml li.is-in, .cx-ml .cx-ml-g.is-in { opacity: 1; transform: none; }

/* Skill runner demo */
.cx-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.cx-tabs button {
  min-height: 40px; padding: 8px 12px; border-radius: 99px; border: 0; cursor: pointer;
  background: rgba(243, 237, 226, .1); color: var(--bone); font: 560 13.5px/1.1 var(--display);
  box-shadow: inset 0 0 0 1px rgba(243, 237, 226, .22); transition: background-color .18s ease, color .18s ease;
}
.cx-tabs button:hover { background: rgba(243, 237, 226, .18); }
.cx-tabs button[aria-selected="true"] { background: var(--bone); color: var(--ink); box-shadow: none; }
.cx-term { font-family: var(--device); background: #1E1C18; color: #E9E2D5; border-radius: 10px; overflow: hidden; box-shadow: 0 26px 50px -30px rgba(0, 0, 0, .8); }
.cx-term .win-bar { background: #2A2722; border-color: rgba(255, 255, 255, .06); color: #A39A8C; }
.cx-term .win-meta { color: #A39A8C; }
.cx-term .win-bar .dots i { background: rgba(255, 255, 255, .16); }
.cx-term-body { padding: 16px 18px; font: 13.5px/1.6 ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace; min-height: 300px; }
.cx-term-body p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.cx-term .t-you { color: #F3EDE2; }
.cx-term .t-you::before { content: "> "; color: var(--red-hi); }
.cx-term .t-sys { color: #A39A8C; }
.cx-term .t-h { color: #F3EDE2; font-weight: 700; margin-top: 10px; }
.cx-term .t-ok { color: var(--ok-hi); }
.cx-term .t-caret::after { content: ""; display: inline-block; width: .55em; height: 1.05em; vertical-align: -.15em; background: var(--red-hi); margin-left: 2px; animation: cx-blink 1s steps(1) infinite; }
@keyframes cx-blink { 50% { opacity: 0; } }

/* Procedure tailor demo */
.cx-tailor { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 14px; }
.cx-five { background: rgba(243, 237, 226, .08); border-radius: 10px; padding: 14px 16px; box-shadow: inset 0 0 0 1px rgba(243, 237, 226, .14); font-family: var(--display); }
.cx-five h3 { font-weight: 650; font-size: 13.5px; color: var(--bone-soft); margin-bottom: 8px; }
.cx-five ol { display: grid; gap: 7px; font-size: 14px; line-height: 1.35; }
.cx-five li { display: grid; grid-template-columns: 4.6em minmax(0, 1fr); gap: 8px; }
.cx-five li b { font-weight: 600; color: var(--bone-soft); font-size: 12.5px; padding-top: 1px; }
.cx-proc h3 { font-size: 15px; margin-bottom: 8px; }
.cx-proc p { margin: 0 0 6px; font-size: 13.5px; line-height: 1.5; }
.cx-proc p b { font-weight: 650; }
.cx-slot { border-radius: 3px; padding: 0 2px; background: rgba(190, 48, 26, .1); color: var(--red-press); font-weight: 600; transition: background-color .4s ease, color .4s ease; }
.cx-slot.is-filled { background: rgba(47, 107, 71, .14); color: var(--ok); }
.cx-slot.is-check { background: rgba(201, 138, 27, .18); color: #7A4F0C; }
.cx-flag { display: none; margin-top: 8px !important; font-size: 12.5px !important; color: #7A4F0C; }
.cx-flag.is-on { display: block; }

/* Voice toggle demo */
.cx-seg { display: inline-flex; padding: 4px; border-radius: 99px; background: rgba(243, 237, 226, .1); box-shadow: inset 0 0 0 1px rgba(243, 237, 226, .2); margin-bottom: 14px; border: 0; }
.cx-seg legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.cx-seg label { position: relative; }
.cx-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cx-seg span { display: inline-flex; align-items: center; min-height: 38px; padding: 8px 14px; border-radius: 99px; font: 600 13.5px/1 var(--display); color: var(--bone); cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.cx-seg input:checked + span { background: var(--bone); color: var(--ink); }
.cx-seg input:focus-visible + span { outline: 2px solid var(--red-hi); outline-offset: 2px; }
.cx-mail-h { font-size: 12.5px; color: var(--ui-soft); margin-bottom: 10px; display: grid; gap: 2px; }
.cx-mail-h b { color: var(--ui-ink); font-weight: 650; }
.cx-mail { font-size: 14px; line-height: 1.55; min-height: 228px; }
.cx-mail p + p { margin-top: 9px; }
.cx-mail .is-cut { text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 1.5px; color: #8f877b; }
.cx-mail[hidden] { display: none; }
.cx-notes { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--ui-line); font-size: 12.5px; color: var(--ui-soft); display: grid; gap: 4px; }
.cx-notes b { color: var(--red); font-weight: 650; }

/* Video */
.cx-watch { background: var(--night); color: var(--bone); padding: clamp(64px, 10svh, 120px) 0; }
.cx-watch-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.cx-watch p { color: var(--bone-soft); margin-top: 16px; font-size: 19px; max-width: 30em; }
.cx-video { width: 100%; height: auto; border-radius: 12px; background: #000; box-shadow: 0 40px 80px -48px rgba(0, 0, 0, .9); aspect-ratio: 16 / 9; }

/* ---------- Legal ---------- */
.cx-effective { font-family: var(--display); font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Blog index ---------- */
.cx-posts { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
.cx-posts-pics { position: sticky; top: calc(var(--nav-h) + 28px); }
.cx-posts-frame { position: relative; aspect-ratio: 4 / 4.4; border-radius: 12px; overflow: hidden; background: #0c0b09; }
.cx-posts-frame picture { position: absolute; inset: 0; opacity: 0; transform: scale(1.05); transition: opacity .7s var(--ease-io), transform 1.4s var(--ease); }
.cx-posts-frame picture.is-on { opacity: 1; transform: none; }
.cx-posts-frame img { width: 100%; height: 100%; object-fit: cover; }
.cx-post { padding: clamp(24px, 4svh, 40px) 0; border-bottom: 1px solid rgba(20, 19, 15, .14); }
.cx-post:first-child { border-top: 1px solid rgba(20, 19, 15, .14); }
.cx-post h2 { font-family: var(--display); font-weight: 760; font-variation-settings: "wdth" 102; font-size: clamp(26px, 2.5vw, 38px); line-height: 1.06; letter-spacing: -.022em; text-wrap: balance; }
.cx-post h2 a { text-decoration: none; }
.cx-post h2 a::after { content: ""; position: absolute; inset: 0; }
.cx-post { position: relative; }
.cx-post:hover h2 a, .cx-post h2 a:focus-visible { color: var(--red); }
.cx-post p { margin-top: 12px; font-size: 19px; color: var(--ink-soft); max-width: 36em; }
.cx-post .cx-small { margin-top: 14px; }
.cx-aside-line { margin-top: 28px; font-size: 18px; color: var(--ink-soft); }

/* ---------- Close (short variant of c.css .close) ---------- */
.close.cx-close { min-height: 0; }
.close.cx-close .close-in { padding-top: clamp(96px, 16svh, 180px); padding-bottom: clamp(72px, 12svh, 140px); }
.close.cx-close h2 { font-size: clamp(40px, 5.2vw, 84px); max-width: 13ch; }

/* ---------- Links page ---------- */
.cx-links { min-height: 100svh; background: var(--night); color: var(--bone); position: relative; isolation: isolate; }
.cx-links-photo { position: fixed; inset: 0; z-index: -1; }
.cx-links-photo img { width: 100%; height: 100%; object-fit: cover; }
.cx-links-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 12, 9, .7), rgba(14, 12, 9, .9) 55%); }
.cx-links-wrap { max-width: 560px; margin-inline: auto; padding: 48px 16px 40px; }
.cx-links-top { text-align: center; }
.cx-links-top img { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; margin: 0 auto 16px; box-shadow: 0 0 0 3px var(--night), 0 0 0 5px var(--red); }
.cx-links-top h1 { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 106; font-size: 34px; letter-spacing: -.02em; line-height: 1.05; }
.cx-links-role { font-family: var(--display); font-weight: 560; font-size: 15px; color: var(--red-hi); margin-top: 6px; }
.cx-links-bio { margin-top: 12px; font-size: 18px; line-height: 1.5; color: var(--bone-soft); }
.cx-social { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.cx-social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--bone); }
.cx-social a:hover { background: rgba(243, 237, 226, .1); }
.cx-social svg { width: 20px; height: 20px; }
.cx-links-main { display: block; margin-top: 28px; padding: 18px 20px; border-radius: 12px; background: var(--red); color: var(--cream); text-decoration: none; font-family: var(--display); }
.cx-links-main:hover { background: #AE2A16; }
.cx-links-main .t, .cx-links-list .t { display: block; font-weight: 700; font-size: 17px; }
.cx-links-main .d, .cx-links-list .d { display: block; font-weight: 450; font-size: 14px; margin-top: 3px; opacity: .88; }
.cx-links-group { margin-top: 30px; }
.cx-links-group h2 { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--display); font-weight: 650; font-size: 14px; color: var(--bone-soft); margin-bottom: 10px; }
.cx-links-group h2 a { color: var(--bone); font-weight: 600; font-size: 14px; text-underline-offset: 3px; }
.cx-links-list { display: grid; gap: 8px; }
.cx-links-list a { display: block; padding: 14px 18px; border-radius: 10px; background: rgba(243, 237, 226, .07); box-shadow: inset 0 0 0 1px rgba(243, 237, 226, .14); text-decoration: none; font-family: var(--display); transition: background-color .18s ease; }
.cx-links-list a:hover { background: rgba(243, 237, 226, .14); }
.cx-links-list .d { color: var(--bone-soft); opacity: 1; }
.cx-links-foot { margin-top: 32px; text-align: center; font-family: var(--display); font-size: 13.5px; color: var(--bone-soft); }
.cx-links-foot a { color: var(--bone-soft); }
.cx-links :focus-visible { outline-color: var(--red-hi); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .cx-read-grid { grid-template-columns: minmax(180px, 13rem) minmax(0, 1fr); }
  .cx-read-grid > .cx-rail { display: none; }
}
@media (max-width: 980px) {
  .cx-watch-grid, .cx-posts { grid-template-columns: 1fr; }
  .cx-band-head { grid-template-columns: 1fr; }
  .cx-posts-pics { display: none; }
  .build.cx-build { position: relative; top: 0; }
}
@media (max-width: 860px) {
  .cx-read-grid { grid-template-columns: 1fr; }
  .cx-aside { position: static; }
  .cx-aside .cx-toc, .cx-aside .cx-meter { display: none; }
  .cx-aside.is-legal .cx-toc { display: block; }
  .cx-aside.is-legal { border-bottom: 1px solid rgba(20, 19, 15, .14); padding-bottom: 18px; }
  .cx-aside.is-legal .cx-toc ol { columns: 2; column-gap: 20px; display: block; border: 0; }
  .cx-aside.is-legal .cx-toc a { padding-left: 0; border: 0; margin: 0; }
  .cx-row { grid-template-columns: 1fr; }
  .cx-row-act { justify-self: start; }
  .cx-tailor { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .cx-prose { font-size: 19px; }
  .cx-prose .cx-first { font-size: 21px; }
  .cx-buy { grid-template-columns: 1fr; }
  .cx-post-plate img { aspect-ratio: 16 / 10; }
  .cx-term-body { min-height: 340px; font-size: 12.5px; }
  .cx-form form { flex-direction: column; }
  .cx-form .btn { width: 100%; }
  .cx-aside.is-legal .cx-toc ol { columns: 1; }
  .close.cx-close h2 { font-size: clamp(38px, 11vw, 56px); }
}

/* Reduced motion: no transitions that move, everything shown complete */
.rm .cx-ml.is-armed li, .rm .cx-ml.is-armed .cx-ml-g { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .cx-row, .cx-ml li, .cx-posts-frame picture, .cx-slot { transition: none !important; }
  .cx-ml-status.is-busy i, .cx-term .t-caret::after { animation: none; }
}

@media (max-width: 420px) { .cx-desk .win-meta { display: none; } }
