/* ============================================================
   BLAZING RUNE WEAVER — 株式会社ブレイジングルーンウィーバー
   Shared Stylesheet v1.0 | 2026
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300&family=Zen+Kaku+Gothic+New:wght@300;400;500;700;900&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* === CSS VARIABLES === */
:root {
  --bg-primary: #05050a;
  --bg-secondary: #0a0a12;
  --bg-card: #0e0e1a;
  --bg-card-hover: #141420;
  --orange: #ff5500;
  --orange-light: #ff7733;
  --orange-dark: #cc3300;
  --orange-glow: rgba(255, 85, 0, 0.55);
  --orange-glow-soft: rgba(255, 85, 0, 0.15);
  --crimson: #8b0020;
  --crimson-light: #aa0030;
  --crimson-glow: rgba(139, 0, 32, 0.5);
  --gold: #ffb830;
  --gold-light: #ffd060;
  --gold-dark: #cc8800;
  --gold-glow: rgba(255, 184, 48, 0.45);
  --gold-glow-soft: rgba(255, 184, 48, 0.12);
  --text-primary: #e8e8f0;
  --text-secondary: #8a8a9a;
  --text-muted: #5a5a6a;
  --border: rgba(255, 85, 0, 0.2);
  --border-gold: rgba(255, 184, 48, 0.2);
  --nav-height: 80px;
  --section-pad: 100px;
  --font-main: 'Chakra Petch', 'Zen Kaku Gothic New', sans-serif;
  --font-jp: 'Zen Kaku Gothic New', 'Chakra Petch', sans-serif;
  --font-accent: 'Space Grotesk', sans-serif;
  --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --radius: 4px;
  --radius-lg: 8px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-jp);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: var(--transition); }
img, svg { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button, input, textarea, select { font-family: inherit; }

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 3px; }

/* === SELECTION === */
::selection { background: var(--orange); color: #fff; }

/* === NOISE OVERLAY === */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* === SCANLINE OVERLAY === */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.03) 2px,
    rgba(0,0,0,0.03) 4px
  );
  pointer-events: none;
  z-index: 9998;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 60px;
  background: linear-gradient(180deg, rgba(5,5,10,0.98) 0%, rgba(5,5,10,0.85) 100%);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.nav.scrolled { background: rgba(5,5,10,0.99); border-color: var(--orange-glow-soft); }
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo-svg { width: 44px; height: 44px; flex-shrink: 0; }
.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-en {
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--orange);
  line-height: 1;
  text-transform: uppercase;
}
.nav-logo-jp {
  font-family: var(--font-jp);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  line-height: 1.4;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-family: var(--font-jp);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--orange);
  background: var(--orange-glow-soft);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 14px; right: 14px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}
.nav-cta {
  margin-left: 16px;
  padding: 9px 20px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  border-radius: var(--radius);
  text-transform: uppercase;
  transition: var(--transition);
  border: 1px solid var(--orange);
}
.nav-cta:hover {
  background: transparent;
  color: var(--orange);
  box-shadow: 0 0 20px var(--orange-glow);
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
  padding: 8px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  box-shadow: 0 20px 60px rgba(0,0,0,0.8), 0 0 30px var(--orange-glow-soft);
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 9px 14px;
  font-size: 12px;
  color: var(--text-secondary);
  border-radius: var(--radius);
  transition: var(--transition);
}
.nav-dropdown a:hover { color: var(--orange); background: var(--orange-glow-soft); }
.nav-dropdown-arrow {
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: var(--transition);
}
.nav-item:hover .nav-dropdown-arrow { transform: rotate(180deg); }

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: rgba(5,5,10,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 20px 30px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  display: block;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  border-radius: var(--radius);
  border-left: 2px solid transparent;
  transition: var(--transition);
}
.nav-mobile a:hover { color: var(--orange); border-color: var(--orange); padding-left: 24px; }

/* ============================================================
   HERO SECTIONS
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 80px) 60px 80px;
  overflow: hidden;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 30px;
  font-family: var(--font-main);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--orange);
  animation: pulse 2s infinite;
}
.hero-title {
  font-family: var(--font-jp);
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  color: var(--text-primary);
}
.hero-title .highlight {
  background: linear-gradient(135deg, var(--orange) 0%, var(--gold) 50%, var(--orange-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}
.hero-title .outline {
  -webkit-text-stroke: 1px var(--orange);
  color: transparent;
}
.hero-subtitle {
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 300;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.85;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.hero-scroll span {
  font-family: var(--font-main);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, var(--orange), transparent);
  animation: scrollLine 2s infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Page hero (for inner pages) */
.page-hero {
  position: relative;
  padding: calc(var(--nav-height) + 80px) 60px 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-main);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.page-hero-breadcrumb a:hover { color: var(--orange); }
.page-hero-breadcrumb .sep { color: var(--border); }
.page-hero-title {
  font-family: var(--font-jp);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero-sub {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.8;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 20px var(--orange-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 35px var(--orange-glow);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--orange);
  border: 1px solid var(--orange);
}
.btn-outline:hover {
  background: var(--orange-glow-soft);
  box-shadow: 0 0 20px var(--orange-glow-soft);
  transform: translateY(-2px);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--bg-primary);
  box-shadow: 0 4px 20px var(--gold-glow);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 35px var(--gold-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--orange); border-color: var(--orange); }
.btn-sm { padding: 9px 20px; font-size: 11px; }
.btn-lg { padding: 16px 36px; font-size: 14px; }
.btn-icon {
  width: 10px; height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: var(--transition);
}
.btn:hover .btn-icon { transform: rotate(-45deg) translate(2px, 2px); }

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: var(--section-pad) 60px;
  position: relative;
}
.section-sm { padding: 60px 60px; }
.section-dark { background: var(--bg-secondary); }
.container { max-width: 1280px; margin: 0 auto; }
.container-sm { max-width: 900px; margin: 0 auto; }
.container-lg { max-width: 1440px; margin: 0 auto; }
.section-header { margin-bottom: 64px; }
.section-header.center { text-align: center; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-main);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--orange);
}
.section-title {
  font-family: var(--font-jp);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.section-title .accent {
  background: linear-gradient(135deg, var(--orange), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.85;
  max-width: 600px;
}
.section-desc.center { margin: 0 auto; text-align: center; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}
.card:hover {
  border-color: var(--orange);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px var(--orange-glow-soft);
  transform: translateY(-4px);
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0;
  transition: var(--transition);
}
.card:hover::before { opacity: 1; }
.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  background: var(--bg-secondary);
}
.card-img-sq {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  background: var(--bg-secondary);
}
.card-body { padding: 28px; }
.card-tag {
  font-family: var(--font-main);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.card-title {
  font-family: var(--font-jp);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
  color: var(--text-primary);
}
.card-title a:hover { color: var(--orange); }
.card-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  border-top: 1px solid var(--border);
}
.card-meta {
  font-family: var(--font-main);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.card-link {
  font-family: var(--font-main);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--orange);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}
.card-link::after {
  content: '→';
  transition: var(--transition);
}
.card-link:hover::after { transform: translateX(4px); }

/* ============================================================
   GRIDS
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

/* ============================================================
   STATS
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat-item {
  background: var(--bg-card);
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition);
}
.stat-item:hover { background: var(--bg-card-hover); }
.stat-number {
  font-family: var(--font-main);
  font-size: 48px;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-number .unit {
  font-size: 24px;
  color: var(--gold);
}
.stat-label {
  font-family: var(--font-jp);
  font-size: 13px;
  color: var(--text-secondary);
}

/* ============================================================
   FEATURE BLOCKS
   ============================================================ */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.feature-split.reverse { direction: rtl; }
.feature-split.reverse > * { direction: ltr; }
.feature-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature-content {}
.feature-tag {
  font-family: var(--font-main);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.feature-tag::before { content: ''; display: block; width: 20px; height: 1px; background: var(--orange); }
.feature-title {
  font-family: var(--font-jp);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.feature-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 28px;
}
.feature-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}
.feature-list li::before {
  content: '◆';
  color: var(--orange);
  font-size: 8px;
  margin-top: 6px;
  flex-shrink: 0;
}

/* ============================================================
   RUNE DIVIDER
   ============================================================ */
.rune-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 auto;
  max-width: 300px;
}
.rune-divider-line { flex: 1; height: 1px; background: var(--border); }
.rune-divider-symbol {
  font-size: 18px;
  color: var(--orange);
  opacity: 0.6;
}

/* ============================================================
   FORMS
   ============================================================ */
.form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-label {
  font-family: var(--font-main);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  text-transform: uppercase;
}
.form-control {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 18px;
  color: var(--text-primary);
  font-size: 14px;
  transition: var(--transition);
  outline: none;
  width: 100%;
}
.form-control:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-glow-soft);
}
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control {
  resize: vertical;
  min-height: 140px;
}
select.form-control { cursor: pointer; }

/* ============================================================
   TAGS / BADGES
   ============================================================ */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-family: var(--font-main);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}
.tag-orange { background: var(--orange-glow-soft); color: var(--orange); border: 1px solid var(--border); }
.tag-gold { background: var(--gold-glow-soft); color: var(--gold); border: 1px solid var(--border-gold); }
.tag-crimson { background: rgba(139,0,32,0.15); color: #ff8198; border: 1px solid rgba(139,0,32,0.3); }

/* ============================================================
   TOAST / POPUP NOTIFICATIONS
   ============================================================ */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 20px var(--orange-glow-soft);
  min-width: 300px;
  max-width: 400px;
  pointer-events: all;
  animation: toastIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: bottom right;
}
.toast.toast-exit { animation: toastOut 0.35s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: scale(0.8) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes toastOut { to { opacity: 0; transform: scale(0.8) translateY(20px); } }
.toast-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.toast-success .toast-icon { background: rgba(0,200,100,0.15); color: #4dffa6; border: 1px solid rgba(0,200,100,0.3); }
.toast-error .toast-icon { background: rgba(255,50,50,0.15); color: #ff8080; border: 1px solid rgba(255,50,50,0.3); }
/* a11y: nav/footer link tap area (WCAG 2.5.5); inline body links exempt */
.footer-nav-list a, .nav-dropdown a { min-height: 24px; display: inline-flex; align-items: center; }
.toast-info .toast-icon { background: var(--orange-glow-soft); color: var(--orange); border: 1px solid var(--border); }
.toast-body {}
.toast-title {
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
  letter-spacing: 0.05em;
}
.toast-msg { font-size: 12px; color: var(--text-secondary); line-height: 1.5; }
.toast-close {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 16px;
  padding: 2px;
  flex-shrink: 0;
  transition: var(--transition);
}
.toast-close:hover { color: var(--orange); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 80px 60px 0;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}
.footer-brand {}
.footer-logo { margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.footer-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 24px;
  max-width: 280px;
}
.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.6;
}
.footer-contact-icon { color: var(--orange); flex-shrink: 0; margin-top: 2px; font-size: 12px; }
.footer-nav-title {
  font-family: var(--font-main);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-nav-list { display: flex; flex-direction: column; gap: 10px; }
.footer-nav-list a {
  font-size: 13px;
  color: var(--text-muted);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-nav-list a::before {
  content: '›';
  color: var(--orange);
  opacity: 0;
  transform: translateX(-8px);
  transition: var(--transition);
}
.footer-nav-list a:hover {
  color: var(--text-primary);
  padding-left: 4px;
}
.footer-nav-list a:hover::before { opacity: 1; transform: translateX(0); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-copy {
  font-family: var(--font-main);
  font-size: 11.5px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.footer-copy a { color: var(--orange); }
.footer-rune {
  font-size: 22px;
  color: var(--orange);
  opacity: 0.4;
  letter-spacing: 8px;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}
@keyframes glow {
  0%, 100% { box-shadow: 0 0 10px var(--orange-glow); }
  50% { box-shadow: 0 0 30px var(--orange-glow), 0 0 60px var(--orange-glow-soft); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.animate-fadeUp { animation: fadeUp 0.7s ease forwards; }
.animate-fadeIn { animation: fadeIn 0.7s ease forwards; }
.animate-float { animation: float 4s ease-in-out infinite; }
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }
.text-orange { color: var(--orange); }
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.mt-auto { margin-top: auto; }
.mb-0 { margin-bottom: 0 !important; }
.w-full { width: 100%; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: 4px; } .gap-8 { gap: 8px; } .gap-12 { gap: 12px; }
.gap-16 { gap: 16px; } .gap-20 { gap: 20px; } .gap-24 { gap: 24px; }
.separator {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
  border-radius: 3px;
  margin: 16px 0;
}
.separator.center { margin: 16px auto; }
.glow-border {
  border: 1px solid var(--orange);
  box-shadow: 0 0 20px var(--orange-glow-soft), inset 0 0 20px var(--orange-glow-soft);
}
.section-number {
  font-family: var(--font-main);
  font-size: 120px;
  font-weight: 700;
  color: rgba(255,85,0,0.04);
  position: absolute;
  top: 40px;
  right: 60px;
  line-height: 1;
  pointer-events: none;
  letter-spacing: -0.05em;
}
.overflow-hidden { overflow: hidden; }
.position-relative { position: relative; }

/* ============================================================
   GALLERY FILTER
   ============================================================ */
.filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-tab {
  padding: 8px 20px;
  font-family: var(--font-main);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 30px;
  cursor: pointer;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  transition: var(--transition);
}
.filter-tab:hover, .filter-tab.active {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  box-shadow: 0 4px 15px var(--orange-glow);
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--orange), var(--crimson), transparent);
}
.timeline-item {
  position: relative;
  padding-bottom: 50px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -47px;
  top: 4px;
  width: 14px; height: 14px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--orange-glow);
}
.timeline-date {
  font-family: var(--font-main);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.timeline-title {
  font-family: var(--font-jp);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.timeline-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ============================================================
   ICON BOXES
   ============================================================ */
.icon-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.icon-box-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-lg);
  background: var(--orange-glow-soft);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  transition: var(--transition);
}
.card:hover .icon-box-icon {
  background: var(--orange);
  box-shadow: 0 0 20px var(--orange-glow);
}
.icon-box-title {
  font-family: var(--font-jp);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.icon-box-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ============================================================
   TEAM CARD
   ============================================================ */
.team-card { text-align: center; }
.team-avatar {
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.team-name {
  font-family: var(--font-jp);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 5px;
}
.team-role {
  font-family: var(--font-main);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.team-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

/* ============================================================
   ACCORDION
   ============================================================ */
.accordion { display: flex; flex-direction: column; gap: 8px; }
.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  transition: var(--transition);
}
.accordion-header:hover { background: var(--bg-card-hover); }
.accordion-header.open { border-bottom: 1px solid var(--border); }
.accordion-title {
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}
.accordion-icon {
  width: 20px; height: 20px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--orange);
  transition: var(--transition);
  flex-shrink: 0;
}
.accordion-header.open .accordion-icon { transform: rotate(45deg); background: var(--orange); color: #fff; }
.accordion-body {
  display: none;
  padding: 20px 24px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.85;
}
.accordion-body.open { display: block; }

/* ============================================================
   PROGRESS BARS
   ============================================================ */
.progress-item { margin-bottom: 20px; }
.progress-header { display: flex; justify-content: space-between; margin-bottom: 8px; }
.progress-label { font-family: var(--font-jp); font-size: 13px; color: var(--text-secondary); }
.progress-value { font-family: var(--font-main); font-size: 12px; color: var(--orange); }
.progress-bar {
  height: 4px;
  background: var(--bg-secondary);
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--gold));
  border-radius: 4px;
  width: 0;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .nav { padding: 0 40px; }
  .section { padding: var(--section-pad) 40px; }
  .hero { padding: calc(var(--nav-height) + 60px) 40px 60px; }
  .page-hero { padding: calc(var(--nav-height) + 60px) 40px 60px; }
  .footer { padding: 60px 40px 0; }
  .footer-main { grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .feature-split { grid-template-columns: 1fr; gap: 40px; }
  .feature-split.reverse { direction: ltr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --section-pad: 60px; --nav-height: 68px; }
  .nav { padding: 0 20px; }
  .nav-menu { display: none; }
  .nav-cta.desktop { display: none; }
  .nav-hamburger { display: flex; }
  .section { padding: var(--section-pad) 20px; }
  .section-sm { padding: 40px 20px; }
  .hero { padding: calc(var(--nav-height) + 40px) 20px 60px; }
  .page-hero { padding: calc(var(--nav-height) + 40px) 20px 50px; }
  .footer { padding: 50px 20px 0; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-actions .btn { text-align: center; justify-content: center; }
  .section-number { display: none; }
  .toast-container { bottom: 20px; right: 20px; left: 20px; }
  .toast { min-width: unset; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .filter-tabs { justify-content: center; }
}
