:root {
  --bg: #0b1020;
  --panel: #111834;
  --accent: #68e1fd;
  --text: #e8edf8;
  --muted: #a9b2c7;
  --shadow: 0 10px 25px rgba(0,0,0,.35);
  --radius: 16px;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f8ff;
    --panel: #ffffff;
    --accent: #0ea5e9;
    --text: #0f172a;
    --muted: #475569;
    --shadow: 0 10px 25px rgba(2, 12, 27, .08);
  }
}
* { box-sizing: border-box; }
html, body { margin:0; padding:0; }
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Noto Sans JP, Helvetica, Arial, sans-serif;
  background: radial-gradient(1200px 800px at 80% -10%, rgba(104,225,253,.15), transparent 55%), var(--bg);
  color: var(--text);
  line-height: 1.7;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1100px; padding: 0 20px; margin: 0 auto; }

/* Header */
header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(6px); background: color-mix(in srgb, var(--bg) 85%, transparent); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav { display:flex; align-items:center; justify-content:space-between; height:64px; }
.brand { display:flex; align-items:center; gap:12px; font-weight:700; letter-spacing:.02em; }
.brand .dot { width:10px; height:10px; border-radius:50%; background: var(--accent); box-shadow:0 0 12px var(--accent); }
.menu { display:flex; gap:18px; }
.menu a { padding:10px 12px; border-radius:10px; }
.menu a:hover { background: rgba(255,255,255,.06); text-decoration:none; }

/* Hero */
.hero { padding: 64px 0 24px; }
.hero-inner { display:grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items:center; }
.badge { display:inline-flex; align-items:center; gap:8px; padding:6px 10px; border-radius:999px; background: rgba(255,255,255,.08); font-size:12px; color: var(--muted); }
h1 { font-size: clamp(28px, 4.5vw, 44px); line-height:1.2; margin: 10px 0 8px; }
.lead { font-size: clamp(15px, 2.2vw, 18px); color: var(--muted); margin-bottom: 16px; }
.cta { display:flex; gap:12px; flex-wrap:wrap; }
.btn { display:inline-flex; align-items:center; gap:8px; padding:12px 16px; border-radius:12px; border:1px solid rgba(255,255,255,.12); box-shadow: var(--shadow); background: linear-gradient(135deg, color-mix(in srgb, var(--panel) 85%, transparent), color-mix(in srgb, var(--panel) 70%, transparent)); color: var(--text); }
.btn:hover { transform: translateY(-1px); }
.card { background: linear-gradient(180deg, color-mix(in srgb, var(--panel) 88%, transparent), color-mix(in srgb, var(--panel) 95%, transparent)); border:1px solid rgba(255,255,255,.08); border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-media { aspect-ratio: 4/3; overflow:hidden; }
.hero-media img { width:100%; height:100%; object-fit:cover; display:block; }

/* Sections */
section { padding: 30px 0; }
.section-title { font-size: 22px; margin: 0 0 12px; }
.muted { color: var(--muted); }

/* Updates */
.updates { display:grid; gap:12px; }
.update-item { display:flex; gap:12px; align-items:flex-start; padding:12px; border-radius:12px; background: rgba(255,255,255,.05); border:1px dashed rgba(255,255,255,.15); }
.update-date { font-variant-numeric: tabular-nums; font-size: 12px; color: var(--muted); width: 84px; flex: 0 0 auto; }

/* Works grid */
.grid { display:grid; grid-template-columns: repeat(12, 1fr); gap:16px; }
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.work-card { display:flex; flex-direction:column; height:100%; overflow:hidden; }
.work-thumb { aspect-ratio: 16/9; background:#0f1224; border-bottom:1px solid rgba(255,255,255,.08); }
.work-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.work-body { padding:14px; }
.tag { display:inline-block; font-size:11px; padding:4px 8px; border-radius:999px; background: rgba(255,255,255,.08); color: var(--muted); }

/* Contact */
form { display:grid; gap:10px; }
label { font-size:14px; }
input, textarea { width:100%; padding:12px; border-radius:10px; border:1px solid rgba(255,255,255,.12); background: color-mix(in srgb, var(--panel) 92%, transparent); color: var(--text); }
textarea { min-height: 120px; }
.notice { font-size:12px; color: var(--muted); }

/* Footer */
footer { padding: 24px 0; color: var(--muted); border-top:1px solid rgba(255,255,255,.08); }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .col-4 { grid-column: span 6; }
  .col-6 { grid-column: span 12; }
}
@media (max-width: 640px) {
  .menu { display:none; }
  .col-4 { grid-column: span 12; }
}
