/* ============================================
   FORTUM Project EX. 2026
   ============================================ */

:root {
  --bg: #050508;
  --bg-deep: #0a0710;
  --bg-panel: rgba(12, 10, 18, 0.85);
  --bg-panel-strong: rgba(10, 8, 16, 0.95);
  --line: rgba(255, 255, 255, 0.1);
  --line-accent: rgba(255, 216, 77, 0.35);
  --text: #f0f0f4;
  --text-dim: #a8a8b4;
  --purple: #8d63ff;
  --purple-dim: rgba(141, 99, 255, 0.12);
  --yellow: #ffd84d;
  --yellow-dim: rgba(255, 216, 77, 0.10);
  --white-soft: rgba(255, 255, 255, 0.06);
  --radius: 0px;
  --radius-sm: 0px;
  --container: 920px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: 'Noto Sans JP', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 500;
  background: var(--bg);
  min-height: 100vh;
  letter-spacing: 0.02em;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

/* ---- Background: Particle Canvas ---- */

canvas#particle-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* ---- Background: Geometric Decorations ---- */

.geo-diamond {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border: 1px solid;
  transform: rotate(45deg);
}

.geo-diamond--1 {
  width: 520px;
  height: 520px;
  border-color: rgba(255, 255, 255, 0.06);
  top: 8%;
  right: -140px;
}

.geo-diamond--2 {
  width: 280px;
  height: 280px;
  border-color: rgba(255, 216, 77, 0.06);
  bottom: 12%;
  left: -60px;
}

.geo-line {
  position: fixed;
  pointer-events: none;
  z-index: 0;
}

.geo-line--1 {
  top: 0;
  bottom: 0;
  left: 6%;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(141, 99, 255, 0.08) 30%, rgba(141, 99, 255, 0.08) 70%, transparent 100%);
}

.geo-line--2 {
  top: 0;
  bottom: 0;
  right: 6%;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 216, 77, 0.06) 40%, rgba(255, 216, 77, 0.06) 60%, transparent 100%);
}

/* ---- Container ---- */

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  padding: 0 0 56px;
}

.hero__art-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__art {
  width: 100%;
  height: clamp(260px, 36vw, 420px);
  object-fit: cover;
}

.hero__art-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 8, 0) 40%, rgba(5, 5, 8, 0.85) 100%);
}

.hero__label {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(5, 5, 8, 0.6);
  backdrop-filter: blur(8px);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.08em;
}

.hero__content {
  padding-top: 28px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.78rem;
  color: var(--yellow);
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '◆';
  margin-right: 8px;
  font-size: 0.6rem;
  vertical-align: 1px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3.6vw, 3.2rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* ============================================
   CONTENT LAYOUT
   ============================================ */

.content-column {
  display: grid;
  gap: 24px;
  padding-bottom: 80px;
}

.content-section {
  padding: 40px 36px;
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

/* Panel accent: top-left corner mark */
.content-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-top: 2px solid var(--purple);
  border-left: 2px solid var(--purple);
  pointer-events: none;
}

/* Panel accent: bottom-right corner mark */
.content-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20px;
  height: 20px;
  border-bottom: 2px solid rgba(255, 216, 77, 0.25);
  border-right: 2px solid rgba(255, 216, 77, 0.25);
  pointer-events: none;
}

.panel-glow {
  position: relative;
  backdrop-filter: blur(10px);
}

.section-head {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section-index {
  margin: 0;
  min-width: 2.4em;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--yellow);
  font-family: 'Courier New', monospace;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* Diamond marker before h2 */
.section-head h2::before {
  content: '◆';
  color: var(--purple);
  margin-right: 10px;
  font-size: 0.7em;
}

/* ---- Prose styles ---- */

.prose p {
  margin: 0 0 20px;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose p,
.prose li {
  color: var(--text-dim);
  line-height: 2;
}

.prose strong {
  color: var(--text);
}

.info-list {
  margin: 0;
  padding-left: 1.25rem;
}

.info-list li+li {
  margin-top: 12px;
}

.info-list.compact li+li {
  margin-top: 8px;
}

/* ---- Icon Link Grid (past works) ---- */

.icon-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
}

.icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 110px;
  text-decoration: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.icon-card:hover {
  border-color: var(--line-accent);
  background: rgba(255, 216, 77, 0.04);
}

.icon-card__img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.icon-card__label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dim);
}

/* ---- Banner Showcase (about section) ---- */

.banner-showcase {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 28px;
  aspect-ratio: 16 / 9;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- Jacket Showcase (concept section) ---- */

.jacket-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.jacket-item {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  aspect-ratio: 1 / 1;
}

.jacket-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- Fade-in on scroll ---- */

.fade-in-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-item:nth-child(2) {
  transition-delay: 0.12s;
}

.fade-in-item:nth-child(3) {
  transition-delay: 0.24s;
}

.note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ---- Date Card ---- */

.date-card {
  padding: 20px 24px;
  background: rgba(141, 99, 255, 0.06);
  border: 1px solid rgba(141, 99, 255, 0.15);
  border-left: 3px solid var(--purple);
}

.date-card__main {
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 700;
  line-height: 1.8;
}

/* ---- Form Items (entry section) ---- */

.form-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  margin: 20px 0;
}

.form-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.form-item span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 216, 77, 0.25);
  background: rgba(255, 216, 77, 0.06);
  color: var(--yellow);
  font-weight: 800;
  font-size: 0.82rem;
  flex-shrink: 0;
  font-family: 'Courier New', monospace;
}

.form-item p {
  margin: 0;
  color: var(--text);
  line-height: 1.6;
  font-size: 0.92rem;
}

.entry-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 24px;
}

/* ---- Buttons ---- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 28px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.button--primary {
  background: var(--yellow);
  color: #0a0a0a;
  border-color: var(--yellow);
}

.button--primary:hover {
  background: #ffe576;
  border-color: #ffe576;
}

.button--ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.15);
}

.button--ghost:hover {
  border-color: rgba(255, 255, 255, 0.35);
}

.button--full {
  width: 100%;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  padding: 0 0 48px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

.footer-logo-wrap {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--bg-panel);
  overflow: hidden;
}

.footer-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .hero__label {
    top: 12px;
    left: 12px;
    font-size: 0.68rem;
  }

  .content-section {
    padding: 28px 22px;
  }

  .icon-link-grid {
    gap: 1px;
  }

  .form-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .geo-diamond--1 {
    width: 320px;
    height: 320px;
    top: 5%;
    right: -100px;
  }

  .geo-diamond--2 {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .icon-link-grid,
  .form-items {
    grid-template-columns: 1fr;
  }

  .section-head {
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
  }

  .geo-diamond--1 {
    width: 200px;
    height: 200px;
  }

  .geo-diamond--2 {
    display: none;
  }
}