/* ==========================================================================
   Design Tokens & Variables
   ========================================================================== */
:root {
  /* Color Palette */
  --primary: #0a3a20;
  --primary-rgb: 10, 58, 32;
  --primary-dark: #052011;
  --primary-light: #165634;
  
  --gold: #d4af37;
  --gold-rgb: 212, 175, 55;
  --gold-light: #f5df93;
  --gold-dark: #aa7c11;
  
  --bg-light: #f6faf6;
  --bg-white: #ffffff;
  --bg-dark: #07180e;
  --bg-card-dark: #0c2517;

  --text-dark: #1b2620;
  --text-light: #ffffff;
  --text-muted: #627269;
  --text-muted-light: #a3b8ac;
  
  --accent-red: #d32f2f;
  
  /* Fonts */
  --font-serif: 'Noto Serif JP', Georgia, serif;
  --font-sans: 'Noto Sans JP', 'Inter', -apple-system, sans-serif;
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease;
  
  /* Layout */
  --container-width: 1200px;
  --header-height: 80px;
  --header-height-shrink: 70px;
  --border-radius: 12px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* Utility Classes */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.text-white { color: var(--text-light); }
.text-gray { color: var(--text-muted-light); }
.bg-dark { background-color: var(--bg-dark); }
.bg-light { background-color: var(--bg-light); }
.gold-text { color: var(--gold); }
.gold-bg { background-color: var(--gold); }
.text-gradient-gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Section Common Styling */
section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.section-header {
  margin-bottom: 60px;
}

.section-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-light);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
}

.title-underline {
  width: 60px;
  height: 3px;
  background-color: var(--primary);
  margin: 20px auto 0;
}

.title-underline.gold-bg {
  background-color: var(--gold);
}

.section-intro-desc {
  max-width: 700px;
  margin: 24px auto 0;
  font-size: 1.05rem;
  color: var(--text-muted);
  text-align: left;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(10, 58, 32, 0.08);
  transition: var(--transition-smooth);
}

.site-header.shrink {
  height: var(--header-height-shrink);
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.header-container {
  max-width: var(--container-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(6px);
}

.logo-wrapper {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.site-header.shrink .logo-wrapper {
  width: 42px;
  height: 42px;
}

.logo-img {
  width: 100%;
  height: 100%;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.logo-subtitle {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* Desktop Menu */
.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition-fast);
}

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

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

.btn-header-contact {
  background-color: var(--primary);
  color: var(--text-light) !important;
  padding: 8px 20px !important;
  border-radius: 50px;
  transition: var(--transition-fast);
  border: 1px solid var(--primary);
}

.btn-header-contact:hover {
  background-color: transparent;
  color: var(--primary) !important;
}

.btn-header-contact::after {
  display: none !important;
}

/* Mobile Menu Button */
.mobile-nav-toggle {
  display: none;
  background: var(--primary);
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: 20px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  z-index: 1001;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(10,58,32,0.15);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.mobile-nav-toggle:active {
  transform: scale(0.95);
}

.mobile-nav-toggle.open {
  background: var(--text-dark);
}

/* Mobile Nav Menu Drawer */
.nav-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background-color: var(--bg-white);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 100px 40px 40px;
  transition: right 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.nav-mobile.open {
  right: 0;
}

.nav-mobile ul {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

.mobile-nav-link {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
  display: block;
  border-bottom: 1px solid rgba(10, 58, 32, 0.08);
  padding-bottom: 10px;
}

.mobile-nav-link:hover {
  padding-left: 8px;
  color: var(--gold-dark);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  background-image: url('../assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 0;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(7, 24, 14, 0.9) 0%, rgba(10, 58, 32, 0.75) 50%, rgba(212, 175, 55, 0.2) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--text-light);
  max-width: 800px;
  padding-top: 60px;
}

.hero-kicker {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.3em;
  margin-bottom: 20px;
  display: block;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.hero-lead {
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.9;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.85);
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-gold, .btn-gold-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-light);
  border: 1px solid var(--primary);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--text-light);
  border-color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--text-light);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  color: var(--bg-dark);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
  filter: brightness(1.05);
}

.btn-gold-large {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  color: var(--bg-dark);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 18px 50px;
  width: 100%;
  max-width: 320px;
  box-shadow: 0 5px 25px rgba(212, 175, 55, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-gold-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(212, 175, 55, 0.6);
  filter: brightness(1.05);
}

.btn-block {
  width: 100%;
}

/* Scroll Arrow */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-left: 2px solid var(--text-light);
  border-bottom: 2px solid var(--text-light);
  transform: rotate(-45deg);
  animation: bounce 2s infinite;
  opacity: 0.7;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) rotate(-45deg);
  }
  40% {
    transform: translateY(-10px) rotate(-45deg);
  }
  60% {
    transform: translateY(-5px) rotate(-45deg);
  }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.about-card {
  background-color: var(--bg-white);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(10, 58, 32, 0.08);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.02);
  transition: var(--transition-smooth);
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(10, 58, 32, 0.06);
  border-color: rgba(10, 58, 32, 0.15);
}

.about-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background-color: rgba(10, 58, 32, 0.05);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition-fast);
}

.about-card-icon svg {
  width: 28px;
  height: 28px;
}

.about-card:hover .about-card-icon {
  background-color: var(--primary);
  color: var(--gold-light);
}

.about-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: var(--primary);
}

.about-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.about-vision {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--text-light);
  border-radius: var(--border-radius);
  padding: 60px;
  position: relative;
  box-shadow: 0 10px 40px rgba(10, 58, 32, 0.2);
}

.about-vision::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.about-vision-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-vision h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: 24px;
  color: var(--gold);
}

.about-vision p {
  font-size: 1.05rem;
  line-height: 1.9;
  opacity: 0.9;
  text-align: left;
}

/* ==========================================================================
   President's Message Section
   ========================================================================== */
.message-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
}

.message-image-container {
  width: 40%;
  flex-shrink: 0;
}

.message-image-frame {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  aspect-ratio: 4 / 5;
}

.message-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  padding: 40px;
  position: relative;
}

.placeholder-svg {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  opacity: 0.5;
  color: var(--gold);
}

.placeholder-text {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gold-light);
}

.message-image-frame::after {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  pointer-events: none;
  border-radius: calc(var(--border-radius) - 4px);
}

.message-content {
  width: 60%;
}

.message-content .section-title {
  margin-bottom: 10px;
}

.message-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.9;
}

.message-text p {
  margin-bottom: 20px;
}

.signature {
  margin-top: 40px;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.signature .title {
  font-size: 0.8rem;
  color: var(--text-muted-light);
  letter-spacing: 0.1em;
}

.signature .name {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--gold-light);
  margin-top: 5px;
  letter-spacing: 0.15em;
}

/* ==========================================================================
   News & Activities Section
   ========================================================================== */
.news-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 45px;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(10, 58, 32, 0.15);
  background-color: var(--bg-white);
  color: var(--primary);
  transition: var(--transition-fast);
}

.filter-btn:hover {
  background-color: rgba(10, 58, 32, 0.05);
}

.filter-btn.active {
  background-color: var(--primary);
  color: var(--text-light);
  border-color: var(--primary);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid rgba(10, 58, 32, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.07);
}

.news-card-img-placeholder {
  height: 200px;
  position: relative;
  overflow: hidden;
}

/* Modern gradient patterns for placeholder images */
.support-img {
  background: linear-gradient(135deg, #1e4620 0%, #3e8e41 100%);
}
.support-img::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
}

.report-img {
  background: linear-gradient(135deg, #0e3020 0%, #aa7c11 100%);
}
.report-img::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.05) 0px, rgba(255, 255, 255, 0.05) 2px, transparent 2px, transparent 10px);
}

.info-img {
  background: linear-gradient(135deg, #0a3a20 0%, #206f44 100%);
}
.info-img::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 80%);
}

.news-category-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  color: var(--text-light);
  letter-spacing: 0.05em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.bg-green { background-color: var(--primary-light); }
.bg-gold { background-color: var(--gold-dark); }
.bg-dark-green { background-color: var(--primary-dark); }
.bg-blue { background-color: #2b6cb0; }

.news-card-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-card-content time {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: block;
}

.news-card-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.45;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-readmore {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.news-readmore .arrow {
  transition: transform var(--transition-fast);
}

.news-readmore:hover {
  color: var(--gold-dark);
}

.news-readmore:hover .arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   Support & Membership Section
   ========================================================================== */
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.support-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  border: 1px solid rgba(10, 58, 32, 0.08);
  padding: 50px 40px;
  position: relative;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.support-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(10, 58, 32, 0.06);
}

.support-card.premium {
  border: 2px solid var(--gold);
}

.support-card.premium::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold-dark));
}

.support-card-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 4px;
  background-color: rgba(10, 58, 32, 0.06);
  color: var(--primary);
  letter-spacing: 0.05em;
}

.support-card-badge.gold-bg {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
}

.support-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: var(--primary);
}

.support-price {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.support-price span {
  font-size: 2.8rem;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.support-card.premium .support-price span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.support-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  margin-top: -8px;
}

.support-features {
  margin: 24px 0 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
}

.support-features li {
  font-size: 0.95rem;
  color: var(--text-dark);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}

.check-icon {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.bank-details-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  border: 1px solid rgba(10, 58, 32, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.bank-details-header {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 16px 24px;
}

.bank-details-header h4 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.bank-details-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bank-item {
  display: flex;
  border-bottom: 1px dashed rgba(10, 58, 32, 0.1);
  padding-bottom: 12px;
}

.bank-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.bank-label {
  width: 140px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  flex-shrink: 0;
}

.bank-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
}

.bank-details-footer {
  background-color: rgba(10, 58, 32, 0.02);
  padding: 16px 24px;
  border-top: 1px solid rgba(10, 58, 32, 0.06);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   History & Timeline Section
   ========================================================================== */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background-color: rgba(10, 58, 32, 0.15);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-item.left {
  left: 0;
}

.timeline-item.right {
  left: 50%;
}

.timeline-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  right: -8px;
  background-color: var(--bg-white);
  border: 4px solid var(--primary);
  border-radius: 50%;
  top: 30px;
  z-index: 1;
  transition: var(--transition-fast);
}

.timeline-item.right .timeline-dot {
  left: -8px;
}

.timeline-item:hover .timeline-dot {
  background-color: var(--gold);
  border-color: var(--primary-light);
  transform: scale(1.2);
}

.timeline-date {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 8px;
}

.timeline-content {
  padding: 30px;
  background-color: var(--bg-white);
  position: relative;
  border-radius: var(--border-radius);
  border: 1px solid rgba(10, 58, 32, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: var(--transition-smooth);
}

.timeline-content:hover {
  box-shadow: 0 10px 30px rgba(10, 58, 32, 0.05);
  border-color: rgba(10, 58, 32, 0.12);
}

.timeline-content h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Contact Form Section
   ========================================================================== */
.contact-form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--bg-card-dark);
  border-radius: var(--border-radius);
  padding: 60px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(212, 175, 55, 0.1);
  position: relative;
}

.contact-form {
  transition: opacity 0.3s ease;
}

.contact-form.hidden {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 24px;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.form-group label .required {
  background-color: var(--accent-red);
  color: var(--text-light);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 14px 16px;
  color: var(--text-light);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
}

/* Custom styling for select option text */
.form-group select option {
  background-color: var(--bg-card-dark);
  color: var(--text-light);
}

.form-group select option:disabled {
  color: var(--text-muted-light);
}

.form-group textarea {
  resize: vertical;
}

/* Error styling */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: var(--accent-red);
  background-color: rgba(211, 47, 47, 0.04);
}

.error-message {
  color: var(--accent-red);
  font-size: 0.75rem;
  margin-top: 6px;
  display: none;
}

.form-group.error .error-message {
  display: block;
}

/* Submit Area with Spinner */
.form-submit {
  margin-top: 40px;
}

.spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-top-color: var(--bg-dark);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 10px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

@keyframes spin {
  to { transform: translateY(-50%) rotate(360deg); }
}

.btn-gold-large.loading .btn-text {
  visibility: hidden;
}

.btn-gold-large.loading .spinner {
  display: inline-block;
  left: calc(50% - 10px);
}

/* Success Panel */
.contact-success-panel {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.contact-success-panel.visible {
  display: block;
  animation: fadeIn 0.5s ease forwards;
}

.success-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(212, 175, 55, 0.1);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

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

.contact-success-panel h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.contact-success-panel p {
  color: var(--text-muted-light);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.contact-success-panel button {
  background-color: transparent;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.contact-success-panel button:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--text-light);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand {
  max-width: 400px;
  margin-top: 15px;
}

.footer-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.footer-logo {
  width: 48px;
  height: 48px;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-muted-light);
  line-height: 1.7;
}

.footer-links-group {
  display: flex;
  gap: 60px;
}

.footer-links-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  color: var(--gold);
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-col a {
  font-size: 0.85rem;
  color: var(--text-muted-light);
}

.footer-links-col a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 40px;
  font-size: 0.8rem;
  color: var(--text-muted-light);
}

.footer-legal a {
  color: var(--text-muted-light);
}

.footer-legal a:hover {
  color: var(--gold-light);
}

/* ==========================================================================
   Animations & Transitions (Scroll Reveal)
   ========================================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.fade-in.delay-1 { animation-delay: 0.2s; }
.fade-in.delay-2 { animation-delay: 0.4s; }
.fade-in.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Reveal styles triggered by JS */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .message-wrapper {
    flex-direction: column;
    gap: 40px;
  }
  
  .message-image-container, .message-content {
    width: 100%;
  }
  
  .message-image-container {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  :root {
    --header-height: 70px;
  }

  .pc-only {
    display: none !important;
  }
  
  .nav-desktop {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: flex;
  }
}

@media (min-width: 992px) {
  .nav-mobile {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.8rem;
  }
  
  .hero-section {
    min-height: 600px;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-lead {
    font-size: 1rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .about-vision {
    padding: 30px;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .support-grid {
    grid-template-columns: 1fr;
  }
  
  .support-card {
    padding: 35px 24px;
  }
  
  .timeline::after {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 0;
  }
  
  .timeline-item.right {
    left: 0;
  }
  
  .timeline-dot {
    left: 23px !important;
    right: auto !important;
  }
  
  .timeline-item.left .timeline-dot {
    left: 23px;
  }
  
  .contact-form-container {
    padding: 30px 20px;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 40px;
  }
  
  .footer-links-group {
    flex-direction: column;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* ==========================================================================
   Skeleton Loading Animation & Styles
   ========================================================================== */
@keyframes skeleton-loading {
  0% { background-position: 150% 50%; }
  100% { background-position: -50% 50%; }
}

.news-skeleton, .article-detail-skeleton {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  border: 1px solid rgba(10, 58, 32, 0.06);
  padding: 24px;
}

.news-skeleton {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.skeleton-img, .skeleton-date, .skeleton-title, .skeleton-desc, .skeleton-line, .skeleton-box {
  background: linear-gradient(90deg, rgba(10, 58, 32, 0.04) 25%, rgba(10, 58, 32, 0.08) 50%, rgba(10, 58, 32, 0.04) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 4px;
}

.skeleton-img {
  height: 180px;
  width: 100%;
  border-radius: 8px;
}

.skeleton-date {
  height: 12px;
  width: 30%;
  margin-top: 10px;
}

.skeleton-title {
  height: 20px;
  width: 90%;
  margin-top: 10px;
}

.skeleton-desc {
  height: 50px;
  width: 100%;
  margin-top: 10px;
}

.skeleton-line {
  height: 16px;
  margin-bottom: 12px;
}

.skeleton-line.category { width: 100px; height: 24px; }
.skeleton-line.title-large { width: 100%; height: 36px; margin: 16px 0; }
.skeleton-line.date { width: 120px; height: 16px; margin-bottom: 40px; }
.skeleton-box.banner { height: 350px; width: 100%; margin-bottom: 40px; }
.skeleton-line.body-text { width: 100%; height: 16px; }

/* ==========================================================================
   Article Detail Page
   ========================================================================== */
.article-full {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  border: 1px solid rgba(10, 58, 32, 0.06);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
  padding: 50px 40px;
}

.article-header {
  border-bottom: 1px solid rgba(10, 58, 32, 0.08);
  padding-bottom: 24px;
  margin-bottom: 35px;
}

.article-category {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 4px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.article-title-text {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--primary);
  line-height: 1.35;
  margin-bottom: 16px;
}

.article-meta-info {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-body-content {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-dark);
  word-break: break-all;
  overflow-wrap: break-word;
}

.article-body-content p {
  margin-bottom: 24px;
  white-space: pre-wrap; /* Preserve line breaks */
}

.article-body-content h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--primary);
  margin-top: 40px;
  margin-bottom: 16px;
  border-left: 4px solid var(--gold);
  padding-left: 12px;
}

.article-body-content ul, .article-body-content ol {
  margin-bottom: 24px;
  padding-left: 20px;
}

.article-body-content li {
  list-style: disc;
  margin-bottom: 8px;
}

.article-body-content blockquote {
  border-left: 4px solid var(--primary-light);
  background-color: rgba(10, 58, 32, 0.02);
  padding: 20px;
  margin: 30px 0;
  font-style: italic;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .article-full {
    padding: 30px 20px;
  }
  .article-title-text {
    font-size: 1.6rem;
  }
}

.article-banner {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.article-banner img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .article-banner {
    margin-bottom: 24px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .article-title-text {
    font-size: 1.4rem;
  }
  .article-full {
    padding: 24px 16px;
  }
  .about-vision {
    padding: 24px 16px;
  }
  .container {
    padding: 0 16px;
  }
  .about-card {
    padding: 24px 16px;
  }
  .support-card {
    padding: 24px 16px;
  }
  .contact-form-container {
    padding: 24px 16px;
  }
}

/* History Tag Badges */
.history-tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 20px;
  margin-bottom: 8px;
}

.history-tag.tag-club {
  background-color: rgba(10, 58, 32, 0.06);
  color: var(--primary);
  border: 1px solid rgba(10, 58, 32, 0.15);
}

.history-tag.tag-ob {
  background-color: rgba(212, 175, 55, 0.06);
  color: var(--gold-dark);
  border: 1px solid rgba(212, 175, 55, 0.15);
}

/* History Origin Box styling */
.history-origin-box {
  margin-top: 50px;
  background-color: rgba(212, 175, 55, 0.05);
  border-left: 4px solid var(--gold);
  padding: 30px;
  border-radius: 8px;
}

/* About Us Page Custom Grid */
.about-spirit-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 70px;
  background: var(--bg-white);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid rgba(10, 58, 32, 0.06);
  box-shadow: 0 5px 25px rgba(0,0,0,0.01);
}

.about-spirit-image-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border: 3px solid rgba(212,175,55,0.2);
  height: 300px;
}

.about-spirit-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.1);
}

@media (max-width: 768px) {
  .about-spirit-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px 20px;
  }
  
  .about-spirit-image-wrapper {
    height: 240px;
    order: -1; /* Place image on top on mobile! */
  }
}

/* Hero Custom Left Alignment Container */
.hero-container-custom {
  margin-left: 6% !important;
  margin-right: auto !important;
  padding-left: 0 !important;
}

@media (max-width: 1200px) {
  .hero-container-custom {
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
  }
}

/* Contact Page Responsive Card & Email Link Styles */
.contact-card {
  padding: 60px 40px;
  max-width: 650px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-white);
  border-radius: 12px;
  border: 1px solid rgba(10, 58, 32, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

@media (max-width: 768px) {
  .contact-card {
    padding: 40px 24px;
  }
}

@media (max-width: 480px) {
  .contact-card {
    padding: 30px 16px;
  }
  .contact-email-link {
    font-size: clamp(0.68rem, 4.3vw, 1.1rem) !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }
  .contact-guide-box {
    padding: 15px 12px !important;
    margin-bottom: 20px !important;
  }
  .contact-guide-box h4 {
    font-size: 0.85rem !important;
    margin-bottom: 8px !important;
  }
  .contact-guide-box p {
    font-size: clamp(0.72rem, 3.5vw, 0.8rem) !important;
    line-height: 1.5 !important;
  }
  .contact-guide-box p span {
    font-size: 0.7rem !important;
    margin-top: 6px !important;
  }
}

/* Additional Responsive Layout Overrides */
@media (max-width: 1024px) {
  .about-card h3 {
    font-size: 1.12rem !important;
  }
}

@media (max-width: 768px) {
  .section-intro-desc {
    text-align: left !important;
    padding: 0 16px !important;
    margin: 20px auto 0 !important;
  }
}

/* ===================================
   OBOG Profile Card — Responsive
   =================================== */
.obog-profile-card {
  padding: 50px !important;
}

/* Tighten vertical rhythm inside profile cards */
.obog-profile-card header {
  margin-bottom: 20px !important;
}
.obog-profile-card > p {
  margin-bottom: 20px !important;
  line-height: 1.75 !important;
}
.obog-profile-card section {
  margin-bottom: 24px !important;
}
.obog-profile-card section p {
  line-height: 1.7 !important;
  margin-bottom: 10px !important;
}
.obog-profile-card footer {
  padding: 16px 20px !important;
}
.obog-profile-card footer p:last-child {
  line-height: 1.7 !important;
}

/* Tablet (≤768px) */
@media (max-width: 768px) {
  .obog-profile-card {
    padding: 28px 20px !important;
    margin-bottom: 30px !important;
  }
  .obog-profile-card header {
    margin-bottom: 16px !important;
  }
  .obog-profile-card section {
    margin-bottom: 20px !important;
  }
  /* Stats grid → 2 cols still OK at tablet, shrink padding */
  .obog-stats-grid {
    gap: 10px !important;
  }
  .obog-stats-grid > div {
    padding: 12px 8px !important;
  }
  .obog-stats-grid p:first-child {
    font-size: 1.5rem !important;
  }
}

/* Mobile (≤480px) */
@media (max-width: 480px) {
  .obog-profile-card {
    padding: 20px 14px !important;
    border-radius: 10px !important;
  }
  /* Stats grid → stack vertically */
  .obog-stats-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  /* Section headings — smaller icon, tighter */
  .obog-profile-card h3 {
    font-size: 1.05rem !important;
    gap: 8px !important;
  }
  .obog-profile-card h3 > span:first-child {
    width: 26px !important;
    height: 26px !important;
  }
  /* Quote / highlight blocks */
  .obog-profile-card [style*="border-left"] {
    padding: 12px 14px !important;
  }
  .obog-profile-card [style*="border-radius: 12px"] {
    padding: 16px !important;
  }
}

/* ===================================
   about-history-card — Responsive
   =================================== */
@media (max-width: 768px) {
  .about-card.about-history-card {
    padding: 28px 20px !important;
    margin-top: 30px !important;
    margin-bottom: 20px !important;
  }
}
@media (max-width: 480px) {
  .about-card.about-history-card {
    padding: 20px 14px !important;
    border-radius: 10px !important;
  }
}

/* ===================================
   obog-profile-card — Accordion
   =================================== */
.obog-profile-card details {
  width: 100%;
}
.obog-profile-card summary {
  list-style: none; /* Hide default marker */
  cursor: pointer;
  position: relative;
  outline: none;
}
.obog-profile-card summary::-webkit-details-marker {
  display: none; /* Hide default marker in Safari */
}
.obog-profile-card summary::after {
  content: '＋ 詳細を展開する';
  display: inline-block;
  margin-top: 15px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(10,58,32,0.05);
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
}
.obog-profile-card details[open] summary::after {
  content: '− 詳細を閉じる';
  background: rgba(10,58,32,0.1);
}
.obog-profile-card summary:hover::after {
  background: rgba(10,58,32,0.1);
}
.obog-accordion-content {
  margin-top: 30px;
  animation: fadeInDown 0.4s ease-out;
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.obog-profiles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 50px auto;
  align-items: stretch;
}

@media (max-width: 900px) {
  .obog-profiles-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ==========================================================================
   About Page Redesign Styles (Zigzag, Animations)
   ========================================================================== */

/* Fade-up Animation Classes */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* History Zigzag Section */
.history-zigzag-section {
  max-width: 1100px;
  margin: 0 auto 100px;
}

.history-zigzag-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
}

.history-zigzag-row:nth-child(even) {
  flex-direction: row-reverse;
}

.history-zigzag-image {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  position: relative;
}

.history-zigzag-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.history-zigzag-image:hover img {
  transform: scale(1.05);
}

.history-zigzag-content {
  flex: 1;
}

/* Hero Section Enhancements */
.about-hero-refined {
  position: relative;
  background-image: linear-gradient(rgba(10, 58, 32, 0.7), rgba(10, 58, 32, 0.9)), url('../assets/images/about-hero-bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 160px 20px;
  color: var(--text-light);
  text-align: center;
  border-radius: 0 0 60px 60px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  margin-bottom: 80px;
  overflow: hidden;
}

.about-hero-content {
  position: relative;
  z-index: 1;
}

/* Our Spirit Split Layout */
.spirit-split-container {
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto 80px;
  padding: 0 20px;
}

.spirit-content {
  flex: 1;
}

.spirit-image {
  flex: 1;
  position: relative;
}

.spirit-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(10, 58, 32, 0.15);
}

.spirit-image::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--gold);
  border-radius: 20px;
  z-index: -1;
}

@media (max-width: 900px) {
  .history-zigzag-row,
  .history-zigzag-row:nth-child(even),
  .spirit-split-container {
    flex-direction: column;
    gap: 40px;
  }
  
  .spirit-image::before {
    display: none;
  }
}

/* Utilities */
.sp-only-br {
  display: none;
}

@media (max-width: 900px) {
  .pc-only-br {
    display: none !important;
  }
  .sp-only-br {
    display: block;
  }
}


/* History Grid Layout */
.history-grid-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 50px;
}
.history-grid-row {
  display: grid;
  gap: 30px;
}
.history-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.history-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}
@media (max-width: 900px) {
  .history-grid-3, .history-grid-2 {
    grid-template-columns: 1fr;
  }
  .history-grid-2 {
    max-width: none !important;
    margin: 0 !important;
    width: 100% !important;
  }
}

/* History Card */
.history-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  aspect-ratio: 4 / 5;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
  background: var(--primary); /* Fallback */
}
.history-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.history-card-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
  z-index: 1;
}
.history-card:hover .history-card-bg {
  transform: scale(1.05);
}
.history-card-overlay {
  position: relative;
  z-index: 2;
  background: linear-gradient(to top, rgba(10,58,32,0.95) 0%, rgba(10,58,32,0.4) 60%, transparent 100%);
  padding: 30px 20px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.history-card-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.15em;
  margin-bottom: 10px;
  display: block;
}
.history-card-title {
  font-family: var(--font-serif);
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  color: #fff;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 15px;
}
.history-card-readmore {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  opacity: 0.8;
  transition: opacity 0.3s, gap 0.3s;
}
.history-card:hover .history-card-readmore {
  opacity: 1;
  gap: 10px;
}

/* History Modal */
.history-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
}
.history-modal.active {
  opacity: 1;
  visibility: visible;
}
.history-modal-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10, 58, 32, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.history-modal-content {
  position: relative;
  z-index: 2;
  background: #fff;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.history-modal.active .history-modal-content {
  transform: translateY(0) scale(1);
}
.history-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  font-size: 24px;
  line-height: 40px;
  text-align: center;
  color: var(--primary);
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: background 0.3s;
}
.history-modal-close:hover {
  background: var(--gold);
  color: #fff;
}
.history-modal-body-inner {
  overflow-y: auto;
  padding: 0;
}
.modal-feature-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}
.modal-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 0.15em;
  margin: 40px 50px 10px;
  padding: 4px 12px;
  border: 1px solid var(--gold);
  border-radius: 20px;
}
.modal-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.4;
  margin: 0 50px 25px;
}
.modal-body-text {
  padding: 0 50px 50px;
}
@media (max-width: 768px) {
  .modal-feature-img { height: 200px; }
  .modal-label { margin: 25px 25px 10px; }
  .modal-title { margin: 0 25px 20px; }
  .modal-body-text { padding: 0 25px 30px; }
}
