
:root {
  --bg: #03050b;
  --panel: rgba(8, 12, 22, 0.82);
  --panel-strong: rgba(12, 18, 32, 0.96);
  --text: #f5f8ff;
  --muted: #9aa8c4;
  --line: rgba(79, 139, 255, 0.35);
  --line-strong: rgba(98, 160, 255, 0.85);
  --blue: #4f8bff;
  --cyan: #64dcff;
  --danger: #ff4f8b;
  --shadow: 0 0 45px rgba(79, 139, 255, 0.14);
  --radius: 24px;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 0%, rgba(79, 139, 255, 0.18), transparent 32rem),
    radial-gradient(circle at 85% 20%, rgba(255, 79, 139, 0.08), transparent 27rem),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  letter-spacing: 0.01em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(100, 220, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 220, 255, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.75), transparent 85%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  background: linear-gradient(rgba(255,255,255,.025) 50%, transparent 50%);
  background-size: 100% 4px;
  opacity: .08;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

.site-shell { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }

.skip-link { position: absolute; left: -999px; top: 1rem; background: var(--text); color: var(--bg); padding: .75rem 1rem; border-radius: 999px; }
.skip-link:focus { left: 1rem; z-index: 9999; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(3,5,11,.92), rgba(3,5,11,.64));
  border-bottom: 1px solid rgba(79,139,255,.18);
}

.nav {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .85rem;
}
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 0 16px rgba(79,139,255,.2), 0 0 20px rgba(79,139,255,.13);
  clip-path: polygon(16% 0, 100% 0, 100% 84%, 84% 100%, 0 100%, 0 16%);
  font-family: var(--mono);
}

.nav-links { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a {
  padding: .6rem .75rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  color: var(--text);
  border-color: rgba(79,139,255,.35);
  background: rgba(79,139,255,.08);
}

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, 1.05fr);
  gap: clamp(1rem, 3vw, 3rem);
  align-items: center;
  padding: clamp(3rem, 7vw, 7rem) 0;
}

.kicker {
  font-family: var(--mono);
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  margin-bottom: 1.1rem;
}

h1, h2, h3 { line-height: 1; margin: 0; }
h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  text-transform: uppercase;
  letter-spacing: -.06em;
  max-width: 9ch;
}
.hero-copy p, .page-intro p, .about-panel p { color: var(--muted); line-height: 1.7; font-size: 1.02rem; }
.hero-copy strong { color: var(--text); }

.action-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 46px;
  padding: .85rem 1.05rem;
  border-radius: 999px;
  border: 1px solid rgba(100,220,255,.35);
  background: rgba(79,139,255,.09);
  color: var(--text);
  font-family: var(--mono);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); border-color: var(--line-strong); background: rgba(79,139,255,.18); box-shadow: 0 0 22px rgba(79,139,255,.18); }
.btn.primary { background: linear-gradient(135deg, rgba(79,139,255,.92), rgba(100,220,255,.72)); color: #02040a; border-color: transparent; font-weight: 800; }
.btn.ghost { background: rgba(255,255,255,.03); }

.frame {
  position: relative;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: .75rem;
  overflow: hidden;
}
.frame::before, .frame::after {
  content: "";
  position: absolute;
  width: 52px;
  height: 52px;
  border-color: var(--cyan);
  border-style: solid;
  opacity: .75;
  pointer-events: none;
}
.frame::before { left: 12px; top: 12px; border-width: 2px 0 0 2px; }
.frame::after { right: 12px; bottom: 12px; border-width: 0 2px 2px 0; }
.frame img { width: 100%; height: 560px; object-fit: cover; border-radius: calc(var(--radius) - 10px); filter: saturate(.95) contrast(1.05); }
.frame-caption {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem;
  border: 1px solid rgba(100,220,255,.2);
  border-radius: 16px;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(10px);
  font-family: var(--mono);
  font-size: .75rem;
  color: var(--muted);
}

.section { padding: clamp(2.5rem, 7vw, 6rem) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.section-head h2, .page-title { font-size: clamp(2.2rem, 5vw, 4.6rem); text-transform: uppercase; letter-spacing: -.05em; }
.section-head p { margin: 0; color: var(--muted); font-family: var(--mono); font-size: .8rem; }

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  position: relative;
  min-height: 100%;
  border: 1px solid rgba(79,139,255,.22);
  background: linear-gradient(180deg, rgba(13, 20, 36, .84), rgba(5, 8, 16, .84));
  border-radius: 22px;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 18px 40px rgba(0,0,0,.3), 0 0 30px rgba(79,139,255,.13); }
.card-media { aspect-ratio: 1.25 / 1; overflow: hidden; background: #060a14; border-bottom: 1px solid rgba(79,139,255,.2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.card:hover .card-media img { transform: scale(1.045); }
.card-body { padding: 1rem; }
.file-label { display: flex; justify-content: space-between; gap: .75rem; font-family: var(--mono); color: var(--cyan); text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; margin-bottom: .8rem; }
.card h3 { font-size: 1.35rem; letter-spacing: -.03em; line-height: 1.1; }
.card p { color: var(--muted); line-height: 1.55; margin: .8rem 0 1rem; }
.card-meta { display: flex; flex-wrap: wrap; gap: .4rem; }
.pill { border: 1px solid rgba(100,220,255,.24); background: rgba(100,220,255,.055); color: #cdeeff; border-radius: 999px; padding: .35rem .5rem; font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }

.page-hero { padding: clamp(3rem, 7vw, 6rem) 0 1rem; }
.page-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .42fr); gap: 1.5rem; align-items: end; }
.page-intro p { max-width: 68ch; }
.status-panel { border: 1px solid rgba(79,139,255,.28); border-radius: 22px; padding: 1rem; background: rgba(9,14,28,.82); font-family: var(--mono); color: var(--muted); }
.status-panel div { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.status-panel div:last-child { border-bottom: none; }
.status-panel span:last-child { color: var(--text); text-align: right; }

.filter-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1rem; }
.filter-btn {
  border: 1px solid rgba(79,139,255,.22);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  border-radius: 999px;
  padding: .65rem .85rem;
  cursor: pointer;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .72rem;
}
.filter-btn.active, .filter-btn:hover { color: var(--text); border-color: var(--line-strong); background: rgba(79,139,255,.12); }

.shoot-layout { padding-bottom: 5rem; }
.shoot-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, .55fr); gap: 1rem; align-items: stretch; margin: 2rem 0; }
.shoot-info { border: 1px solid rgba(79,139,255,.25); border-radius: 24px; background: var(--panel); padding: 1rem; display: grid; align-content: space-between; }
.shoot-info h1 { font-size: clamp(2.3rem, 5vw, 4.8rem); max-width: 11ch; }
.info-list { font-family: var(--mono); color: var(--muted); font-size: .8rem; margin-top: 1rem; }
.info-list div { display: grid; grid-template-columns: 95px 1fr; gap: .75rem; padding: .5rem 0; border-top: 1px solid rgba(255,255,255,.06); }
.info-list strong { color: var(--cyan); font-weight: 500; }

.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.photo-tile { position: relative; border: 1px solid rgba(79,139,255,.2); border-radius: 18px; background: rgba(255,255,255,.03); overflow: hidden; cursor: zoom-in; }
.photo-tile.wide { grid-column: span 2; }
.photo-tile.tall { grid-row: span 2; }
.photo-tile img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; transition: transform .2s ease; }
.photo-tile:hover img { transform: scale(1.035); }
.photo-tile::after { content: "OPEN IMAGE"; position: absolute; left: .65rem; bottom: .65rem; font-family: var(--mono); font-size: .65rem; letter-spacing: .12em; color: var(--text); background: rgba(0,0,0,.56); border: 1px solid rgba(100,220,255,.25); border-radius: 999px; padding: .4rem .5rem; opacity: 0; transition: opacity .18s; }
.photo-tile:hover::after { opacity: 1; }

.cosplay-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.cosplay-card .card-media { aspect-ratio: .8 / 1; }

.about-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(280px, 1.2fr); gap: 1rem; }
.about-panel { border: 1px solid rgba(79,139,255,.24); border-radius: 24px; background: var(--panel); padding: clamp(1rem, 3vw, 2rem); }
.about-panel h2 { font-size: clamp(2rem, 4vw, 4rem); text-transform: uppercase; letter-spacing: -.05em; }
.contact-card { display: grid; gap: .7rem; }
.contact-link { display: flex; justify-content: space-between; gap: 1rem; border: 1px solid rgba(79,139,255,.22); border-radius: 18px; padding: 1rem; background: rgba(255,255,255,.03); color: var(--muted); }
.contact-link strong { color: var(--text); }

.footer { padding: 2.5rem 0; color: var(--muted); font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; border-top: 1px solid rgba(79,139,255,.16); }
.footer .site-shell { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

.lightbox { position: fixed; inset: 0; z-index: 900; display: none; align-items: center; justify-content: center; padding: 1rem; background: rgba(0,0,0,.86); backdrop-filter: blur(12px); }
.lightbox.open { display: flex; }
.lightbox img { max-height: 84vh; max-width: min(1100px, 92vw); border: 1px solid rgba(100,220,255,.3); border-radius: 16px; box-shadow: 0 0 70px rgba(79,139,255,.16); }
.lightbox button { position: absolute; top: 1rem; right: 1rem; border: 1px solid rgba(100,220,255,.3); background: rgba(7,11,21,.8); color: var(--text); border-radius: 999px; padding: .7rem .9rem; cursor: pointer; }

.empty-state { border: 1px dashed rgba(79,139,255,.35); border-radius: 22px; padding: 2rem; color: var(--muted); }

@media (max-width: 900px) {
  .hero, .page-intro, .shoot-hero, .about-grid { grid-template-columns: 1fr; }
  .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cosplay-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .frame img { height: 420px; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .site-shell { width: min(100% - 24px, 1180px); }
  .nav { height: auto; padding: .75rem 0; align-items: flex-start; }
  .brand span:last-child { display: none; }
  .nav-links a { font-size: .68rem; padding: .5rem .55rem; }
  .hero { padding-top: 2rem; min-height: auto; }
  h1 { font-size: clamp(2.8rem, 18vw, 4rem); }
  .frame img { height: 330px; }
  .frame-caption { position: static; margin-top: .75rem; }
  .archive-grid, .cosplay-grid, .photo-grid { grid-template-columns: 1fr; }
  .photo-tile.wide, .photo-tile.tall { grid-column: auto; grid-row: auto; }
  .section-head { align-items: start; flex-direction: column; }
}
