:root {
  --background: oklch(.988 .002 247);
  --foreground: oklch(.22 .018 260);
  --primary: oklch(.623 .214 259);
  --primary-foreground: oklch(1 0 0);
  --secondary: oklch(.947 .01 252);
  --muted: oklch(.962 .005 247);
  --muted-foreground: oklch(.53 .022 255);
  --accent: oklch(.95 .025 254);
  --border: oklch(.9 .007 250);
  --destructive: oklch(.58 .22 25);
  --overlay: oklch(.12 .022 254);
  --on-image: oklch(1 0 0);
  --newsletter: oklch(.952 .018 255);
  --shadow-menu: 0 15px 45px oklch(.2 .02 260 / .12);
  --font-sans: "Work Sans", sans-serif;
  --font-display: "Instrument Serif", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; border-color: var(--border); }
[hidden] { display: none !important; }
body { margin: 0; background: var(--background); color: var(--foreground); font-family: var(--font-sans); font-size: 14px; }
h1, h2, h3, h4, h5, p { margin: 0; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; }
img, video { max-width: 100%; }
.container-blog { max-width: 1240px; margin: auto; padding: 0 40px; }
.site-header { position: relative; z-index: 30; border-bottom: 1px solid var(--border); background: var(--background); }
.masthead { height: 91px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); }
.brand-row, .masthead-side, .nav-end, .cluster, .spread { display: flex; align-items: center; }
.masthead-side { gap: 16px; }
.nav-end { margin-left: auto; gap: 12px; }
.cluster { gap: 12px; }
.spread { justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; color: inherit; line-height: 0; }
.brand-logo { display: block; height: 78px; width: auto; }
.brand-logo-sm { height: 56px; }
.brand-caption { color: var(--muted-foreground); font-size: 11px; margin-left: 24px; padding-left: 24px; border-left: 1px solid var(--border); }
.desktop-date { font-size: 10px; color: var(--muted-foreground); letter-spacing: .04em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.navigation { display: flex; align-items: center; gap: 27px; height: 54px; }
.nav-group { height: 100%; display: flex; align-items: center; }
.nav-link { font-size: 12px; font-weight: 500; display: flex; align-items: center; gap: 5px; }
.nav-link:hover, .back-link:hover, .crumbs a:hover { color: var(--primary); }
.nav-link.is-current { color: var(--primary); }
.mega-menu { display: none; position: absolute; top: 145px; left: 0; right: 0; z-index: 40; padding: 28px 40px; background: var(--background); box-shadow: var(--shadow-menu); border-top: 1px solid var(--border); }
.nav-group:hover .mega-menu, .nav-group:focus-within .mega-menu { display: block; }
.menu-grid { max-width: 1160px; margin: auto; display: grid; grid-template-columns: 190px 1fr 1fr; gap: 30px; }
.menu-story { display: flex; gap: 16px; align-items: center; }
.menu-story img { width: 100px; height: 70px; object-fit: cover; border-radius: 4px; }
.menu-story h4 { font-family: var(--font-display); font-size: 20px; margin-top: 8px; line-height: 1.2; }
.mobile-nav { display: none; }
.mobile-panel { display: flex; flex-direction: column; gap: 14px; padding: 18px 0 8px; border-top: 1px solid var(--border); }
.mobile-panel a { font-size: 15px; }
.ad-slot { background: var(--muted); border: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--muted-foreground); font-size: 10px; text-align: center; }
.ad-slot span { font-size: 9px; text-transform: uppercase; letter-spacing: 2px; opacity: .65; }
.ad-leader { height: 90px; max-width: 970px; margin: 25px auto 33px; }
.ad-side { min-height: 250px; }
.ad-inline { height: 120px; margin: 32px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 21px; gap: 12px; }
.section-heading h1, .section-heading h2 { font-family: var(--font-display); font-size: 32px; }
.eyebrow { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.4px; color: var(--primary); }
.spotlight-label { font-size: 8px; letter-spacing: 1.4px; text-transform: uppercase; font-weight: 600; border: 1px solid var(--border); border-radius: 4px; padding: 4px 8px; color: var(--primary); }
.featured-grid { display: grid; grid-template-columns: 1.72fr 1fr; gap: 23px; }
.feature-main { position: relative; display: block; height: 418px; border-radius: 6px; overflow: hidden; color: var(--on-image); }
.feature-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.feature-main:hover img { transform: scale(1.025); }
.feature-shade { position: absolute; inset: 0; background: linear-gradient(0deg, var(--overlay), transparent 85%); }
.feature-copy { position: absolute; bottom: 27px; left: 28px; right: 28px; color: var(--on-image); }
.feature-copy h3 { font-family: var(--font-display); font-size: 37px; line-height: 1.12; margin: 13px 0; max-width: 540px; }
.feature-copy .blurb { font-size: 12px; line-height: 1.6; opacity: .8; max-width: 28rem; }
.feature-copy .corner-arrow { position: absolute; right: 0; bottom: 0; }
.image-label { background: var(--background); color: var(--foreground); padding: 5px 8px; font-size: 9px; font-weight: 600; border-radius: 3px; letter-spacing: .08em; }
.article-meta { font-size: 10px; display: flex; align-items: center; gap: 8px; color: var(--muted-foreground); margin-top: 12px; flex-wrap: wrap; }
.feature-copy .article-meta { color: var(--on-image); opacity: .85; }
.feature-secondary { display: grid; grid-template-columns: 152px 1fr; gap: 19px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--border); }
.feature-secondary:last-child { margin: 0; padding: 0; border: 0; }
.feature-secondary img { width: 152px; height: 185px; object-fit: cover; border-radius: 5px; }
.feature-secondary h3 { font-family: var(--font-display); font-size: 25px; line-height: 1.15; margin: 10px 0; }
.feature-secondary p { font-size: 11px; line-height: 1.7; color: var(--muted-foreground); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 42px; margin-top: 45px; padding-top: 30px; border-top: 1px solid var(--border); }
.story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; }
.story-card img { width: 100%; height: 184px; object-fit: cover; border-radius: 5px; margin-bottom: 15px; display: block; }
.story-card h3 { font-family: var(--font-display); font-size: 26px; line-height: 1.15; margin-top: 8px; }
.story-card p { font-size: 11px; color: var(--muted-foreground); line-height: 1.75; margin-top: 9px; }
.link-title:hover { color: var(--primary); }
.sidebar { align-self: start; position: sticky; top: 22px; }
.sidebar-title { font-size: 21px; font-family: var(--font-display); display: flex; align-items: center; gap: 8px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.sidebar-title span { margin-left: auto; font-family: var(--font-sans); font-size: 9px; color: var(--muted-foreground); letter-spacing: .08em; }
.toc-links { display: flex; flex-direction: column; gap: 12px; margin: 16px 0 28px; font-size: 12px; color: var(--muted-foreground); }
.toc-links a:hover { color: var(--primary); }
.popular-row { display: flex; gap: 15px; padding: 17px 0; border-bottom: 1px solid var(--border); }
.popular-number { font-family: var(--font-display); font-size: 29px; color: var(--muted-foreground); opacity: .5; }
.popular-row h4 { font-size: 12px; line-height: 1.5; font-weight: 500; }
.newsletter { background: var(--newsletter); padding: 24px; margin: 25px 0; border-radius: 5px; }
.newsletter h3 { font-family: var(--font-display); font-size: 27px; margin: 10px 0; }
.newsletter p { color: var(--muted-foreground); font-size: 11px; line-height: 1.7; margin-bottom: 16px; }
.newsletter-ok { color: var(--primary); font-weight: 600; font-size: 13px; margin: 0; }
input:not([type=checkbox]):not([type=radio]):not([type=file]), textarea, select { background: var(--background); border: 1px solid var(--border); border-radius: 4px; padding: 11px 12px; width: 100%; font: inherit; outline: none; color: inherit; }
input:focus, textarea:focus, select:focus { border-color: var(--primary); }
input[type=file] { font: inherit; font-size: 12px; }
.category-band { padding: 36px 0 45px; margin-top: 40px; border-top: 1px solid var(--border); }
.category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; }
.category-tile { border: 1px solid var(--border); border-radius: 5px; padding: 20px; transition: background .2s; display: block; }
.category-tile:hover { background: var(--accent); }
.category-tile h3 { margin: 14px 0 5px; font-size: 13px; }
.category-tile p { font-size: 10px; color: var(--muted-foreground); display: flex; justify-content: space-between; align-items: center; }
footer { border-top: 1px solid var(--border); padding: 30px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; color: var(--muted-foreground); font-size: 11px; gap: 20px; }
.footer-inner a:hover { color: var(--primary); }
.article-header { max-width: 850px; padding-top: 32px; margin: 0 auto 30px; text-align: center; }
.article-header h1 { font-family: var(--font-display); font-size: 56px; line-height: 1.07; margin: 16px 0; }
.article-header > p { font-size: 16px; line-height: 1.7; color: var(--muted-foreground); }
.article-banner { width: 100%; max-height: 520px; aspect-ratio: 2.3; object-fit: cover; border-radius: 5px; display: block; }
.article-body { font-size: 16px; line-height: 1.85; }
.article-body a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: oklch(.5 .18 259); }
.article-body p { margin-bottom: 22px; }
.article-body h2 { font-family: var(--font-display); font-size: 35px; margin: 32px 0 16px; line-height: 1.2; scroll-margin-top: 30px; }
.article-body h3 { font-family: var(--font-display); font-size: 28px; margin: 24px 0 12px; }
.article-body h4 { font-size: 19px; margin: 22px 0 10px; }
.article-body h5 { font-size: 16px; margin: 18px 0 8px; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 24px; }
.article-body blockquote { border-left: 3px solid var(--primary); padding: 10px 22px; margin: 28px 0; font-family: var(--font-display); font-size: 26px; background: var(--accent); }
.article-body blockquote p { margin: 0; }
.article-body figure { margin: 30px 0; }
.article-body figure img, .article-body video, .article-body iframe { width: 100%; border: 0; border-radius: 5px; }
.article-body iframe, .article-body video { aspect-ratio: 16 / 9; background: #111; }
.article-body figcaption { text-align: center; font-size: 11px; color: var(--muted-foreground); margin-top: 8px; }
.article-body table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.article-body th, .article-body td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; }
.article-body pre { background: var(--muted); padding: 14px; border-radius: 5px; overflow: auto; margin-bottom: 22px; }
.article-actions { display: flex; justify-content: center; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.center-meta { display: flex; justify-content: center; margin-top: 20px; }
.back-link { font-size: 12px; color: var(--muted-foreground); display: inline-flex; align-items: center; gap: 8px; }
.author-row { display: flex; gap: 16px; align-items: center; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 24px 0; margin: 32px 0; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--primary); display: grid; place-items: center; font-family: var(--font-display); font-size: 20px; flex: none; }
.author-row h4 { font-size: 14px; }
.author-row p { margin: 0; font-size: 12px; color: var(--muted-foreground); }
.comment { padding: 20px 0; border-top: 1px solid var(--border); }
.comment h3 { font-size: 14px; }
.comment p { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.7; margin-top: 8px; }
.comment time { font-size: 10px; color: var(--muted-foreground); }
.comment-form { display: flex; flex-direction: column; gap: 12px; }
.crumbs { font-size: 12px; color: var(--muted-foreground); }
.page-intro { padding: 32px 0; }
.page-intro h1 { font-family: var(--font-display); font-size: 48px; margin-top: 12px; }
.page-intro p { color: var(--muted-foreground); margin-top: 12px; max-width: 640px; }
.closing-band { border-top: 1px solid var(--border); padding: 32px 0; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.closing-band h2 { font-family: var(--font-display); font-size: 32px; margin-top: 8px; }
.more-wrap { text-align: center; margin: 32px 0; }
.search-results { max-height: 430px; overflow: auto; margin-top: 8px; }
.search-hit { padding: 16px 0; border-bottom: 1px solid var(--border); }
.search-hit h3 { font-family: var(--font-display); font-size: 24px; margin-top: 8px; }
.empty-note { color: var(--muted-foreground); padding: 28px 0; }
.reading-progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 60; background: var(--primary); transform-origin: left; scale: var(--progress, 0) 1; }
.fade-in { animation: fade-in .45s ease-out; }
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 5px; border: 1px solid transparent; background: var(--primary); color: var(--primary-foreground); font-size: 12px; font-weight: 600; text-decoration: none; }
.btn:hover { filter: brightness(.96); }
.btn-outline { background: var(--background); color: var(--foreground); border-color: var(--border); }
.btn-outline:hover { background: var(--accent); filter: none; }
.btn-ghost { background: transparent; color: var(--foreground); }
.btn-ghost:hover { background: var(--accent); filter: none; }
.btn-danger { background: transparent; color: var(--destructive); border-color: var(--border); }
.btn-sm { height: 32px; padding: 0 12px; }
.btn-icon { width: 36px; height: 36px; padding: 0; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn svg { width: 16px; height: 16px; }
.text-primary { color: var(--primary); }
.muted { color: var(--muted-foreground); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
dialog.panel { border: 1px solid var(--border); border-radius: 8px; padding: 28px; width: min(560px, calc(100vw - 32px)); background: var(--background); color: var(--foreground); box-shadow: var(--shadow-menu); }
dialog.panel::backdrop { background: oklch(.12 .022 254 / .46); }
dialog.panel h2 { font-family: var(--font-display); font-size: 32px; margin-bottom: 16px; }
.dialog-close { position: absolute; top: 12px; right: 12px; }
.flash { background: var(--accent); border-radius: 5px; padding: 12px 14px; margin-bottom: 18px; font-size: 13px; }
.flash-error { background: oklch(.97 .02 25); color: var(--destructive); }
.field-error { color: var(--destructive); font-size: 12px; margin-top: 4px; }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--foreground); color: white; padding: 10px 14px; border-radius: 5px; font-size: 12px; z-index: 70; }
.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 40px 16px; }
.not-found h1 { font-family: var(--font-display); font-size: 72px; }
.not-found p { color: var(--muted-foreground); margin: 8px 0 20px; }
.pager { display: flex; gap: 12px; align-items: center; margin-top: 28px; font-size: 12px; color: var(--muted-foreground); }

.studio { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; }
.studio-nav { border-right: 1px solid var(--border); padding: 28px 16px; position: sticky; top: 0; height: 100vh; background: var(--background); display: flex; flex-direction: column; }
.studio-brand { display: flex; line-height: 0; }
.studio-brand .brand-logo { height: 72px; }
.studio-kicker { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-foreground); margin: 8px 0 22px; }
.studio-link { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 5px; font-size: 13px; font-weight: 500; }
.studio-link.is-active, .studio-link:hover { background: var(--accent); color: var(--primary); }
.studio-nav form { margin-top: auto; }
.studio-main { padding: 28px 36px 72px; }
.studio-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; }
.studio-head h1 { font-family: var(--font-display); font-size: 40px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; margin-bottom: 28px; }
.studio-nav nav { display: flex; flex-direction: column; gap: 2px; }
.similar-box { border: 1px solid var(--border); border-radius: 6px; padding: 14px; margin-bottom: 18px; background: var(--muted); }
.similar-box h2 { font-family: var(--font-display); font-size: 26px; }
.similar-hit { border-top: 1px solid var(--border); padding: 12px 0; }
.similar-hit:first-child { border-top: 0; padding-top: 0; }
.similar-hit strong { display: block; }
.similar-actions { justify-content: flex-start; margin-top: 8px; }
.similar-story { align-items: flex-start; margin-top: 12px; }
.studio-read { max-width: 820px; }
.studio-read .article-banner { margin-bottom: 18px; }
.studio-excerpt { font-size: 16px; line-height: 1.7; color: var(--muted-foreground); margin-bottom: 22px; }
.bar-row { display: grid; grid-template-columns: 72px minmax(0, 1fr) 28px; gap: 8px; align-items: center; margin-bottom: 8px; font-size: 12px; }
.bar { height: 8px; background: var(--muted); border-radius: 99px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--primary); }
.stat { border: 1px solid var(--border); border-radius: 6px; padding: 16px; }
.stat span { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-foreground); }
.stat strong { display: block; font-family: var(--font-display); font-size: 34px; margin-top: 6px; font-weight: 400; }
.panel { border: 1px solid var(--border); border-radius: 6px; padding: 18px; background: white; }
.panel + .panel { margin-top: 18px; }
.panel h2 { font-family: var(--font-display); font-size: 26px; margin-bottom: 12px; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label, .check { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-foreground); }
.check { display: flex; align-items: center; gap: 8px; text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 500; color: var(--foreground); margin-bottom: 10px; }
.check input { width: auto; accent-color: var(--primary); }
.hint { font-size: 11px; color: var(--muted-foreground); line-height: 1.5; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-foreground); font-weight: 600; text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.data-table td { padding: 14px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; font-size: 13px; }
.data-table a:hover { color: var(--primary); }
.row-actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; border-radius: 99px; padding: 3px 8px; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.badge-live { background: var(--accent); color: var(--primary); }
.badge-draft { background: var(--muted); color: var(--muted-foreground); }
.badge-scheduled { background: oklch(.95 .04 85); color: oklch(.45 .12 70); }
.badge-super { background: oklch(.93 .04 259); color: oklch(.4 .16 259); }
.profile-card { max-width: 560px; }
.profile-card h2 { margin-top: 8px; }
.perf-range { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.perf-range a { height: 32px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--border); display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; background: white; }
.perf-range a.is-on { background: var(--primary); color: white; border-color: transparent; }
.perf-links { display: flex; gap: 14px; margin: -8px 0 18px; }
.perf-links a { color: var(--primary); font-weight: 600; }
.perf-stats { align-items: stretch; }
.perf-spark { width: 100%; height: 28px; margin-top: 8px; color: var(--primary); }
.perf-spark polyline { fill: none; stroke: currentColor; stroke-width: 1.6; }
.perf-chart-panel { margin-bottom: 18px; }
.perf-chart { position: relative; overflow: hidden; padding-top: 8px; }
.perf-svg { width: 100%; height: auto; display: block; }
.perf-col { fill: oklch(.623 .214 259 / .88); cursor: pointer; transform-box: fill-box; transform-origin: center bottom; animation: perf-rise .45s ease both; }
.perf-col.is-zero { fill: oklch(.93 .008 250); }
.perf-col:hover, .perf-col.is-on { fill: oklch(.48 .18 259); }
.perf-col.is-zero.is-on, .perf-col.is-zero:hover { fill: oklch(.72 .04 259); }
.perf-axis { font-size: 8px; fill: oklch(.53 .022 255); font-family: var(--font-sans); }
.perf-tip { position: absolute; z-index: 2; transform: translateX(-50%); background: var(--foreground); color: white; font-size: 12px; font-weight: 600; padding: 6px 8px; border-radius: 5px; pointer-events: none; white-space: nowrap; }
.perf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.perf-slice-body { display: flex; gap: 14px; align-items: center; }
.perf-donut { width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.perf-donut span { width: 68px; height: 68px; border-radius: 50%; background: white; display: grid; place-items: center; font-family: var(--font-display); font-size: 22px; }
.perf-keys { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.perf-key, .perf-story-hit { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 8px; align-items: center; width: 100%; text-align: left; background: transparent; border: 0; border-radius: 5px; padding: 4px 6px; font: inherit; color: inherit; }
.perf-key:hover, .perf-key.is-on, .perf-story-hit:hover, .perf-story-hit.is-on { background: var(--accent); }
.perf-key i { width: 10px; height: 10px; border-radius: 50%; }
.perf-key span, .perf-story-hit > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.perf-story { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; margin-bottom: 8px; }
.perf-story-hit { grid-template-columns: minmax(0, 1.4fr) minmax(80px, 1fr) auto; }
.perf-meter { height: 8px; background: var(--muted); border-radius: 99px; overflow: hidden; }
.perf-meter i { display: block; height: 100%; background: var(--primary); border-radius: 99px; }
.perf-explore-head { align-items: flex-end; margin-bottom: 10px; }
.perf-explore-head input { max-width: 260px; }
.perf-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.perf-chips:empty { display: none; }
.perf-chip { height: 28px; padding: 0 10px; border-radius: 99px; border: 1px solid var(--border); background: var(--accent); color: var(--primary); font-size: 12px; font-weight: 600; }
.perf-visit { cursor: pointer; }
.perf-visit:hover td { background: var(--accent); }
.perf-detail td { background: var(--muted); font-size: 12px; color: var(--muted-foreground); }
.perf-detail p + p { margin-top: 6px; }
.perf-detail strong { color: var(--foreground); margin-right: 6px; }
@keyframes perf-rise { from { transform: scaleY(.15); } to { transform: scaleY(1); } }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.filters input, .filters select { width: auto; min-width: 160px; }
.cover-preview { width: 100%; height: 160px; object-fit: cover; border-radius: 5px; margin-bottom: 10px; }
.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card { width: min(420px, 100%); border: 1px solid var(--border); border-radius: 8px; padding: 32px; background: white; }
.login-card h1 { font-family: var(--font-display); font-size: 40px; margin: 8px 0 6px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.icon-btn-pair { display: inline-flex; gap: 4px; }

@media (max-width: 1050px) {
  .container-blog { padding: 0 25px; }
  .featured-grid { grid-template-columns: 1.4fr 1fr; }
  .feature-secondary { grid-template-columns: 110px 1fr; gap: 14px; }
  .feature-secondary img { width: 110px; }
  .feature-secondary p { display: none; }
  .content-grid { gap: 28px; grid-template-columns: minmax(0, 1fr) 260px; }
  .navigation { gap: 20px; }
  .feature-copy h3 { font-size: 33px; }
  .stat-grid { grid-template-columns: repeat(3, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .container-blog { padding: 0 20px; }
  .masthead { height: 76px; }
  .brand-logo { height: 60px; }
  .brand-logo-sm { height: 48px; }
  .brand-caption, .desktop-date { display: none; }
  .navigation { gap: 20px; height: 48px; }
  .nav-group { display: none; }
  .mobile-nav { display: inline-flex; }
  .mega-menu { display: none !important; }
  .ad-leader { height: 75px; margin: 20px auto 25px; }
  .featured-grid, .content-grid, .story-grid { grid-template-columns: 1fr; }
  .featured-grid { gap: 25px; }
  .feature-main { height: 380px; }
  .feature-copy { left: 22px; right: 22px; }
  .feature-copy h3 { font-size: 34px; }
  .feature-secondary { grid-template-columns: 120px 1fr; }
  .feature-secondary img { width: 120px; height: 135px; }
  .feature-secondary h3 { font-size: 24px; }
  .content-grid { gap: 35px; margin-top: 30px; }
  .sidebar { position: static; }
  .story-card img { height: 180px; }
  .story-card h3 { font-size: 23px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .article-header h1 { font-size: 39px; }
  .article-header > p { font-size: 14px; }
  .article-banner { aspect-ratio: 1.5; }
  .article-body { font-size: 15px; }
  .footer-inner, .closing-band, .studio-head { flex-wrap: wrap; }
  .page-intro h1 { font-size: 36px; }
  .studio { grid-template-columns: 1fr; }
  .studio-nav { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--border); }
  .studio-nav nav { display: flex; gap: 6px; overflow: auto; }
  .studio-nav form { margin-top: 12px; }
  .studio-main { padding: 20px 16px 48px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .data-table { display: block; overflow-x: auto; }
}

@media (max-width: 1100px) {
  .perf-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .perf-grid, .perf-story-hit { grid-template-columns: 1fr; }
  .perf-explore-head { align-items: stretch; }
  .perf-explore-head input { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
