/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--white);
  background-color: var(--night);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img, picture, video, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
ul, ol { list-style: none; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  font-weight: 900;
  line-height: 1.2;
  color: var(--white);
  overflow-wrap: break-word;
}
p { overflow-wrap: break-word; }

/* ===== Variables ===== */
:root {
  --night: #0B0F19;
  --deep: #131A2A;
  --blue: #00C8FF;
  --green: #39FF14;
  --red: #FF4D00;
  --white: #E6EDF3;
  --gray: #8A97A8;
  --gold: #FFD700;
  --trans-blue: rgba(0, 200, 255, 0.15);
  --header-h: 72px;
  --content: 1280px;
  --font-headline: 'Noto Sans SC', 'PingFang SC', sans-serif;
  --font-body: 'Source Sans Pro', 'Noto Sans SC', 'Roboto', sans-serif;
  --font-data: 'JetBrains Mono', 'Roboto Mono', monospace;
}

/* ===== Utility ===== */
.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;
}

/* ===== Layout ===== */
.container { width: min(100% - 40px, var(--content)); margin-inline: auto; }
.page-main {
  padding-top: var(--header-h);
  min-height: 70vh;
}
.page-title {
  font-family: var(--font-headline);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 8px;
}
.page-subtitle {
  font-size: 16px;
  color: var(--gray);
  max-width: 60ch;
  margin-bottom: 32px;
}
.lead {
  font-size: 18px;
  line-height: 1.7;
  color: #B8C4D0;
  max-width: 60ch;
  margin-bottom: 24px;
}

/* ===== Section ===== */
.section { padding: 64px 0; position: relative; }
.section__header { margin-bottom: 40px; position: relative; }
.section__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-data);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 8px;
}
.section__meta::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--blue);
  transform: skewX(-20deg);
}
.section__title {
  font-family: var(--font-headline);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 8px;
}
.section__title::after {
  content: '';
  display: block;
  width: 44px;
  height: 3px;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform: skewX(-20deg);
}
.section__desc {
  font-size: 15px;
  color: var(--gray);
  max-width: 60ch;
}

/* ===== Cards ===== */
.card {
  display: block;
  background: var(--deep);
  border: 1px solid rgba(138, 151, 168, 0.15);
  border-left: 3px solid var(--blue);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  border-color: rgba(0, 200, 255, 0.35);
  border-left-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}
.card__title { font-size: 18px; font-weight: 900; margin-bottom: 8px; color: var(--white); }
.card__body { font-size: 14px; color: var(--gray); line-height: 1.65; }

/* ===== Grid ===== */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-headline);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.btn--primary { background: var(--blue); color: var(--night); }
.btn--primary:hover { background: var(--green); border-color: var(--green); box-shadow: 0 0 24px rgba(57, 255, 20, 0.25); }
.btn--ghost { background: transparent; border: 1px solid rgba(0, 200, 255, 0.4); color: var(--blue); }
.btn--ghost:hover { border-color: var(--blue); background: rgba(0, 200, 255, 0.08); }

/* ===== Breadcrumb ===== */
.breadcrumb { padding: 0; margin: 0 0 24px; font-size: 13px; color: var(--gray); }
.breadcrumb__list { display: flex; flex-wrap: wrap; gap: 0; }
.breadcrumb__item { display: inline-flex; align-items: center; }
.breadcrumb__item + .breadcrumb__item::before { content: '/'; margin: 0 8px; color: var(--gray); opacity: 0.5; }
.breadcrumb__link { color: var(--gray); text-decoration: none; transition: color 0.2s ease; }
.breadcrumb__link:hover { color: var(--blue); }
.breadcrumb__item[aria-current="page"] { color: var(--blue); }

/* ===== Exhibit Label ===== */
.exhibit-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(0, 200, 255, 0.3);
  background: rgba(0, 200, 255, 0.05);
  color: var(--blue);
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.exhibit-label::before { content: ''; width: 16px; height: 2px; background: var(--green); transform: skewX(-20deg); }

/* ===== Data ===== */
.data-panel {
  background: var(--deep);
  border: 1px solid rgba(0, 200, 255, 0.12);
  padding: 24px;
  position: relative;
}
.data-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}
.data-value {
  display: block;
  font-family: var(--font-data);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--green);
}
.data-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 4px;
}

/* ===== Image Frames ===== */
.image-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background-color: var(--deep);
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(138, 151, 168, 0.12);
}
.image-frame--wide { aspect-ratio: 21 / 9; }
.image-frame--portrait { aspect-ratio: 3 / 4; }
.image-frame--placeholder {
  background:
    linear-gradient(120deg, transparent 35%, rgba(0, 200, 255, 0.07) 60%, transparent 80%),
    linear-gradient(160deg, var(--deep) 0%, var(--night) 100%);
}
.image-frame--placeholder::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 40%;
  width: 60%;
  height: 140%;
  background: repeating-linear-gradient(100deg, transparent 0 12px, rgba(57, 255, 20, 0.03) 12px 13px);
  transform: skewX(-15deg);
}

/* ===== Skip Link ===== */
.skip-link {
  position: fixed;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 10px 18px;
  background: var(--blue);
  color: var(--night);
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-radius: 2px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header[data-scrolled="true"] {
  background: rgba(11, 15, 25, 0.92);
  border-bottom-color: rgba(0, 200, 255, 0.18);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.site-header__inner {
  width: min(100% - 48px, 1440px);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}
.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}
.site-header__brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--blue) 0%, #0062FF 100%);
  clip-path: polygon(0 0, 100% 0, 100% 78%, 78% 100%, 0 100%);
  font-family: var(--font-headline);
  font-size: 18px;
  font-weight: 900;
  color: var(--night);
  line-height: 1;
}
.site-header__brand-text {
  font-family: var(--font-headline);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.05em;
  white-space: nowrap;
  color: var(--white);
}
.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
}
.site-nav__list { display: flex; align-items: center; gap: 0; }
.site-nav__item { position: relative; display: inline-flex; }
.site-nav__item + .site-nav__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 12px;
  background: rgba(230, 237, 243, 0.15);
}
.site-nav__link {
  display: block;
  padding: 8px 14px;
  color: rgba(230, 237, 243, 0.8);
  text-decoration: none;
  font-family: var(--font-headline);
  font-size: 14px;
  letter-spacing: 0.06em;
  position: relative;
  transition: color 0.2s ease;
}
.site-nav__link::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 1px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.site-nav__link:hover, .site-nav__link[aria-current="page"] { color: var(--blue); }
.site-nav__link:hover::after, .site-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.site-header__quick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(0, 200, 255, 0.1);
  border: 1px solid rgba(0, 200, 255, 0.35);
  color: var(--blue);
  font-family: var(--font-headline);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header__quick:hover {
  background: rgba(0, 200, 255, 0.2);
  border-color: rgba(0, 200, 255, 0.7);
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.2);
}
.site-header__quick-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(57, 255, 20, 0.6);
}
.site-header__quick-label { color: var(--blue); }
.site-nav__toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(0, 200, 255, 0.2);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.site-nav__toggle:hover { border-color: rgba(0, 200, 255, 0.6); }
.site-nav__toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--blue);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-bar:nth-child(2) { opacity: 0; }
.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.site-header__progress {
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
  opacity: 0.85;
}

/* ===== Footer ===== */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--night);
  border-top: 1px solid rgba(0, 200, 255, 0.12);
  padding-top: 64px;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--red));
  opacity: 0.6;
}
.site-footer::after {
  content: '';
  position: absolute;
  right: -10%;
  top: -30%;
  width: 60%;
  height: 60%;
  background: linear-gradient(135deg, transparent, rgba(0, 200, 255, 0.04));
  transform: skewX(-12deg);
  pointer-events: none;
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  position: relative;
  z-index: 1;
}
.site-footer__logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.site-footer__logo-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--blue) 0%, #0062FF 100%);
  clip-path: polygon(0 0, 100% 0, 100% 78%, 78% 100%, 0 100%);
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 900;
  color: var(--night);
  line-height: 1;
}
.site-footer__logo-text {
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--white);
}
.site-footer__desc { font-size: 14px; color: var(--gray); margin-top: 16px; max-width: 44ch; }
.site-footer__trust { font-size: 13px; color: rgba(138, 151, 168, 0.8); margin-top: 12px; max-width: 52ch; }
.site-footer__support {
  margin-top: 16px;
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--gray);
  background: rgba(0, 200, 255, 0.04);
  border-left: 2px solid var(--blue);
  border-radius: 0 4px 4px 0;
  max-width: 48ch;
}
.site-footer__title {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
  padding-bottom: 8px;
  position: relative;
}
.site-footer__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  background: var(--blue);
  transform: skewX(-20deg);
}
.site-footer__list { display: grid; gap: 10px; }
.site-footer__list a, .site-footer__contact-list a {
  color: var(--gray);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.site-footer__list a:hover, .site-footer__contact-list a:hover { color: var(--blue); padding-left: 4px; }
.site-footer__contact-list { display: grid; gap: 10px; font-size: 14px; color: var(--gray); }
.site-footer__address { font-size: 14px; color: var(--gray); line-height: 1.6; }
.site-footer__note { font-size: 13px; color: var(--gray); margin-top: 12px; }
.site-footer__bottom {
  border-top: 1px solid rgba(138, 151, 168, 0.1);
  padding: 24px 0;
  position: relative;
  z-index: 1;
}
.site-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(138, 151, 168, 0.7);
}
.site-footer__bottom-inner p { margin: 0; }

/* ===== Copy feedback ===== */
a[data-copy].is-copied { color: var(--green) !important; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .site-footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .site-header__quick { padding: 8px; }
  .site-header__quick-label { display: none; }
  .site-header__quick { border-radius: 50%; }
}
@media (max-width: 900px) {
  .site-nav__toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    margin-left: 0;
    background: rgba(11, 15, 25, 0.98);
    border-bottom: 1px solid rgba(0, 200, 255, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    padding: 16px 24px 24px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .site-nav[data-open="true"] { display: block; }
  .site-nav__list { flex-direction: column; }
  .site-nav__item { display: block; }
  .site-nav__item + .site-nav__item::before { display: none; }
  .site-nav__link { padding: 14px 4px; font-size: 15px; border-bottom: 1px solid rgba(138, 151, 168, 0.1); }
  .site-nav__link::after { display: none; }
  .site-header__progress { bottom: -2px; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 24px, var(--content)); }
  .site-header__inner { width: min(100% - 24px, 1440px); gap: 10px; }
  .site-header__brand-text { font-size: 16px; }
  .site-header__brand-mark { width: 34px; height: 34px; font-size: 16px; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .site-footer__bottom-inner { justify-content: center; text-align: center; }
}

/* ===== Focus ===== */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ===== Reduced Motion ===== */
@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;
  }
}
