:root {
  --bg-deep: #0A0E27;
  --bg-card: #1C1F36;
  --primary-blue: #00A8FF;
  --neon-green: #39FF14;
  --vivid-orange: #FF7A00;
  --text-silver: #F5F7FA;
  --link-blue: #66CCFF;
  --warning-red: #FF3B30;
  --border-blue: rgba(0, 168, 255, 0.2);
  --border-strong: rgba(0, 168, 255, 0.38);
  --font-primary: 'Rajdhani', 'Noto Sans SC', sans-serif;
  --font-numeric: 'DIN Alternate', 'Roboto Mono', monospace;
  --container-w: 1440px;
  --header-h: 4.5rem;
  --radius-card: 2px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-silver);
  background-color: var(--bg-deep);
  background-image:
    linear-gradient(rgba(0, 168, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 168, 255, 0.035) 1px, transparent 1px),
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0, 168, 255, 0.09), transparent);
  background-size: 40px 40px, 40px 40px, auto;
  min-height: 100vh;
  overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

ul,
ol {
  list-style: none;
}

a {
  color: var(--link-blue);
  text-decoration: none;
}

a:hover {
  color: var(--neon-green);
}

:focus-visible {
  outline: 2px solid var(--neon-green);
  outline-offset: 3px;
}

::selection {
  background: var(--primary-blue);
  color: var(--bg-deep);
}

#main-content {
  min-height: 70vh;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 2000;
  background: var(--neon-green);
  color: var(--bg-deep);
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  z-index: 2000;
  background: linear-gradient(90deg, var(--primary-blue), var(--neon-green));
  pointer-events: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  min-height: 2.75rem;
  border: 1px solid transparent;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn-primary {
  background: var(--vivid-orange);
  color: var(--bg-deep);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn-primary:hover {
  background: #ff8c2a;
  color: var(--bg-deep);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--primary-blue);
  border: 1px solid var(--border-strong);
  padding: 0.5rem 1.25rem;
  min-height: 2.4rem;
  font-size: 0.85rem;
}

.btn-ghost:hover {
  border-color: var(--neon-green);
  color: var(--neon-green);
  background: rgba(57, 255, 20, 0.06);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 39, 0.9);
  border-bottom: 1px solid var(--border-blue);
}

@supports (backdrop-filter: blur(12px)) {
  .site-header {
    background: rgba(10, 14, 39, 0.78);
    backdrop-filter: blur(12px);
  }
}

.header-accent {
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue) 0%, var(--neon-green) 50%, var(--vivid-orange) 100%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  background: linear-gradient(135deg, var(--primary-blue), #0066cc);
  color: var(--bg-deep);
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 800;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  box-shadow: 0 0 14px rgba(0, 168, 255, 0.25);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-silver);
}

.brand-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--primary-blue);
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.7rem;
  color: var(--text-silver);
  font-weight: 600;
  font-size: 0.88rem;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.15rem;
  height: 2px;
  background: var(--neon-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-link:hover {
  color: var(--neon-green);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-link[aria-current="page"] {
  color: var(--neon-green);
}

.nav-index {
  font-family: var(--font-numeric);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--primary-blue);
  opacity: 0.75;
  letter-spacing: 0.05em;
}

.nav-link[aria-current="page"] .nav-index {
  color: var(--neon-green);
  opacity: 1;
}

.nav-text {
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.header-note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--border-blue);
  background: rgba(0, 168, 255, 0.06);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(245, 247, 250, 0.65);
  white-space: nowrap;
}

.note-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--neon-green);
  animation: pulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.header-cta {
  min-height: 2.15rem;
  padding: 0.35rem 1.15rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  background: transparent;
  border: 1px solid var(--border-blue);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-toggle-line {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--text-silver);
  transition: transform 0.28s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-footer {
  background-color: var(--bg-deep);
  background-image:
    linear-gradient(rgba(0, 168, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 168, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  border-top: 1px solid var(--border-blue);
  margin-top: 4rem;
}

.footer-accent {
  height: 3px;
  background: linear-gradient(90deg, var(--vivid-orange) 0%, var(--neon-green) 50%, var(--primary-blue) 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2rem;
  padding: 3.5rem 0 2.5rem;
}

.footer-brand {
  margin-bottom: 0.75rem;
}

.footer-brand .brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.1rem;
}

.footer-brand .brand-name {
  font-size: 1.2rem;
}

.footer-slogan {
  font-size: 0.85rem;
  color: var(--primary-blue);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.footer-statement {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(245, 247, 250, 0.6);
  max-width: 26rem;
}

.footer-col {
  min-width: 0;
}

.footer-heading {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--primary-blue);
  padding-bottom: 0.7rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-blue);
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 2rem;
  height: 2px;
  background: var(--neon-green);
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: rgba(245, 247, 250, 0.65);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-link::before {
  content: '→';
  color: var(--primary-blue);
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.footer-link:hover {
  color: var(--neon-green);
  padding-left: 0.25rem;
}

.footer-link:hover::before {
  transform: translateX(3px);
}

.footer-contact {
  padding-left: 0.75rem;
  border-left: 2px solid var(--primary-blue);
  margin-bottom: 0.6rem;
  font-family: var(--font-numeric);
  font-size: 0.9rem;
  color: rgba(245, 247, 250, 0.7);
  word-break: break-all;
}

.footer-address,
.footer-hours {
  font-size: 0.83rem;
  color: rgba(245, 247, 250, 0.5);
  padding-left: 0.75rem;
  border-left: 2px solid rgba(0, 168, 255, 0.3);
  margin-bottom: 0.45rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border-blue);
  font-size: 0.8rem;
  color: rgba(245, 247, 250, 0.45);
}

.footer-copy,
.footer-icp {
  margin: 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-blue);
  font-size: 0.82rem;
}

.breadcrumb-item a {
  color: var(--link-blue);
}

.breadcrumb-item[aria-current="page"] {
  color: var(--neon-green);
  font-weight: 700;
}

.breadcrumb-separator {
  color: rgba(0, 168, 255, 0.4);
  font-size: 0.7rem;
}

.page-header {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--border-blue);
  margin-bottom: 2rem;
  position: relative;
}

.page-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: var(--text-silver);
}

.page-subtitle {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: rgba(245, 247, 250, 0.55);
  max-width: 42rem;
}

.section {
  padding: 3.5rem 0;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-blue);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.28rem 0.8rem;
  background: rgba(0, 168, 255, 0.1);
  border-left: 3px solid var(--primary-blue);
  font-family: var(--font-numeric);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--primary-blue);
  white-space: nowrap;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-silver);
  line-height: 1.25;
}

.section-num {
  margin-left: auto;
  font-family: var(--font-numeric);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(0, 168, 255, 0.12);
  -webkit-text-stroke: 1px rgba(0, 168, 255, 0.35);
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  position: relative;
  box-shadow: 4px 4px 0 rgba(0, 168, 255, 0.06);
}

.score-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-card);
  padding: 2.25rem 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  box-shadow: 6px 6px 0 rgba(0, 168, 255, 0.07);
}

.score-card::before {
  content: attr(data-label);
  position: absolute;
  top: 0.5rem;
  left: 0.75rem;
  font-family: var(--font-numeric);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 247, 250, 0.45);
}

.score-card::after {
  content: '';
  position: absolute;
  top: -1px;
  right: -1px;
  width: 1.6rem;
  height: 1.6rem;
  background: linear-gradient(225deg, var(--primary-blue) 50%, transparent 50%);
}

.data-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  font-family: var(--font-numeric);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-blue);
  background: rgba(0, 168, 255, 0.1);
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  white-space: nowrap;
}

.data-chip.is-live {
  color: var(--neon-green);
  border-color: rgba(57, 255, 20, 0.42);
  background: rgba(57, 255, 20, 0.07);
}

.data-chip.is-live::before {
  content: '●';
  animation: pulse 1.5s ease-in-out infinite;
}

.data-chip.is-warn {
  color: var(--warning-red);
  border-color: rgba(255, 59, 48, 0.42);
  background: rgba(255, 59, 48, 0.07);
}

.exhibit-tag,
[data-filter] {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.35rem 1rem;
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-silver);
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.exhibit-tag:hover,
[data-filter]:hover {
  border-color: var(--neon-green);
  color: var(--neon-green);
}

.exhibit-tag.is-active,
[data-filter].is-active {
  background: var(--neon-green);
  border-color: var(--neon-green);
  color: var(--bg-deep);
}

[data-filter-item][hidden] {
  display: none;
}

.img-frame {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-blue);
}

.img-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 14, 39, 0.72) 100%);
  pointer-events: none;
}

.img-frame-ratio {
  aspect-ratio: 16 / 9;
  width: 100%;
}

.img-frame-ratio-square {
  aspect-ratio: 1 / 1;
  width: 100%;
}

.img-frame-ratio-portrait {
  aspect-ratio: 3 / 4;
  width: 100%;
}

[data-reveal].is-reveal-init {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-reveal-init.is-revealed {
  opacity: 1;
  transform: none;
}

@media (max-width: 1200px) {
  .container {
    padding: 0 1.5rem;
  }

  .header-note {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1024px) {
  :root {
    --header-h: 4rem;
  }

  .header-inner {
    padding: 0 1.25rem;
  }

  .brand-tagline {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 39, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 1.5rem 1.5rem 2rem;
    transform: translateX(-100%);
    transition: transform 0.32s ease;
    overflow-y: auto;
    z-index: 99;
    border-top: 1px solid var(--border-blue);
  }

  .main-nav[data-open] {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .nav-item {
    border-bottom: 1px solid rgba(0, 168, 255, 0.1);
  }

  .nav-link {
    padding: 0.9rem 0.5rem;
    font-size: 1.05rem;
    justify-content: flex-start;
  }

  .nav-link::after {
    display: none;
  }

  .nav-index {
    font-size: 0.7rem;
    min-width: 1.75rem;
  }

  .header-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
    margin-top: 1.5rem;
  }

  .header-note {
    display: inline-flex;
    justify-content: center;
  }

  .header-cta {
    width: 100%;
    min-height: 2.75rem;
    font-size: 0.9rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }

  .header-inner {
    padding: 0 1rem;
  }

  .brand-mark {
    width: 2.4rem;
    height: 2.4rem;
    font-size: 1.05rem;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section-head {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .section-num {
    font-size: 2.1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 0 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 1rem 0;
  }

  .breadcrumb {
    padding: 0.9rem 0;
    font-size: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal].is-reveal-init {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .note-dot {
    animation: none;
  }

  .data-chip.is-live::before {
    animation: none;
  }
}
