/*
Theme Name: SLO6 Curation
Theme URI: https://slo6.com/
Author: SLO6
Description: A bold, editorial WordPress theme for pachinko and pachislot curation.
Version: 1.0.2
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: slo6-curation
*/

:root {
  --ink: #111114;
  --paper: #f7f7f4;
  --line: #d7d7d2;
  --muted: #68686d;
  --purple: #8754e8;
  --purple-dark: #6033bb;
  --acid: #d7ff35;
  --white: #fff;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.65; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--purple-dark); }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
.site-shell { width: min(1440px, 100% - 48px); margin-inline: auto; }
.mono, .eyebrow, .section-index, .card-meta, .status-strip, .site-footer { font-family: var(--mono); }
.eyebrow { color: var(--purple-dark); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.topline { min-height: 36px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); color: var(--muted); font: 600 .65rem var(--mono); letter-spacing: .04em; }
.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 3px #d7ff3540; }
.site-header { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; min-height: 78px; border-bottom: 1px solid var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 190px; }
.brand-mark { position: relative; display: grid; width: 48px; height: 48px; place-items: center; border: 2px solid var(--ink); background: var(--white); box-shadow: 4px 4px 0 var(--purple); overflow: hidden; }
.brand-mark::before { position: absolute; content: ""; width: 68px; height: 20px; border: 2px solid var(--ink); border-radius: 50%; transform: rotate(-30deg); }
.brand-six { position: relative; z-index: 1; font-size: 2.15rem; font-weight: 900; line-height: 1; color: var(--acid); -webkit-text-stroke: 1.5px var(--ink); text-shadow: 2px 2px 0 var(--ink); }
.brand-suro { position: absolute; z-index: 2; left: 2px; bottom: 1px; padding: 0 2px; background: var(--white); font-size: .58rem; font-weight: 900; line-height: 1.1; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 1.12rem; font-weight: 900; letter-spacing: .08em; }
.brand-tagline { margin-top: 5px; font: 600 .55rem var(--mono); letter-spacing: .07em; color: var(--muted); }
.primary-nav { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 36px); font: 700 .7rem var(--mono); text-transform: uppercase; }
.primary-nav ul { display: flex; align-items: center; gap: inherit; margin: 0; padding: 0; list-style: none; }
.primary-nav li { margin: 0; padding: 0; }
.primary-nav a { padding-block: 10px; }
.header-search { display: flex; align-items: center; gap: 10px; }
.header-search input { width: 150px; padding: 9px 10px; border: 1px solid var(--line); background: transparent; font-size: .78rem; }
.search-submit, .button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 12px; padding: 0 18px; border: 1px solid var(--ink); background: var(--ink); color: var(--white); font: 700 .72rem var(--mono); letter-spacing: .03em; text-transform: uppercase; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.search-submit:hover, .button:hover { transform: translate(-2px,-2px); background: var(--purple-dark); color: var(--white); box-shadow: 4px 4px 0 var(--acid); }
.button--light { background: var(--white); color: var(--ink); }
.button--purple { background: var(--purple); border-color: var(--purple); }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .92fr); min-height: 430px; border-bottom: 1px solid var(--ink); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 6vw, 82px) clamp(16px, 5vw, 64px) clamp(32px, 5vw, 64px) 0; }
.hero-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.hero-kicker .section-index { color: var(--muted); font-size: .72rem; }
.hero h1 { max-width: 740px; margin: 0; font-size: clamp(2.55rem, 6vw, 5.6rem); font-weight: 950; line-height: .99; letter-spacing: -.075em; }
.hero h1 .accent { color: var(--purple); }
.hero-description { max-width: 560px; margin: 22px 0 0; color: #44444a; font-size: clamp(.9rem, 1.25vw, 1.02rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-art { position: relative; display: grid; min-height: 340px; place-items: center; overflow: hidden; border-left: 1px solid var(--line); background-color: #f2f2ee; background-image: linear-gradient(#d7d7d270 1px, transparent 1px), linear-gradient(90deg, #d7d7d270 1px, transparent 1px); background-size: 28px 28px; }
.hero-art::before { position: absolute; inset: 0; content: ""; background: radial-gradient(circle at 50% 48%, #ffffffba 0, transparent 56%); }
.signal-panel { position: absolute; top: 20px; left: 20px; z-index: 1; padding: 8px 10px; border: 1px solid var(--line); background: #ffffffd9; font: 700 .62rem var(--mono); }
.signal-panel span { color: var(--purple-dark); }
.cube-scene { position: relative; z-index: 1; width: min(72%, 350px); aspect-ratio: 1; display: grid; place-items: center; transform: rotate(-7deg); }
.cube-scene::before, .cube-scene::after { position: absolute; content: ""; border: 1px solid #9b9ba1; transform: rotate(45deg); }
.cube-scene::before { width: 80%; height: 80%; }
.cube-scene::after { width: 57%; height: 57%; border-color: var(--purple); }
.cube-face { position: absolute; width: 42%; height: 42%; border: 1px solid var(--ink); background: linear-gradient(135deg, #fff 0 30%, #c7c7ca 30% 55%, #5d5d63 55% 72%, #25252a 72%); box-shadow: 10px 10px 0 #00000012; transform: skewY(-28deg) scaleX(.82); }
.cube-face--two { margin: 55px 0 0 58px; background: linear-gradient(135deg, #e4e4e4 0 32%, #8a8a91 32% 62%, #35353b 62%); }
.cube-face--three { margin: -58px 0 0 -56px; background: linear-gradient(135deg, #fff 0 48%, #b3b3b8 48% 70%, #66666d 70%); }
.cube-accent { position: absolute; width: 28px; height: 28px; background: var(--purple); }
.cube-accent--one { top: 16%; right: 17%; }
.cube-accent--two { bottom: 17%; left: 15%; width: 20px; height: 20px; background: var(--acid); }
.art-coord { position: absolute; right: 18px; bottom: 18px; padding: 9px 12px; border: 1px solid var(--ink); background: var(--acid); font: 700 .62rem/1.5 var(--mono); }
.art-cross { position: absolute; top: 18%; right: 19%; color: var(--ink); font: 1.3rem var(--mono); }

.ticker { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--ink); overflow: hidden; }
.ticker-label { flex: none; padding: 7px 12px; background: var(--acid); font: 800 .65rem var(--mono); }
.ticker-text { padding-left: 16px; color: var(--muted); font: 600 .68rem var(--mono); }
.section { padding-block: clamp(38px, 6vw, 76px); border-bottom: 1px solid var(--ink); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.section-title { margin: 5px 0 0; font-size: clamp(1.55rem, 3vw, 2.45rem); font-weight: 900; line-height: 1.05; letter-spacing: -.06em; }
.section-index { color: var(--purple-dark); font-size: .72rem; font-weight: 700; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font: 700 .68rem var(--mono); }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ink); }
.category-tile { position: relative; min-height: 125px; padding: 18px; border-right: 1px solid var(--line); background: #fff; transition: background .15s, color .15s; }
.category-tile:last-child { border-right: 0; }
.category-tile:hover { background: var(--ink); color: var(--white); }
.category-number { display: block; color: var(--purple-dark); font: 700 .65rem var(--mono); }
.category-name { display: block; margin-top: 18px; font-size: 1rem; font-weight: 850; }
.category-arrow { position: absolute; right: 16px; bottom: 15px; color: var(--purple); font: 1.1rem var(--mono); }

.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.article-card { min-width: 0; border: 1px solid var(--line); background: var(--white); transition: transform .18s, box-shadow .18s; }
.article-card:hover { transform: translate(-3px,-3px); box-shadow: 5px 5px 0 var(--purple); }
.card-image { position: relative; display: grid; aspect-ratio: 1.55; place-items: center; overflow: hidden; background: #e7e7e3; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-placeholder { position: absolute; inset: 0; display: grid; place-items: center; background-image: linear-gradient(135deg, transparent 49.6%, #c5c5ca 50%, transparent 50.4%), linear-gradient(45deg, transparent 49.6%, #c5c5ca 50%, transparent 50.4%); background-size: 24px 24px; }
.card-placeholder span { display: grid; width: 70px; height: 70px; place-items: center; border: 2px solid var(--ink); background: var(--acid); box-shadow: 6px 6px 0 var(--purple); font: 900 2.8rem var(--sans); }
.card-content { padding: 16px; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: .62rem; }
.card-category { padding: 3px 7px; background: #eee7ff; color: var(--purple-dark); font-weight: 700; }
.card-title { margin: 11px 0 8px; font-size: 1.05rem; font-weight: 850; line-height: 1.35; letter-spacing: -.025em; }
.card-excerpt { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.6; }
.empty-state { padding: 35px 22px; border: 1px dashed #a6a6a8; background: #fff; color: var(--muted); text-align: center; }
.empty-state strong { display: block; margin-bottom: 7px; color: var(--ink); font-size: 1.1rem; }

.manifesto-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; }
.manifesto-card { position: relative; min-height: 250px; padding: clamp(24px, 4vw, 48px); overflow: hidden; border: 1px solid var(--ink); background: var(--ink); color: var(--white); }
.manifesto-card::after { position: absolute; right: -8px; bottom: -90px; content: "6"; color: #25252a; font-size: 25rem; font-weight: 900; line-height: 1; }
.manifesto-card > * { position: relative; z-index: 1; }
.manifesto-card h2 { max-width: 600px; margin: 16px 0; font-size: clamp(1.9rem, 4vw, 3.5rem); line-height: 1; letter-spacing: -.06em; }
.manifesto-card p { max-width: 550px; color: #c7c7cc; font-size: .9rem; }
.manifesto-card .button { margin-top: 12px; }
.signal-stats { display: grid; grid-template-rows: 1fr 1fr; border: 1px solid var(--ink); background: #fff; }
.stat-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; padding: 18px; border-bottom: 1px solid var(--line); }
.stat-row:last-child { border-bottom: 0; }
.stat-label { font: 700 .68rem var(--mono); }
.stat-value { color: var(--purple-dark); font-size: .8rem; font-weight: 800; }
.stat-bar { grid-column: 1 / -1; height: 5px; background: #e8e5ed; }
.stat-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--purple), var(--acid)); }

.site-footer { padding-block: 30px 18px; font-size: .66rem; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; padding-bottom: 26px; border-bottom: 1px solid var(--ink); }
.footer-brand { font: 900 1.15rem var(--sans); letter-spacing: .07em; }
.footer-copy { max-width: 300px; color: var(--muted); }
.footer-label { display: block; margin-bottom: 11px; color: var(--purple-dark); font-weight: 800; }
.footer-links { display: grid; gap: 6px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; color: var(--muted); }
.footer-status { color: var(--ink); }

.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 36px; padding-block: 38px 70px; }
.content-main h1 { margin: 8px 0 24px; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; letter-spacing: -.06em; }
.content-main .article-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.sidebar { padding: 18px; border: 1px solid var(--line); background: #fff; align-self: start; }
.sidebar h2 { margin: 0 0 15px; font: 800 .76rem var(--mono); }
.sidebar .widget { padding-block: 14px; border-bottom: 1px solid var(--line); }
.sidebar .widget:last-child { border-bottom: 0; }
.sidebar ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: .8rem; }
.post-article { max-width: 850px; margin-inline: auto; padding: 40px 0 80px; }
.post-article h1 { margin: 14px 0; font-size: clamp(2rem, 5vw, 4.2rem); line-height: 1.08; letter-spacing: -.06em; }
.post-featured { margin: 26px 0; }
.post-body { font-size: 1.04rem; line-height: 1.95; }
.post-body h2, .post-body h3 { margin-top: 2em; line-height: 1.3; }
.post-body a { color: var(--purple-dark); text-decoration: underline; text-underline-offset: 3px; }
.post-body img { margin-block: 1.5em; }
.post-body blockquote { margin: 1.5em 0; padding: 8px 18px; border-left: 4px solid var(--purple); background: #fff; }
.post-nav { display: flex; justify-content: space-between; gap: 18px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font: 700 .7rem var(--mono); }
.pagination { margin-top: 25px; }
.pagination .nav-links { display: flex; gap: 8px; }
.pagination .page-numbers { padding: 8px 12px; border: 1px solid var(--line); background: #fff; font: 700 .7rem var(--mono); }
.pagination .current { background: var(--ink); color: #fff; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 900px) {
  .site-shell { width: min(100% - 32px, 760px); }
  .site-header { flex-wrap: wrap; gap: 8px 18px; padding-block: 12px; }
  .primary-nav { order: 3; width: 100%; justify-content: space-between; gap: 10px; overflow-x: auto; }
  .primary-nav ul { width: 100%; justify-content: space-between; gap: 10px; }
  .header-search input { width: 115px; }
  .hero { grid-template-columns: 1fr .82fr; }
  .hero h1 { font-size: clamp(2.35rem, 7vw, 4rem); }
  .article-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .content-layout { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
}
@media (max-width: 600px) {
  .site-shell { width: calc(100% - 28px); }
  .topline { min-height: 31px; font-size: .55rem; }
  .topline .topline-right { display: none; }
  .site-header { min-height: 68px; }
  .brand { min-width: 0; gap: 9px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-six { font-size: 1.85rem; }
  .brand-name { font-size: .98rem; }
  .brand-tagline { font-size: .48rem; }
  .header-search input { width: 95px; padding: 8px 7px; }
  .search-submit { min-height: 36px; padding-inline: 10px; }
  .primary-nav { padding-top: 4px; font-size: .62rem; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 38px 0 28px; }
  .hero h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .hero-description { margin-top: 16px; }
  .hero-actions { margin-top: 21px; }
  .hero-art { min-height: 270px; border-top: 1px solid var(--line); border-left: 0; }
  .cube-scene { width: min(62%, 240px); }
  .art-coord { right: 10px; bottom: 10px; font-size: .54rem; }
  .ticker { min-height: 42px; }
  .ticker-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .58rem; }
  .section { padding-block: 36px; }
  .section-head { align-items: start; }
  .section-head > .text-link { margin-top: 18px; white-space: nowrap; }
  .category-grid { grid-template-columns: repeat(2,1fr); }
  .category-tile { min-height: 104px; padding: 14px; border-bottom: 1px solid var(--line); }
  .category-tile:nth-child(2) { border-right: 0; }
  .category-tile:nth-child(n+3) { border-bottom: 0; }
  .category-name { margin-top: 12px; font-size: .92rem; }
  .article-grid, .content-main .article-grid { grid-template-columns: 1fr; gap: 12px; }
  .article-card { display: grid; grid-template-columns: 37% 1fr; }
  .card-image { aspect-ratio: auto; min-height: 140px; }
  .card-content { padding: 12px; }
  .card-title { margin: 7px 0; font-size: .9rem; }
  .card-excerpt { font-size: .73rem; }
  .card-meta { font-size: .55rem; }
  .card-placeholder span { width: 48px; height: 48px; font-size: 2rem; }
  .manifesto-grid { grid-template-columns: 1fr; }
  .manifesto-card { min-height: 220px; padding: 24px; }
  .manifesto-card::after { right: 0; bottom: -40px; font-size: 17rem; }
  .signal-stats { grid-template-rows: auto auto; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-intro { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .content-layout { padding-top: 26px; }
  .sidebar { grid-template-columns: 1fr; }
  .post-article { padding-top: 25px; }
}
