/* ============================================================
   N Art Atelier — style.css
   Aesthetic: 和の精神 × 現代グラフィック
   Palette: Ink (#0a0a0f) × Washi (#f5f2eb) × Gold (#b8935a) × Crimson (#8b1a2a)
   ============================================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --ink:          #0a0a0f;
  --ink-deep:     #06060a;
  --paper:        #f5f2eb;
  --paper-warm:   #ede9df;
  --gold:         #b8935a;
  --gold-light:   #d4aa72;
  --gold-pale:    rgba(184, 147, 90, 0.12);
  --crimson:      #8b1a2a;
  --crimson-pale: rgba(139, 26, 42, 0.1);
  --mist:         rgba(245, 242, 235, 0.06);

  --font-serif-jp: 'Shippori Mincho B1', 'Noto Serif JP', serif;
  --font-serif-en: 'Cormorant Garamond', 'Georgia', serif;

  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);

  --nav-h: 72px;
  --container: 1180px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-serif-jp);
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
}

/* Grain texture overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9990;
  mix-blend-mode: multiply;
}

/* ---- CUSTOM CURSOR ---- */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9995;
  will-change: transform;
}

.cursor-dot {
  position: absolute;
  top: -4px;
  left: -4px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  transition: transform 0.15s var(--ease-smooth), opacity 0.2s;
}

.cursor-ring {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  opacity: 0.5;
  transition: transform 0.4s var(--ease-smooth), opacity 0.3s, width 0.3s, height 0.3s;
}

body.cursor-hover .cursor-dot {
  transform: scale(0);
  opacity: 0;
}

body.cursor-hover .cursor-ring {
  width: 60px;
  height: 60px;
  top: -30px;
  left: -30px;
  opacity: 0.3;
  background: var(--gold-pale);
}

/* ---- PAGE OVERLAY ---- */
.page-overlay {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 9985;
  transform: scaleY(1);
  transform-origin: top;
  animation: overlayReveal 1.2s 0.2s var(--ease-out) forwards;
}

@keyframes overlayReveal {
  to { transform: scaleY(0); transform-origin: bottom; }
}

/* ---- NAVIGATION ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  z-index: 900;
  transition: background 0.4s, box-shadow 0.4s;
}

.nav.scrolled {
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(184, 147, 90, 0.15);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.nav-logo-en {
  font-family: var(--font-serif-en);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-align: center;
}

.nav-logo-jp {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: rgba(245, 242, 235, 0.35);
  text-align: center;
}

.nav-links {
  display: flex;
  gap: 3rem;
}

.nav-link {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: rgba(245, 242, 235, 0.6);
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease-smooth);
}

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

.nav-link:hover::after {
  width: 100%;
}

.nav-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: none;
  padding: 6px;
}

.nav-menu-btn span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--gold);
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 850;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.mobile-nav-link {
  font-size: 1.5rem;
  color: var(--paper);
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: color 0.3s;
}

.mobile-nav-link:hover {
  color: var(--gold);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--ink-deep);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
}

/* Vertical text */
.hero-vertical-text {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  writing-mode: vertical-rl;
  z-index: 3;
  pointer-events: none;
}

.hero-vertical-text.left {
  left: 3vw;
}

.hero-vertical-text.right {
  right: 3vw;
  text-align: right;
}

.hero-vertical-text span {
  font-family: var(--font-serif-en);
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  opacity: 0.3;
  text-transform: uppercase;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 0 5vw;
  max-width: 820px;
  width: 100%;
  margin-top: -269px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  opacity: 0;
}

.eyebrow-line {
  display: block;
  width: 3rem;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}

.eyebrow-line:last-child {
  background: linear-gradient(to left, transparent, var(--gold));
}

.eyebrow-text {
  font-family: var(--font-serif-en);
  font-size: 0.72rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-title {
  font-family: var(--font-serif-jp);
  font-weight: 400;
  margin-bottom: 2rem;
  opacity: 0;
  text-align: center;
}

.title-en {
  display: block;
  font-family: var(--font-serif-en);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 1rem;
  opacity: 0.8;
}

.title-jp {
  display: block;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--paper);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.title-jp.indent {
  padding-left: 0;
}

.hero-divider {
  display: flex;
  justify-content: center;
  margin: 2rem auto;
  max-width: 300px;
  opacity: 0;
}

.hero-body {
  font-size: clamp(0.8rem, 1.2vw, 0.95rem);
  font-weight: 300;
  line-height: 2.4;
  color: rgba(245, 242, 235, 0.55);
  max-width: 40em;
  margin: 0 auto;
  opacity: 0;
}

.hero-cta {
  margin-top: 4rem;
  opacity: 0;
}

.btn-scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  font-family: var(--font-serif-en);
  font-size: 0.68rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  transition: opacity 0.3s;
  cursor: none;
}

.btn-scroll-arrow {
  width: 20px;
  height: 34px;
  animation: bounceDown 2s ease infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* Ink drops */
.ink-drops {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.ink-drop {
  position: absolute;
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  background: radial-gradient(ellipse at 40% 35%, rgba(184, 147, 90, 0.15), transparent 70%);
  animation: floatDrop var(--dur) var(--delay) ease-in-out infinite alternate;
}

@keyframes floatDrop {
  from { transform: translate(0, 0) scale(1); opacity: 0.4; }
  to   { transform: translate(var(--tx), var(--ty)) scale(1.1); opacity: 0.7; }
}

/* ---- WAVE DIVIDERS (removed - replaced with straight) ---- */
.wave-divider { display: none; }

/* ---- BG TEXT (hidden) ---- */

/* ---- CONTAINER & SECTION BASE ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 5vw;
}

.section {
  position: relative;
  padding: 8rem 0;
}

/* Section header */
.section-header {
  margin-bottom: 5rem;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.label-num {
  font-family: var(--font-serif-en);
  font-size: 0.7rem;
  font-style: italic;
  color: var(--gold);
  opacity: 0.6;
}

.label-line {
  flex: 0 0 3rem;
  height: 1px;
  background: var(--gold);
  opacity: 0.35;
}

.label-text {
  font-family: var(--font-serif-en);
  font-size: 0.68rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
}

.section-title {
  font-family: var(--font-serif-jp);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* ---- SCROLL REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- ILLEGAL SECTION ---- */
.illegal-section {
  background: rgba(6, 6, 12, 0.72);
  color: var(--paper);
  backdrop-filter: blur(2px);
}

.section-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif-en);
  font-size: 22vw;
  font-weight: 600;
  color: rgba(255,255,255, 0.02);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
  white-space: nowrap;
}

.illegal-section .section-title {
  color: var(--paper);
}

.illegal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.illegal-text {
  font-size: clamp(0.78rem, 1.05vw, 0.92rem);
  font-weight: 300;
  line-height: 2.4;
  color: rgba(245, 242, 235, 0.65);
}

.illegal-text p + p {
  margin-top: 1.5rem;
}

/* Mission cards */
.mission-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.4rem 1.8rem;
  border: 1px solid rgba(184, 147, 90, 0.12);
  border-left: 2px solid var(--gold);
  margin-bottom: 1rem;
  background: rgba(184, 147, 90, 0.03);
  transition: background 0.3s, border-color 0.3s;
}

.mission-card:hover {
  background: rgba(184, 147, 90, 0.07);
  border-left-color: var(--gold-light);
}

.mission-card-icon svg {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.mission-word {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--paper);
  letter-spacing: 0.05em;
}

.mission-sub {
  display: block;
  font-family: var(--font-serif-en);
  font-size: 0.65rem;
  font-style: italic;
  letter-spacing: 0.15em;
  color: var(--gold);
  opacity: 0.7;
  margin-top: 0.3rem;
}

.illegal-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 2.5rem;
}

/* Buttons */
.btn-outline,
.btn-ghost {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.6rem;
  font-family: var(--font-serif-jp);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: all 0.35s var(--ease-smooth);
  cursor: none;
}

.btn-outline svg,
.btn-ghost svg {
  width: 20px;
  transition: transform 0.3s var(--ease-smooth);
}

.btn-outline:hover svg,
.btn-ghost:hover svg {
  transform: translateX(6px);
}

.btn-outline {
  border: 1px solid var(--gold);
  color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--ink);
}

.btn-ghost {
  border: 1px solid rgba(245, 242, 235, 0.2);
  color: rgba(245, 242, 235, 0.5);
}

.btn-ghost:hover {
  border-color: rgba(245, 242, 235, 0.5);
  color: var(--paper);
}

/* ---- EC SECTION ---- */
.ec-section {
  background: rgba(6, 6, 12, 0.72);
  overflow: hidden;
  backdrop-filter: blur(2px);
  padding-top: 3rem !important;
}

.ec-section .section-title {
  color: var(--paper);
}

.ec-section .label-text,
.ec-section .label-num {
  opacity: 0.9;
}

.ec-section .ratio-card {
  background: linear-gradient(135deg, rgba(64, 156, 220, 0.06) 0%, transparent 100%);
  border-color: rgba(184, 147, 90, 0.25);
}

.ec-section .ratio-name {
  color: rgba(245, 242, 235, 0.55);
}

.ec-section .ratio-colon {
  color: rgba(245, 242, 235, 0.4);
}

.ec-section .ratio-bar {
  background: rgba(245, 242, 235, 0.1);
}

.ec-section .ratio-bar-labels {
  color: rgba(245, 242, 235, 0.45);
}

.ec-section .ratio-org .ratio-num {
  color: rgba(245, 242, 235, 0.3) !important;
}

.ec-section .flow-title {
  color: rgba(245, 242, 235, 0.45);
}

.ec-section .flow-step span {
  color: rgba(245, 242, 235, 0.6);
}

.ec-section .service-flow {
  background: rgba(245, 242, 235, 0.04);
  border-color: rgba(245, 242, 235, 0.08);
}

.ec-section .cycle-node-label {
  color: rgba(245, 242, 235, 0.75);
}

.ec-section .cycle-node-sub {
  color: rgba(245, 242, 235, 0.4);
}

.ec-section .cycle-node {
  background: rgba(245, 242, 235, 0.03);
  border-color: rgba(184, 147, 90, 0.15);
}

.ec-section .cycle-title {
  opacity: 0.7;
}

.ec-section .cycle-diagram {
  background: linear-gradient(135deg, rgba(64, 156, 220, 0.05) 0%, rgba(139,26,42,0.04) 100%);
}

.ec-bg-kanji {
  position: absolute;
  font-family: var(--font-serif-jp);
  font-size: 50vw;
  font-weight: 700;
  color: rgba(10, 10, 15, 0.018);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.ec-grid {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 7rem;
  align-items: start;
}

.ec-body {
  font-size: clamp(0.78rem, 1.05vw, 0.92rem);
  font-weight: 300;
  line-height: 2.4;
  color: rgba(245, 242, 235, 0.65);
}

.ec-body p + p {
  margin-top: 1.5rem;
}

.btn-ec {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2.5rem;
  padding: 1rem 2rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  transition: all 0.35s var(--ease-smooth);
  cursor: none;
}

.btn-ec svg {
  width: 18px;
  transition: transform 0.3s;
}

.btn-ec:hover {
  background: var(--gold);
  color: var(--paper);
}

.btn-ec:hover svg {
  transform: translateX(5px);
}

/* Ratio card */
.ratio-card {
  padding: 1.9rem;
  border: 1px solid rgba(184, 147, 90, 0.2);
  background: linear-gradient(135deg, rgba(184, 147, 90, 0.04) 0%, transparent 100%);
  position: relative;
}

.ratio-card::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px;
  width: 24px; height: 24px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}

.ratio-card::after {
  content: '';
  position: absolute;
  bottom: -1px; right: -1px;
  width: 24px; height: 24px;
  border-bottom: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
}

.ratio-header {
  margin-bottom: 0.9rem;
}

.ratio-label-text {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
}

.ratio-numbers {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.ratio-creator,
.ratio-org {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ratio-num {
  font-family: sans-serif;
  font-size: 4.5rem;
  font-weight: 300;
  line-height: 1;
  color: var(--gold);
  display: block;
  vertical-align: baseline;
}

.ratio-org .ratio-num {
  font-size: 4.5rem;
  color: rgba(10, 10, 15, 0.25);
  display: block;
  vertical-align: baseline;
}

.ratio-name {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  color: rgba(10, 10, 15, 0.45);
  margin-top: 0.4rem;
  text-align: center;
}

.ratio-colon {
  font-family: sans-serif;
  font-size: 4.5rem;
  font-weight: 300;
  color: rgba(10, 10, 15, 0.3);
  flex-shrink: 0;
  line-height: 1;
  padding-bottom: 0.4rem;
}

.ratio-bar-wrap {
  margin-top: 0.5rem;
}

.ratio-bar {
  height: 6px;
  background: rgba(10, 10, 15, 0.08);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.ratio-fill {
  height: 100%;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  border-radius: 3px;
  transition: width 1.5s var(--ease-out);
}

.ratio-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: rgba(10, 10, 15, 0.4);
  letter-spacing: 0.1em;
}

/* Service flow */
.service-flow {
  margin-top: 2rem;
  padding: 1.8rem;
  background: rgba(10, 10, 15, 0.03);
  border: 1px solid rgba(10, 10, 15, 0.06);
}

.flow-title {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  color: rgba(10, 10, 15, 0.4);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.flow-steps {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
}

.flow-icon {
  width: 36px;
  height: 36px;
  color: var(--gold);
}

.flow-icon svg {
  width: 100%;
  height: 100%;
}

.flow-step span {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(10, 10, 15, 0.55);
}

.flow-arrow {
  color: var(--gold);
  opacity: 0.4;
  font-size: 0.8rem;
  flex-shrink: 0;
  align-self: center;
  margin-bottom: 1.2rem;
}

/* ---- GLOBE BACKGROUND (fixed) ---- */
.globe-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

#globeCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Make all sections stack above globe bg */
.hero,
.section,
.straight-divider,
.footer,
.nav,
.mobile-menu,
.page-overlay {
  position: relative;
  z-index: 1;
}

/* Hero should be transparent to show globe bg */
.hero {
  background: transparent !important;
}

/* ---- STRAIGHT DIVIDERS ---- */
.straight-divider {
  height: 2px;
  width: 100%;
  position: relative;
  z-index: 1;
  border: none;
  margin: 0;
  line-height: 0;
}

.straight-divider--dark {
  background: linear-gradient(to right, transparent 0%, rgba(184,147,90,0.3) 20%, rgba(184,147,90,0.5) 50%, rgba(184,147,90,0.3) 80%, transparent 100%);
  box-shadow: 0 0 20px rgba(184,147,90,0.15);
}

.straight-divider--light {
  background: linear-gradient(to right, transparent 0%, rgba(184,147,90,0.25) 20%, rgba(184,147,90,0.4) 50%, rgba(184,147,90,0.25) 80%, transparent 100%);
  box-shadow: 0 0 20px rgba(184,147,90,0.1);
}

/* ---- RATIO NUM FIX ---- */
.ratio-num--small {
  font-size: 4.5rem !important;
  color: rgba(245, 242, 235, 0.3) !important;
}

/* ---- CYCLE DIAGRAM ---- */
.cycle-diagram {
  margin-top: 1.8rem;
  padding: 1.2rem 1.6rem;
  background: linear-gradient(135deg, rgba(184,147,90,0.06) 0%, rgba(139,26,42,0.04) 100%);
  border: 1px solid rgba(184,147,90,0.15);
  border-radius: 2px;
  position: relative;
}

.cycle-title {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.6;
  margin-bottom: 1.2rem;
  text-align: center;
}

.cycle-content {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.cycle-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
  padding: 0.8rem 0.5rem;
  border: 1px solid rgba(184,147,90,0.12);
  background: rgba(10,10,15,0.04);
  text-align: center;
}

.cycle-node--protect {
  border-color: rgba(139,26,42,0.2);
  background: rgba(139,26,42,0.03);
}

.cycle-node-icon svg {
  width: 36px;
  height: 36px;
}

.cycle-node-label {
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(10,10,15,0.7);
  letter-spacing: 0.05em;
}

.cycle-node--protect .cycle-node-label {
  color: rgba(139,26,42,0.8);
}

.cycle-node-sub {
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  color: rgba(10,10,15,0.35);
}

.cycle-arrow-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  flex-shrink: 0;
  width: 48px;
}

.cycle-arrow-line {
  display: flex;
  gap: 3px;
  align-items: center;
}

.cycle-arrow-dot {
  width: 4px;
  height: 4px;
  background: rgba(245, 242, 235, 0.7);
  border-radius: 50%;
  opacity: 0;
  animation: dotPulse 1.2s var(--d, 0s) ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 1; transform: scale(1); }
}

.cycle-arrow-label {
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: rgba(245, 242, 235, 0.8);
  opacity: 0.9;
}

.cycle-arrow-head {
  width: 16px;
  height: 10px;
}

.cycle-feedback {
  display: none;
}

.cycle-return-line {
  width: 100%;
  overflow: visible;
}

/* ---- SUPPORT SECTION ---- */
.support-section {
  background: rgba(5, 5, 10, 0.72);
  color: var(--paper);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(2px);
}

.support-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
}

.support-inner {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.support-section .section-title {
  color: var(--paper);
}

.support-section .section-label {
  justify-content: center;
}

.support-content {
  margin-top: 1rem;
}

.support-quote {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 0.5rem;
}

.quote-mark {
  width: 40px;
  height: 30px;
  opacity: 0.4;
}

.support-text {
  font-size: clamp(0.78rem, 1.1vw, 0.92rem);
  font-weight: 300;
  line-height: 2.5;
  color: rgba(245, 242, 235, 0.62);
  text-align: left;
}

.support-text p {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.support-cta-wrap {
  margin-top: 3.5rem;
  display: flex;
  justify-content: center;
}

.btn-support {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  cursor: none;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.4s, transform 0.3s var(--ease-smooth);
}

.btn-support::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(-100%) skewX(-15deg);
  transition: transform 0.5s var(--ease-smooth);
}

.btn-support:hover::before {
  transform: translateX(110%) skewX(-15deg);
}

.btn-support:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(184, 147, 90, 0.35);
}

.btn-support-arrow {
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.3s;
}

.btn-support:hover .btn-support-arrow {
  transform: translateX(5px);
}

/* ---- SUPPORT SECTION — NEW TWO-COLUMN LAYOUT ---- */
.support-inner--wide {
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  margin-top: 1rem;
}

.support-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.support-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.support-right .support-text {
  text-align: left;
}

.support-right .support-text p {
  align-items: flex-start;
}

/* Donation card */
.donation-card {
  padding: 1.9rem;
  border: 1px solid rgba(184, 147, 90, 0.25);
  background: linear-gradient(135deg, rgba(184, 147, 90, 0.06) 0%, transparent 100%);
  position: relative;
}

.donation-card::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px;
  width: 24px; height: 24px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}

.donation-card::after {
  content: '';
  position: absolute;
  bottom: -1px; right: -1px;
  width: 24px; height: 24px;
  border-bottom: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
}

.donation-card-header {
  margin-bottom: 1.2rem;
}

.donation-label-text {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
}

.donation-amounts {
  display: flex;
  align-items: flex-end;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.donation-current {
  display: flex;
  align-items: flex-end;
  gap: 0.3rem;
}

.donation-num {
  font-family: sans-serif;
  font-size: 2.2rem;
  font-weight: 300;
  line-height: 1;
  color: var(--gold);
}

.donation-unit {
  font-size: 0.85rem;
  color: rgba(245, 242, 235, 0.55);
  padding-bottom: 0.3rem;
  letter-spacing: 0.05em;
}

.donation-unit--small {
  font-size: 0.75rem;
  padding-bottom: 0;
}

.donation-separator {
  font-family: sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: rgba(245, 242, 235, 0.25);
  padding-bottom: 0.15rem;
}

.donation-goal {
  display: flex;
  align-items: flex-end;
  gap: 0.3rem;
}

.donation-goal-num {
  font-family: sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1;
  color: rgba(245, 242, 235, 0.3);
}

.donation-bar-wrap {
  margin-top: 0.5rem;
}

.donation-bar {
  height: 6px;
  background: rgba(245, 242, 235, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.6rem;
}

.donation-fill {
  height: 100%;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  border-radius: 3px;
  transition: width 1.8s var(--ease-out);
}

.donation-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.62rem;
  color: rgba(245, 242, 235, 0.35);
  letter-spacing: 0.08em;
}

/* Bank account card */
.bank-card {
  padding: 1.6rem 1.9rem;
  border: 1px solid rgba(245, 242, 235, 0.1);
  background: rgba(245, 242, 235, 0.03);
  position: relative;
}

.bank-card-header {
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(184, 147, 90, 0.15);
}

.bank-label-text {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  opacity: 0.8;
  text-transform: uppercase;
}

.bank-info-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.bank-info-row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.bank-info-key {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: rgba(245, 242, 235, 0.35);
  flex-shrink: 0;
  width: 5em;
}

.bank-info-val {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: rgba(245, 242, 235, 0.7);
  font-weight: 400;
}

@media (max-width: 900px) {
  .support-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ---- FOOTER ---- */
.footer {
  background: rgba(8, 8, 14, 0.78);
  border-top: 1px solid rgba(184, 147, 90, 0.1);
  padding: 3.5rem 5vw;
  text-align: center;
  backdrop-filter: blur(4px);
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.footer-logo-en {
  font-family: var(--font-serif-en);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--gold);
}

.footer-logo-jp {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: rgba(245, 242, 235, 0.3);
}

.footer-divider svg {
  width: 200px;
}

.footer-copy {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: rgba(245, 242, 235, 0.2);
}

/* ---- ANIMATION KEYFRAMES ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scaleXIn {
  from { opacity: 0; transform: scaleX(0); transform-origin: center; }
  to   { opacity: 1; transform: scaleX(1); }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .illegal-grid,
  .ec-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .hero-vertical-text {
    display: none;
  }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  .nav-links { display: none; }
  .nav-menu-btn { display: flex; }

  .title-jp { font-size: clamp(2.5rem, 10vw, 4rem); }
  .title-jp.indent { padding-left: 0; }

  .section { padding: 5rem 0; }

  .btn-scroll-arrow { width: 14px; height: 24px; }

  .hero {
    min-height: calc(100vh - var(--nav-h));
    padding-top: var(--nav-h);
    align-items: center;
  }

  .hero-content {
    padding-top: 0;
  }
}
