/* ============================================================
   080 〇〇 Lab — Digital Art / NFT Gallery
   Concept: Code as Canvas. WebGL × Generative × Variable Font.
   ============================================================ */

:root {
  --bg: #000000;
  --ink: #ffffff;
  --ink-2: rgba(255,255,255,0.55);
  --ink-3: rgba(255,255,255,0.22);
  --line: rgba(255,255,255,0.10);
  --line-2: rgba(255,255,255,0.18);
  --blue: #2451ff;
  --yellow: #f0ff2c;
  --magenta: #ff2bd6;
  --grid: rgba(255,255,255,0.04);

  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-display: "Anton", "Inter Tight", "Helvetica Neue", sans-serif;
  --font-body: "Inter Tight", "Inter", "Noto Sans JP", -apple-system, sans-serif;

  --max: 1440px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 380;
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  cursor: none;
}
@media (max-width: 768px) { body { cursor: auto; } }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: transparent; border: 0; cursor: none; }

::selection { background: var(--yellow); color: #000; }

/* ============== グリッド背景 ============== */
.pixel-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 100%);
}

/* ============== カスタムカーソル ============== */
.cursor-halo {
  position: fixed; top: 0; left: 0; width: 28px; height: 28px;
  border: 1.5px solid var(--yellow); border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none; z-index: 9999;
  mix-blend-mode: difference;
  transition: width .2s, height .2s, border-color .2s;
}
.cursor-halo.hover { width: 60px; height: 60px; border-color: var(--magenta); }
.cursor-dot {
  position: fixed; top: 0; left: 0; width: 4px; height: 4px;
  background: var(--yellow); border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none; z-index: 9999;
}
@media (max-width: 768px) { .cursor-halo, .cursor-dot { display: none; } }

/* ============== DEMO BAR ============== */
#demo-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: #000;
  border-bottom: 1px solid var(--blue);
  padding: 7px 0;
}
.demo-bar-inner {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.66rem; color: rgba(255,255,255,0.45);
}
.demo-badge {
  font-size: 0.54rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  background: var(--blue); color: #fff;
  padding: 3px 10px; flex-shrink: 0;
}
.demo-link { color: var(--yellow); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.demo-copy { color: rgba(255,255,255,0.20); font-size: 0.6rem; margin-left: 4px; }
@media (max-width: 640px) { .demo-copy { display: none; } }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); position: relative; }

/* ============== HEADER ============== */
.site-header {
  position: fixed; top: 36px; left: 0; right: 0; z-index: 100;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.site-header .header-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
}
.brand {
  display: flex; align-items: baseline; gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem; letter-spacing: 0.04em;
}
.brand .brand-mark {
  display: inline-block; width: 22px; height: 22px;
  background: var(--yellow); position: relative; transform: translateY(4px);
  clip-path: polygon(0 0, 100% 0, 100% 60%, 60% 60%, 60% 100%, 0 100%);
}
.brand .brand-name { color: #fff; font-weight: 700; }
.brand .brand-tag { color: var(--ink-3); font-size: 0.66rem; }

.header-nav {
  display: flex; gap: 28px; align-items: center;
  font-family: var(--font-mono);
  font-size: 0.74rem; letter-spacing: 0.08em;
  text-transform: uppercase;
}
.header-nav a {
  color: var(--ink-2); position: relative; padding: 6px 0;
  transition: color .25s;
}
.header-nav a:hover, .header-nav a.is-active { color: var(--yellow); }
.header-nav a .num {
  font-size: 0.55rem; color: var(--blue); margin-right: 6px;
}
.header-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--yellow); transition: width .35s ease;
}
.header-nav a:hover::after, .header-nav a.is-active::after { width: 100%; }

.header-cta,
.header-nav a.header-cta {
  font-family: var(--font-mono);
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: #000; background: var(--yellow);
  padding: 10px 18px; transition: background .25s, color .25s;
}
.header-cta:hover,
.header-nav a.header-cta:hover { background: var(--magenta); color: #fff; }

.hamburger { display: none; width: 32px; height: 32px; position: relative; z-index: 1100; }
.hamburger span {
  display: block; width: 22px; height: 1.5px; background: #fff;
  margin: 6px auto; transition: transform .3s, opacity .3s;
}
.menu-active .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-active .hamburger span:nth-child(2) { opacity: 0; }
.menu-active .hamburger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 960px) {
  .hamburger { display: block; }
  .header-cta { display: none; }
  .header-nav {
    position: fixed; inset: 0;
    background: #000;
    flex-direction: column; justify-content: center;
    gap: 24px; font-size: 1.4rem; letter-spacing: 0.06em;
    transform: translateX(100%);
    transition: transform .45s cubic-bezier(.7,0,.3,1);
    z-index: 1000;
  }
  .menu-active .header-nav { transform: translateX(0); }
  .site-header,
  .site-header.is-scrolled,
  .site-header.menu-active {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .site-header.menu-active {
    background: #000 !important;
  }
  .header-nav a { transform: translateY(20px); opacity: 0; }
  .menu-active .header-nav a { transform: translateY(0); opacity: 1; transition: opacity .4s, transform .4s; }
  .menu-active .header-nav a:nth-child(1){ transition-delay:.1s; }
  .menu-active .header-nav a:nth-child(2){ transition-delay:.16s; }
  .menu-active .header-nav a:nth-child(3){ transition-delay:.22s; }
  .menu-active .header-nav a:nth-child(4){ transition-delay:.28s; }
  .menu-active .header-nav a:nth-child(5){ transition-delay:.34s; }
  .menu-active .header-nav a:nth-child(6){ transition-delay:.4s; }
}

/* ============== HERO ============== */
.hero {
  position: relative; padding-top: 160px; padding-bottom: 80px;
  overflow: hidden;
}
#hero-canvas {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 3;
  min-height: 80vh; display: grid; gap: 36px; align-content: center;
}

.hero-meta {
  display: flex; flex-wrap: wrap; gap: 18px;
  font-family: var(--font-mono); font-size: 0.7rem;
  color: var(--ink-2); letter-spacing: 0.08em;
}
.hero-meta .dot {
  display: inline-block; width: 8px; height: 8px; background: var(--yellow); border-radius: 50%;
  margin-right: 6px; transform: translateY(-1px);
  animation: blink 1.6s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.2} }
.hero-meta .sep { color: var(--ink-3); }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(64px, 12vw, 220px);
  line-height: 0.84;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  font-weight: 400;
}
.hero-title .row { display: block; overflow: hidden; }
.hero-title .word {
  display: inline-block; font-variation-settings: "wght" 700;
  transition: font-variation-settings .8s cubic-bezier(.2,.7,.2,1);
}
.hero-title .word.b { color: var(--blue); }
.hero-title .word.y { color: var(--yellow); }
.hero-title .word.m { color: var(--magenta); }
.hero-title .word.outline {
  -webkit-text-stroke: 1.5px #fff; color: transparent;
}
.hero:hover .hero-title .word { font-variation-settings: "wght" 900; }

.hero-bottom {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 40px; padding-top: 32px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.74rem; letter-spacing: 0.04em;
}
.hero-bottom .col h4 {
  font-size: 0.62rem; color: var(--blue); letter-spacing: 0.16em;
  text-transform: uppercase; margin-bottom: 8px;
}
.hero-bottom .col p { color: var(--ink-2); line-height: 1.6; }
.hero-bottom .col a { color: var(--yellow); }

.hero-jp {
  font-family: var(--font-body); font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  color: var(--ink-2); max-width: 520px; line-height: 1.85;
  border-left: 2px solid var(--yellow); padding-left: 20px;
}

@media (max-width: 768px) {
  .hero { padding-top: 110px; padding-bottom: 50px; }
  .hero-bottom { grid-template-columns: 1fr; gap: 22px; }
}

/* ============== セクション共通 ============== */
.section { position: relative; padding: 120px 0; z-index: 2; }
.section-head {
  display: flex; align-items: baseline; gap: 22px; margin-bottom: 60px;
  border-top: 1px solid var(--line); padding-top: 32px;
}
.section-num {
  font-family: var(--font-mono); font-size: 0.72rem;
  color: var(--blue); letter-spacing: 0.14em;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6.5vw, 88px);
  line-height: 0.92; letter-spacing: -0.01em;
  text-transform: uppercase;
}
.section-title .accent { color: var(--yellow); }
.section-title .stroke { -webkit-text-stroke: 1.2px #fff; color: transparent; }
.section-meta {
  margin-left: auto; font-family: var(--font-mono); font-size: 0.7rem;
  color: var(--ink-3); letter-spacing: 0.1em;
}
@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .section-head { flex-direction: column; gap: 8px; align-items: flex-start; }
  .section-meta { margin-left: 0; }
}

.code-meta {
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-3);
  letter-spacing: 0.04em; padding-left: 14px; position: relative; margin-bottom: 10px;
}
.code-meta::before { content: "//"; color: var(--blue); position: absolute; left: 0; }

/* ============== INTRO（インデックス用） ============== */
.intro-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: start;
}
.intro-grid .lede {
  font-family: var(--font-display); font-size: clamp(28px, 4vw, 52px);
  line-height: 1.1; letter-spacing: -0.01em; text-transform: uppercase;
}
.intro-grid .lede em { color: var(--yellow); font-style: normal; }
.intro-grid .body p {
  margin-bottom: 18px; color: var(--ink-2); line-height: 1.9;
}
.intro-grid .body p:first-child { color: var(--ink); font-weight: 500; }
.intro-grid .signature {
  margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-3);
}
@media (max-width: 768px) { .intro-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ============== DROPS（リリース） ============== */
.drops-list { display: grid; gap: 0; }
.drop-row {
  display: grid; grid-template-columns: 80px 1fr 1.4fr 200px 80px;
  gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line);
  align-items: center; position: relative;
  transition: background .3s;
}
.drop-row:hover { background: rgba(36,81,255,0.06); }
.drop-row .num {
  font-family: var(--font-mono); font-size: 0.78rem;
  color: var(--blue); letter-spacing: 0.1em;
}
.drop-row .title-en {
  font-family: var(--font-display); font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1; text-transform: uppercase; letter-spacing: -0.01em;
}
.drop-row .meta {
  font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-2);
  letter-spacing: 0.04em; line-height: 1.7;
}
.drop-row .meta .label { color: var(--ink-3); }
.drop-row .editions {
  font-family: var(--font-mono); font-size: 0.78rem;
  color: var(--ink-2); text-align: right;
}
.drop-row .editions strong { color: var(--yellow); display: block; font-size: 1.6rem; font-weight: 600; line-height: 1; margin-bottom: 4px; }
.drop-row .arrow {
  font-family: var(--font-mono); color: var(--yellow);
  text-align: right; font-size: 1.2rem;
  transition: transform .3s;
}
.drop-row:hover .arrow { transform: translateX(8px); }
.drop-row .status {
  position: absolute; top: 28px; right: 80px;
  font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.16em; padding: 3px 10px;
}
.drop-row .status.live { background: var(--magenta); color: #fff; animation: pulse 1.6s infinite; }
.drop-row .status.upcoming { background: var(--blue); color: #fff; }
.drop-row .status.minted { border: 1px solid var(--ink-3); color: var(--ink-3); }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.5} }

@media (max-width: 768px) {
  .drop-row { grid-template-columns: 60px 1fr; gap: 8px 16px; padding: 22px 0; }
  .drop-row .meta { grid-column: 2; }
  .drop-row .editions { grid-column: 2; text-align: left; }
  .drop-row .arrow { display: none; }
  .drop-row .status { position: static; display: inline-block; margin-bottom: 6px; }
}

/* ============== COLLECTION (3D タイル) ============== */
.collection-stage { perspective: 1400px; }
.tile-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  transform-style: preserve-3d;
}
.tile {
  aspect-ratio: 4/5; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0a0a0a, #181818);
  border: 1px solid var(--line);
  transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.2,.7,.2,1), border-color .3s;
}
.tile:hover { transform: rotateY(-8deg) rotateX(4deg) translateZ(20px); border-color: var(--yellow); }
.tile .visual {
  position: absolute; inset: 0; display: grid; place-items: center;
}
.tile .visual svg { width: 70%; height: 70%; }
.tile .meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px;
  font-family: var(--font-mono); font-size: 0.7rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.85) 60%);
}
.tile .meta .id { color: var(--blue); letter-spacing: 0.1em; font-size: 0.62rem; }
.tile .meta .name { color: #fff; font-size: 1rem; font-weight: 600; margin-top: 6px; letter-spacing: 0.04em; }
.tile .meta .artist { color: var(--ink-2); margin-top: 2px; }
.tile .badge-edition {
  position: absolute; top: 14px; right: 14px;
  font-family: var(--font-mono); font-size: 0.6rem;
  background: rgba(0,0,0,0.7); color: var(--yellow);
  padding: 3px 8px; letter-spacing: 0.12em; border: 1px solid var(--yellow);
}
@media (max-width: 768px) { .tile-grid { grid-template-columns: 1fr 1fr; gap: 14px; } }
@media (max-width: 480px) { .tile-grid { grid-template-columns: 1fr; } }

/* ============== ARTISTS ============== */
.artists-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
  border-top: 1px solid var(--line);
}
.artist-card {
  padding: 36px; border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  display: grid; grid-template-columns: 80px 1fr; gap: 24px;
  position: relative; overflow: hidden;
  transition: background .3s;
}
.artist-card:nth-child(2n) { border-right: 0; }
.artist-card:hover { background: rgba(255,255,255,0.02); }
.artist-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 0; width: 2px;
  background: var(--yellow); transition: height .4s;
}
.artist-card:hover::before { height: 100%; }
.artist-card .avatar {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--blue), var(--magenta));
  position: relative; overflow: hidden;
}
.artist-card .avatar svg { width: 100%; height: 100%; }
.artist-card .info .num {
  font-family: var(--font-mono); font-size: 0.66rem; color: var(--blue); letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.artist-card .info .name {
  font-family: var(--font-display); font-size: 1.7rem;
  text-transform: uppercase; letter-spacing: -0.01em; line-height: 1; margin-bottom: 8px;
}
.artist-card .info .role {
  font-family: var(--font-mono); font-size: 0.74rem;
  color: var(--ink-2); letter-spacing: 0.04em; margin-bottom: 10px;
}
.artist-card .info .desc {
  font-size: 0.86rem; color: var(--ink-2); line-height: 1.7;
}
@media (max-width: 768px) {
  .artists-grid { grid-template-columns: 1fr; }
  .artist-card { border-right: 0; padding: 24px 0; }
}

/* ============== STATS ============== */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
}
.stat-cell {
  padding: 36px 28px; border-right: 1px solid var(--line);
  position: relative;
}
.stat-cell:last-child { border-right: 0; }
.stat-cell .label {
  font-family: var(--font-mono); font-size: 0.66rem;
  color: var(--ink-3); letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 12px;
}
.stat-cell .value {
  font-family: var(--font-display); font-size: clamp(38px, 4.5vw, 64px);
  line-height: 1; letter-spacing: -0.02em;
}
.stat-cell .value .unit { font-size: 0.48em; color: var(--blue); margin-left: 4px; }
@media (max-width: 768px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat-cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat-cell:nth-child(2n) { border-right: 0; }
}

/* ============== CTA ============== */
.cta-section {
  padding: 120px 0; position: relative; overflow: hidden; z-index: 2;
  border-top: 1px solid var(--line);
}
.cta-section .container { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.cta-section h2 {
  font-family: var(--font-display); font-size: clamp(48px, 7vw, 110px);
  line-height: 0.9; text-transform: uppercase; letter-spacing: -0.02em;
}
.cta-section h2 em { color: var(--yellow); font-style: normal; }
.cta-section p {
  color: var(--ink-2); margin-bottom: 22px; font-size: 0.95rem;
}
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em;
  padding: 14px 22px; text-transform: uppercase;
  transition: all .3s;
}
.btn-primary { background: var(--yellow); color: #000; }
.btn-primary:hover { background: var(--magenta); color: #fff; }
.btn-ghost { border: 1px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #000; }
.btn .arrow { transition: transform .3s; }
.btn:hover .arrow { transform: translate(4px, -4px); }
@media (max-width: 768px) { .cta-section .container { grid-template-columns: 1fr; gap: 24px; } }

/* ============== NEWS / LOG ============== */
.log-list { border-top: 1px solid var(--line); }
.log-row {
  display: grid; grid-template-columns: 140px 100px 1fr 60px;
  gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line);
  align-items: center; transition: background .3s;
}
.log-row:hover { background: rgba(255,255,255,0.02); }
.log-row .date {
  font-family: var(--font-mono); font-size: 0.78rem;
  color: var(--blue); letter-spacing: 0.06em;
}
.log-row .tag {
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.16em; padding: 3px 8px;
  border: 1px solid var(--line-2); color: var(--ink-2); text-align: center;
  text-transform: uppercase; justify-self: start;
}
.log-row .tag.drop { color: var(--yellow); border-color: var(--yellow); }
.log-row .tag.lab { color: var(--magenta); border-color: var(--magenta); }
.log-row .title {
  font-size: 1.05rem; color: var(--ink); transition: color .3s;
  font-weight: 500;
}
.log-row:hover .title { color: var(--yellow); }
.log-row .arrow {
  font-family: var(--font-mono); text-align: right; color: var(--yellow);
}
@media (max-width: 768px) {
  .log-row { grid-template-columns: 1fr; gap: 4px; padding: 18px 0; }
  .log-row .arrow { display: none; }
}

/* ============== FOOTER ============== */
.site-footer {
  position: relative; z-index: 2;
  border-top: 1px solid var(--line);
  padding: 80px 0 30px;
}
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 60px;
}
.footer-top .brand-block .logo-mark {
  font-family: var(--font-display); font-size: 3rem; line-height: 0.9;
  text-transform: uppercase; margin-bottom: 16px;
}
.footer-top .brand-block .logo-mark span:nth-child(2) { color: var(--yellow); }
.footer-top .brand-block p {
  color: var(--ink-2); font-size: 0.86rem; line-height: 1.8;
}
.footer-top h5 {
  font-family: var(--font-mono); font-size: 0.68rem;
  color: var(--ink-3); letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-top ul { list-style: none; display: grid; gap: 8px; font-size: 0.86rem; }
.footer-top a { color: var(--ink-2); transition: color .3s; }
.footer-top a:hover { color: var(--yellow); }
.footer-top .info { color: var(--ink-2); font-size: 0.84rem; line-height: 1.9; font-family: var(--font-mono); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px;
  padding-top: 24px; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 0.7rem;
  color: var(--ink-3); letter-spacing: 0.04em;
}
.footer-bottom .ticker {
  white-space: nowrap; overflow: hidden;
  display: flex; gap: 30px; flex: 1;
}
.footer-bottom .ticker span { color: var(--yellow); }
@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; }
}

/* ============== ページ用ヘッダー ============== */
.page-hero {
  position: relative; padding: 180px 0 60px; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .breadcrumb {
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-3);
  letter-spacing: 0.08em; margin-bottom: 16px;
}
.page-hero .breadcrumb a { color: var(--blue); }
.page-hero .breadcrumb .sep { margin: 0 8px; color: var(--ink-3); }
.page-hero .page-title {
  font-family: var(--font-display); font-size: clamp(58px, 10vw, 160px);
  line-height: 0.84; text-transform: uppercase; letter-spacing: -0.02em;
}
.page-hero .page-title .accent { color: var(--yellow); }
.page-hero .page-jp {
  font-family: var(--font-body); font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  color: var(--ink-2); margin-top: 24px; max-width: 580px; line-height: 1.85;
}
.page-hero .ascii {
  position: absolute; right: 0; top: 50%; transform: translateY(-30%);
  font-family: var(--font-mono); font-size: 0.6rem; line-height: 1;
  color: var(--blue); opacity: 0.4; white-space: pre; user-select: none;
  display: block;
}
@media (max-width: 768px) {
  .page-hero { padding: 130px 0 40px; }
  .page-hero .ascii { display: none; }
}

/* ============== TIMELINE ============== */
.timeline {
  display: grid; grid-template-columns: 200px 1fr;
  border-top: 1px solid var(--line);
}
.timeline-row {
  display: contents;
}
.timeline-row .year {
  font-family: var(--font-display); font-size: 2.4rem;
  padding: 28px 0;
  color: var(--blue); border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.timeline-row .body {
  padding: 28px 0 28px 36px;
  border-bottom: 1px solid var(--line);
}
.timeline-row .body h3 {
  font-family: var(--font-display); font-size: 1.5rem;
  text-transform: uppercase; margin-bottom: 8px; letter-spacing: -0.005em;
}
.timeline-row .body p { color: var(--ink-2); font-size: 0.9rem; line-height: 1.8; }
@media (max-width: 768px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline-row .year { padding: 20px 0 0; border-right: 0; border-bottom: 0; }
  .timeline-row .body { padding: 8px 0 24px; }
}

/* ============== SERVICES (DROPS page詳細) ============== */
.service-list { display: grid; gap: 0; }
.service-item {
  display: grid; grid-template-columns: 100px 1fr 1fr;
  gap: 32px; padding: 48px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.service-item .num {
  font-family: var(--font-display); font-size: 4rem; line-height: 1;
  color: var(--yellow);
}
.service-item .head h3 {
  font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 44px);
  text-transform: uppercase; letter-spacing: -0.01em; line-height: 1; margin-bottom: 10px;
}
.service-item .head .sub {
  font-family: var(--font-mono); font-size: 0.74rem;
  color: var(--blue); letter-spacing: 0.1em;
}
.service-item .body p { color: var(--ink-2); line-height: 1.8; margin-bottom: 14px; font-size: 0.92rem; }
.service-item .body ul { list-style: none; display: grid; gap: 6px; font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-2); }
.service-item .body ul li::before { content: "+"; color: var(--yellow); margin-right: 8px; }
@media (max-width: 768px) {
  .service-item { grid-template-columns: 60px 1fr; gap: 16px 18px; padding: 30px 0; }
  .service-item .body { grid-column: 1 / -1; padding-top: 8px; }
}

/* ============== FILTER (works) ============== */
.filter-bar {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 36px;
  font-family: var(--font-mono); font-size: 0.74rem;
}
.filter-bar button {
  padding: 8px 16px; border: 1px solid var(--line-2);
  color: var(--ink-2); letter-spacing: 0.08em; text-transform: uppercase;
  transition: all .25s;
}
.filter-bar button.active, .filter-bar button:hover {
  background: var(--yellow); color: #000; border-color: var(--yellow);
}

/* ============== FORM ============== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.form-grid .full { grid-column: 1 / -1; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-family: var(--font-mono); font-size: 0.7rem;
  color: var(--ink-2); letter-spacing: 0.1em; text-transform: uppercase;
}
.form-field label .req { color: var(--magenta); margin-left: 4px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  background: rgba(255,255,255,0.02); border: 1px solid var(--line-2);
  padding: 14px 16px;
  font-family: var(--font-mono); font-size: 0.88rem;
  color: var(--ink); transition: all .25s;
  border-radius: 0;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--yellow); background: rgba(240,255,44,0.04);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field .hint { font-family: var(--font-mono); font-size: 0.66rem; color: var(--ink-3); }
.form-actions { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 768px) { .form-grid { grid-template-columns: 1fr; gap: 22px; } }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start;
}
.contact-grid .info-block {
  position: sticky; top: 130px;
  border: 1px solid var(--line); padding: 32px;
}
.contact-grid .info-block h3 {
  font-family: var(--font-display); font-size: 1.5rem;
  text-transform: uppercase; margin-bottom: 18px;
}
.contact-grid .info-block dl {
  display: grid; grid-template-columns: 100px 1fr; gap: 14px 18px;
  font-family: var(--font-mono); font-size: 0.78rem;
}
.contact-grid .info-block dt { color: var(--ink-3); letter-spacing: 0.08em; }
.contact-grid .info-block dd { color: var(--ink); }
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid .info-block { position: static; }
}

/* ============== PRIVACY ============== */
.privacy-content { max-width: 820px; }
.privacy-content h2 {
  font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px);
  text-transform: uppercase; margin: 50px 0 20px; padding-top: 24px;
  border-top: 1px solid var(--line);
}
.privacy-content h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.privacy-content p, .privacy-content li {
  color: var(--ink-2); line-height: 1.95; margin-bottom: 12px;
}
.privacy-content ul { padding-left: 24px; }

/* ============== NEWS DETAIL ============== */
.news-article {
  max-width: 820px; padding-top: 30px;
}
.news-article .meta {
  display: flex; gap: 16px; margin-bottom: 24px;
  font-family: var(--font-mono); font-size: 0.74rem; color: var(--ink-3);
}
.news-article .meta .tag { color: var(--yellow); border: 1px solid var(--yellow); padding: 3px 10px; letter-spacing: 0.12em; }
.news-article h1 {
  font-family: var(--font-display); font-size: clamp(32px, 5vw, 64px);
  line-height: 1.02; letter-spacing: -0.01em; text-transform: none; margin-bottom: 32px;
}
.news-article h2 {
  font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 30px);
  text-transform: uppercase; margin: 40px 0 14px; letter-spacing: -0.005em;
}
.news-article p { color: var(--ink-2); line-height: 1.95; margin-bottom: 18px; font-size: 0.96rem; }
.news-article p strong { color: var(--ink); }
.news-article blockquote {
  border-left: 2px solid var(--yellow);
  padding: 6px 0 6px 22px; margin: 22px 0;
  color: var(--ink-2); font-style: italic;
}
.news-article ul { padding-left: 24px; margin-bottom: 18px; color: var(--ink-2); line-height: 1.9; }
.news-article hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.news-article .signature {
  font-family: var(--font-mono); color: var(--ink-3); font-size: 0.78rem;
  border-top: 1px solid var(--line); padding-top: 20px; margin-top: 30px;
}
.news-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.78rem;
  color: var(--blue); letter-spacing: 0.1em; margin-top: 50px;
  text-transform: uppercase;
}
.news-back:hover { color: var(--yellow); }

/* ============== REVEAL ============== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.show { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }

/* ============== UTILITIES ============== */
.spacer-sm { height: 40px; }
.spacer-md { height: 80px; }
.spacer-lg { height: 120px; }

/* generated artwork bindings 2026-05-03 */
.hero::before{
  content:"";position:absolute;inset:0;z-index:0;
  background:linear-gradient(90deg, rgba(0,0,0,.88), rgba(0,0,0,.52) 48%, rgba(0,0,0,.84)),url('../images/hero.jpg') center / cover no-repeat;
  opacity:.78;
}
.hero::after{
  content:"";position:absolute;inset:0;z-index:2;pointer-events:none;
  background:radial-gradient(circle at 75% 30%, rgba(36,81,255,.20), transparent 34%),linear-gradient(180deg, transparent 0%, #000 100%);
}
#hero-canvas{mix-blend-mode:screen;opacity:.86;}
.page-hero.lab-hero::after{
  content:"";position:absolute;right:0;top:0;bottom:0;width:min(46vw,680px);
  background:linear-gradient(90deg,#000 0%,rgba(0,0,0,.28) 45%,rgba(0,0,0,.74) 100%),url('../images/about.jpg') center / cover no-repeat;
  opacity:.55;filter:saturate(1.1);z-index:1;
}
.page-hero.lab-hero .ascii{display:none;}
.artist-card:first-child .avatar{background:url('../images/about-curator.jpg') center / cover no-repeat;border-color:var(--blue);}
.artist-card:first-child .avatar svg{display:none;}
.tile .visual{background-size:cover;background-position:center;}
.tile .visual::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.02),rgba(0,0,0,.28) 62%,rgba(0,0,0,.76));pointer-events:none;}
.tile .visual svg{display:none;}
.tile-grid .tile:nth-child(6n+1) .visual{background-image:url('../images/works/work-01.jpg');}
.tile-grid .tile:nth-child(6n+2) .visual{background-image:url('../images/works/work-02.jpg');}
.tile-grid .tile:nth-child(6n+3) .visual{background-image:url('../images/works/work-03.jpg');}
.tile-grid .tile:nth-child(6n+4) .visual{background-image:url('../images/works/work-04.jpg');}
.tile-grid .tile:nth-child(6n+5) .visual{background-image:url('../images/works/work-05.jpg');}
.tile-grid .tile:nth-child(6n+6) .visual{background-image:url('../images/works/work-06.jpg');}
@media (max-width:768px){.page-hero.lab-hero::after{width:100%;opacity:.28;}}


/* ====================================================
   Visual safety override (2026-05-04 一括強制表示化)
   feedback_pre_upload_visual_check ルール準拠
   JS未発火時の文字/画像非表示を防ぐため、すべての
   reveal系クラスを初期表示OKに強制
==================================================== */
.reveal, .reveal-up, .reveal-fade, .reveal-clip, .reveal-noren,
.scrub-item, .reveal-left, .reveal-right { 
  opacity: 1 !important; 
  transform: none !important; 
  clip-path: inset(0 0 0% 0) !important;
  -webkit-clip-path: inset(0 0 0% 0) !important;
}



/* ====================================================
   スマホ時 contact フォーム強制1カラム化（2026-05-05）
   2カラム表示で入力欄が狭くなる問題の対策
==================================================== */
@media (max-width: 767px) {
    .form-row,
    .form-grid,
    .form-2col,
    .form-pair,
    .input-row,
    .input-grid,
    [class*="form-row"],
    [class*="form-grid"],
    [class*="two-col"] {
        display: block !important;
        grid-template-columns: 1fr !important;
    }
    form input[type="text"],
    form input[type="email"],
    form input[type="tel"],
    form input[type="number"],
    form textarea,
    form select,
    .form-row > input,
    .form-row > textarea,
    .form-row > select,
    .form-row > div,
    .form-grid > * {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    .form-row, .form-grid {
        margin-bottom: 1rem;
    }
}



/* ====================================================
   contact 1カラム化 強化版（2026-05-05・全クラス網羅）
==================================================== */
@media (max-width: 767px) {
    .contact-grid,
    .contact-form,
    .ct-grid,
    .ct-form,
    .booking-form,
    .reserve-form,
    .form-card,
    .form-wrap,
    .form-box,
    [class*="contact-grid"],
    [class*="contact-form"],
    [class*="ct-grid"],
    [class*="ct-form"] {
        display: block !important;
        grid-template-columns: 1fr !important;
    }
    .contact-grid > *,
    .contact-form > *,
    .ct-grid > *,
    .ct-form > *,
    .booking-form > *,
    .reserve-form > *,
    .form-card > *,
    .form-wrap > *,
    .form-box > * {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    .ct-budget-grid,
    .ct-field {
        grid-template-columns: 1fr !important;
        display: block !important;
    }
}

/* ====================================================
   横スクロール防止（2026-05-14 一括追加）
   CLAUDE.md ルール「html/body 両方に overflow-x:hidden」準拠
==================================================== */
html { overflow-x: hidden; }
body { overflow-x: hidden; }
