:root {
  --cm-bg: #05070b;
  --cm-bg-soft: #0a0f18;
  --cm-surface: rgba(255,255,255,.055);
  --cm-line: rgba(255,255,255,.12);
  --cm-text: #f5f8fc;
  --cm-muted: #9ba8bb;
  --cm-accent: #37b7ff;
  --cm-accent-rgb: 55,183,255;
  --cm-shell: min(1320px, calc(100vw - 48px));
  --cm-radius: 28px;
  --cm-header-h: 84px;
  --cm-ease: cubic-bezier(.22,1,.36,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--cm-bg); }
body { margin: 0; background: var(--cm-bg); color: var(--cm-text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .16; z-index: 99; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.2'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font: inherit; }
.screen-reader-text, .cm-skip-link { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.cm-skip-link:focus { width: auto; height: auto; clip: auto; margin: 10px; padding: 12px 16px; z-index: 9999; background: #fff; color: #000; border-radius: 8px; }
.cm-shell { width: var(--cm-shell); margin-inline: auto; }
.cm-main { min-height: 70vh; }
.cm-eyebrow { margin: 0 0 18px; color: var(--cm-accent); text-transform: uppercase; letter-spacing: .18em; font-size: .76rem; font-weight: 700; }
.cm-header { position: fixed; inset: 0 0 auto; height: var(--cm-header-h); z-index: 1000; transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease; border-bottom: 1px solid transparent; }
.cm-header.is-scrolled { background: rgba(5,7,11,.78); border-color: var(--cm-line); backdrop-filter: blur(18px); }
.cm-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cm-brand { display: inline-flex; align-items: center; font-weight: 800; letter-spacing: -.04em; font-size: 1.15rem; }
.cm-brand .custom-logo { max-height: 42px; width: auto; }
.cm-nav ul { display: flex; align-items: center; gap: clamp(18px,2.3vw,38px); list-style: none; margin: 0; padding: 0; }
.cm-nav a { color: rgba(255,255,255,.78); font-size: .92rem; position: relative; transition: color .25s ease; }
.cm-nav a::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 100%; height: 1px; background: var(--cm-accent); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--cm-ease); }
.cm-nav a:hover, .cm-nav .current-menu-item > a { color: #fff; }
.cm-nav a:hover::after, .cm-nav .current-menu-item > a::after { transform: scaleX(1); transform-origin: left; }
.cm-menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--cm-line); background: rgba(255,255,255,.05); border-radius: 50%; align-items: center; justify-content: center; flex-direction: column; gap: 6px; color: #fff; }
.cm-menu-toggle span:not(.screen-reader-text) { width: 18px; height: 1px; background: currentColor; }
.cm-footer { border-top: 1px solid var(--cm-line); padding: 72px 0 36px; background: #030508; }
.cm-footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: start; }
.cm-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.cm-footer p { color: var(--cm-muted); margin: 8px 0 0; }
.cm-footer__copy { grid-column: 1 / -1; padding-top: 30px; border-top: 1px solid var(--cm-line); font-size: .84rem; }
.cm-archive-hero { position: relative; min-height: 68vh; display: grid; align-items: end; padding: calc(var(--cm-header-h) + 80px) 0 96px; overflow: hidden; isolation: isolate; }
.cm-archive-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(circle at 72% 30%, rgba(var(--cm-accent-rgb),.25), transparent 28%), linear-gradient(180deg,#060913,#05070b); }
.cm-archive-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px); background-size: 54px 54px; mask-image: linear-gradient(to bottom,#000,transparent 88%); }
.cm-archive-hero h1, .cm-cinematic-hero h1, .cm-article h1 { margin: 0; max-width: 980px; font-size: clamp(3.6rem,9vw,9rem); line-height: .89; letter-spacing: -.075em; font-weight: 700; }
.cm-archive-description { max-width: 670px; color: var(--cm-muted); font-size: clamp(1.05rem,1.5vw,1.35rem); margin-top: 34px; }
.cm-archive-orb { position: absolute; width: min(50vw,700px); aspect-ratio: 1; border-radius: 50%; right: -12%; top: 5%; background: radial-gradient(circle at 34% 28%, rgba(255,255,255,.7), rgba(var(--cm-accent-rgb),.38) 7%, rgba(var(--cm-accent-rgb),.08) 33%, transparent 66%); filter: blur(2px); opacity: .72; animation: cmFloat 7s ease-in-out infinite; }
.cm-post-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; padding: 96px 0 130px; }
.cm-post-card { min-width: 0; background: linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.025)); border: 1px solid var(--cm-line); border-radius: var(--cm-radius); overflow: hidden; transform: translateY(40px); opacity: 0; transition: transform .9s var(--cm-ease), opacity .9s ease, border-color .35s ease; }
.cm-post-card.is-visible { transform: translateY(0); opacity: 1; }
.cm-post-card:hover { border-color: rgba(var(--cm-accent-rgb),.45); }
.cm-post-card__media { aspect-ratio: 16/10; display: block; overflow: hidden; background: #0b111c; }
.cm-post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--cm-ease), filter .5s ease; filter: saturate(.86); }
.cm-post-card:hover .cm-post-card__media img { transform: scale(1.055); filter: saturate(1.1); }
.cm-post-card__body { padding: clamp(25px,3vw,42px); }
.cm-post-card h2 { margin: 0 0 15px; font-size: clamp(1.5rem,2.2vw,2.5rem); letter-spacing: -.045em; line-height: 1.03; }
.cm-post-card p:not(.cm-eyebrow) { color: var(--cm-muted); }
.cm-text-link { display: inline-flex; margin-top: 16px; color: #fff; font-weight: 650; }
.cm-article { padding: calc(var(--cm-header-h) + 90px) 0 130px; max-width: 1040px; }
.cm-article__header { margin-bottom: 54px; }
.cm-article__media { border-radius: var(--cm-radius); overflow: hidden; margin-bottom: 60px; }
.cm-prose { color: #d8e0eb; font-size: clamp(1.02rem,1.35vw,1.22rem); }
.cm-prose > * { max-width: 820px; margin-left: auto; margin-right: auto; }
.cm-prose h2, .cm-prose h3 { color: #fff; letter-spacing: -.045em; line-height: 1.08; margin-top: 2.2em; }
.cm-prose h2 { font-size: clamp(2rem,4vw,4rem); }
.cm-prose h3 { font-size: clamp(1.5rem,2.5vw,2.5rem); }
.cm-prose img, .cm-prose figure, .cm-prose .alignwide { max-width: 1120px; }
.cm-prose a { color: var(--cm-accent); text-decoration: underline; text-underline-offset: 4px; }
.cm-cinematic-single { --cm-entry-accent: var(--cm-accent); }
.cm-cinematic-hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; padding: calc(var(--cm-header-h) + 70px) 0 95px; overflow: hidden; isolation: isolate; }
.cm-cinematic-hero::before { content: ""; position: absolute; inset: 0; z-index: -3; background: linear-gradient(180deg,#020306 0%,#07101b 60%,var(--cm-bg) 100%); }
.cm-cinematic-hero__glow { position: absolute; width: 55vw; aspect-ratio: 1; left: 50%; top: 50%; transform: translate(-10%,-50%); z-index: -1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--cm-entry-accent) 30%, transparent), transparent 67%); filter: blur(20px); }
.cm-cinematic-hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: .78; }
.cm-cinematic-hero__content { position: relative; z-index: 2; }
.cm-cinematic-hero__lead { max-width: 730px; color: var(--cm-muted); font-size: clamp(1.2rem,2vw,1.75rem); margin: 34px 0 0; }
.cm-feature-media { position: relative; margin-top: -38px; border-radius: clamp(22px,4vw,48px); overflow: hidden; z-index: 5; transform: translateY(var(--cm-parallax,0)); box-shadow: 0 50px 140px rgba(0,0,0,.42); }
.cm-feature-media::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.18); border-radius: inherit; pointer-events: none; }
.cm-feature-media img, .cm-feature-media video { width: 100%; min-height: 54vw; max-height: 840px; object-fit: cover; }
.cm-stat-strip { display: grid; grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); margin-top: 80px; border: 1px solid var(--cm-line); border-radius: 22px; opacity: 0; transform: translateY(30px); transition: 1s var(--cm-ease); }
.cm-stat-strip.is-visible { opacity: 1; transform: translateY(0); }
.cm-stat-strip > div { padding: 28px; border-right: 1px solid var(--cm-line); }
.cm-stat-strip > div:last-child { border-right: 0; }
.cm-stat-strip strong { display: block; font-size: clamp(1.7rem,3vw,3rem); line-height: 1; color: #fff; }
.cm-stat-strip span { display: block; margin-top: 10px; color: var(--cm-muted); font-size: .88rem; }
.cm-cinematic-body { display: grid; grid-template-columns: 180px minmax(0,1fr); gap: clamp(40px,7vw,120px); padding: 130px 0 150px; }
.cm-cinematic-body__rail { border-right: 1px solid var(--cm-line); text-transform: uppercase; letter-spacing: .2em; color: var(--cm-muted); font-size: .68rem; }
.cm-cinematic-body__rail span { position: sticky; top: 130px; writing-mode: vertical-rl; }
@keyframes cmFloat { 0%,100%{ transform: translateY(0) rotate(0deg);} 50%{ transform: translateY(28px) rotate(8deg);} }
@media (max-width: 900px) {
  :root { --cm-shell: min(100% - 30px, 720px); --cm-header-h: 72px; }
  .cm-menu-toggle { display: inline-flex; z-index: 3; }
  .cm-nav { position: fixed; inset: 0; display: grid; place-items: center; background: rgba(4,6,10,.97); opacity: 0; visibility: hidden; transition: .35s ease; }
  .cm-nav.is-open { opacity: 1; visibility: visible; }
  .cm-nav ul { flex-direction: column; gap: 24px; text-align: center; }
  .cm-nav a { font-size: clamp(1.7rem,6vw,3rem); }
  .cm-post-grid { grid-template-columns: 1fr; padding: 64px 0 90px; }
  .cm-footer__inner { grid-template-columns: 1fr; }
  .cm-footer__copy { grid-column: auto; }
  .cm-cinematic-body { grid-template-columns: 1fr; padding: 80px 0 100px; }
  .cm-cinematic-body__rail { display: none; }
  .cm-stat-strip > div { border-right: 0; border-bottom: 1px solid var(--cm-line); }
  .cm-stat-strip > div:last-child { border-bottom: 0; }
}
@media (max-width: 560px) {
  .cm-archive-hero h1, .cm-cinematic-hero h1, .cm-article h1 { font-size: clamp(3rem,16vw,5rem); }
  .cm-archive-hero, .cm-cinematic-hero { min-height: 78vh; padding-bottom: 62px; }
  .cm-feature-media { margin-top: -18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-cm-reveal], .cm-post-card { opacity: 1 !important; transform: none !important; }
}
