@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  color-scheme: dark;
  --bg: #05060a;
  --bg-deep: #020307;
  --surface: rgba(13, 17, 30, 0.68);
  --surface-strong: rgba(18, 23, 41, 0.9);
  --surface-soft: rgba(255, 255, 255, 0.035);
  --line: rgba(255, 255, 255, 0.105);
  --line-strong: rgba(139, 154, 255, 0.28);
  --text: #f5f7ff;
  --muted: #969eb5;
  --faint: #626a80;
  --blue: #6077ff;
  --blue-soft: #91a1ff;
  --violet: #a36cff;
  --cyan: #58d4ff;
  --success: #4fe2b0;
  --danger: #ff6f91;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --max: 1180px;
  --font-display: "Space Grotesk", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34), inset 0 1px rgba(255, 255, 255, 0.04);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 14% 10%, rgba(75, 89, 255, 0.13), transparent 27rem),
    radial-gradient(circle at 87% 22%, rgba(156, 88, 255, 0.11), transparent 25rem),
    var(--bg);
  color: var(--text);
  font: 400 15px/1.7 var(--font-body);
  opacity: 0;
  transition: opacity 0.35s ease;
}
body.page-ready { opacity: 1; }
body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 76%);
  content: "";
  pointer-events: none;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { color: inherit; font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { background: rgba(96, 119, 255, 0.35); color: white; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 9px 14px;
  transform: translateY(-160%);
  border-radius: 10px;
  background: white;
  color: #05060a;
}
.skip-link:focus { transform: none; }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  padding: 18px 24px;
  transition: transform .35s ease, background .35s ease;
}
.site-header.header-hidden { transform: translateY(-110%); }
.header-shell {
  display: flex;
  width: min(var(--max), 100%);
  height: 58px;
  margin: auto;
  padding: 0 10px 0 18px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(6, 8, 15, .68);
  box-shadow: 0 16px 48px rgba(0,0,0,.24);
  backdrop-filter: blur(22px) saturate(130%);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font: 600 13px/1 var(--font-display); letter-spacing: .17em; }
.brand-mark { position: relative; width: 23px; height: 23px; border: 1px solid rgba(152,171,255,.7); border-radius: 7px; background: linear-gradient(145deg, rgba(95,119,255,.45), rgba(163,108,255,.1)); box-shadow: 0 0 22px rgba(96,119,255,.34), inset 0 0 12px rgba(255,255,255,.12); transform: rotate(9deg); }
.brand-mark::after { position: absolute; inset: 5px; border: 1px solid white; border-radius: 3px; content: ""; opacity: .72; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a { position: relative; padding: 10px 13px; border-radius: 10px; color: var(--muted); font-size: 13px; transition: color .2s ease, background .2s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: rgba(255,255,255,.055); color: white; }
.site-nav .admin-link { margin-left: 5px; border: 1px solid var(--line); color: #dfe4ff; }
.nav-toggle { display: none; width: 42px; height: 42px; padding: 0; border: 0; background: transparent; }
.nav-toggle span { display: block; width: 19px; height: 1px; margin: 5px auto; background: white; transition: transform .2s; }

.container { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.section { padding: 104px 0; }
.section-tight { padding: 70px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--blue-soft); font: 600 11px/1 var(--font-display); letter-spacing: .19em; text-transform: uppercase; }
.eyebrow::before { width: 18px; height: 1px; background: currentColor; content: ""; box-shadow: 0 0 10px currentColor; }
.section-head { display: flex; margin-bottom: 42px; align-items: end; justify-content: space-between; gap: 30px; }
.section-head h2, .page-title { max-width: 720px; margin: 12px 0 0; font: 500 clamp(35px, 5vw, 62px)/1.06 var(--font-display); letter-spacing: -.047em; }
.section-head p { max-width: 430px; margin: 0; color: var(--muted); }
.text-gradient { background: linear-gradient(105deg, #fff 10%, #9eb0ff 50%, #b986ff 82%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero { position: relative; min-height: 890px; height: 100svh; overflow: hidden; isolation: isolate; }
.hero::before { position: absolute; z-index: -2; inset: 0; background: linear-gradient(to bottom, transparent 55%, var(--bg) 100%), radial-gradient(ellipse at 50% 54%, rgba(76, 91, 255, .12), transparent 49%); content: ""; }
#starfield { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; }
.hero-glow { position: absolute; z-index: -1; left: 50%; bottom: 7%; width: min(760px, 78vw); aspect-ratio: 1.7; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse, rgba(87,105,255,.22), rgba(142,82,255,.08) 42%, transparent 70%); filter: blur(20px); }
.hero-orbit, .hero-orbit::before, .hero-orbit::after { position: absolute; z-index: -1; left: 50%; top: 57%; width: min(840px, 85vw); aspect-ratio: 2.8; transform: translate(-50%,-50%) rotate(-8deg); border: 1px solid rgba(115,137,255,.12); border-radius: 50%; content: ""; }
.hero-orbit::before { left: 50%; top: 50%; width: 76%; transform: translate(-50%,-50%) rotate(14deg); border-color: rgba(168,104,255,.13); }
.hero-orbit::after { left: 50%; top: 50%; width: 118%; transform: translate(-50%,-50%) rotate(-14deg); border-color: rgba(80,198,255,.07); }
.hero-inner { display: grid; width: min(920px, calc(100% - 48px)); height: 100%; margin: auto; padding-top: 132px; place-content: center; text-align: center; }
.status-pill { display: inline-flex; margin: 0 auto 32px; padding: 8px 12px; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; background: rgba(13,17,30,.55); color: #b7bed4; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; backdrop-filter: blur(14px); }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 14px var(--success); }
.hero h1 { margin: 0; font: 500 clamp(58px, 9.4vw, 128px)/.84 var(--font-display); letter-spacing: -.075em; text-transform: uppercase; }
.hero .line-outline { -webkit-text-stroke: 1px rgba(202,211,255,.5); color: transparent; }
.hero-lead { max-width: 620px; margin: 36px auto 0; color: #aab1c6; font-size: clamp(16px, 2vw, 19px); }
.hero-actions { display: flex; margin-top: 38px; justify-content: center; gap: 12px; }
.button { display: inline-flex; min-height: 48px; padding: 0 20px; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.045); color: #dfe4f8; font: 500 13px/1 var(--font-body); transition: transform .2s, border-color .2s, background .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.08); }
.button-primary { border-color: rgba(133,150,255,.55); background: linear-gradient(135deg, rgba(88,111,255,.95), rgba(118,77,225,.92)); box-shadow: 0 12px 35px rgba(81,89,255,.25), inset 0 1px rgba(255,255,255,.22); color: white; }
.button-primary:hover { box-shadow: 0 16px 45px rgba(94,86,255,.38); }
.hero-scroll { position: absolute; left: 50%; bottom: 26px; display: flex; transform: translateX(-50%); align-items: center; gap: 9px; color: var(--faint); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.hero-scroll::before { width: 1px; height: 30px; background: linear-gradient(transparent, rgba(255,255,255,.4)); content: ""; }

.signal-strip { position: relative; z-index: 2; margin-top: -1px; border-block: 1px solid var(--line); background: rgba(6,8,14,.72); backdrop-filter: blur(20px); }
.signal-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.signal-item { min-height: 98px; padding: 24px; border-right: 1px solid var(--line); }
.signal-item:first-child { border-left: 1px solid var(--line); }
.signal-item small { display: block; margin-bottom: 7px; color: var(--faint); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.signal-item strong { font: 500 16px/1.2 var(--font-display); }
.signal-pulse { display: inline-block; width: 26px; height: 10px; margin-left: 8px; background: repeating-linear-gradient(90deg, var(--success) 0 2px, transparent 2px 5px); opacity: .75; }

.featured-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; }
.featured-card { position: relative; min-height: 510px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(150deg, rgba(23,28,49,.88), rgba(8,11,20,.82)); box-shadow: var(--shadow); }
.featured-card::before { position: absolute; inset: 0; background: radial-gradient(circle at 68% 26%, rgba(98,114,255,.22), transparent 28%), radial-gradient(circle at 87% 77%, rgba(163,108,255,.18), transparent 23%); content: ""; }
.featured-card::after { position: absolute; right: -70px; top: 32px; width: 310px; height: 310px; border: 1px solid rgba(138,153,255,.16); border-radius: 45% 55% 50% 50%; box-shadow: inset 0 0 80px rgba(80,102,255,.08), 0 0 80px rgba(117,80,255,.06); content: ""; transform: rotate(31deg); }
.featured-content { position: relative; z-index: 2; display: flex; height: 100%; padding: clamp(28px, 5vw, 54px); flex-direction: column; justify-content: end; }
.featured-content h3 { max-width: 650px; margin: 18px 0; font: 500 clamp(34px, 5vw, 58px)/1.02 var(--font-display); letter-spacing: -.045em; }
.featured-content p { max-width: 580px; margin: 0; color: var(--muted); font-size: 16px; }
.featured-meta { display: flex; margin-top: 34px; justify-content: space-between; align-items: center; color: #bec5d9; font-size: 12px; }
.featured-side { display: grid; gap: 18px; }
.mini-panel { position: relative; min-height: 246px; overflow: hidden; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(14,18,31,.65); box-shadow: var(--shadow); }
.mini-panel .giant-number { position: absolute; right: -8px; bottom: -30px; color: rgba(255,255,255,.025); font: 600 150px/1 var(--font-display); }
.mini-panel h3 { position: relative; max-width: 280px; margin: 45px 0 0; font: 500 24px/1.25 var(--font-display); }
.mini-panel p { position: relative; color: var(--muted); }
.mini-panel.accent { background: linear-gradient(145deg, rgba(75,91,211,.24), rgba(54,26,92,.24)); }

.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(13,17,30,.56); box-shadow: 0 18px 50px rgba(0,0,0,.2); transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease; }
.post-card:hover { transform: translateY(-7px); border-color: var(--line-strong); box-shadow: 0 26px 70px rgba(0,0,0,.34), 0 0 40px rgba(81,99,255,.07); }
.post-card-link { display: flex; height: 100%; flex-direction: column; }
.post-visual { position: relative; height: 205px; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--card-cover, none), radial-gradient(circle at 63% 42%, rgba(102,118,255,.25), transparent 16%), linear-gradient(145deg, #10172b, #090b13); background-size: cover; background-position: center; }
.post-visual::before, .post-visual::after { position: absolute; left: 50%; top: 50%; width: 180px; height: 180px; transform: translate(-50%,-50%) rotate(45deg); border: 1px solid rgba(143,160,255,.16); border-radius: 38px; content: ""; }
.post-visual::after { width: 110px; height: 110px; border-color: rgba(177,107,255,.22); border-radius: 50%; }
.visual-index { position: absolute; z-index: 2; left: 18px; top: 16px; color: rgba(255,255,255,.38); font: 500 10px/1 var(--font-display); letter-spacing: .12em; }
.visual-orbit { position: absolute; left: 50%; top: 50%; width: 210px; height: 66px; transform: translate(-50%,-50%) rotate(-15deg); border: 1px solid rgba(109,135,255,.24); border-radius: 50%; transition: transform .7s ease; }
.post-card:hover .visual-orbit { transform: translate(-50%,-50%) rotate(10deg) scale(1.08); }
.post-card-body { display: flex; padding: 24px; flex: 1; flex-direction: column; }
.post-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--faint); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.post-meta span:first-child { color: var(--blue-soft); }
.post-card h3 { margin: 19px 0 12px; font: 500 23px/1.25 var(--font-display); letter-spacing: -.025em; }
.post-card p { margin: 0; color: var(--muted); font-size: 14px; }
.post-card-foot { display: flex; margin-top: auto; padding-top: 26px; align-items: end; justify-content: space-between; gap: 10px; color: var(--faint); font-size: 9px; letter-spacing: .08em; }
.tag-list { display: flex; flex-wrap: wrap; gap: 5px; }
.tag-list span { padding: 4px 7px; border: 1px solid var(--line); border-radius: 6px; color: #8e96ab; letter-spacing: 0; text-transform: none; }

.category-cloud { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.category-card { position: relative; display: flex; min-height: 168px; padding: 26px; overflow: hidden; align-items: end; justify-content: space-between; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(135deg, rgba(19,23,40,.82), rgba(10,12,21,.68)); transition: border .25s, transform .25s; }
.category-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.category-card::before { position: absolute; right: -20px; top: -50px; width: 180px; height: 180px; border: 1px solid rgba(112,133,255,.14); border-radius: 50%; content: ""; box-shadow: 0 0 80px rgba(98,87,255,.08); }
.category-card strong { position: relative; font: 500 24px/1 var(--font-display); }
.category-card span { position: relative; color: var(--muted); font-size: 12px; }

.empty-state { grid-column: 1 / -1; padding: 70px 24px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); text-align: center; }
.loading-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.skeleton { height: 420px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(110deg, rgba(255,255,255,.025) 20%, rgba(255,255,255,.065) 34%, rgba(255,255,255,.025) 48%); background-size: 240% 100%; animation: shimmer 1.6s infinite linear; }
@keyframes shimmer { to { background-position-x: -240%; } }

.page-hero { position: relative; padding: 190px 0 80px; overflow: hidden; }
.page-hero::after { position: absolute; z-index: -1; top: 70px; right: 4%; width: 440px; height: 260px; background: radial-gradient(ellipse, rgba(104,93,255,.15), transparent 68%); filter: blur(10px); content: ""; }
.page-hero p { max-width: 590px; margin-top: 24px; color: var(--muted); font-size: 17px; }
.search-shell { display: flex; max-width: 720px; margin-top: 34px; padding: 7px; align-items: center; border: 1px solid var(--line); border-radius: 15px; background: rgba(12,16,28,.7); box-shadow: var(--shadow); }
.search-shell input { min-width: 0; height: 46px; padding: 0 14px; flex: 1; border: 0; outline: 0; background: transparent; }
.search-shell button { height: 42px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 10px; background: rgba(91,110,255,.2); }

.article-progress { position: fixed; z-index: 120; left: 0; top: 0; width: 0; height: 2px; background: linear-gradient(90deg, var(--blue), var(--violet), var(--cyan)); box-shadow: 0 0 13px var(--blue); }
.article-shell { width: min(860px, calc(100% - 48px)); margin: 0 auto; }
.article-header { padding: 180px 0 62px; text-align: center; }
.article-header h1 { margin: 22px auto; font: 500 clamp(43px, 7vw, 78px)/1.03 var(--font-display); letter-spacing: -.052em; }
.article-header .article-deck { max-width: 680px; margin: 0 auto; color: var(--muted); font-size: 18px; }
.article-byline { display: flex; margin-top: 28px; justify-content: center; gap: 18px; color: var(--faint); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.article-cover { position: relative; width: min(1120px, calc(100% - 48px)); min-height: 460px; margin: 0 auto 72px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: radial-gradient(circle at 50% 50%, rgba(94,112,255,.22), transparent 24%), linear-gradient(145deg,#10162a,#070910); box-shadow: var(--shadow); }
.article-cover::before, .article-cover::after { position: absolute; left: 50%; top: 50%; width: 50%; aspect-ratio: 1; transform: translate(-50%,-50%) rotate(45deg); border: 1px solid rgba(147,160,255,.15); border-radius: 26%; content: ""; }
.article-cover::after { width: 28%; transform: translate(-50%,-50%) rotate(-20deg); border-color: rgba(173,106,255,.2); border-radius: 50%; box-shadow: 0 0 80px rgba(104,82,255,.1); }
.article-cover.has-image { background-size: cover; background-position: center; }
.article-cover.has-image::before, .article-cover.has-image::after { display: none; }
.article-content { padding-bottom: 120px; color: #c7cddd; font-size: 17px; line-height: 1.9; }
.article-content h1, .article-content h2, .article-content h3, .article-content h4 { scroll-margin-top: 100px; color: var(--text); font-family: var(--font-display); font-weight: 500; letter-spacing: -.03em; line-height: 1.2; }
.article-content h1 { margin: 2.2em 0 .8em; font-size: 40px; }
.article-content h2 { margin: 2.2em 0 .8em; font-size: 32px; }
.article-content h3 { margin: 1.9em 0 .6em; font-size: 24px; }
.article-content p { margin: 0 0 1.5em; }
.article-content a { color: #aebaff; text-decoration: underline; text-underline-offset: 4px; }
.article-content strong { color: white; }
.article-content blockquote { margin: 2em 0; padding: 20px 24px; border: 1px solid var(--line-strong); border-left: 3px solid var(--violet); border-radius: 0 14px 14px 0; background: rgba(98,77,200,.08); color: #d6d9e8; }
.article-content pre { margin: 2em 0; padding: 22px; overflow: auto; border: 1px solid var(--line); border-radius: 15px; background: #080a11; color: #c5ceff; font-size: 13px; }
.article-content :not(pre)>code { padding: 3px 7px; border: 1px solid var(--line); border-radius: 6px; background: rgba(255,255,255,.055); color: #c4caff; font-size: .86em; }
.article-content img { margin: 2.5em 0; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; transform: translateY(15px); transition: opacity .6s, transform .6s; }
.article-content img.loaded { opacity: 1; transform: none; }
.article-content li { margin: .45em 0; }

.about-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 72px; }
.about-aside { position: sticky; top: 120px; align-self: start; }
.about-avatar { position: relative; width: 180px; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 42px; background: radial-gradient(circle at 65% 30%, rgba(159,104,255,.3), transparent 30%), linear-gradient(135deg, #15213e, #0a0b13); box-shadow: var(--shadow); }
.about-avatar::after { position: absolute; inset: 25%; transform: rotate(45deg); border: 1px solid rgba(255,255,255,.35); border-radius: 18px; content: ""; box-shadow: 0 0 45px rgba(102,119,255,.25); }
.about-copy h2 { margin: 0 0 24px; font: 500 clamp(36px, 5vw, 58px)/1.08 var(--font-display); letter-spacing: -.045em; }
.about-copy p { color: var(--muted); font-size: 17px; }
.value-grid { display: grid; margin-top: 42px; grid-template-columns: repeat(2,1fr); gap: 14px; }
.value-card { min-height: 180px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.025); }
.value-card b { display: block; margin-bottom: 40px; color: var(--blue-soft); font: 500 11px/1 var(--font-display); letter-spacing: .15em; }
.value-card strong { display: block; font: 500 21px/1.3 var(--font-display); }

.site-footer { padding: 70px 0 28px; border-top: 1px solid var(--line); background: rgba(3,4,8,.6); }
.footer-top { display: flex; min-height: 180px; justify-content: space-between; gap: 40px; }
.footer-statement { max-width: 540px; margin-top: 22px; color: #c8cde0; font: 500 clamp(26px, 4vw, 42px)/1.2 var(--font-display); letter-spacing: -.035em; }
.footer-nav { display: grid; grid-template-columns: repeat(2, 120px); gap: 10px 28px; align-content: start; }
.footer-nav a { color: var(--muted); font-size: 13px; }
.footer-nav a:hover { color: white; }
.footer-bottom { display: flex; padding-top: 25px; justify-content: space-between; border-top: 1px solid var(--line); color: var(--faint); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }

.cursor-canvas { position: fixed; z-index: 999; inset: 0; pointer-events: none; }
.cursor-glow { position: fixed; z-index: 998; left: -130px; top: -130px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(99,115,255,.09), transparent 68%); pointer-events: none; will-change: transform; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease var(--delay, 0ms), transform .7s cubic-bezier(.2,.8,.2,1) var(--delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-grid { grid-template-columns: 1fr; }
  .featured-side { grid-template-columns: repeat(2,1fr); }
  .signal-inner { grid-template-columns: repeat(2,1fr); }
  .signal-item:nth-child(3) { border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
  .signal-item:nth-child(4) { border-top: 1px solid var(--line); }
  .about-grid { gap: 40px; }
}

@media (max-width: 720px) {
  .container, .article-shell, .article-cover { width: min(100% - 28px, var(--max)); }
  .site-header { padding: 10px; }
  .header-shell { height: 54px; padding-left: 14px; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; left: 10px; right: 10px; top: 72px; display: grid; padding: 10px; transform: translateY(-10px) scale(.98); visibility: hidden; border: 1px solid var(--line); border-radius: 15px; background: rgba(7,9,16,.96); box-shadow: var(--shadow); opacity: 0; transition: .22s ease; }
  .nav-open .site-nav { transform: none; visibility: visible; opacity: 1; }
  .nav-open .nav-toggle span:first-child { transform: translateY(3px) rotate(45deg); }
  .nav-open .nav-toggle span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .site-nav .admin-link { margin: 0; }
  .hero { min-height: 720px; }
  .hero-inner { width: calc(100% - 28px); padding-top: 100px; }
  .hero h1 { font-size: clamp(52px, 19vw, 88px); line-height: .9; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .section { padding: 78px 0; }
  .section-head { align-items: start; flex-direction: column; }
  .section-head h2, .page-title { font-size: 42px; }
  .featured-card { min-height: 500px; }
  .featured-side, .posts-grid, .category-cloud, .value-grid { grid-template-columns: 1fr; }
  .post-visual { height: 190px; }
  .loading-grid { grid-template-columns: 1fr; }
  .loading-grid .skeleton:nth-child(n+2) { display: none; }
  .page-hero { padding: 140px 0 55px; }
  .article-header { padding: 140px 0 45px; text-align: left; }
  .article-header h1 { font-size: 45px; }
  .article-byline { justify-content: flex-start; flex-wrap: wrap; }
  .article-cover { min-height: 260px; margin-bottom: 48px; }
  .article-content { font-size: 16px; }
  .article-content h2 { font-size: 28px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-aside { position: static; }
  .about-avatar { width: 140px; border-radius: 34px; }
  .footer-top, .footer-bottom { flex-direction: column; }
  .footer-nav { margin-top: 20px; }
  .footer-bottom { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
