:root {
  color-scheme: light;
  --page: #f4f4f0;
  --paper: #ffffff;
  --ink: #171713;
  --muted: #686861;
  --line: #d9d9d2;
  --accent: #5c4ed8;
  --shadow: 0 16px 50px rgba(20, 20, 16, 0.08);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--page); }
button, input, select { font: inherit; }
a { color: inherit; }
button { color: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 4vw;
  background: color-mix(in srgb, var(--page) 88%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  backdrop-filter: blur(18px);
}

.site-brand { display: inline-flex; gap: 12px; align-items: center; text-decoration: none; font-size: 13px; font-weight: 750; letter-spacing: .08em; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; color: white; background: var(--ink); border-radius: 8px; font-family: Georgia, serif; font-size: 18px; }
.header-meta { display: flex; align-items: center; gap: 20px; }
.site-header p { margin: 0; color: var(--muted); font-size: 13px; }
.slashbro-signature { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 5px 9px; background: rgba(255, 255, 255, .82); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; transition: transform .18s ease, background-color .18s ease; }
.slashbro-signature:hover { background: #fff; transform: translateY(-1px); }
.slashbro-credit { color: var(--muted); font-size: 8px; font-weight: 760; letter-spacing: .13em; text-transform: uppercase; white-space: nowrap; }
.slashbro-signature img { display: block; width: 120px; height: auto; }
main { width: min(1500px, 100%); margin: 0 auto; }

.gallery-view { padding: 72px 4vw 110px; }
.intro { max-width: 850px; }
.eyebrow { margin: 0 0 20px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.intro h1 { max-width: 760px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 6vw, 82px); font-weight: 400; line-height: .98; letter-spacing: -.045em; }
.intro > p:last-child { max-width: 690px; margin: 28px 0 0; color: var(--muted); font-size: clamp(16px, 1.5vw, 20px); line-height: 1.65; }

.toolbar { display: grid; grid-template-columns: minmax(260px, 1fr) 240px auto; gap: 12px; align-items: center; margin: 54px 0 30px; }
.search-field { position: relative; }
.search-field svg { position: absolute; left: 16px; top: 50%; width: 19px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; }
.toolbar input, .toolbar select { width: 100%; height: 48px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; outline: none; }
.toolbar input { padding: 0 16px 0 46px; }
.toolbar select { padding: 0 40px 0 14px; }
.toolbar input:focus, .toolbar select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 15%, transparent); }
.result-count { margin: 0 0 0 8px; color: var(--muted); font-size: 13px; white-space: nowrap; }

.brand-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.brand-card { min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 1px 0 rgba(0, 0, 0, .02); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.brand-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.brand-open { display: block; width: 100%; padding: 0; text-align: left; background: none; border: 0; cursor: pointer; }

.miniature { position: relative; height: 230px; padding: 19px; color: var(--brand-fg); background: var(--brand-bg); font-family: var(--brand-font), sans-serif; overflow: hidden; }
.miniature::after { content: ""; position: absolute; inset: auto -8% -52% 42%; aspect-ratio: 1; border-radius: 50%; background: color-mix(in srgb, var(--brand-primary) 30%, transparent); filter: blur(4px); }
.mini-nav { position: relative; z-index: 2; display: flex; align-items: center; gap: 9px; font-size: 10px; font-weight: 700; }
.mini-nav span { margin-right: auto; }
.mini-nav i { width: 25px; height: 3px; opacity: .45; background: currentColor; border-radius: 4px; }
.mini-copy { position: relative; z-index: 2; display: grid; gap: 6px; width: 57%; margin-top: 39px; }
.mini-copy strong { max-width: 230px; font-size: 22px; line-height: 1.03; letter-spacing: -.03em; }
.mini-copy span { width: 92%; height: 4px; opacity: .24; background: currentColor; border-radius: 4px; }
.mini-copy span + span { width: 66%; }
.mini-visual { position: absolute; z-index: 1; right: 16px; bottom: 17px; display: flex; align-items: end; gap: 5px; width: 37%; height: 77px; padding: 11px; background: var(--brand-surface); border: 1px solid var(--brand-border); border-radius: var(--brand-card-radius); }
.mini-visual b { width: 24%; height: 45%; background: var(--brand-primary); border-radius: min(var(--brand-card-radius), 5px); }
.mini-visual b:nth-child(2) { height: 78%; opacity: .75; }
.mini-visual b:nth-child(3) { height: 58%; opacity: .5; }
.mini-button { position: absolute; z-index: 2; left: 19px; bottom: 22px; padding: 7px 12px; color: var(--brand-on-primary); background: var(--brand-primary); border-radius: var(--brand-button-radius); font-size: 9px; font-weight: 700; }

.miniature.archetype-retro { border: 9px solid #000; }
.miniature.archetype-retro .mini-visual { box-shadow: inset 2px 2px #fff, inset -2px -2px #333; }
.miniature.archetype-retro .mini-button, .miniature.archetype-retro .mini-nav i { border-radius: 0; }
.miniature.archetype-cinematic .mini-copy strong { text-transform: uppercase; letter-spacing: -.05em; }
.miniature.archetype-cinematic .mini-visual { border-radius: 999px 999px 12px 12px; background: linear-gradient(155deg, var(--brand-primary), var(--brand-surface)); }
.miniature.archetype-editorial .mini-copy strong { font-family: Georgia, serif; font-weight: 400; }
.miniature.archetype-playful::before { content: ""; position: absolute; width: 95px; height: 95px; right: 54px; top: 47px; background: var(--brand-secondary); border-radius: 42% 58% 66% 34% / 46% 34% 66% 54%; transform: rotate(19deg); opacity: .8; }
.miniature.archetype-technical .mini-visual { background: color-mix(in srgb, var(--brand-surface) 82%, #000); }

.brand-card-copy { display: block; padding: 22px 22px 24px; }
.brand-card-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.brand-card-heading strong { font-size: 18px; }
.brand-card-heading span { color: var(--muted); font-size: 10px; text-align: right; }
.brand-card-description { display: block; min-height: 63px; margin-top: 11px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.palette-dots { display: flex; align-items: center; gap: 6px; margin-top: 18px; }
.palette-dots i { width: 14px; height: 14px; background: var(--swatch); border: 1px solid rgba(0, 0, 0, .12); border-radius: 50%; }
.palette-dots em { margin-left: auto; color: var(--muted); font-size: 10px; font-style: normal; text-transform: uppercase; letter-spacing: .09em; }
.empty-state { padding: 80px 0; color: var(--muted); text-align: center; }

.detail-view { padding: 24px 4vw 96px; }
.detail-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.back-button, .source-link { display: inline-flex; align-items: center; height: 42px; padding: 0 14px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; cursor: pointer; }
.back-button svg { width: 19px; margin-right: 6px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.source-link { color: var(--muted); font-size: 13px; }

.brand-demo { color: var(--brand-fg); background: var(--brand-bg); border: 1px solid var(--brand-border); border-radius: 24px; box-shadow: var(--shadow); font-family: var(--brand-font), ui-sans-serif, sans-serif; overflow: hidden; }
.demo-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 74px; padding: 0 clamp(22px, 4vw, 58px); border-bottom: 1px solid var(--brand-border); }
.demo-nav a { text-decoration: none; }
.demo-nav > a { justify-self: start; font-size: 18px; font-weight: 750; letter-spacing: -.02em; }
.demo-nav div { display: flex; gap: 30px; font-size: 12px; }
.demo-nav button, .demo-actions button { color: var(--brand-on-primary); background: var(--brand-primary); border: 0; border-radius: var(--brand-button-radius); cursor: pointer; }
.demo-nav button { justify-self: end; min-height: 38px; padding: 0 17px; font-size: 12px; font-weight: 700; }

.demo-hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: clamp(40px, 7vw, 110px); align-items: center; min-height: 610px; padding: clamp(56px, 8vw, 120px) clamp(24px, 6vw, 90px); }
.demo-hero-copy { max-width: 650px; }
.demo-eyebrow { margin: 0 0 20px; color: var(--brand-primary); font-size: 11px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.demo-hero h1 { margin: 0; font-size: clamp(54px, 7vw, 112px); font-weight: 520; line-height: .94; letter-spacing: -.065em; }
.demo-hero-copy > p:not(.demo-eyebrow) { max-width: 520px; margin: 28px 0 0; opacity: .72; font-size: clamp(16px, 1.6vw, 21px); line-height: 1.55; }
.demo-actions { display: flex; align-items: center; gap: 24px; margin-top: 34px; }
.demo-actions button { min-height: 48px; padding: 0 22px; font-weight: 700; }
.demo-actions a { font-size: 14px; font-weight: 650; text-decoration: none; }

.hero-visual { position: relative; min-height: 390px; color: var(--brand-fg); background: var(--brand-surface); border: 1px solid var(--brand-border); border-radius: var(--brand-card-radius); overflow: hidden; }
.visual-dashboard { display: grid; grid-template-columns: 1fr 1.25fr; grid-template-rows: 1fr auto; gap: 1px; background: var(--brand-border); }
.visual-dashboard > * { background: var(--brand-surface); }
.metric { padding: 42px; }
.metric span, .ticker span { display: block; color: var(--brand-primary); font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.metric strong { display: block; margin-top: 18px; font-size: clamp(44px, 5vw, 72px); font-weight: 500; letter-spacing: -.06em; }
.metric small { color: var(--brand-primary); }
.chart { display: flex; align-items: end; gap: 8px; padding: 46px 34px 40px; }
.chart i { flex: 1; height: var(--h); background: var(--brand-primary); border-radius: max(2px, calc(var(--brand-card-radius) / 3)); opacity: .38; }
.chart i:nth-child(4), .chart i:nth-child(5) { opacity: 1; }
.ticker { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; }
.ticker strong { font-size: 11px; letter-spacing: .1em; }

.visual-technical { color: var(--brand-fg); background: color-mix(in srgb, var(--brand-bg) 72%, #000); }
.terminal-bar { display: flex; align-items: center; gap: 7px; min-height: 46px; padding: 0 16px; border-bottom: 1px solid var(--brand-border); }
.terminal-bar i { width: 9px; height: 9px; background: var(--brand-primary); border-radius: 50%; opacity: .45; }
.terminal-bar span { margin-left: auto; opacity: .48; font: 11px ui-monospace, monospace; }
.visual-technical pre { margin: 0; padding: 45px 38px; overflow: hidden; font: clamp(13px, 1.2vw, 17px)/1.8 ui-monospace, SFMono-Regular, Menlo, monospace; }
.visual-technical b, .visual-technical em { color: var(--brand-primary); font-style: normal; }
.visual-technical span { color: var(--brand-secondary); }

.visual-commerce { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 18px; }
.product-card { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; padding: 20px; color: var(--brand-on-primary); background: var(--brand-primary); border-radius: var(--brand-card-radius); }
.product-card span { font-size: 10px; opacity: .72; }
.product-card b { font-size: 15px; }
.product-card-a { transform: translateY(40px); }
.product-card-b { background: var(--brand-secondary); transform: translateY(4px); }
.product-card-c { background: linear-gradient(160deg, var(--brand-primary), var(--brand-bg)); transform: translateY(70px); }

.visual-editorial { padding: 34px; }
.visual-editorial .issue { font-size: 10px; letter-spacing: .16em; }
.visual-editorial > strong { position: absolute; top: 32px; right: 30px; color: var(--brand-primary); font: 700 12px ui-sans-serif, sans-serif; }
.visual-editorial p { position: relative; z-index: 2; margin: 78px 0 0; font-family: Georgia, serif; font-size: clamp(48px, 6vw, 88px); line-height: .78; letter-spacing: -.07em; }
.visual-editorial i { position: absolute; right: -8%; bottom: -27%; width: 64%; aspect-ratio: 1; background: var(--brand-primary); border-radius: 50%; opacity: .87; }

.visual-cinematic { display: grid; place-items: center; color: var(--brand-on-primary); background: radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--brand-primary) 58%, transparent), transparent 48%), #060606; }
.visual-cinematic > span { position: absolute; top: 22px; left: 24px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.cinema-object { width: min(72%, 420px); aspect-ratio: 2 / 1; filter: drop-shadow(0 30px 34px rgba(0, 0, 0, .62)); }
.cinema-object::before, .cinema-object::after { content: ""; position: absolute; inset: 32% 6% 12%; background: linear-gradient(165deg, var(--brand-primary), #131313 54%); clip-path: polygon(11% 23%, 38% 3%, 83% 8%, 98% 47%, 87% 77%, 18% 76%, 0 53%); }
.cinema-object::after { inset: 64% 12% 0; background: #050505; clip-path: polygon(0 0, 100% 0, 84% 25%, 17% 27%); }
.cinema-object i::before, .cinema-object i::after { content: ""; position: absolute; z-index: 2; bottom: 4%; width: 23%; aspect-ratio: 1; background: radial-gradient(circle, #111 0 34%, #555 36% 38%, #050505 40% 62%, transparent 64%); border-radius: 50%; }
.cinema-object i::before { left: 16%; }
.cinema-object i::after { right: 12%; }
.visual-cinematic small { position: absolute; bottom: 20px; letter-spacing: .16em; }

.visual-retro { padding: 18px; color: #000; background: var(--brand-bg); border: 10px solid #000; border-radius: 0; font-family: Arial, sans-serif; }
.retro-bar { padding: 10px; color: #fff; background: var(--brand-primary); border: 3px outset #ddd; font-weight: 900; }
.retro-grid { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 5px; margin-top: 16px; }
.retro-grid > * { min-height: 150px; padding: 13px; background: var(--brand-secondary); border: 4px outset #ddd; }
.retro-grid b { display: grid; place-items: center; color: #000; background: #ffdf00; clip-path: polygon(50% 0, 61% 28%, 88% 12%, 73% 39%, 100% 50%, 72% 61%, 88% 88%, 61% 72%, 50% 100%, 39% 72%, 12% 88%, 28% 61%, 0 50%, 28% 39%, 12% 12%, 39% 28%); }
.visual-retro marquee { margin-top: 14px; padding: 8px; background: #fff; border: 2px inset #aaa; font: 13px "Times New Roman", serif; }

.visual-playful { background: var(--brand-surface); }
.visual-playful i { position: absolute; display: block; background: var(--brand-primary); }
.shape-one { width: 210px; height: 210px; top: -50px; right: -20px; border-radius: 50%; }
.shape-two { width: 180px; height: 140px; left: 22px; bottom: 20px; background: var(--brand-secondary) !important; border-radius: 58% 42% 29% 71% / 52% 30% 70% 48%; transform: rotate(-16deg); }
.shape-three { width: 80px; height: 80px; right: 38px; bottom: 34px; background: var(--brand-bg) !important; border: 16px solid var(--brand-fg); border-radius: 14px; transform: rotate(19deg); }
.visual-playful strong { position: absolute; z-index: 2; top: 52px; left: 48px; font-size: clamp(38px, 5vw, 72px); line-height: .85; letter-spacing: -.06em; }

.visual-minimal { display: grid; place-items: center; }
.orb { position: relative; width: 56%; aspect-ratio: 1; background: linear-gradient(145deg, var(--brand-primary), var(--brand-secondary)); border-radius: 50%; box-shadow: inset -30px -35px 70px color-mix(in srgb, var(--brand-bg) 65%, transparent), 0 35px 55px color-mix(in srgb, var(--brand-primary) 25%, transparent); }
.orb i { position: absolute; inset: 14%; border: 1px solid color-mix(in srgb, var(--brand-on-primary) 52%, transparent); border-radius: inherit; }
.visual-minimal > span { position: absolute; bottom: 20px; left: 22px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }

.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--brand-border); border-bottom: 1px solid var(--brand-border); }
.feature-row article { min-height: 260px; padding: 42px; background: var(--brand-surface); }
.feature-row article + article { border-left: 1px solid var(--brand-border); }
.feature-row span { color: var(--brand-primary); font-size: 11px; font-weight: 800; }
.feature-row h2 { margin: 44px 0 12px; font-size: 22px; font-weight: 650; line-height: 1.15; }
.feature-row p { margin: 0; opacity: .68; font-size: 13px; line-height: 1.55; }

.brand-story, .token-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; padding: clamp(60px, 8vw, 118px) clamp(24px, 6vw, 90px); }
.brand-story h2, .token-section h2 { max-width: 560px; margin: 0; font-size: clamp(38px, 5vw, 72px); font-weight: 520; line-height: 1; letter-spacing: -.055em; }
.brand-story > p { max-width: 720px; margin: 0; opacity: .72; font-size: clamp(17px, 1.7vw, 23px); line-height: 1.62; }
.token-section { background: var(--brand-surface); border-top: 1px solid var(--brand-border); }
.token-section ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; margin: 0; padding: 0; list-style: none; }
.token-section li { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; min-height: 54px; border-bottom: 1px solid var(--brand-border); }
.token-section li i { width: 24px; height: 24px; background: var(--swatch); border: 1px solid color-mix(in srgb, var(--brand-fg) 18%, transparent); border-radius: min(var(--brand-card-radius), 7px); }
.token-section li span { font-size: 12px; }
.token-section li code { opacity: .58; font: 11px ui-monospace, monospace; }

.brand-demo.archetype-editorial .demo-hero h1, .brand-demo.archetype-editorial .brand-story h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.brand-demo.archetype-cinematic .demo-hero h1 { text-transform: uppercase; }
.brand-demo.archetype-retro { border: 10px solid #000; border-radius: 0; }
.brand-demo.archetype-retro .demo-nav, .brand-demo.archetype-retro .feature-row, .brand-demo.archetype-retro .brand-story, .brand-demo.archetype-retro .token-section { font-family: Arial, sans-serif; }
.brand-demo.archetype-retro .demo-hero h1 { font-family: "Arial Black", Arial, sans-serif; text-transform: uppercase; }
.brand-demo.archetype-retro button { border: 3px outset #ddd; }

.site-footer { display: flex; align-items: center; justify-content: center; padding: 28px 4vw 50px; color: var(--muted); border-top: 1px solid var(--line); font-size: 12px; text-align: center; }
.site-footer p { margin: 0; }

@media (max-width: 1060px) {
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-hero { grid-template-columns: 1fr; }
  .demo-hero-copy { max-width: 780px; }
  .hero-visual { min-height: 430px; }
  .brand-story, .token-section { gap: 46px; }
}

@media (max-width: 720px) {
  body { overflow-x: hidden; }
  .site-header { min-height: 58px; }
  .header-meta > p { display: none; }
  .slashbro-signature { min-height: 42px; padding: 4px 6px; }
  .slashbro-credit { display: none; }
  .gallery-view { padding-top: 52px; }
  .toolbar { grid-template-columns: 1fr; }
  .result-count { margin: 2px 0 0; }
  .brand-grid { grid-template-columns: 1fr; }
  .miniature { height: 215px; }
  .detail-view { padding: 14px 0 50px; }
  .detail-toolbar { padding: 0 14px; }
  .brand-demo { width: 100%; max-width: 100vw; overflow: hidden; border-right: 0; border-left: 0; border-radius: 0; }
  .brand-demo.archetype-retro { border-width: 8px 0; }
  .brand-demo.archetype-retro .demo-hero h1 { font-size: 50px; line-height: .96; }
  .brand-demo.archetype-retro .demo-nav button { display: none; }
  .source-link { display: none; }
  .demo-nav { grid-template-columns: 1fr auto; min-height: 64px; padding: 0 18px; }
  .demo-nav div { display: none; }
  .demo-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 70px 20px 42px; }
  .demo-hero-copy, .hero-visual { width: calc(100vw - 40px); min-width: 0; max-width: calc(100vw - 40px); }
  .demo-hero h1 { font-size: clamp(50px, 16vw, 76px); }
  .hero-visual { min-height: 340px; }
  .feature-row { width: 100vw; max-width: 100vw; grid-template-columns: minmax(0, 1fr); }
  .feature-row article { width: 100vw; max-width: 100vw; min-height: 0; }
  .feature-row article + article { border-top: 1px solid var(--brand-border); border-left: 0; }
  .feature-row h2 { margin-top: 28px; }
  .brand-story, .token-section { width: 100vw; max-width: 100vw; grid-template-columns: minmax(0, 1fr); gap: 35px; min-width: 0; padding: 64px 22px; }
  .brand-story > *, .token-section > *, .feature-row article { min-width: 0; overflow-wrap: anywhere; }
  .token-section ul { grid-template-columns: minmax(0, 1fr); }
  .visual-commerce { overflow: hidden; }
  .visual-dashboard { grid-template-columns: 1fr; }
  .visual-dashboard .chart { display: none; }
  .visual-dashboard .ticker { grid-column: 1; }
  .retro-grid { grid-template-columns: 1fr 1fr; }
  .retro-grid > * { min-height: 100px; }
}
