/*
 * 偉人サロン by GAUDIE — Static CSS
 * Design System: "Bespoke Atelier"
 * Arts & Crafts Movement × Contemporary Editorial Design
 * Colors: Dark Walnut × Antique Gold × Parchment × Sepia
 */

/* ========================================
   CSS Variables / Design Tokens
   ======================================== */
:root {
  --walnut: #1a1612;
  --walnut-light: #2d2620;
  --gold: #b8963e;
  --gold-dim: #8a7030;
  --parchment: #ede6d6;
  --parchment-dark: #d8cdb5;
  --sepia: #7a6a50;
  --cream: #f5f1e8;
  --radius: 0.25rem;
}

/* ========================================
   Reset & Base
   ======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--walnut);
  color: var(--parchment);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Noto Serif JP', serif;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.04em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

ul, ol {
  list-style: none;
}

::selection {
  background-color: rgba(184, 150, 62, 0.3);
  color: var(--cream);
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #151210; }
::-webkit-scrollbar-thumb { background: #4a4035; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(184, 150, 62, 0.6); }

/* ========================================
   Layout
   ======================================== */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding-left: 2rem; padding-right: 2rem; max-width: 1280px; }
}

.min-h-screen { min-height: 100vh; }
.flex { display: flex; min-height: 0; min-width: 0; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }

@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .sm\:flex-row { flex-direction: row; }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:flex { display: flex; }
}

/* ========================================
   Typography
   ======================================== */
.font-serif { font-family: 'Playfair Display', 'Noto Serif JP', serif; }
.font-accent { font-family: 'Cormorant Garamond', serif; }

.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }

@media (min-width: 768px) {
  .md\:text-base { font-size: 1rem; }
  .md\:text-lg { font-size: 1.125rem; }
  .md\:text-xl { font-size: 1.25rem; }
  .md\:text-2xl { font-size: 1.5rem; }
  .md\:text-3xl { font-size: 1.875rem; }
  .md\:text-4xl { font-size: 2.25rem; }
  .md\:text-5xl { font-size: 3rem; }
  .md\:text-6xl { font-size: 3.75rem; }
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }
.tracking-\[0\.3em\] { letter-spacing: 0.3em; }
.uppercase { text-transform: uppercase; }
.italic { font-style: italic; }
.font-medium { font-weight: 500; }
.leading-snug { line-height: 1.375; }
.leading-relaxed { line-height: 1.625; }
.leading-\[2\] { line-height: 2; }
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========================================
   Colors
   ======================================== */
.text-walnut { color: var(--walnut); }
.text-gold { color: var(--gold); }
.text-gold-50 { color: rgba(184, 150, 62, 0.5); }
.text-gold-60 { color: rgba(184, 150, 62, 0.6); }
.text-gold-40 { color: rgba(184, 150, 62, 0.4); }
.text-parchment { color: var(--parchment); }
.text-parchment-80 { color: rgba(237, 230, 214, 0.8); }
.text-parchment-70 { color: rgba(237, 230, 214, 0.7); }
.text-parchment-60 { color: rgba(237, 230, 214, 0.6); }
.text-parchment-50 { color: rgba(237, 230, 214, 0.5); }
.text-parchment-40 { color: rgba(237, 230, 214, 0.4); }
.text-parchment-30 { color: rgba(237, 230, 214, 0.3); }
.text-parchment-25 { color: rgba(237, 230, 214, 0.25); }
.text-parchment-20 { color: rgba(237, 230, 214, 0.2); }
.text-parchment-15 { color: rgba(237, 230, 214, 0.15); }
.text-sepia { color: var(--sepia); }
.text-sepia-70 { color: rgba(122, 106, 80, 0.7); }
.text-gold-dim { color: var(--gold-dim); }
.text-gold-dim-40 { color: rgba(138, 112, 48, 0.4); }

.bg-walnut { background-color: var(--walnut); }
.bg-walnut-light { background-color: var(--walnut-light); }
.bg-walnut-light-20 { background-color: rgba(45, 38, 32, 0.2); }
.bg-walnut-light-30 { background-color: rgba(45, 38, 32, 0.3); }
.bg-walnut-light-10 { background-color: rgba(45, 38, 32, 0.1); }
.bg-gold { background-color: var(--gold); }
.bg-gold-20 { background-color: rgba(184, 150, 62, 0.2); }
.bg-gold-10 { background-color: rgba(184, 150, 62, 0.1); }
.bg-parchment { background-color: var(--parchment); }
.bg-parchment-5 { background-color: rgba(237, 230, 214, 0.05); }
.bg-parchment-10 { background-color: rgba(237, 230, 214, 0.1); }
.bg-white-60 { background-color: rgba(255, 255, 255, 0.6); }

.border-gold { border-color: var(--gold); }
.border-gold-10 { border-color: rgba(184, 150, 62, 0.1); }
.border-gold-15 { border-color: rgba(184, 150, 62, 0.15); }
.border-gold-20 { border-color: rgba(184, 150, 62, 0.2); }
.border-gold-25 { border-color: rgba(184, 150, 62, 0.25); }
.border-gold-30 { border-color: rgba(184, 150, 62, 0.3); }
.border-gold-40 { border-color: rgba(184, 150, 62, 0.4); }
.border-gold-dim-15 { border-color: rgba(138, 112, 48, 0.15); }

/* ========================================
   Spacing
   ======================================== */
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-4 { padding-top: 1rem; }
.pl-4 { padding-left: 1rem; }
.pb-1 { padding-bottom: 0.25rem; }
.pb-8 { padding-bottom: 2rem; }

@media (min-width: 768px) {
  .md\:p-6 { padding: 1.5rem; }
  .md\:p-8 { padding: 2rem; }
  .md\:p-10 { padding: 2.5rem; }
  .md\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .md\:py-28 { padding-top: 7rem; padding-bottom: 7rem; }
}

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-1\.5 { margin-top: 0.375rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.ml-2 { margin-left: 0.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ========================================
   Borders & Effects
   ======================================== */
.border { border-width: 1px; border-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-l-2 { border-left-width: 2px; border-left-style: solid; border-left-color: rgba(184, 150, 62, 0.3); }
.border-transparent { border-color: transparent; }
.rounded-full { border-radius: 9999px; }
.rounded-sm { border-radius: 0.125rem; }
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.z-10 { z-index: 10; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.shadow-black-20 { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.2); }

.opacity-10 { opacity: 0.1; }
.opacity-15 { opacity: 0.15; }
.opacity-60 { opacity: 0.6; }
.opacity-70 { opacity: 0.7; }

.w-full { width: 100%; }
.w-3 { width: 0.75rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-px { width: 1px; }
.h-full { height: 100%; }
.h-3 { height: 0.75rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-auto { height: auto; }
.h-px { height: 1px; }
.shrink-0 { flex-shrink: 0; }
.max-w-xl { max-width: 36rem; }
.max-w-lg { max-width: 32rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-sm { max-width: 24rem; }

.aspect-21-9 { aspect-ratio: 21/9; }
.aspect-3-2 { aspect-ratio: 3/2; }
.object-cover { object-fit: cover; }

.whitespace-nowrap { white-space: nowrap; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.block { display: block; }
.hidden { display: none; }

@media (min-width: 1024px) {
  .lg\:hidden { display: none; }
  .lg\:flex { display: flex; }
  .lg\:block { display: block; }
}

/* ========================================
   Custom Components
   ======================================== */

/* Stitch line divider */
.stitch-divider {
  position: relative;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    rgba(184, 150, 62, 0.4) 0px,
    rgba(184, 150, 62, 0.4) 8px,
    transparent 8px,
    transparent 16px
  );
}

/* Gold accent line */
.gold-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* Parchment texture overlay */
.parchment-overlay {
  position: relative;
}
.parchment-overlay::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

/* ========================================
   Top Bar
   ======================================== */
.top-bar {
  background-color: rgba(45, 38, 32, 0.8);
  backdrop-filter: blur(12px);
  color: rgba(237, 230, 214, 0.7);
  font-size: 0.75rem;
  padding: 0.375rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 50;
}
.top-bar a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--gold);
}
.top-bar a:hover { color: rgba(184, 150, 62, 0.8); }

/* ========================================
   Header
   ======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  transition: all 0.5s ease;
  background-color: rgba(26, 22, 18, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.2);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.logo-link {
  display: flex;
  flex-direction: column;
}
.logo-link:hover .logo-main { color: var(--gold); }
.logo-main {
  font-family: 'Playfair Display', 'Noto Serif JP', serif;
  font-size: 1.25rem;
  color: var(--parchment);
  letter-spacing: 0.05em;
  transition: color 0.3s;
}
@media (min-width: 768px) {
  .logo-main { font-size: 1.5rem; }
}
.logo-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.875rem;
  color: rgba(184, 150, 62, 0.8);
}
.logo-tagline {
  font-size: 0.625rem;
  color: var(--sepia);
  letter-spacing: 0.2em;
  margin-top: 0.125rem;
}

/* Desktop nav */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .desktop-nav { display: flex; }
}
.desktop-nav a {
  position: relative;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  color: rgba(237, 230, 214, 0.7);
  padding: 0.25rem 0;
  transition: color 0.3s;
}
.desktop-nav a:hover,
.desktop-nav a.active { color: var(--gold); }
.desktop-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
}
.nav-official-btn {
  margin-left: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(184, 150, 62, 0.4);
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  transition: all 0.3s;
}
.nav-official-btn:hover {
  background: var(--gold);
  color: var(--walnut);
}

/* Mobile menu button */
.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: var(--parchment);
  padding: 0.5rem;
  cursor: pointer;
  font-size: 1.5rem;
}
@media (min-width: 1024px) {
  .mobile-menu-btn { display: none; }
}

/* Mobile nav */
.mobile-nav {
  display: none;
  background-color: rgba(26, 22, 18, 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(184, 150, 62, 0.1);
  padding: 1.5rem;
  flex-direction: column;
  gap: 1rem;
}
.mobile-nav.open { display: flex; }
@media (min-width: 1024px) {
  .mobile-nav { display: none !important; }
}
.mobile-nav a {
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: rgba(237, 230, 214, 0.7);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(184, 150, 62, 0.1);
}
.mobile-nav a.active { color: var(--gold); }
.mobile-nav-official {
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(184, 150, 62, 0.4);
  color: var(--gold);
  text-align: center;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
}

/* ========================================
   Footer
   ======================================== */
.footer-cta {
  background-color: var(--walnut);
  padding: 3rem 0;
  text-align: center;
}
.footer-cta .section-label { color: rgba(184, 150, 62, 0.6); }
.footer-cta h3 {
  font-size: 1.5rem;
  color: var(--parchment);
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .footer-cta h3 { font-size: 1.875rem; }
}
.footer-cta p { color: rgba(237, 230, 214, 0.6); font-size: 0.875rem; max-width: 32rem; margin: 0 auto 2rem; line-height: 1.625; }
.footer-cta .btn-group { display: flex; flex-direction: column; gap: 1rem; justify-content: center; }
@media (min-width: 640px) {
  .footer-cta .btn-group { flex-direction: row; }
}
.footer-cta .phone { margin-top: 1.5rem; color: rgba(237, 230, 214, 0.4); font-size: 0.75rem; }
.footer-cta .phone a { color: rgba(184, 150, 62, 0.6); }
.footer-cta .phone a:hover { color: var(--gold); }

.footer-links {
  background-color: rgba(45, 38, 32, 0.5);
  border-top: 1px solid rgba(184, 150, 62, 0.1);
  padding: 2.5rem 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
.footer-brand-name {
  font-family: 'Playfair Display', 'Noto Serif JP', serif;
  font-size: 1.125rem;
  color: var(--parchment);
  margin-bottom: 0.5rem;
}
.footer-brand-name span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.75rem;
  color: rgba(184, 150, 62, 0.6);
}
.footer-brand-desc {
  font-size: 0.75rem;
  color: rgba(237, 230, 214, 0.4);
  line-height: 1.625;
}
.footer-section-title {
  font-size: 0.75rem;
  color: rgba(184, 150, 62, 0.6);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.footer-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav a { font-size: 0.875rem; color: rgba(237, 230, 214, 0.5); }
.footer-nav a:hover { color: var(--parchment); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(237, 230, 214, 0.3);
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; }
}
.footer-bottom .accent { font-family: 'Cormorant Garamond', serif; letter-spacing: 0.05em; }

/* ========================================
   Buttons
   ======================================== */
.btn-primary {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: var(--gold);
  color: var(--walnut);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  transition: background-color 0.3s;
  text-align: center;
}
.btn-primary:hover { background-color: var(--gold-dim); }

.btn-outline {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 1px solid rgba(184, 150, 62, 0.4);
  color: var(--gold);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  transition: all 0.3s;
  text-align: center;
}
.btn-outline:hover { background-color: rgba(184, 150, 62, 0.1); }

/* ========================================
   Section Labels
   ======================================== */
.section-label {
  font-family: 'Cormorant Garamond', serif;
  color: rgba(184, 150, 62, 0.6);
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-label-sm {
  font-family: 'Cormorant Garamond', serif;
  color: rgba(184, 150, 62, 0.5);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-label-xs {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(184, 150, 62, 0.4);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(26, 22, 18, 0.4), rgba(26, 22, 18, 0.85));
}
.hero-content {
  position: relative;
  z-index: 10;
  padding: 6rem 0;
  text-align: center;
}
@media (min-width: 768px) {
  .hero-content { padding: 10rem 0; }
}
.hero h1 {
  font-size: 2.25rem;
  color: var(--parchment);
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .hero h1 { font-size: 3.75rem; }
}
.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  color: rgba(184, 150, 62, 0.8);
  font-size: 1rem;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .hero-subtitle { font-size: 1.25rem; }
}
.hero-desc {
  color: rgba(237, 230, 214, 0.6);
  font-size: 0.875rem;
  max-width: 36rem;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

/* ========================================
   Card Components
   ======================================== */
.column-card {
  display: block;
  background: rgba(45, 38, 32, 0.2);
  border: 1px solid rgba(184, 150, 62, 0.1);
  transition: all 0.5s;
}
.column-card:hover {
  border-color: rgba(184, 150, 62, 0.25);
}
.column-card-img {
  aspect-ratio: 3/2;
  overflow: hidden;
  background: rgba(26, 22, 18, 0.3);
}
.column-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.column-card:hover .column-card-img img {
  transform: scale(1.05);
}
.column-card-body { padding: 1.5rem; }
.column-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.column-card-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
}
.column-card-date { font-size: 0.625rem; color: rgba(237, 230, 214, 0.4); }
.column-card-title {
  font-family: 'Playfair Display', 'Noto Serif JP', serif;
  font-size: 1rem;
  color: var(--parchment);
  margin-bottom: 0.5rem;
  line-height: 1.375;
  transition: color 0.3s;
}
.column-card:hover .column-card-title { color: var(--gold); }
.column-card-subtitle { font-size: 0.875rem; color: rgba(237, 230, 214, 0.4); margin-bottom: 1rem; }
.column-card-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

/* Disabled card */
.column-card-disabled {
  background: rgba(45, 38, 32, 0.1);
  border: 1px solid rgba(184, 150, 62, 0.05);
  opacity: 0.6;
}
.column-card-disabled .column-card-img {
  background: rgba(26, 22, 18, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.column-card-disabled .placeholder-name {
  font-family: 'Playfair Display', 'Noto Serif JP', serif;
  font-size: 1.125rem;
  color: rgba(237, 230, 214, 0.15);
}

/* ========================================
   Article Page
   ======================================== */
.article-hero {
  position: relative;
  overflow: hidden;
}
.article-hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
}
.article-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(26, 22, 18, 0.3), rgba(26, 22, 18, 0.9));
}
.article-hero-content {
  position: relative;
  z-index: 10;
  padding: 6rem 0 4rem;
  text-align: center;
}
@media (min-width: 768px) {
  .article-hero-content { padding: 8rem 0 5rem; }
}

.article-body {
  padding: 3rem 0 4rem;
}
.article-body .reading-col {
  max-width: 48rem;
  margin: 0 auto;
}
.article-section { margin-bottom: 4rem; }
.article-section-label {
  font-family: 'Cormorant Garamond', serif;
  color: rgba(184, 150, 62, 0.5);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.article-paragraph {
  font-size: 0.875rem;
  line-height: 2;
  margin-bottom: 1rem;
  color: rgba(237, 230, 214, 0.7);
}
@media (min-width: 768px) {
  .article-paragraph { font-size: 1rem; }
}
.article-dialogue {
  color: rgba(237, 230, 214, 0.8);
  padding-left: 1rem;
  border-left: 2px solid rgba(184, 150, 62, 0.3);
}

/* Wallet completion image */
.wallet-showcase {
  position: relative;
  overflow: hidden;
  background: rgba(45, 38, 32, 0.2);
  border: 1px solid rgba(184, 150, 62, 0.15);
}
.wallet-showcase-img {
  aspect-ratio: 3/2;
  overflow: hidden;
}
.wallet-showcase-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wallet-showcase-caption {
  padding: 1rem 1.5rem;
  background: linear-gradient(to top, rgba(26, 22, 18, 0.8), transparent);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.wallet-showcase-caption h4 {
  font-family: 'Playfair Display', 'Noto Serif JP', serif;
  font-size: 0.875rem;
  color: var(--parchment);
}
@media (min-width: 768px) {
  .wallet-showcase-caption h4 { font-size: 1rem; }
  .wallet-showcase-caption { padding: 1.5rem; }
}
.wallet-showcase-caption p {
  font-size: 0.75rem;
  color: rgba(237, 230, 214, 0.5);
  margin-top: 0.25rem;
}
.wallet-disclaimer {
  font-size: 0.625rem;
  color: rgba(237, 230, 214, 0.4);
  text-align: right;
  margin-top: 0.5rem;
  font-style: italic;
}

/* Product spec card */
.spec-card {
  padding: 1.5rem;
  background: rgba(237, 230, 214, 0.05);
  border: 1px solid rgba(184, 150, 62, 0.2);
}
@media (min-width: 768px) {
  .spec-card { padding: 2rem; }
}
.spec-card-title {
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.spec-card h3 {
  font-size: 1.125rem;
  color: var(--parchment);
  margin-bottom: 1rem;
}
.spec-card-img {
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.spec-card-img img {
  width: 100%;
  max-width: 24rem;
  margin: 0 auto;
  height: auto;
  border-radius: 0.125rem;
}
.spec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  font-size: 0.875rem;
}
@media (min-width: 640px) {
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
}
.spec-grid .label { font-size: 0.75rem; color: rgba(184, 150, 62, 0.5); }
.spec-grid .value { color: rgba(237, 230, 214, 0.8); }
.spec-features {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(184, 150, 62, 0.1);
}
.spec-features .label { font-size: 0.75rem; color: rgba(184, 150, 62, 0.5); }
.spec-features ul { margin-top: 0.25rem; }
.spec-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: rgba(237, 230, 214, 0.7);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}
.spec-features li .dash { color: rgba(184, 150, 62, 0.4); margin-top: 0.375rem; }

/* Related knowledge */
.related-knowledge-card {
  padding: 1rem;
  background: rgba(45, 38, 32, 0.2);
  border: 1px solid rgba(184, 150, 62, 0.1);
  transition: border-color 0.3s;
}
.related-knowledge-card:hover { border-color: rgba(184, 150, 62, 0.25); }
.related-knowledge-card h4 {
  font-family: 'Playfair Display', 'Noto Serif JP', serif;
  font-size: 0.875rem;
  color: var(--parchment);
  margin-bottom: 0.25rem;
  transition: color 0.3s;
}
.related-knowledge-card:hover h4 { color: var(--gold); }
.related-knowledge-card p {
  font-size: 0.75rem;
  color: rgba(237, 230, 214, 0.4);
}

/* Article CTA */
.article-cta {
  padding: 3rem 0;
  background: rgba(45, 38, 32, 0.2);
  border-top: 1px solid rgba(184, 150, 62, 0.1);
  text-align: center;
}

/* Prev/Next nav */
.article-nav {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(184, 150, 62, 0.1);
}
.article-nav-inner {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}
.article-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(237, 230, 214, 0.5);
  transition: color 0.3s;
}
.article-nav a:hover { color: var(--gold); }

/* ========================================
   Knowledge Page
   ======================================== */
.knowledge-tabs {
  position: sticky;
  top: 72px;
  z-index: 30;
  background: rgba(26, 22, 18, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184, 150, 62, 0.1);
  padding: 0.75rem 0;
}
.knowledge-tabs-inner {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}
.knowledge-tabs-inner::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: all 0.3s;
  background: none;
  border: 1px solid transparent;
  color: rgba(237, 230, 214, 0.5);
  cursor: pointer;
}
.tab-btn:hover {
  color: var(--parchment);
  border-color: rgba(184, 150, 62, 0.1);
}
.tab-btn.active {
  background: rgba(184, 150, 62, 0.2);
  color: var(--gold);
  border-color: rgba(184, 150, 62, 0.3);
}

.knowledge-item {
  padding: 1.5rem;
  background: rgba(45, 38, 32, 0.2);
  border: 1px solid rgba(184, 150, 62, 0.1);
  transition: border-color 0.5s;
  height: 100%;
}
.knowledge-item:hover { border-color: rgba(184, 150, 62, 0.25); }
.knowledge-item-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.knowledge-item h3 {
  font-family: 'Playfair Display', 'Noto Serif JP', serif;
  font-size: 1rem;
  color: var(--parchment);
}
.knowledge-item .category-badge {
  flex-shrink: 0;
  padding: 0.125rem 0.5rem;
  background: rgba(184, 150, 62, 0.1);
  color: rgba(184, 150, 62, 0.5);
  font-size: 0.5625rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.knowledge-item p {
  color: rgba(237, 230, 214, 0.5);
  font-size: 0.875rem;
  line-height: 1.625;
  margin-bottom: 1rem;
}
.knowledge-item .related {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(184, 150, 62, 0.1);
}
.knowledge-item .related-label {
  color: rgba(184, 150, 62, 0.4);
  font-size: 0.625rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.knowledge-item .related-text {
  color: rgba(237, 230, 214, 0.4);
  font-size: 0.75rem;
}

/* Category group header */
.category-group-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.category-group-header h2 {
  font-family: 'Playfair Display', 'Noto Serif JP', serif;
  font-size: 1.125rem;
  color: var(--parchment);
}
.category-group-header .line {
  flex: 1;
  height: 1px;
  background: rgba(184, 150, 62, 0.1);
}

/* ========================================
   Profile Page
   ======================================== */
.belief-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(138, 112, 48, 0.15);
  height: 100%;
}
.belief-card .number {
  font-family: 'Cormorant Garamond', serif;
  color: rgba(138, 112, 48, 0.4);
  font-size: 1.875rem;
}
.belief-card h3 {
  font-size: 1rem;
  color: var(--walnut);
  margin-top: 1rem;
  margin-bottom: 0.75rem;
  line-height: 1.375;
}
.belief-card p {
  color: rgba(122, 106, 80, 0.7);
  font-size: 0.875rem;
  line-height: 1.625;
}

/* Timeline */
.timeline-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.timeline-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: rgba(184, 150, 62, 0.4);
  border: 2px solid var(--gold);
  flex-shrink: 0;
}
.timeline-line {
  width: 1px;
  flex: 1;
  background: rgba(184, 150, 62, 0.2);
  margin-top: 0.25rem;
}
.timeline-content { padding-bottom: 2rem; }
.timeline-period {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: 'Cormorant Garamond', serif;
  margin-bottom: 0.25rem;
}
.timeline-desc {
  color: rgba(237, 230, 214, 0.6);
  font-size: 0.875rem;
  line-height: 1.625;
}

/* Media card */
.media-card {
  display: block;
  padding: 1.5rem;
  background: rgba(45, 38, 32, 0.2);
  border: 1px solid rgba(184, 150, 62, 0.1);
  transition: all 0.5s;
  height: 100%;
}
.media-card:hover { border-color: rgba(184, 150, 62, 0.25); }
.media-card .icon {
  color: rgba(184, 150, 62, 0.5);
  margin-bottom: 1rem;
  transition: color 0.3s;
}
.media-card:hover .icon { color: var(--gold); }
.media-card h3 {
  font-family: 'Playfair Display', 'Noto Serif JP', serif;
  font-size: 1rem;
  color: var(--parchment);
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}
.media-card:hover h3 { color: var(--gold); }
.media-card p {
  color: rgba(237, 230, 214, 0.4);
  font-size: 0.875rem;
  line-height: 1.625;
  margin-bottom: 0.75rem;
}
.media-card .link-text {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: rgba(184, 150, 62, 0.5);
  font-size: 0.75rem;
  transition: color 0.3s;
}
.media-card:hover .link-text { color: var(--gold); }

/* ========================================
   Series Page
   ======================================== */
.series-info-box {
  padding: 2rem;
  border: 1px solid rgba(184, 150, 62, 0.15);
  background: rgba(45, 38, 32, 0.2);
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .series-info-box { padding: 2.5rem; }
}
.series-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(184, 150, 62, 0.2);
  color: var(--gold);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.series-subtitle-text {
  font-family: 'Cormorant Garamond', serif;
  color: rgba(184, 150, 62, 0.5);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

/* Future series teaser */
.future-series-card {
  padding: 1.5rem;
  border: 1px solid rgba(184, 150, 62, 0.1);
  background: rgba(45, 38, 32, 0.1);
  opacity: 0.7;
}

/* ========================================
   Animations (CSS-only fade-in on scroll)
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays */
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }
.delay-5 { transition-delay: 0.40s; }
.delay-6 { transition-delay: 0.48s; }
.delay-7 { transition-delay: 0.56s; }

/* ========================================
   SVG Icons (inline)
   ======================================== */
.icon-svg {
  display: inline-block;
  vertical-align: middle;
}

/* ========================================
   Additional Missing Styles
   ======================================== */

/* Media card icon & link (used in profile page) */
.media-card-icon {
  color: rgba(184, 150, 62, 0.6);
  margin-bottom: 1rem;
}
.media-card:hover .media-card-icon { color: var(--gold); }
.media-card-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: rgba(184, 150, 62, 0.6);
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}
.media-card:hover .media-card-link { color: var(--gold); }

/* Desktop link (hidden on mobile, shown on desktop) */
.desktop-link {
  display: none;
}
@media (min-width: 768px) {
  .desktop-link { display: inline; }
}

/* Knowledge item wrapper for JS filtering */
.knowledge-item-wrap {
  break-inside: avoid;
}

/* Spec grid & features */
.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  font-size: 0.875rem;
}
@media (max-width: 480px) {
  .spec-grid { grid-template-columns: 1fr; }
}
.spec-grid .label {
  color: rgba(184, 150, 62, 0.5);
  font-size: 0.75rem;
}
.spec-grid .value {
  color: rgba(237, 230, 214, 0.8);
  margin-top: 0.125rem;
}
.spec-features {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(184, 150, 62, 0.1);
}
.spec-features .label {
  color: rgba(184, 150, 62, 0.5);
  font-size: 0.75rem;
}
.spec-features ul {
  margin-top: 0.5rem;
}
.spec-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: rgba(237, 230, 214, 0.7);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}
.spec-features .dash {
  color: rgba(184, 150, 62, 0.4);
  margin-top: 0.125rem;
}
