/* ── Variables ────────────────────────────────── */
:root {
  --font-body:    'Noto Sans JP', sans-serif;
  --font-label:   'Montserrat', sans-serif;
  --font-display: 'Cormorant Garamond', serif;
  --font-heading: 'Playfair Display', serif;

  --color-brand:   #C8102E;
  --color-brand-dark: #8C0B1F;
  --color-brand-pale: #fff0f2;
  --color-brand-light: #f08080;
  --color-heading: #111111;
  --color-text:    #1a1a1a;
  --color-muted:   #555555;

  --footer-text: rgba(255,255,255,0.75);
}

/* ── Base ─────────────────────────────────────── */
html { scroll-behavior: auto; overflow-x: hidden; }
*, *::before, *::after { box-sizing: border-box; }
body {
  background: #0a0a14 url('/static/img/back.webp') center/cover fixed;
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 2;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  overflow-x: hidden;
}

/* ── Layout ───────────────────────────────────── */
.site-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
@media (min-width: 640px)  { .site-container { padding-left: 2rem; padding-right: 2rem; } }
@media (min-width: 1024px) { .site-container { padding-left: 3rem; padding-right: 3rem; max-width: 1400px; } }

.content-narrow { max-width: 720px; margin: 0 auto; }
.content-medium { max-width: 860px; margin: 0 auto; }

/* ── Section ──────────────────────────────────── */
.section-pad     { padding: 5rem 0; }
@media (min-width: 768px) { .section-pad { padding-top: 8rem; padding-bottom: 8rem; } }
.section-header  { text-align: center; margin-bottom: 4rem; }
.section-header .label-mono { color: var(--color-heading); margin-bottom: 1rem; }
.section-heading { font-size: clamp(2.2rem, 4.5vw, 3.5rem); color: var(--color-heading); margin-bottom: 1.5rem; }
.section-header .heading-display:not(.section-heading) { font-size: clamp(1.8rem,4vw,2.8rem); color: var(--color-heading); margin-bottom: 1.5rem; }

/* ── Typography ───────────────────────────────── */
.heading-display {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.02em;
}
.label-mono {
  font-family: var(--font-label);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.7rem;
}
.body-text {
  font-weight: 300;
  line-height: 1.9;
  color: var(--color-text);
}

/* ── Button ───────────────────────────────────── */
.btn-modern {
  font-family: var(--font-label);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.875rem;
  padding: 0.875rem 2rem;
  border: 2px solid currentColor;
  transition: all 0.3s ease;
  background: transparent;
  cursor: pointer;
  display: inline-block;
  line-height: 1;
  position: relative;
  overflow: hidden;
}
.btn-modern:hover { background: transparent !important; color: inherit !important; opacity: 0.75; }

/* ── Reveal ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-x-left {
  opacity: 0; transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-x-left.visible { opacity: 1; transform: translateX(0); }
.reveal-x-right {
  opacity: 0; transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-x-right.visible { opacity: 1; transform: translateX(0); }

.accent-line {
  height: 4px;
  background: var(--color-brand);
  width: 0;
  transition: width 0.8s ease;
  max-width: 96px;
  margin-left: auto;
  margin-right: auto;
}
.accent-line.animated { width: 96px; }

/* ── Decorative spin ──────────────────────────── */
@keyframes spinCW  { to { transform: rotate(360deg); } }
@keyframes spinCCW { to { transform: rotate(-360deg); } }
.deco-spin-cw  { position: absolute; font-size: 3.75rem; opacity: 0.04; animation: spinCW  20s linear infinite; pointer-events: none; user-select: none; }
.deco-spin-ccw { position: absolute; font-size: 3.75rem; opacity: 0.04; animation: spinCCW 20s linear infinite; pointer-events: none; user-select: none; }
.deco-spin-tl { top: 2.5rem; left: 1.25rem; }
.deco-spin-tr { top: 2.5rem; right: 2rem; }
.deco-spin-bl { bottom: 2.5rem; left: 2rem; }
.deco-spin-br { bottom: 2.5rem; right: 1.25rem; }

/* ── Deco stars ────────────────────────────────── */
.deco-star { position: absolute; font-size: 3rem; opacity: 0.06; pointer-events: none; }
.deco-star-tr { top: 1.5rem; right: 2rem; animation: spinCW 20s linear infinite; }
.deco-star-bl { bottom: 1.5rem; left: 2rem; animation: spinCCW 20s linear infinite; }

/* ── Navbar ───────────────────────────────────── */
@keyframes slideDown { from { transform: translateY(-80px); } to { transform: translateY(0); } }

#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  animation: slideDown 0.6s ease forwards;
  transition: background-color 0.5s ease, backdrop-filter 0.5s ease, box-shadow 0.5s ease, border-bottom 0.5s ease;
}
#nav-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: nowrap; height: 4rem; }
@media (min-width: 768px) { #nav-inner { height: 5rem; } }

#logo-link { display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem; line-height: 1; text-decoration: none; transition: opacity 0.6s ease; flex-shrink: 0; }
#logo-link:hover { opacity: 0.7; }
#logo-img-white { display: block; height: 26px; width: auto; }
#logo-img-red   { display: none;  height: 26px; width: auto; }
@media (min-width: 768px) { #logo-img-white, #logo-img-red { height: 30px; } }
header.scrolled #logo-img-white { display: none; }
header.scrolled #logo-img-red   { display: block; }
#logo-sub { display: none; font-family: var(--font-label); font-weight: 500; font-size: 0.5rem; letter-spacing: 0.08em; line-height: 1.5; color: rgba(255,255,255,0.7); transition: color 0.5s ease; }
@media (min-width: 900px) { #logo-sub { display: block; } }
header.scrolled #logo-sub { color: #555555; }
.mobile-logo-img { height: 32px; width: auto; display: block; }
.footer-logo-link { display: inline-block; transition: opacity 0.5s ease; text-decoration: none; margin-bottom: 0.25rem; }
.footer-logo-link:hover { opacity: 0.7; }
.footer-logo-img { height: 36px; width: auto; display: block; }

#desktop-nav { display: none; align-items: center; gap: 1.5rem; flex-wrap: nowrap; flex-shrink: 0; }
@media (min-width: 900px) { #desktop-nav { display: flex; } }

.nav-actions { display: flex; align-items: center; gap: 1rem; }

.nav-link { position: relative; font-family: var(--font-label); font-weight: 500; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: #111111; transition: color 0.3s ease; text-decoration: none; padding: 0.25rem 0; white-space: nowrap; }
.nav-link .nav-ul { position: absolute; bottom: 0; left: 0; height: 2px; width: 0; background: var(--color-brand); transition: width 0.4s ease; }
.nav-link:hover .nav-ul { width: 100%; }
.nav-link:hover { color: var(--color-brand) !important; }
header.scrolled .nav-link { color: #111111 !important; }
header.scrolled .nav-link:hover { color: var(--color-brand) !important; }
header.scrolled .nav-link .nav-ul { background: var(--color-brand); }

#login-btn { display: none; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; border-radius: 0.5rem; background: transparent; color: #111111; border: 1.5px solid #111111; font-family: var(--font-label); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; text-decoration: none; transition: all 0.3s ease; }
@media (min-width: 768px) { #login-btn { display: flex; } }
#login-btn:hover { background: var(--color-brand) !important; color: white !important; border-color: var(--color-brand) !important; }
header.scrolled #login-btn { border-color: #111111; color: #111111; }
header.scrolled #login-btn:hover { background: var(--color-brand) !important; color: white !important; border-color: var(--color-brand) !important; }

#line-btn { display: none; align-items: center; gap: 0.5rem; padding: 0.5rem 1.1rem; border-radius: 0.5rem; background: #06C755; color: white; border: none; font-family: var(--font-label); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.05em; cursor: pointer; text-decoration: none; transition: opacity 0.2s ease; }
@media (min-width: 768px) { #line-btn { display: flex; } }
#line-btn:hover { opacity: 0.82; }

#menu-btn { display: block; position: relative; z-index: 61; padding: 0.5rem; background: none; border: none; cursor: pointer; color: #111111; line-height: 0; }
@media (min-width: 900px) { #menu-btn { display: none; } }

#icon-x { display: none; }

#mobile-menu {
  position: fixed; inset: 0; z-index: 40;
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem 2.5rem 3rem; overflow: hidden;
  background: linear-gradient(150deg, #0a0a1a 0%, #12061a 100%);
  clip-path: circle(0% at calc(100% - 2.5rem) 2rem);
  opacity: 0; pointer-events: none;
  transition: clip-path 0.55s cubic-bezier(0.77,0,0.175,1), opacity 0.3s ease;
}
#mobile-menu.open { clip-path: circle(170% at calc(100% - 2.5rem) 2rem); opacity: 1; pointer-events: auto; }
body.menu-open #float-cta,
body.menu-open #back-to-top { display: none !important; }
#mobile-menu::before { content: ''; position: absolute; top: -20%; right: -15%; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(200,16,46,0.12) 0%, transparent 70%); pointer-events: none; }
#mobile-menu::after  { content: ''; position: absolute; bottom: -15%; left: -10%; width: 350px; height: 350px; border-radius: 50%; background: radial-gradient(circle, rgba(200,16,46,0.07) 0%, transparent 70%); pointer-events: none; }

#mobile-menu-brand { opacity: 0; transform: translateY(-10px); transition: opacity 0.35s ease 0.15s, transform 0.35s ease 0.15s; margin-bottom: 2.5rem; }
#mobile-menu-brand span { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: white; letter-spacing: 0.05em; }
#mobile-menu-brand small { display: block; font-family: var(--font-label); font-size: 0.65rem; letter-spacing: 0.15em; color: rgba(255,255,255,0.35); margin-top: 0.2rem; }
#mobile-menu.open #mobile-menu-brand { opacity: 1; transform: translateY(0); }

#mobile-menu-nav { display: flex; flex-direction: column; gap: 0; margin-bottom: 2.5rem; opacity: 0; transform: translateY(20px); transition: opacity 0.4s ease 0.25s, transform 0.4s ease 0.25s; }
#mobile-menu.open #mobile-menu-nav { opacity: 1; transform: translateY(0); }

#mobile-menu-bottom { padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-direction: column; gap: 0.75rem; opacity: 0; transform: translateY(10px); transition: opacity 0.4s ease 0.35s, transform 0.4s ease 0.35s; }
#mobile-menu.open #mobile-menu-bottom { opacity: 1; transform: translateY(0); }

.mobile-nav-link { font-family: var(--font-heading); font-weight: 400; font-size: 1.5rem; color: rgba(255,255,255,0.8); letter-spacing: 0.02em; text-decoration: none; display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.07); transition: color 0.25s ease; }
.mobile-nav-link::after { content: '→'; font-family: var(--font-label); font-size: 1rem; color: var(--color-brand); opacity: 0; transform: translateX(-8px); transition: opacity 0.25s ease, transform 0.25s ease; }
.mobile-nav-link:hover { color: white; }
.mobile-nav-link:hover::after { opacity: 1; transform: translateX(0); }

.mobile-cta-btn { display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.9rem 1.5rem; background: var(--color-brand); color: white; font-family: var(--font-label); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; border-radius: 0.5rem; text-decoration: none; transition: background 0.2s ease; }
.mobile-cta-btn:hover { background: #cc1a6e; }

.mobile-member-btn { display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.75rem 1.5rem; background: transparent; color: rgba(255,255,255,0.5); font-family: var(--font-label); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.1em; border: 1px solid rgba(255,255,255,0.15); border-radius: 0.5rem; text-decoration: none; transition: all 0.2s ease; }
.mobile-member-btn:hover { background: rgba(255,255,255,0.08); color: white; border-color: rgba(255,255,255,0.3); }

/* ── Footer ──────────────────────────────────── */
.footer { background: #111111; }
.footer-inner { padding-top: 4rem; padding-bottom: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
.footer-brand { margin-bottom: 1.5rem; }
.footer-logo { font-family: var(--font-display); font-weight: 400; font-size: 2rem; color: var(--color-brand); letter-spacing: 0.15em; line-height: 1.1; margin: 0 0 0.25rem; text-decoration: none; transition: opacity 0.5s ease, color 0.5s ease; display: inline-block; }
.footer-logo:hover { opacity: 0.7; }
.footer-logo-sub { font-family: var(--font-label); font-weight: 400; font-size: 0.7rem; letter-spacing: 0.2em; color: var(--footer-text); margin: 0 0 0.6rem; }
.footer-accent-line { width: 2rem; height: 1px; background: var(--color-brand); }
.footer-desc { font-family: var(--font-body); font-weight: 300; font-size: 0.85rem; color: var(--footer-text); line-height: 1.8; margin: 0; }
.footer-nav-title { font-family: var(--font-label); font-weight: 700; font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-brand); margin: 0 0 1.25rem; }
.footer-nav-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-nav-link { font-family: var(--font-body); font-weight: 300; font-size: 0.85rem; color: var(--footer-text); text-decoration: none; transition: color 0.5s ease; position: relative; display: inline-block; }
.footer-nav-link:hover { color: var(--color-brand); }
.footer-nav-link .footer-ul { position: absolute; bottom: 0; left: 0; height: 1px; width: 0; background: var(--color-brand); transition: width 0.5s ease; }
.footer-nav-link:hover .footer-ul { width: 100%; }
.footer-star { color: var(--color-brand); font-size: 0.65em; margin-right: 0.5rem; }
.footer-bottom { padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.15); text-align: center; }
.footer-legal-links { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.footer-legal-links > span { white-space: nowrap; }
.footer-legal-link { font-family: var(--font-body); font-weight: 300; font-size: 0.75rem; color: var(--footer-text); text-decoration: none; transition: color 0.5s ease; position: relative; display: inline-block; }
.footer-legal-link:hover { color: var(--color-brand); }
.footer-legal-link .footer-ul { position: absolute; bottom: 0; left: 0; height: 1px; width: 0; background: var(--color-brand); transition: width 0.5s ease; }
.footer-legal-link:hover .footer-ul { width: 100%; }
.footer-copyright { font-family: var(--font-label); font-weight: 300; font-size: 0.7rem; color: var(--footer-text); letter-spacing: 0.05em; margin: 0; }

/* ── Floating buttons ────────────────────────── */
#back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 9999;
  width: 3rem; height: 3rem; border-radius: 9999px;
  background: rgba(200,16,46,0.85); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(200,16,46,0.35);
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.3s ease;
  backdrop-filter: blur(4px);
}
#back-to-top.show { opacity: 1; visibility: visible; }
#back-to-top:hover { transform: translateY(-3px); }

/* ── Background utilities ──────────────────────── */
.bg-dark { background: rgba(15,15,15,0.55); }
.bg-light { background: rgba(255,255,255,0.88); }
.bg-soft  { background: rgba(200,16,46,0.06); }
.bg-dark .label-mono      { color: rgba(255,255,255,0.6); }
.bg-dark .heading-display { color: white; }
.bg-dark .body-text       { color: rgba(255,255,255,0.75); }

/* ── Hero section ──────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-overlay {
  display: block;
  position: absolute; inset: 0; z-index: 1;
  background: rgba(5, 5, 20, 0.45);
}
.hero-fade-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 6rem;
  z-index: 2;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.95));
}
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding-top: 5rem;
  padding-bottom: 7rem;
}
.hero-label { color: rgba(255,255,255,0.7); margin-bottom: 1.5rem; }
.hero-heading {
  font-size: clamp(1.5rem, 7vw, 5.5rem);
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 1.5rem;
}
.hero-heading em { font-style: italic; color: var(--color-brand); }
.hero-divider {
  height: 1px;
  margin-bottom: 2rem;
  max-width: 20rem;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
}
.hero-subtitle {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin-bottom: 3rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 500px) {
  .hero-subtitle { font-size: 1.05rem; text-align: center; padding-left: 0; padding-right: 0; }
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.btn-hero-primary {
  color: white;
  border-color: var(--color-brand);
  background: var(--color-brand);
  text-decoration: none;
  transition: all 0.3s ease !important;
}
.btn-hero-primary:hover { background: var(--color-brand-dark) !important; border-color: var(--color-brand-dark) !important; color: white !important; opacity: 1 !important; }
.btn-hero-secondary {
  color: white;
  border-color: rgba(255,255,255,0.5);
  background: transparent;
  transition: all 0.3s ease !important;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.15) !important; color: white !important; }
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  animation: bounceY 1.5s ease-in-out infinite;
}
.hero-scroll-label { font-size: 0.55rem; color: rgba(255,255,255,0.5); }

/* ── Feature rows ──────────────────────────────── */
.feat-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 4rem; }
.feat-text { flex: 1; min-width: 0; }
.feat-text .body-text { margin: 0; }
.feat-num { color: var(--color-brand); margin-bottom: 0.75rem; }
.feat-title { font-size: clamp(1.2rem, 2.5vw, 1.5rem); color: var(--color-heading); margin: 0 0 1rem; line-height: 1.35; }
.feat-row { display: flex; gap: 3rem; align-items: flex-start; margin-bottom: 3.5rem; }
.feat-row:last-child { margin-bottom: 0; }
.feat-row.feat-reverse { flex-direction: row-reverse; }
.feat-img { flex: 0 0 320px; height: 240px; border-radius: 0.75rem; overflow: hidden; position: relative; background: var(--color-brand-pale); }
.feat-img-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(0.92); transition: transform 0.6s ease; }
.feat-img:hover .feat-img-bg { transform: scale(1.06); }
.feat-icon {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.feat-icon svg { width: 4rem; height: 4rem; opacity: 0.4; }
@media (max-width: 768px) {
  .feat-row, .feat-row.feat-reverse { flex-direction: column; }
  .feat-img { flex: none; width: 100%; height: 200px; }
}

/* ── CTA Bar ──────────────────────────────────── */
.cta-bar { padding: 4rem 0; position: relative; overflow: hidden; }
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 2rem; text-align: center; }
.cta-heading { font-size: clamp(1rem, 5.5vw, 2.4rem); color: white; margin: 0 0 1rem; line-height: 1.3; }
.cta-body { font-weight: 300; font-size: 0.9rem; color: rgba(255,255,255,0.8); line-height: 1.9; margin: 0; }
.btn-cta { color: white; border-color: rgba(255,255,255,0.6); text-decoration: none; }
.btn-cta:hover { background: rgba(255,255,255,0.2) !important; opacity: 1 !important; }

/* ── Members section ─────────────────────────── */
#members { position: relative; overflow: hidden; scroll-margin-top: 5rem; padding-top: 6rem; padding-bottom: 6rem; }
#members-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: start; }
.members-label { color: var(--color-brand); margin-bottom: 1rem; }
.members-heading { font-size: clamp(2.2rem, 4vw, 3.2rem); color: white; line-height: 1.15; margin-bottom: 2rem; }
.members-benefits { display: flex; flex-direction: column; gap: 1.5rem; }
.members-benefit-item { display: flex; gap: 1rem; }
.members-icon { width: 3rem; height: 3rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--color-brand); }
.members-benefit-title { font-family: var(--font-heading); font-weight: 600; font-size: 1.1rem; color: white; margin: 0 0 0.25rem; }
.members-benefit-body { font-weight: 300; font-size: 0.9rem; color: rgba(255,255,255,0.7); margin: 0; }
.members-card { border-radius: 0.5rem; padding: 2rem; background: white; box-shadow: 0 20px 60px rgba(200,16,46,0.2); }
.members-card-heading { font-size: 1.8rem; color: var(--color-heading) !important; margin: 0 0 0.5rem; }
.members-card-sub { font-weight: 400; font-size: 0.9rem; color: var(--color-heading); margin: 0 0 1.5rem; }
.members-btn-brand {
  display: block; width: 100%; padding: 0.875rem; border-radius: 0.5rem;
  background: var(--color-brand); color: white;
  font-family: var(--font-label); font-weight: 600; font-size: 0.875rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: none; cursor: pointer; text-align: center; text-decoration: none;
  margin-bottom: 0.75rem; transition: background 0.2s, box-shadow 0.2s;
}
.members-btn-brand:hover { background: var(--color-brand-dark); box-shadow: 0 4px 16px rgba(200,16,46,0.4); }
.members-btn-line {
  display: flex; align-items: center; justify-content: center; gap: 0.75rem;
  width: 100%; padding: 0.875rem; border-radius: 0.5rem;
  background: #06C755; color: white;
  font-weight: 600; font-size: 0.9rem; letter-spacing: 0.05em;
  border: none; cursor: pointer; text-decoration: none;
  margin-bottom: 1rem; transition: opacity 0.2s;
}
.members-btn-line:hover { opacity: 0.75; }
.members-card-note { font-weight: 300; font-size: 0.75rem; color: #9ca3af; text-align: center; margin: 0; }

/* ── About section ─────────────────────────────── */
#about {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 5rem;
  padding-top: 6rem;
  padding-bottom: 6rem;
}
.about-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(255,255,255,0.95), rgba(250,250,250,0.97));
}
.about-inner { max-width: 56rem; margin: 0 auto; text-align: center; }
.about-label { color: var(--color-heading); margin-bottom: 2rem; }
.about-block { margin-bottom: 3rem; }
.about-block .accent-line { margin-bottom: 2rem; }
.about-heading {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--color-heading);
  line-height: 1.3;
  margin-bottom: 1.5rem;
}
.about-heading em { font-style: italic; color: var(--color-brand); }
.about-body { font-size: 1.1rem; line-height: 2; color: var(--color-heading); max-width: 700px; margin: 0 auto; }
.highlight { font-weight: 500; color: var(--color-heading); background: linear-gradient(transparent 55%, rgba(200,16,46,0.2) 55%); }
#cta-split .highlight { color: #ffffff; background: linear-gradient(transparent 55%, rgba(200,16,46,0.5) 55%); }

/* ── Keyframes ─────────────────────────────────── */
@keyframes bounceY {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Story section ─────────────────────────────── */
#story {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 5rem;
  padding: 7rem 0;
}
.story-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(255,255,255,0.97), rgba(250,250,250,0.97));
}
.story-inner { max-width: 52rem; margin: 0 auto; }
.story-label { color: var(--color-heading); margin-bottom: 2rem; }
.story-heading {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--color-heading);
  line-height: 1.3;
  margin: 0 0 1.5rem;
}
.story-heading em { font-style: italic; color: var(--color-brand); }
.story-divider { margin: 2rem 0; }
.story-body {
  font-size: 1.05rem;
  line-height: 2.2;
  color: var(--color-text);
}
.story-body p { margin: 0 0 1.25rem; }
.story-body p:last-child { margin-bottom: 0; }
.story-emphasis {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-heading);
  font-weight: 600;
  border-left: 3px solid var(--color-brand);
  padding-left: 1.25rem;
  margin: 2.5rem 0;
  line-height: 1.8;
}
.story-founder {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(200,16,46,0.2);
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}
.story-founder-badge {
  flex-shrink: 0;
  width: 3rem; height: 3rem;
  border-radius: 9999px;
  background: var(--color-brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
}
.story-founder-text { font-size: 0.9rem; color: var(--color-muted); line-height: 1.8; }
.story-founder-text strong { color: var(--color-heading); display: block; margin-bottom: 0.25rem; }

/* ── For You section ───────────────────────────── */
#for-you {
  padding: 7rem 0;
  background: rgba(5, 5, 20, 0.55);
  position: relative;
  overflow: hidden;
}
.foryou-header { text-align: center; margin-bottom: 3.5rem; }
.foryou-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 860px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .foryou-grid { grid-template-columns: 1fr 1fr; }
}
.foryou-card {
  border-radius: 0.75rem;
  padding: 2.5rem;
  background: white;
  box-shadow: 0 4px 24px rgba(200,16,46,0.08);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}
.foryou-card:hover {
  box-shadow: 0 12px 40px rgba(200,16,46,0.18);
  transform: translateY(-4px);
}
.foryou-card-tag {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--color-brand-pale);
  color: var(--color-brand);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  width: fit-content;
}
.foryou-card-heading {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-heading);
  line-height: 1.3;
  margin: 0;
}
.foryou-card-sub {
  font-size: 0.85rem;
  color: var(--color-text);
  font-weight: 400;
  line-height: 1.8;
  margin: 0;
}
.foryou-check-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.foryou-check-list li {
  font-size: 0.875rem;
  color: var(--color-text);
  font-weight: 400;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.6;
}
.foryou-check-list li::before {
  content: '✦';
  color: var(--color-brand);
  font-size: 0.55rem;
  flex-shrink: 0;
  margin-top: 0.35rem;
}
.foryou-card-cta {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-brand);
}
.foryou-card-cta svg { transition: transform 0.3s ease; }
.foryou-card:hover .foryou-card-cta svg { transform: translateX(4px); }

/* ── How It Works ──────────────────────────────── */
#how-it-works { padding: 7rem 0; background: #ffffff; }
.pillar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 960px;
  margin: 0 auto;
}
@media (min-width: 640px) { .pillar-grid { grid-template-columns: repeat(3, 1fr); } }
.pillar-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  border-top: 2px solid var(--color-brand);
}
.pillar-num {
  font-family: var(--font-label);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-brand);
}
.pillar-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-heading);
  line-height: 1.3;
  margin: 0;
}
.pillar-body {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--color-text);
  margin: 0;
}

/* ── Proof section ─────────────────────────────── */
#proof {
  padding: 7rem 0;
  background: rgba(15,15,15,0.9);
  position: relative;
  overflow: hidden;
}
.proof-label { color: rgba(255,255,255,0.6) !important; }
.proof-heading { color: white !important; }
.proof-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 860px;
  margin: 0 auto;
}
@media (min-width: 640px) { .proof-cards { grid-template-columns: repeat(2, 1fr); } }
.proof-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 0.75rem;
  padding: 2rem;
}
.proof-card-tag {
  font-family: var(--font-label);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-brand-light);
  margin-bottom: 1rem;
  display: block;
}
.proof-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  color: white;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.proof-number span {
  font-family: var(--font-label);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-brand-light);
  margin-left: 0.25rem;
}
.proof-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  margin: 0;
}
.proof-note {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  margin-top: 2.5rem;
}
.proof-frame-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(200,16,46,0.2);
  border-radius: 0.75rem;
  padding: 2rem 2.5rem;
  max-width: 860px;
  margin: 2.5rem auto 0;
  text-align: center;
}
.proof-frame-text {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: white;
  line-height: 1.6;
  margin: 0;
}
.proof-frame-text em { color: var(--color-brand-light); font-style: italic; }

/* ── CTA Split ─────────────────────────────────── */
#cta-split {
  padding: 7rem 0;
  background: rgba(5, 5, 20, 0.55);
  position: relative;
}
.cta-split-header { text-align: center; margin-bottom: 3.5rem; }
.cta-split-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #ffffff;
  margin: 0 0 1rem;
}
.cta-split-sub { font-size: 0.9rem; color: #ffffff; font-weight: 400; }
.cta-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
}
@media (min-width: 560px) { .cta-split-grid { grid-template-columns: 1fr 1fr; } }
.cta-split-card {
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.cta-split-card.primary {
  background: var(--color-brand);
  box-shadow: 0 8px 32px rgba(200,16,46,0.35);
}
.cta-split-card.secondary {
  background: white;
  border: 2px solid var(--color-brand);
  box-shadow: 0 4px 16px rgba(200,16,46,0.1);
}
.cta-split-card-label {
  font-family: var(--font-label);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.cta-split-card.primary .cta-split-card-label { color: rgba(255,255,255,0.7); }
.cta-split-card.secondary .cta-split-card-label { color: var(--color-brand); }
.cta-split-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}
.cta-split-card.primary .cta-split-card-title { color: white; }
.cta-split-card.secondary .cta-split-card-title { color: var(--color-heading); }
.cta-split-card-note {
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.8;
  flex: 1;
}
.cta-split-card.primary .cta-split-card-note { color: rgba(255,255,255,0.9); }
.cta-split-card.secondary .cta-split-card-note { color: var(--color-text); }
.cta-split-btn {
  display: block;
  padding: 0.875rem 1.5rem;
  border-radius: 0.5rem;
  font-family: var(--font-label);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}
.cta-split-card.primary .cta-split-btn {
  background: white;
  color: var(--color-brand);
}
.cta-split-card.primary .cta-split-btn:hover { background: #111111; color: white; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
.cta-split-card.secondary .cta-split-btn {
  background: var(--color-brand);
  color: white;
}
.cta-split-card.secondary .cta-split-btn:hover { background: var(--color-brand-dark); }

/* ── Brand tagline ─────────────────────────────── */
.brand-tagline {
  text-align: center;
  padding: 3rem 0;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: #ffffff;
  font-weight: 400;
  letter-spacing: 0.08em;
  background: rgba(5, 5, 20, 0.55);
}

/* ── Plan buttons ──────────────────────────────── */
.plan-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.plan-btn-light {
  background: white;
  color: var(--color-brand);
}
.plan-btn-light:hover {
  background: var(--color-brand);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,16,46,0.4);
}
.plan-btn-brand {
  background: var(--color-brand);
  color: white;
}
.plan-btn-brand:hover {
  background: #111111;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.plan-btn-outline {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.plan-btn-outline:hover {
  background: rgba(255,255,255,0.1);
  color: white;
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}

/* ── note cards ───────────────────────────────────── */
.note-section-header { text-align:center; margin-top:3.5rem; margin-bottom:1.5rem; }
.note-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
}
@media (min-width: 560px) { .note-cards-grid { grid-template-columns: repeat(3, 1fr); } }
.note-card {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.75rem;
  overflow: hidden;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}
.note-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-4px); }
.note-card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  background-color: rgba(255,255,255,0.04);
}
.note-card-thumb-empty { display: flex; align-items: center; justify-content: center; }
.note-card-body { padding: 1rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; }
.note-card-date { font-family: var(--font-label); font-size: 0.6rem; letter-spacing: 0.12em; color: rgba(255,255,255,0.4); margin: 0; }
.note-card-title { font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.85); line-height: 1.6; margin: 0; }

/* ── Thin scrollbar ────────────────────────────── */
.scrollbar-thin { scrollbar-width: thin; scrollbar-color: var(--color-brand-light) transparent; }
.scrollbar-thin::-webkit-scrollbar { width: 4px; }
.scrollbar-thin::-webkit-scrollbar-track { background: transparent; }
.scrollbar-thin::-webkit-scrollbar-thumb { background: var(--color-brand-light); border-radius: 9999px; }
.scrollbar-thin::-webkit-scrollbar-thumb:hover { background: var(--color-brand-light); }
