:root { --paper:#f2f1ed; --ink:#0a0a0a; --muted:#6d6d68; --line:#b7b6af; --signal:#0a0a0a; --panel:#e8e7e1; }
[hidden] { display:none !important; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--paper); color:var(--ink); font-family:Arial,"Helvetica Neue",Helvetica,sans-serif; font-size:14px; }
button,input { font:inherit; }
button,a { -webkit-tap-highlight-color:transparent; }
a { color:inherit; text-decoration:none; }

.system-strip { min-height:28px; display:grid; grid-template-columns:150px 170px 1fr 150px; align-items:center; padding:0 18px; background:var(--ink); color:#fff; font-family:"SFMono-Regular",Consolas,monospace; font-size:9px; letter-spacing:.13em; text-transform:uppercase; }
.system-strip>:last-child { text-align:right; }
.strip-center { text-align:center; color:#a5a5a0; }
.status { display:flex; gap:7px; align-items:center; }
.status i { width:6px; height:6px; border-radius:50%; background:#888; }
.status.live i { background:var(--paper); box-shadow:0 0 8px rgba(242,241,237,.55); }
.status.syncing i { animation:blink .8s steps(1) infinite; background:#fff; }
@keyframes blink { 50% { opacity:.25; } }

.masthead { display:grid; grid-template-columns:1fr auto 180px; align-items:stretch; border-bottom:2px solid var(--ink); min-height:90px; }
.brand { display:flex; align-items:center; gap:13px; padding:18px 26px; }
.linuxfish-wordmark { display:flex; align-items:flex-start; width:max-content; font-size:20px; letter-spacing:-1px; font-weight:900; line-height:.9; }
.linuxfish-wordmark>span:first-child { background:var(--ink); color:var(--paper); padding:6px 5px 5px; }
.linuxfish-wordmark>span:nth-child(2) { border:2px solid var(--ink); padding:4px 5px 3px; }
.brand-divider { color:var(--muted); font-size:18px; font-weight:300; }
.brand-section { font-family:"SFMono-Regular",Consolas,monospace; font-size:11px; letter-spacing:.12em; }
.masthead-copy { align-self:center; margin:0; padding:20px 32px; border-left:1px solid var(--line); font-size:10px; font-weight:700; line-height:1.55; letter-spacing:.07em; }
.refresh-button { border:0; border-left:1px solid var(--ink); background:var(--ink); color:var(--paper); display:flex; justify-content:space-between; align-items:center; padding:20px; font-size:11px; font-weight:800; letter-spacing:.1em; cursor:pointer; }
.refresh-button:hover .refresh-mark { transform:rotate(180deg); }
.refresh-button:disabled { cursor:wait; }
.refresh-mark { font-size:30px; font-weight:300; transition:transform .35s ease; }

.filter-bar { min-height:54px; display:grid; grid-template-columns:1fr 330px; border-bottom:1px solid var(--ink); }
.filters { display:flex; align-items:stretch; overflow-x:auto; scrollbar-width:none; }
.filters::-webkit-scrollbar { display:none; }
.filters button { min-width:max-content; padding:0 18px; border:0; border-right:1px solid var(--line); background:transparent; font-family:"SFMono-Regular",Consolas,monospace; font-size:10px; letter-spacing:.08em; cursor:pointer; }
.filters button:hover,.filters button.active { background:var(--ink); color:#fff; }
.filters sup { margin-left:5px; color:var(--muted); font-size:7px; }
.filters button.active sup { color:var(--paper); }
.search-box { border-left:1px solid var(--ink); display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:8px; padding:0 15px; font-family:"SFMono-Regular",Consolas,monospace; font-size:9px; letter-spacing:.08em; }
.search-box input { width:100%; border:0; outline:0; background:transparent; text-transform:uppercase; font-size:10px; }
.search-box button { border:0; background:transparent; font-size:18px; cursor:pointer; }

.lead-story { min-height:440px; display:grid; grid-template-columns:80px minmax(0,1fr) minmax(260px,32vw); border-bottom:1px solid var(--ink); }
.lead-index { padding:28px 22px; border-right:1px solid var(--line); font-family:"SFMono-Regular",Consolas,monospace; font-size:11px; }
.lead-body { padding:clamp(42px,6vw,88px) clamp(30px,6vw,92px) 50px; }
.eyebrow { display:flex; gap:18px; margin-bottom:25px; font-family:"SFMono-Regular",Consolas,monospace; font-size:9px; letter-spacing:.08em; }
.eyebrow span:first-child { background:var(--ink); color:var(--paper); padding:4px 6px; }
.lead-body h1 { max-width:980px; margin:0; font-size:clamp(38px,5.6vw,82px); line-height:.96; letter-spacing:-.055em; font-weight:800; text-wrap:balance; }
.lead-body p { max-width:720px; margin:30px 0 28px; color:#454541; font-size:15px; line-height:1.55; }
.lead-body a { display:inline-flex; gap:50px; align-items:center; padding-bottom:8px; border-bottom:2px solid var(--ink); font-size:10px; font-weight:800; letter-spacing:.1em; }
.lead-body a:hover { background:var(--ink); color:var(--paper); }
.lead-graphic { position:relative; overflow:hidden; background:var(--ink); color:#fff; display:flex; align-items:center; justify-content:center; }
.lead-graphic::before { content:""; position:absolute; inset:0; opacity:.23; background:linear-gradient(90deg,transparent 49.5%,#fff 50%,transparent 50.5%),linear-gradient(transparent 49.5%,#fff 50%,transparent 50.5%); background-size:42px 42px; }
.crosshair { width:min(18vw,230px); aspect-ratio:1; border:1px solid #666; border-radius:50%; position:relative; display:grid; place-items:center; }
.crosshair::before,.crosshair::after { content:""; position:absolute; background:var(--paper); }
.crosshair::before { width:1px; height:132%; }
.crosshair::after { height:1px; width:132%; }
.crosshair span { position:absolute; inset:17%; border:1px solid #777; border-radius:50%; }
.crosshair b { z-index:1; display:grid; place-items:center; width:62px; height:62px; background:var(--paper); color:var(--ink); font-size:25px; letter-spacing:-.1em; }
.lead-graphic small { position:absolute; bottom:24px; left:25px; font-family:"SFMono-Regular",Consolas,monospace; font-size:8px; letter-spacing:.14em; }

.workspace { display:grid; grid-template-columns:minmax(0,1fr) 310px; }
.feed-section { min-width:0; border-right:1px solid var(--ink); }
.section-head,.rail-title { min-height:70px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--ink); }
.section-head>div:first-child,.rail-title { display:flex; align-items:center; }
.section-number,.rail-title>span { align-self:stretch; display:grid; place-items:center; width:80px; border-right:1px solid var(--line); font-family:"SFMono-Regular",Consolas,monospace; font-size:11px; }
.section-head h2,.rail-title h2 { margin:0; padding:0 22px; font-size:15px; letter-spacing:.05em; }
.view-toggle { display:flex; align-self:stretch; border-left:1px solid var(--line); }
.view-toggle button { width:54px; border:0; border-left:1px solid var(--line); background:transparent; font-size:20px; cursor:pointer; }
.view-toggle button:first-child { border-left:0; }
.view-toggle button.active { background:var(--ink); color:var(--paper); }

.story-feed.grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
.story-card { min-height:330px; display:flex; flex-direction:column; padding:22px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); }
.story-feed.grid .story-card:nth-child(3n) { border-right:0; }
.card-top { display:flex; justify-content:space-between; align-items:center; }
.category { padding:4px 6px; background:var(--panel); font-family:"SFMono-Regular",Consolas,monospace; font-size:8px; letter-spacing:.1em; }
.category-ai-3d,.category-creative-ops,.category-workflow { background:var(--ink); color:var(--paper); }
.category-studio { border:1px solid var(--ink); background:transparent; }
.save-button { border:0; background:none; padding:4px; color:var(--muted); font-size:16px; cursor:pointer; }
.save-button.saved { color:var(--ink); }
.story-link { flex:1; display:block; }
.story-card h3 { margin:35px 0 16px; font-size:clamp(20px,1.7vw,28px); line-height:1.08; letter-spacing:-.035em; text-wrap:balance; }
.story-card p { display:-webkit-box; overflow:hidden; -webkit-line-clamp:3; -webkit-box-orient:vertical; margin:0; color:#52524d; font-size:12px; line-height:1.5; }
.card-meta { display:grid; grid-template-columns:26px 1fr 32px 20px; gap:10px; align-items:center; padding-top:20px; border-top:1px solid var(--line); font-family:"SFMono-Regular",Consolas,monospace; font-size:8px; letter-spacing:.06em; }
.card-meta span:nth-child(2) { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.card-meta a { text-align:right; font-size:15px; }
.story-card:hover { background:#fff; }
.story-card:hover h3 { text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:4px; }

.story-feed.list .story-card { min-height:0; display:grid; grid-template-columns:110px minmax(0,1fr) 190px; gap:25px; align-items:start; }
.story-feed.list .card-top { justify-content:flex-start; gap:14px; }
.story-feed.list .story-link { display:grid; grid-template-columns:minmax(280px,.8fr) 1fr; gap:25px; }
.story-feed.list .story-card h3 { margin:0; font-size:23px; }
.story-feed.list .card-meta { border:0; padding:0; }
.empty-state { min-height:430px; display:grid; place-content:center; text-align:center; }
.empty-state span { font-size:48px; font-weight:900; letter-spacing:-.05em; }
.empty-state p { color:var(--muted); }

.source-rail { min-width:0; }
.rail-title { justify-content:flex-start; }
.rail-title>span { width:60px; }
.rail-title h2 { font-size:13px; }
.rail-intro { margin:0; padding:20px; border-bottom:1px solid var(--line); color:var(--muted); font-family:"SFMono-Regular",Consolas,monospace; font-size:8px; line-height:1.6; letter-spacing:.08em; }
.source-list a,.watch #watch-list>a { display:grid; grid-template-columns:10px 1fr auto 15px; align-items:center; gap:9px; min-height:50px; padding:0 16px; border-bottom:1px solid var(--line); }
.source-list a:hover,.watch #watch-list>a:hover { background:var(--ink); color:var(--paper); }
.source-list a:hover small,.watch #watch-list>a:hover small { color:var(--paper); }
.source-list b,.watch b { font-size:10px; letter-spacing:.06em; }
.source-list small,.watch small { color:var(--muted); font-family:"SFMono-Regular",Consolas,monospace; font-size:7px; letter-spacing:.08em; }
.source-dot { width:5px; height:5px; border-radius:50%; background:#888; }
.source-dot.live { background:var(--ink); box-shadow:0 0 0 3px rgba(10,10,10,.12); }
.watch { margin-top:48px; border-top:1px solid var(--ink); }
.watch #watch-list>a { grid-template-columns:1fr auto 15px; }

footer { min-height:260px; display:grid; grid-template-columns:1fr 1fr 1fr; align-items:end; gap:30px; padding:70px 28px 28px; border-top:1px solid var(--ink); background:var(--ink); color:#fff; }
.footer-brand { align-self:center; }
.footer-wordmark { --paper:#0a0a0a; --ink:#f2f1ed; font-size:28px; }
footer>p { align-self:center; margin:0; color:var(--paper); font-size:12px; font-weight:700; line-height:1.4; }
.footer-meta { display:flex; flex-direction:column; gap:8px; font-family:"SFMono-Regular",Consolas,monospace; font-size:8px; letter-spacing:.08em; }
.footer-meta a { margin-top:16px; font-size:10px; }

@media (max-width:1150px) {
  .story-feed.grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .story-feed.grid .story-card:nth-child(3n) { border-right:1px solid var(--line); }
  .story-feed.grid .story-card:nth-child(2n) { border-right:0; }
  .masthead-copy { display:none; }
  .masthead { grid-template-columns:1fr 160px; }
}
@media (max-width:860px) {
  .system-strip { grid-template-columns:1fr auto; }
  .strip-center,.system-strip>:last-child { display:none; }
  .masthead { min-height:90px; }
  .brand { padding:18px; }
  .brand-section { font-size:10px; }
  .filter-bar { grid-template-columns:1fr; }
  .search-box { min-height:48px; border-left:0; border-top:1px solid var(--line); }
  .lead-story { grid-template-columns:55px minmax(0,1fr); min-height:390px; }
  .lead-index { padding:24px 15px; }
  .lead-body { padding:45px 25px; }
  .lead-body h1 { font-size:clamp(35px,8vw,60px); }
  .lead-graphic { display:none; }
  .workspace { grid-template-columns:1fr; }
  .feed-section { border-right:0; }
  .source-rail { border-top:1px solid var(--ink); }
  .source-list { display:grid; grid-template-columns:repeat(2,1fr); }
  .source-list a:nth-child(odd) { border-right:1px solid var(--line); }
  .watch { margin-top:0; }
  .watch #watch-list>a { display:inline-grid; width:50%; border-right:1px solid var(--line); vertical-align:top; }
}
@media (max-width:620px) {
  .masthead { grid-template-columns:1fr 54px; }
  .brand { gap:8px; }
  .linuxfish-wordmark { font-size:17px; }
  .brand-section { font-size:9px; }
  .brand-divider { font-size:14px; }
  .refresh-button { padding:10px; justify-content:center; }
  .refresh-button>span:first-child { display:none; }
  .refresh-mark { font-size:25px; }
  .filters button { padding:0 13px; }
  .lead-story { grid-template-columns:42px minmax(0,1fr); }
  .lead-index { padding:20px 10px; }
  .lead-body { padding:35px 18px 40px; }
  .eyebrow { flex-wrap:wrap; gap:10px; }
  .lead-body h1 { font-size:37px; }
  .lead-body p { font-size:13px; }
  .section-number { width:42px; }
  .section-head h2 { padding:0 13px; font-size:13px; }
  .view-toggle button { width:44px; }
  .story-feed.grid { grid-template-columns:1fr; }
  .story-feed.grid .story-card,.story-feed.grid .story-card:nth-child(3n) { border-right:0; }
  .story-card { min-height:295px; }
  .story-card h3 { font-size:26px; }
  .story-feed.list .story-card { display:flex; }
  .story-feed.list .story-link { display:block; }
  .story-feed.list .story-card h3 { margin:28px 0 12px; }
  .story-feed.list .card-meta { border-top:1px solid var(--line); padding-top:18px; }
  .source-list { grid-template-columns:1fr; }
  .source-list a:nth-child(odd) { border-right:0; }
  .watch #watch-list>a { width:100%; border-right:0; }
  footer { grid-template-columns:1fr; min-height:350px; }
  .footer-wordmark { font-size:26px; }
}
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; animation:none!important; transition:none!important; } }
