/*
Theme Name:   HACHI Child Theme
Theme URI:    https://hachicoin.io
Description:  HACHI — The Loyal Coin. Child theme for Hello Elementor or Astra.
Author:       HACHI Team
Author URI:   https://hachicoin.io
Template:     hello-elementor
Version:      1.0.0
Text Domain:  hachi-child
*/

/* ============================================================
   HACHI DESIGN SYSTEM
   Base theme: Hello Elementor (or Astra — set Template above)
   ============================================================ */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400;500;600&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

/* ── CSS VARIABLES ── */
:root {
  --hachi-cream:          #F5F0E8;
  --hachi-parchment:      #EDE6D6;
  --hachi-ink:            #1A1814;
  --hachi-ink-light:      #3D3830;
  --hachi-ink-muted:      #8A8070;
  --hachi-vermillion:     #C0392B;
  --hachi-vermillion-soft:#D4503F;
  --hachi-gold:           #B8972A;
  --hachi-gold-soft:      #C9A84C;
  --hachi-border:         rgba(26,24,20,0.12);
  --hachi-serif: 'Cormorant Garamond', 'Noto Serif JP', Georgia, serif;
  --hachi-sans:  'DM Sans', system-ui, sans-serif;
}

/* ── GLOBAL RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--hachi-cream) !important;
  color: var(--hachi-ink) !important;
  font-family: var(--hachi-sans) !important;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Paper noise texture overlay */
body::before {
  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='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.6;
}

/* ── ELEMENTOR OVERRIDES ── */
.elementor-page { background-color: var(--hachi-cream) !important; }
.e-con, .elementor-section { position: relative; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4,
.hachi-serif,
.elementor-heading-title {
  font-family: var(--hachi-serif) !important;
  font-weight: 300;
  line-height: 1.1;
  color: var(--hachi-ink);
}

p, .elementor-widget-text-editor p {
  font-family: var(--hachi-sans) !important;
  color: var(--hachi-ink-muted);
  font-size: 0.97rem;
  line-height: 1.85;
  font-weight: 300;
}

/* ── SCROLL REVEAL ── */
.hachi-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1),
              transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.hachi-reveal.is-visible { opacity: 1; transform: none; }
.hachi-reveal-d1 { transition-delay: 0.1s; }
.hachi-reveal-d2 { transition-delay: 0.22s; }
.hachi-reveal-d3 { transition-delay: 0.34s; }
.hachi-reveal-d4 { transition-delay: 0.46s; }

/* ============================================================
   NAVIGATION
   (Elementor Pro Header widget or Hello Elementor header)
   ============================================================ */
.hachi-nav,
.elementor-location-header .elementor-section:first-child {
  background: rgba(245,240,232,0.88) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hachi-border);
  position: fixed !important;
  top: 0; left: 0; right: 0;
  z-index: 9998;
  transition: padding 0.4s;
}

.hachi-logo {
  font-family: var(--hachi-serif) !important;
  font-size: 1.3rem;
  letter-spacing: 0.25em;
  color: var(--hachi-ink) !important;
  text-decoration: none;
}
.hachi-logo span { color: var(--hachi-vermillion); }

/* Elementor Nav Menu overrides */
.elementor-nav-menu .elementor-item {
  font-family: var(--hachi-sans) !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: var(--hachi-ink-muted) !important;
  transition: color 0.25s;
}
.elementor-nav-menu .elementor-item:hover { color: var(--hachi-ink) !important; }
.elementor-nav-menu .elementor-item.hachi-nav-cta {
  background: var(--hachi-ink) !important;
  color: var(--hachi-cream) !important;
  padding: 9px 22px !important;
  border-radius: 2px !important;
}
.elementor-nav-menu .elementor-item.hachi-nav-cta:hover {
  background: var(--hachi-vermillion) !important;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.hachi-btn-primary,
.elementor-button.hachi-btn-primary {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  background: var(--hachi-ink) !important;
  color: var(--hachi-cream) !important;
  font-family: var(--hachi-sans) !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  padding: 16px 34px !important;
  border-radius: 2px !important;
  border: none !important;
  transition: background 0.3s, transform 0.2s !important;
  text-decoration: none;
}
.hachi-btn-primary:hover,
.elementor-button.hachi-btn-primary:hover {
  background: var(--hachi-vermillion) !important;
  transform: translateY(-1px);
}

.hachi-btn-ghost {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  color: var(--hachi-ink-muted) !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid var(--hachi-border);
  transition: color 0.25s, border-color 0.25s;
  background: transparent !important;
}
.hachi-btn-ghost:hover {
  color: var(--hachi-ink) !important;
  border-color: var(--hachi-ink);
}

.hachi-btn-inv {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  background: var(--hachi-vermillion) !important;
  color: var(--hachi-cream) !important;
  font-family: var(--hachi-sans) !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  padding: 16px 40px !important;
  border-radius: 2px !important;
  border: none !important;
  transition: background 0.3s, transform 0.2s !important;
  text-decoration: none;
}
.hachi-btn-inv:hover { background: #a0301f !important; transform: translateY(-1px); }

/* ============================================================
   SECTION TAG  (eyebrow label)
   ============================================================ */
.hachi-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--hachi-sans);
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--hachi-vermillion);
  font-weight: 500;
  margin-bottom: 16px;
}
.hachi-tag::before {
  content: '';
  display: block;
  width: 20px; height: 1px;
  background: var(--hachi-vermillion);
}
.hachi-tag--light { color: var(--hachi-gold-soft); }
.hachi-tag--light::before { background: var(--hachi-gold-soft); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hachi-hero {
  min-height: 100vh;
  background-color: var(--hachi-cream);
  padding: 120px 80px 80px;
  position: relative;
  overflow: hidden;
}

.hachi-hero__eyebrow {
  font-family: var(--hachi-sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hachi-vermillion);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}
.hachi-hero__eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--hachi-vermillion);
}

.hachi-hero__title {
  font-family: var(--hachi-serif) !important;
  font-size: clamp(3.2rem, 6vw, 5.8rem) !important;
  font-weight: 300 !important;
  line-height: 1.08 !important;
  color: var(--hachi-ink) !important;
  margin-bottom: 24px;
}
.hachi-hero__title em { font-style: italic; color: var(--hachi-vermillion); }

.hachi-hero__subtitle {
  font-size: 1.05rem;
  color: var(--hachi-ink-muted);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 44px;
  font-weight: 300;
}

.hachi-hero__stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--hachi-border);
}
.hachi-hero__stat-num {
  font-family: var(--hachi-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--hachi-ink);
  line-height: 1;
}
.hachi-hero__stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hachi-ink-muted);
  margin-top: 4px;
}

/* JP background character */
.hachi-jp-bg {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(220px, 28vw, 380px);
  font-weight: 300;
  color: rgba(26,24,20,0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* Coin visual */
.hachi-coin-wrap {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0 auto;
}
.hachi-coin-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(26,24,20,0.1);
  animation: hachi-ring-spin 30s linear infinite;
}
.hachi-coin-ring::before {
  content: '';
  position: absolute;
  top: -4px; left: 50%;
  transform: translateX(-50%);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--hachi-vermillion);
}
.hachi-coin-ring-2 {
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px dashed rgba(26,24,20,0.06);
  animation: hachi-ring-spin 20s linear infinite reverse;
}
@keyframes hachi-ring-spin { to { transform: rotate(360deg); } }
.hachi-coin {
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  background: linear-gradient(145deg, #F0E8D0, #E8DCC0, #F5EDD8);
  box-shadow:
    inset 0 2px 8px rgba(255,255,255,0.8),
    inset 0 -2px 8px rgba(0,0,0,0.08),
    0 20px 60px rgba(0,0,0,0.12),
    0 4px 12px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.hachi-coin-gold-ring {
  position: absolute;
  inset: 36px;
  border-radius: 50%;
  border: 2px solid var(--hachi-gold-soft);
  opacity: 0.5;
}
.hachi-coin-jp {
  font-family: 'Noto Serif JP', serif;
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--hachi-vermillion);
  line-height: 1;
}
.hachi-coin-en {
  font-family: var(--hachi-serif);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--hachi-ink-muted);
}

/* ============================================================
   STORY SECTION
   ============================================================ */
.hachi-section--dark {
  background-color: var(--hachi-ink) !important;
  color: var(--hachi-cream) !important;
  position: relative;
  overflow: hidden;
}
.hachi-section--dark .elementor-heading-title,
.hachi-section--dark h2,
.hachi-section--dark h3 {
  color: var(--hachi-cream) !important;
}
.hachi-section--dark p,
.hachi-section--dark .elementor-widget-text-editor p {
  color: rgba(245,240,232,0.62) !important;
}

.hachi-story-year {
  font-family: var(--hachi-serif);
  font-size: clamp(5rem, 12vw, 10rem);
  font-weight: 300;
  line-height: 1;
  color: rgba(245,240,232,0.07);
  letter-spacing: -0.03em;
  margin-bottom: -30px;
}

.hachi-quote {
  margin: 32px 0;
  padding: 28px 32px;
  border-left: 2px solid var(--hachi-vermillion-soft);
  background: rgba(245,240,232,0.04);
}
.hachi-quote p {
  font-family: var(--hachi-serif) !important;
  font-size: 1.25rem !important;
  font-style: italic;
  font-weight: 300;
  color: var(--hachi-cream) !important;
  line-height: 1.5;
}
.hachi-quote cite {
  display: block;
  margin-top: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hachi-gold-soft);
  font-style: normal;
}

/* Timeline */
.hachi-timeline { position: relative; }
.hachi-timeline::before {
  content: '';
  position: absolute;
  left: 20px; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(245,240,232,0.15) 20%, rgba(245,240,232,0.15) 80%, transparent);
}
.hachi-timeline-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(245,240,232,0.06);
}
.hachi-timeline-item:last-child { border-bottom: none; }
.hachi-timeline-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--hachi-vermillion);
  margin-top: 6px;
  z-index: 1;
  box-shadow: 0 0 0 3px rgba(192,57,43,0.2);
}
.hachi-timeline-year {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hachi-gold-soft);
  margin-bottom: 4px;
  font-family: var(--hachi-sans);
}
.hachi-timeline-text {
  font-size: 0.9rem !important;
  color: rgba(245,240,232,0.6) !important;
  line-height: 1.6;
  font-family: var(--hachi-sans) !important;
}
.hachi-timeline-text strong { color: var(--hachi-cream); font-weight: 400; }

/* ============================================================
   PARCHMENT SECTION
   ============================================================ */
.hachi-section--parchment { background-color: var(--hachi-parchment) !important; }

/* ============================================================
   WHY HACHI — PILLARS
   ============================================================ */
.hachi-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.hachi-pillar {
  background: var(--hachi-cream);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
}
.hachi-pillar:hover { transform: translateY(-3px); }
.hachi-pillar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--hachi-vermillion);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.hachi-pillar:hover::after { transform: scaleX(1); }
.hachi-pillar__num {
  font-family: var(--hachi-serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: rgba(26,24,20,0.1);
  line-height: 1;
  margin-bottom: 12px;
}
.hachi-pillar__title {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hachi-ink);
  margin-bottom: 8px;
  font-family: var(--hachi-sans);
}
.hachi-pillar__text {
  font-size: 0.86rem;
  color: var(--hachi-ink-muted);
  line-height: 1.65;
  font-family: var(--hachi-sans);
}

/* ── Why cards ── */
.hachi-why-card {
  background: var(--hachi-cream);
  border: 1px solid var(--hachi-border);
  padding: 32px 28px;
  margin-bottom: 2px;
}
.hachi-why-card__icon {
  font-family: 'Noto Serif JP', serif;
  font-size: 2rem;
  color: var(--hachi-vermillion);
  margin-bottom: 14px;
  line-height: 1;
}
.hachi-why-card__title {
  font-family: var(--hachi-serif) !important;
  font-size: 1.15rem !important;
  font-weight: 400;
  color: var(--hachi-ink) !important;
  margin-bottom: 10px;
}
.hachi-why-card__text {
  font-size: 0.88rem !important;
  color: var(--hachi-ink-muted) !important;
  line-height: 1.75;
}

/* ============================================================
   TOKENOMICS
   ============================================================ */
.hachi-token-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-bottom: 60px;
}
@media (max-width: 900px) { .hachi-token-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .hachi-token-grid { grid-template-columns: 1fr; } }

.hachi-token-card {
  background: var(--hachi-parchment);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
}
.hachi-token-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--hachi-gold-soft), transparent);
}
.hachi-token-card__val {
  font-family: var(--hachi-serif);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--hachi-ink);
  line-height: 1;
  margin-bottom: 8px;
}
.hachi-token-card__unit {
  font-size: 1rem;
  color: var(--hachi-ink-muted);
}
.hachi-token-card__label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hachi-ink-muted);
  font-family: var(--hachi-sans);
  margin-bottom: 10px;
}
.hachi-token-card__desc {
  font-size: 0.82rem;
  color: var(--hachi-ink-muted);
  line-height: 1.6;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--hachi-border);
}

/* Distribution bars */
.hachi-dist-bar { margin-bottom: 16px; }
.hachi-dist-bar__label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--hachi-ink-muted);
  letter-spacing: 0.05em;
  font-family: var(--hachi-sans);
  margin-bottom: 6px;
}
.hachi-dist-bar__label strong { color: var(--hachi-ink); font-weight: 500; }
.hachi-dist-bar__track {
  height: 4px;
  background: var(--hachi-border);
  border-radius: 2px;
  overflow: hidden;
}
.hachi-dist-bar__fill {
  height: 100%;
  border-radius: 2px;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.2s cubic-bezier(0.16,1,0.3,1);
}
.hachi-dist-bar__fill--red   { background: var(--hachi-vermillion); }
.hachi-dist-bar__fill--ink   { background: var(--hachi-ink); }
.hachi-dist-bar__fill--gold  { background: var(--hachi-gold); }
.hachi-dist-bar__fill.animated { transform: scaleX(1); }

/* ============================================================
   COMMUNITY SECTION
   ============================================================ */
.hachi-social-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: rgba(245,240,232,0.04);
  text-decoration: none;
  transition: background 0.25s;
  border-left: 2px solid transparent;
  margin-bottom: 2px;
}
.hachi-social-row:hover {
  background: rgba(245,240,232,0.08);
  border-left-color: var(--hachi-vermillion);
}
.hachi-social-row__name {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hachi-cream);
  font-weight: 500;
  font-family: var(--hachi-sans);
}
.hachi-social-row__cta {
  font-family: var(--hachi-serif);
  font-size: 1rem;
  color: rgba(245,240,232,0.4);
}

/* Manifesto card */
.hachi-manifesto {
  background: rgba(245,240,232,0.04);
  border: 1px solid rgba(245,240,232,0.08);
  padding: 44px 40px;
}
.hachi-manifesto__jp {
  font-family: 'Noto Serif JP', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--hachi-vermillion-soft);
  margin-bottom: 16px;
  line-height: 1;
}
.hachi-manifesto__title {
  font-family: var(--hachi-serif) !important;
  font-size: 1.5rem !important;
  font-style: italic;
  font-weight: 300;
  color: var(--hachi-cream) !important;
  margin-bottom: 22px;
}
.hachi-manifesto__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hachi-manifesto__list li {
  font-size: 0.88rem;
  color: rgba(245,240,232,0.6);
  padding: 8px 0 8px 22px;
  position: relative;
  line-height: 1.65;
  font-family: var(--hachi-sans);
}
.hachi-manifesto__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--hachi-vermillion-soft);
}

/* ============================================================
   HOW TO BUY — STEPS
   ============================================================ */
.hachi-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
@media (max-width: 900px) { .hachi-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .hachi-steps { grid-template-columns: 1fr; } }

.hachi-step {
  background: var(--hachi-cream);
  padding: 40px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
}
.hachi-step:hover { transform: translateY(-4px); }
.hachi-step::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--hachi-vermillion);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.hachi-step:hover::after { transform: scaleX(1); }
.hachi-step__num {
  font-family: var(--hachi-serif);
  font-size: 4rem;
  font-weight: 300;
  color: rgba(26,24,20,0.07);
  line-height: 1;
  margin-bottom: 18px;
}
.hachi-step__title {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hachi-ink);
  margin-bottom: 10px;
  font-family: var(--hachi-sans);
}
.hachi-step__body {
  font-size: 0.86rem;
  color: var(--hachi-ink-muted);
  line-height: 1.7;
  font-family: var(--hachi-sans);
}
.hachi-step__body a { color: var(--hachi-vermillion); text-decoration: none; }

.hachi-contract {
  margin-top: 56px;
  text-align: center;
}
.hachi-contract__label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hachi-ink-muted);
  font-family: var(--hachi-sans);
  margin-bottom: 10px;
}
.hachi-contract__addr {
  font-size: 0.88rem;
  color: var(--hachi-ink);
  background: var(--hachi-cream);
  border: 1px solid var(--hachi-border);
  padding: 14px 24px;
  display: inline-block;
  letter-spacing: 0.06em;
  font-family: 'Courier New', monospace;
}

/* ============================================================
   ROADMAP — PHASES
   ============================================================ */
.hachi-phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
@media (max-width: 900px) { .hachi-phases { grid-template-columns: 1fr; } }

.hachi-phase {
  background: var(--hachi-parchment);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
}
.hachi-phase--active { background: var(--hachi-ink); }

.hachi-phase__num {
  font-family: var(--hachi-serif);
  font-size: 5rem;
  font-weight: 300;
  line-height: 1;
  color: rgba(26,24,20,0.06);
  margin-bottom: -10px;
}
.hachi-phase--active .hachi-phase__num { color: rgba(245,240,232,0.06); }

.hachi-phase__label {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--hachi-vermillion);
  font-family: var(--hachi-sans);
  margin-bottom: 6px;
}

.hachi-phase__title {
  font-family: var(--hachi-serif) !important;
  font-size: 1.4rem !important;
  font-weight: 400;
  color: var(--hachi-ink) !important;
  margin-bottom: 26px;
  line-height: 1.25;
}
.hachi-phase--active .hachi-phase__title { color: var(--hachi-cream) !important; }

.hachi-phase__items {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hachi-phase__items li {
  font-size: 0.85rem;
  color: var(--hachi-ink-muted);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
  font-family: var(--hachi-sans);
}
.hachi-phase--active .hachi-phase__items li { color: rgba(245,240,232,0.55); }
.hachi-phase__items li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 1px;
  background: var(--hachi-ink-muted);
}
.hachi-phase--active .hachi-phase__items li::before { background: rgba(245,240,232,0.3); }
.hachi-phase__items li.done { color: var(--hachi-ink); }
.hachi-phase__items li.done::before {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--hachi-vermillion);
  top: 6px;
}

.hachi-status {
  display: inline-block;
  margin-top: 28px;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  font-family: var(--hachi-sans);
}
.hachi-status--live { background: rgba(192,57,43,0.12); color: var(--hachi-vermillion); }
.hachi-status--soon { background: rgba(26,24,20,0.06); color: var(--hachi-ink-muted); }
.hachi-phase--active .hachi-status--soon {
  background: rgba(245,240,232,0.08);
  color: rgba(245,240,232,0.4);
}

/* ============================================================
   TRUST SECTION
   ============================================================ */
.hachi-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 2px;
}
@media (max-width: 640px) { .hachi-trust-grid { grid-template-columns: 1fr; } }

.hachi-trust-card {
  background: var(--hachi-cream);
  padding: 40px 32px;
  text-align: center;
}
.hachi-trust-card__icon { font-size: 2rem; display: block; margin-bottom: 14px; }
.hachi-trust-card__val {
  font-family: var(--hachi-serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--hachi-ink);
  line-height: 1;
  margin-bottom: 6px;
}
.hachi-trust-card__label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hachi-ink-muted);
  font-family: var(--hachi-sans);
  margin-bottom: 12px;
}
.hachi-trust-card__desc {
  font-size: 0.84rem !important;
  color: var(--hachi-ink-muted) !important;
  line-height: 1.65;
}

.hachi-audit-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 36px 40px;
  background: var(--hachi-cream);
  border: 1px solid var(--hachi-border);
  flex-wrap: wrap;
}
.hachi-audit-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hachi-audit-item__name {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hachi-ink-muted);
  font-family: var(--hachi-sans);
}
.hachi-audit-item__badge {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--hachi-ink);
  background: rgba(26,24,20,0.05);
  padding: 4px 14px;
  border-radius: 20px;
  font-family: var(--hachi-sans);
}

/* ============================================================
   FAQ
   ============================================================ */
.hachi-faq-item {
  background: var(--hachi-parchment);
  overflow: hidden;
  margin-bottom: 2px;
}
.hachi-faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 16px;
}
.hachi-faq-q__text {
  font-family: var(--hachi-serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--hachi-ink);
}
.hachi-faq-icon {
  width: 24px; height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hachi-border);
  color: var(--hachi-ink-muted);
  font-size: 1rem;
  transition: transform 0.35s, background 0.25s;
}
.hachi-faq-item.open .hachi-faq-icon {
  transform: rotate(45deg);
  background: var(--hachi-vermillion);
  border-color: var(--hachi-vermillion);
  color: white;
}
.hachi-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16,1,0.3,1);
}
.hachi-faq-item.open .hachi-faq-a { max-height: 300px; }
.hachi-faq-a__inner {
  padding: 0 26px 22px;
  font-size: 0.9rem !important;
  color: var(--hachi-ink-muted) !important;
  line-height: 1.8;
  font-family: var(--hachi-sans);
}

/* ============================================================
   FINAL CTA SECTION
   ============================================================ */
.hachi-cta {
  background-color: var(--hachi-ink) !important;
  color: var(--hachi-cream) !important;
  text-align: center;
  padding: 140px 80px;
  position: relative;
  overflow: hidden;
}
.hachi-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(192,57,43,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.hachi-cta__jp {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(80px, 15vw, 160px);
  font-weight: 300;
  color: rgba(245,240,232,0.04);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.hachi-cta__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--hachi-gold-soft);
  font-family: var(--hachi-sans);
  margin-bottom: 24px;
}
.hachi-cta__heading {
  font-family: var(--hachi-serif) !important;
  font-size: clamp(2.4rem, 5vw, 4.4rem) !important;
  font-weight: 300 !important;
  line-height: 1.1 !important;
  color: var(--hachi-cream) !important;
  margin-bottom: 20px;
}
.hachi-cta__heading em { font-style: italic; color: var(--hachi-vermillion-soft); }
.hachi-cta__body {
  font-size: 0.95rem !important;
  color: rgba(245,240,232,0.5) !important;
  line-height: 1.85;
  margin-bottom: 44px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.hachi-footer {
  background: var(--hachi-ink) !important;
  border-top: 1px solid rgba(245,240,232,0.08);
  padding: 44px 80px;
}
.hachi-footer__logo {
  font-family: var(--hachi-serif);
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  color: rgba(245,240,232,0.6);
  text-decoration: none;
}
.hachi-footer__logo span { color: var(--hachi-vermillion); }
.hachi-footer__links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}
.hachi-footer__links a {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.3);
  text-decoration: none;
  font-family: var(--hachi-sans);
  transition: color 0.25s;
}
.hachi-footer__links a:hover { color: rgba(245,240,232,0.7); }
.hachi-footer__disclaimer {
  font-size: 0.72rem;
  color: rgba(245,240,232,0.2);
  line-height: 1.6;
  text-align: center;
  margin-top: 24px;
  font-family: var(--hachi-sans);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hachi-hero { padding: 100px 40px 60px; }
  .hachi-jp-bg { font-size: 140px; right: -20px; opacity: 0.5; }
}
@media (max-width: 768px) {
  .hachi-hero { padding: 100px 24px 56px; }
  .hachi-hero__stats { flex-direction: column; gap: 24px; }
  .hachi-cta { padding: 80px 24px; }
  .hachi-footer { padding: 40px 24px; }
  .hachi-audit-strip { gap: 24px; }
  .hachi-pillars { grid-template-columns: 1fr; }
}
