:root { color-scheme: dark; --green-dark: #a8ee4b; }
[hidden] { display: none !important; }
* { letter-spacing: 0 !important; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #a8ee4b; outline-offset: 4px; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 14px; background: #11151a; color: white; }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }
section[id] { scroll-margin-top: 110px; }
.menu-toggle { display: none; }
.brand-heading { margin: 0; line-height: 1; }
.about-copy { font-size: 15px; color: #d7dde6; line-height: 1.7; margin-top: 16px; }
.search-button, .menu-toggle, .dialog-close { width: 44px; height: 44px; flex: 0 0 44px; align-items: center; justify-content: center; border: 1px solid #606873; border-radius: 4px; background: #11151a; }
.search-button img, .menu-toggle img, .dialog-close img { filter: invert(1); }
.main-nav a, .site-header nav a { display: inline-flex; min-height: 44px; align-items: center; }
.headline-tabs { height: auto; overflow-x: auto; padding: 4px; gap: 8px; }
.headline-tab { opacity: 1; background: #11151a; }
.headline-tab span { display: block; color: #eef2f6; font-size: 11px; line-height: 1.4; margin-top: 6px; overflow-wrap: anywhere; }
.headline-tab b { border-radius: 4px; }
.headline-tab .media-image, .story-visual .media-image, .trend-item .media-image { object-fit: contain; }
.headline-primary .media-image { object-fit: contain; object-position: center top; }
.project-tools { padding: 20px 0 8px; }
.project-search-label { display: block; font-size: 14px; margin-bottom: 8px; color: #d7dde6; }
#project-search { display: block; width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #737d8c; border-radius: 4px; color: #f0f3f7; background: #101419; font-size: 16px; }
#project-search::placeholder { color: #adb8c8; }
.project-filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.project-filters button { min-height: 44px; padding: 8px 12px; color: #dce4ef; border: 1px solid #606873; border-radius: 4px; background: #11151a; font-size: 13px; }
.project-filters button[aria-pressed="true"] { color: #101419; background: #a8ee4b; border-color: #a8ee4b; }
#project-count { min-height: 22px; color: #bec9d8; font-size: 13px; }
#empty-results { padding: 24px 0; }
#reset-search { min-height: 44px; border: 1px solid #a8ee4b; padding: 8px 12px; background: #11151a; color: #a8ee4b; border-radius: 4px; }
.story p { font-size: 14px; }
.story time, .story-details span { font-size: 12px; }
.story-repo, .repo-link { min-height: 44px; font-size: 12px; }
.story-visual { height: auto; aspect-ratio: 16 / 10; }
.project-intro { color: #cbd3df; font-size: 17px; line-height: 1.65; max-width: 760px; }
.project-brief { border-bottom: 1px solid var(--line); padding-bottom: 24px; margin: 0; }
.project-brief dt { font-weight: 700; color: #a8ee4b; margin-top: 18px; }
.project-brief dd { margin: 6px 0 0; color: #d7dde6; line-height: 1.75; }
.article-jumps a { min-height: 44px; display: inline-flex; align-items: center; }
.media-dialog { padding: 20px; border: 1px solid #606873; border-radius: 6px; background: #0b0d10; color: #eef2f6; max-width: min(1100px, 96vw); max-height: 94dvh; }
.media-dialog::backdrop { background: rgba(0,0,0,.85); }
.media-dialog figure { margin: 12px 0 0; }
.media-dialog figure img { display: block; width: 100%; max-height: 70dvh; object-fit: contain; }
.media-dialog figcaption { margin-top: 12px; line-height: 1.5; }
.dialog-close { display: flex; margin-left: auto; }
.project-demo { padding: 28px 0; border-bottom: 1px solid var(--line); }
.project-demo video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #080a0d; }
.project-demo p { font-size: 14px; }
.contact a { overflow-wrap: anywhere; }
@media (prefers-reduced-motion: no-preference) {
  .story-entry { animation: entry-in .25s ease-out; }
  .menu-toggle, .story-repo, .repo-link, .project-filters button { transition: background-color .15s ease, border-color .15s ease; }
  @keyframes entry-in { from { opacity: .6; transform: translateY(4px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .headline:hover > .media-image, .trend-feature:hover > .media-image, .story:hover .media-image, .article-media:hover img { transform: none; }
}
@media (max-width: 900px) {
  .site-header .header-inner, .site-header > .shell { flex-wrap: wrap; gap: 12px; padding: 12px 0; height: auto; min-height: 72px; }
  .brand { font-size: 24px; }
  .navigation-ready .menu-toggle { display: flex; margin-left: auto; }
  .site-header nav { width: 100%; order: 4; margin: 0; flex-wrap: wrap; gap: 8px 16px; padding: 8px 0; overflow: visible; }
  .navigation-ready nav { display: none; }
  .navigation-ready nav.is-open { display: flex; }
  .site-header nav a, .site-header nav a:not(:first-child) { display: inline-flex; flex: 1 0 40%; min-height: 44px; }
  .search-button { display: flex; margin-left: 0; }
  .headline-tabs { grid-template-columns: repeat(10, 86px); }
  section[id] { scroll-margin-top: 90px; }
}
@media (max-width: 680px) {
  .story { grid-template-columns: 100px minmax(0, 1fr); }
  .story-visual { width: 100px; }
  .story p { display: block; font-size: 13px; }
  .story-repos { margin-left: 0; }
  .story h3 { font-size: 17px; }
  .contact h2 { font-size: 19px; }
  .article-hero h1 { font-size: 30px; overflow-wrap: anywhere; }
  .headline-copy strong, .headline:not(.headline-primary) .headline-copy strong { font-size: 21px; }
}
