/* ===== Bhanjyang Cooperative – Butter-smooth, ultra-responsive ===== */
:root {
  /* Brand colors - Refined for Premium Feel */
  --color-bhanjyangred: #C62828;
  /* Deeper crimson */
  --color-deuraligreen: #1B5E20;
  /* Richer forest green */

  /* Palette: Warm Ivory, Deep Forest, Burnished Gold */
  --bg: #F9F8F4;
  /* Warmer, cleaner off-white */
  --bg-elevated: #FFFFFF;
  --bg-subtle: #F0EFE9;

  --text: #1C1F1E;
  --text-muted: #545E56;
  --text-light: #78857C;

  --accent: var(--color-deuraligreen);
  --accent-light: #2E7D32;
  /* Slightly lighter for hover */
  --accent-warm: #Bfa15F;
  /* Muted metallic gold */
  --accent-warm-light: #D4B675;
  --accent-red: var(--color-bhanjyangred);

  --border: rgba(28, 31, 30, 0.08);
  --border-light: rgba(28, 31, 30, 0.04);

  /* Modern, diffused shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.08);
  --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.02);

  --font-heading: 'Outfit', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 5rem;
  /* Increased for breathing room */
  --space-4xl: 8rem;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.8s;

  --header-h: 80px;
  /* Slightly taller */
  --top-header-h: 44px;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --duration-fast: 0.01ms;
    --duration-normal: 0.01ms;
    --duration-slow: 0.01ms;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw + 0.9rem, 1.125rem);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-in-out);
}

a:hover {
  color: var(--accent-light);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-md);
  z-index: 1000;
  padding: var(--space-sm) var(--space-md);
  background: var(--accent);
  color: var(--bg-elevated);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top var(--duration-normal) var(--ease-out-quart);
}

.skip-link:focus {
  top: var(--space-md);
}

/* ===== Top header bar ===== */
#top-bar {
  transition: transform 0.3s ease;
}

#top-bar.is-hidden {
  transform: translateY(-100%);
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: var(--top-header-h);
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(248, 246, 242, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background var(--duration-normal) var(--ease-in-out),
    box-shadow var(--duration-normal) var(--ease-in-out),
    top 0.3s ease;
}

.site-header.top-bar-hidden {
  top: 0;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow);
}

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

.header-brand-slot {
  min-width: 0;
  flex: 1;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  text-decoration: none;
  transition: transform var(--duration-fast) var(--ease-out-quart), opacity var(--duration-fast) var(--ease-in-out);
}

.logo:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.logo-img {
  display: block;
  height: 55px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.logo-text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-name {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  letter-spacing: 0.150em;
  /* Stretches BHANJYANG to perfectly match */
  margin-right: -0.150em;
  /* Prevents trailing space from shifting alignment */
  transition: color var(--duration-fast) var(--ease-in-out);
}

.logo:hover .logo-name {
  color: var(--accent-light);
}

.logo-subtitle {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--color-deuraligreen);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
  line-height: 1.2;
}

/* Nav toggle (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background var(--duration-fast) var(--ease-in-out);
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle:hover {
  background: var(--border);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform var(--duration-normal) var(--ease-out-expo),
    opacity var(--duration-normal) var(--ease-in-out);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Nav */
.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-list a {
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: var(--space-xs) 0;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--duration-normal) var(--ease-out-quart);
}

.nav-list a:hover::after,
.nav-list a:focus-visible::after {
  width: 100%;
}

/* Desktop: show inline nav, hide mobile drawer */
.nav-mobile {
  display: none;
}

.nav-overlay {
  display: none;
}

.nav-drawer-header,
.nav-drawer-footer {
  display: none;
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Backdrop overlay */
  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
  }

  .nav-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
  }

  /* Slide-in drawer */
  .nav-mobile {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    max-width: 85vw;
    background: #FFFFFF;
    z-index: 201;
    padding: 0;
    transform: translateX(100%);
    visibility: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 0.35s;
  }

  .nav-mobile.is-open {
    transform: translateX(0);
    visibility: visible;
    transition-delay: 0s;
  }

  /* Drawer header with close button */
  .nav-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-drawer-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text);
  }

  .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--bg-subtle, #f5f5f5);
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 1.125rem;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-close:hover {
    background: var(--border);
    color: var(--text);
  }

  /* Nav items */
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0;
    font-size: 1rem;
  }

  .nav-list>li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-list>li:last-child {
    border-bottom: none;
  }

  .nav-list>li>a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    color: var(--text);
    font-weight: 500;
    font-size: 1rem;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .nav-list>li>a:hover,
  .nav-list>li>a:focus {
    background: rgba(27, 94, 32, 0.04);
    color: var(--accent);
  }

  .nav-list a::after {
    display: none;
  }

  .nav-list>li>a>i:first-child {
    display: inline-flex;
    width: 1.25rem;
    justify-content: center;
    color: var(--accent);
    font-size: 1rem;
  }

  /* Mobile dropdown accordion — only the chevron gets margin-left:auto, not the lead icon */
  .nav-item-dropdown>a {
    justify-content: flex-start;
  }

  .nav-item-dropdown>a>i:last-child {
    margin-left: auto;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    font-size: 0.75rem;
  }

  .nav-item-dropdown.is-open>a>i:last-child {
    transform: rotate(180deg);
  }

  .nav-item-dropdown.is-open>a {
    color: var(--accent);
    background: rgba(27, 94, 32, 0.04);
  }

  /* Drawer footer with contact info */
  .nav-drawer-footer {
    display: block;
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--border);
    margin-top: auto;
  }

  .nav-drawer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
  }

  .nav-drawer-contact a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    text-decoration: none;
  }

  .nav-drawer-contact a:hover {
    color: var(--accent);
  }

  .nav-drawer-contact i {
    width: 1rem;
    text-align: center;
    color: var(--accent);
    font-size: 0.875rem;
  }

  .nav-drawer-legal {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    font-size: 0.75rem;
  }

  .nav-drawer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s;
  }

  .nav-drawer-legal a:hover {
    opacity: 1;
    color: var(--accent);
  }

  .nav-drawer-legal span {
    color: var(--text-muted);
    opacity: 0.4;
  }
}

/* Dropdown Menu (desktop only) */
.nav-desktop .nav-item-dropdown {
  position: relative;
}

.nav-desktop .nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--bg-elevated);
  min-width: 200px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
  padding: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-out-expo);
  border: 1px solid var(--border);
  z-index: 1000;
}

.nav-desktop .nav-item-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown li {
  list-style: none;
}

.nav-desktop .nav-dropdown a {
  display: block;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: all var(--duration-fast);
}

.nav-desktop .nav-dropdown a:hover {
  background: rgba(27, 94, 32, 0.05);
  color: var(--accent);
  padding-left: var(--space-lg);
}

@media (max-width: 768px) {
  .nav-mobile .nav-dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    min-width: 0;
    width: 100%;
    opacity: 1;
    visibility: visible;
    display: none;
    flex-direction: column;
    background: rgba(27, 94, 32, 0.03);
    z-index: auto;
    transition: none;
  }

  .nav-mobile .nav-item-dropdown.is-open .nav-dropdown {
    display: flex;
  }

  .nav-mobile .nav-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1.5rem 0.75rem 3.5rem;
    font-size: 0.9375rem;
    border-radius: 0;
  }

  .nav-mobile .nav-dropdown a>i:first-child {
    width: 1rem;
    text-align: center;
    color: var(--accent);
    font-size: 0.875rem;
    flex-shrink: 0;
  }

  .nav-mobile .nav-dropdown a:hover {
    padding-left: 3.75rem;
    background: rgba(27, 94, 32, 0.06);
  }
}

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

@media (min-width: 380px) {
  .container {
    padding: 0 var(--space-lg);
  }
}

@media (min-width: 640px) {
  .container {
    padding: 0 var(--space-xl);
  }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-xl);
  min-height: 56px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out-quart);
  position: relative;
  overflow: hidden;
  z-index: 1;
  -webkit-tap-highlight-color: transparent;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.btn:active {
  transform: scale(0.96);
}

/* Glow effect helper (Gloss) */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity var(--duration-fast);
  z-index: -1;
  border-radius: inherit;
}

.btn:hover::before {
  opacity: 1;
}

/* Primary Button - Using ::after for background to ensure text sits on top */
.btn-primary {
  background: transparent;
  /* Move bg to ::after */
  color: var(--bg-elevated);
  box-shadow: 0 4px 14px rgba(27, 94, 32, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  z-index: 1;
  /* Establish stacking context */
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  z-index: -2;
  /* Behind gloss (::before is -1) */
  border-radius: inherit;
  transition: all var(--duration-normal) var(--ease-out-quart);
}

.btn-primary:hover {
  box-shadow: 0 12px 32px rgba(27, 94, 32, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  transform: translateY(-2px);
  color: var(--bg-elevated);
  /* Ensure text color stays white */
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--accent);
  border: 1px solid var(--accent);
  z-index: 1;
}

.btn-secondary:hover {
  background: var(--accent);
  color: var(--bg-elevated);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(27, 94, 32, 0.15);
  transform: translateY(-2px);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--top-header-h) + var(--header-h) + var(--space-xl)) var(--space-md) var(--space-3xl);
  overflow: hidden;
}

.hero-subpage {
  padding-top: 180px !important;
  padding-bottom: 80px !important;
  min-height: auto !important;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-color: var(--bg);
  /* Complex, subtle gradient mesh */
  background-image:
    radial-gradient(at 0% 0%, rgba(27, 94, 32, 0.08) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(191, 161, 95, 0.12) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(198, 40, 40, 0.05) 0px, transparent 50%),
    radial-gradient(at 0% 100%, white 0px, transparent 50%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  width: 100%;
}

.hero-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: var(--space-lg);
  padding: var(--space-xs) var(--space-md);
  background: rgba(27, 94, 32, 0.06);
  border-radius: var(--radius-full);
  opacity: 0;
  transform: translateY(20px);
  animation: revealUp 0.8s var(--ease-out-expo) 0.2s forwards;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw + 1rem, 5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: var(--space-lg);
}

.hero-title-line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: revealUp 1s var(--ease-out-expo) forwards;
}

.hero-title-line:nth-child(1) {
  animation-delay: 0.3s;
}

.hero-title-line:nth-child(2) {
  animation-delay: 0.45s;
}

.title-accent-words .accent-green {
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.title-accent-words .accent-red {
  color: var(--accent-red);
  position: relative;
  display: inline-block;
}

.title-accent-words .accent-gold {
  color: var(--accent-warm);
  position: relative;
  display: inline-block;
}

/* Subtle underline decoration for accents */
/* Underline removed as per user request */
.title-accent-words span::after {
  content: none;
}

.hero-desc {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.6;
  opacity: 0;
  transform: translateY(20px);
  animation: revealUp 0.8s var(--ease-out-expo) 0.6s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  animation: revealUp 0.8s var(--ease-out-expo) 0.8s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  opacity: 0;
  animation: revealUp 0.8s var(--ease-out-expo) 1.2s forwards;
}

.hero-scroll-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-scroll-line {
  width: 2px;
  height: 60px;
  background: linear-gradient(to bottom, var(--border) 0%, var(--accent) 100%);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--accent);
  animation: scrollDrop 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

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

@keyframes scrollDrop {
  0% {
    transform: translateY(-100%);
  }

  50% {
    transform: translateY(100%);
  }

  100% {
    transform: translateY(100%);
  }
}

/* ===== Sections ===== */
.section {
  padding: var(--space-3xl) 0;
}

@media (min-width: 640px) {
  .section {
    padding: var(--space-4xl) 0;
  }
}

.section-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw + 1rem, 2.5rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: var(--space-lg);
}

.section-text {
  color: var(--text-muted);
  max-width: 52ch;
  margin-bottom: var(--space-xl);
}

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto var(--space-3xl);
}

.section-header .section-title {
  margin-bottom: 0;
}

/* Word accent colors (professional highlight) */
.title-accent-words .accent-green {
  color: var(--accent);
  font-weight: 700;
}

.title-accent-words .accent-red {
  color: var(--accent-red);
  font-weight: 700;
}

.title-accent-words .accent-gold {
  color: var(--accent-warm);
  font-weight: 700;
}

/* Reveal (scroll animation) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out-expo),
    transform 0.7s var(--ease-out-expo);
}

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

/* ===== About ===== */
.section-grid {
  display: grid;
  gap: var(--space-3xl);
  align-items: center;
}

@media (min-width: 900px) {
  .section-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
  }
}

.about-stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.about-stat {
  display: flex;
  flex-direction: column;
}

.about-stat-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1;
  color: var(--accent);
}

.about-stat-suffix {
  font-size: 0.6em;
  vertical-align: super;
}

.about-stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

/* Glassmorphism Card Style */
.about-card {
  background: linear-gradient(135deg, rgba(27, 94, 32, 0.95), rgba(46, 125, 50, 0.9));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-hover);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform var(--duration-slow) var(--ease-out-quart),
    box-shadow var(--duration-slow) var(--ease-in-out);
  position: relative;
  overflow: hidden;
}

/* Subtle gloss reflection */
.about-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.08), transparent);
  pointer-events: none;
}

.about-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 30px 60px rgba(27, 94, 32, 0.3);
}

.about-card-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2vw + 1rem, 1.5rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--bg-elevated);
}

/* ===== Services ===== */
.services {
  background: var(--bg-elevated);
}

.services-grid {
  list-style: none;
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  position: relative;
}

.service-card-inner {
  height: 100%;
  padding: var(--space-2xl);
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform var(--duration-normal) var(--ease-out-quart),
    box-shadow var(--duration-normal) var(--ease-in-out),
    border-color var(--duration-fast) var(--ease-in-out);
}

.service-card-inner:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(45, 90, 71, 0.2);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--bg-elevated);
  border-radius: var(--radius-md);
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
}

.service-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  color: var(--text);
}

.service-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ===== Home app – Quick actions ===== */
.home-actions-grid {
  list-style: none;
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

@media (min-width: 380px) {
  .home-actions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
}

@media (min-width: 640px) {
  .home-actions-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.home-action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  min-height: 140px;
  justify-content: center;
  background: rgba(255, 255, 255, 0.7);
  /* translucent */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  transition: all var(--duration-normal) var(--ease-out-quart);
  -webkit-tap-highlight-color: transparent;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 380px) {
  .home-action-card {
    padding: var(--space-2xl) var(--space-lg);
    min-height: auto;
  }
}

.home-action-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(27, 94, 32, 0.2);
  background: var(--bg-elevated);
}

.home-action-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.home-action-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--bg-elevated);
  border-radius: var(--radius-md);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.home-action-icon .fa-solid,
.home-action-icon .fa {
  font-size: 1.5rem;
}

.home-action-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
  color: var(--text);
}

.home-action-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ===== Stats bar ===== */
.stats-bar {
  background: var(--text);
  color: var(--bg);
  padding: var(--space-2xl) 0;
}

.stats-bar-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  text-align: center;
}

@media (min-width: 640px) {
  .stats-bar-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stats-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.stats-bar-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
  color: var(--accent-warm-light);
}

.stats-bar-suffix {
  font-size: 0.6em;
  vertical-align: super;
  color: var(--accent-warm-light);
}

.stats-bar-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

/* ===== Why us (pillars) ===== */
.why-us {
  background: var(--bg-elevated);
}

.why-us-grid {
  list-style: none;
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .why-us-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.why-us-card {
  padding: var(--space-2xl);
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform var(--duration-normal) var(--ease-out-quart),
    box-shadow var(--duration-normal) var(--ease-in-out),
    border-color var(--duration-fast);
}

.why-us-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(45, 90, 71, 0.2);
}

.why-us-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--bg-elevated);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}

.why-us-icon .fa-solid,
.why-us-icon .fa {
  font-size: 1.35rem;
}

.why-us-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  color: var(--text);
}

.why-us-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ===== Testimonial ===== */
.testimonial {
  padding: var(--space-3xl) 0;
}

.testimonial-block {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
  background: linear-gradient(145deg, var(--accent), var(--accent-light));
  border-radius: var(--radius-lg);
  color: var(--bg-elevated);
  border: none;
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.5vw + 1rem, 1.75rem);
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: var(--space-md);
}

.testimonial-footer {
  font-size: 0.9375rem;
  opacity: 0.9;
}

/* ===== CTA section ===== */
.cta-section {
  background: var(--bg-elevated);
}

.cta-section-inner {
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
}

.cta-section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw + 1rem, 2rem);
  margin-bottom: var(--space-sm);
  color: var(--text);
}

.cta-section-text {
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
}

.btn-lg {
  padding: var(--space-md) var(--space-2xl);
  font-size: 1.0625rem;
}

/* ===== Membership ===== */
.membership-wrap {
  display: grid;
  gap: var(--space-3xl);
}

@media (min-width: 768px) {
  .membership-wrap {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.membership-steps {
  list-style: none;
  margin-bottom: var(--space-xl);
}

.membership-step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: color var(--duration-fast) var(--ease-in-out);
}

.membership-step:last-child {
  border-bottom: none;
}

.step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--bg-elevated);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
}

.cta-box {
  padding: var(--space-2xl);
  background: linear-gradient(145deg, var(--accent), var(--accent-light));
  border-radius: var(--radius-lg);
  color: var(--bg-elevated);
}

.cta-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.cta-text {
  font-size: 0.9375rem;
  opacity: 0.95;
}

/* ===== Values ===== */
.values {
  background: var(--bg-elevated);
}

.values-grid {
  list-style: none;
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card-inner {
  height: 100%;
  padding: var(--space-2xl);
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform var(--duration-normal) var(--ease-out-quart),
    box-shadow var(--duration-normal) var(--ease-in-out),
    border-color var(--duration-fast) var(--ease-in-out);
}

.value-card-inner:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(45, 90, 71, 0.15);
}

.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(45, 90, 71, 0.12);
  color: var(--accent);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: var(--space-lg);
}

.value-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
  color: var(--text);
}

.value-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ===== News ===== */
.news-list {
  list-style: none;
  display: grid;
  gap: var(--space-lg);
  max-width: 720px;
  margin: 0 auto;
}

.news-card {
  padding: var(--space-xl);
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: transform var(--duration-fast) var(--ease-out-quart),
    box-shadow var(--duration-normal) var(--ease-in-out);
}

.news-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.news-date {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.news-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.news-title a {
  color: var(--text);
}

.news-title a:hover {
  color: var(--accent);
}

.news-excerpt {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ===== FAQ ===== */
.faq {
  background: var(--bg-elevated);
}

.faq-list {
  max-width: 640px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  transition: background var(--duration-fast) var(--ease-in-out);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: var(--space-lg) 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  color: var(--text);
  transition: color var(--duration-fast) var(--ease-in-out);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform var(--duration-normal) var(--ease-out-quart);
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-answer {
  padding: 0 0 var(--space-lg);
}

.faq-answer p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ===== Contact ===== */
.contact {
  background: var(--bg-elevated);
}

.contact-grid {
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-block {
  padding: var(--space-xl);
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: transform var(--duration-fast) var(--ease-out-quart),
    box-shadow var(--duration-normal) var(--ease-in-out);
}

.contact-block:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.contact-block-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.contact-address,
.contact-block p {
  color: var(--text);
  font-size: 0.9375rem;
}

.contact-link {
  color: var(--accent);
  font-weight: 500;
}

.contact-link:hover {
  color: var(--accent-light);
}

/* ===== Footer ===== */
.site-footer {
  padding: var(--space-3xl) 0 var(--space-xl);
  background: var(--text);
  color: var(--bg);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xl);
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.logo-footer {
  color: var(--bg);
}

.logo-footer .logo-coop {
  color: rgba(255, 255, 255, 0.6);
}

.logo-footer .logo-icon {
  background: var(--accent-warm);
}

.logo-footer .logo-img {
  height: 40px;
  opacity: 0.95;
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: var(--space-sm);
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--bg-elevated);
}

.footer-social {
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-social-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-md);
}

.footer-social-list {
  list-style: none;
  display: flex;
  gap: var(--space-md);
}

.footer-social-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--bg-elevated);
  border-radius: var(--radius-md);
  transition: background var(--duration-fast), color var(--duration-fast), transform var(--duration-fast);
}

.footer-social-list a:hover {
  background: var(--accent-warm);
  color: var(--text);
  transform: translateY(-2px);
}

.footer-social-list .fa-brands {
  font-size: 1.125rem;
}

.footer-copy {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: var(--space-xl);
}

/* ===== Footer v2 ===== */
.site-footer-v2 {
  position: relative;
  padding: var(--space-4xl) 0 0;
  background: #f2f5f9;
  /* light only – no overlay; no bottom padding – slanted bar is the end */
  color: var(--text);
}

.footer-v2-bg {
  position: absolute;
  inset: 0;
  background-image: var(--footer-pattern);
  background-repeat: repeat;
  background-position: center;
  background-size: 240px auto;
  opacity: 0.45;
  pointer-events: none;
  /* no dark overlay – pattern on light bg only */
}

.site-footer-v2 .container {
  position: relative;
  z-index: 1;
}

.footer-v2-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: var(--space-xl);
  align-items: start;
  margin-bottom: 0;
}

.footer-v2-brand-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.footer-v2-brand .logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text);
}

.footer-v2-tagline {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-top: var(--space-md);
  max-width: 24ch;
}

.footer-v2-reg {
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-top: var(--space-xs);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.footer-v2-nav-label,
.footer-v2-contact-label,
.footer-v2-social-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.footer-v2-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-v2-nav a {
  color: var(--text);
  font-weight: 500;
  transition: color var(--duration-fast);
}

.footer-v2-nav a:hover {
  color: var(--accent);
}

.footer-v2-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.footer-v2-contact-link,
.footer-v2-contact-address,
.footer-v2-contact-hours {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.footer-v2-contact-link {
  display: inline-flex;
  align-items: flex-start;
  /* changed from center to allow multiline address */
  gap: var(--space-sm);
  color: var(--text);
  font-weight: 500;
  transition: color var(--duration-fast);
  line-height: 1.5;
}

.footer-v2-contact-link:hover {
  color: var(--accent);
}

.footer-v2-contact-link i {
  color: var(--accent);
  width: 1.25em;
  text-align: center;
  margin-top: 0.15em;
  /* Optical alignment with text line-height */
}

.footer-v2-contact-address,
.footer-v2-contact-hours {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin: 0;
  color: var(--text);
}

.footer-v2-contact-address i,
.footer-v2-contact-hours i {
  color: var(--accent);
  width: 1.25em;
  flex-shrink: 0;
  text-align: center;
}

.btn-footer-v2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: var(--accent);
  color: var(--bg-elevated);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-md);
  border: none;
  transition: background var(--duration-fast), color var(--duration-fast), transform var(--duration-fast);
}

.btn-footer-v2:hover {
  background: var(--accent-light);
  color: var(--bg-elevated);
  transform: translateY(-1px);
}

.footer-v2-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26, 31, 28, 0.12), transparent);
  margin-bottom: var(--space-2xl);
}

.footer-v2-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.footer-v2-social-list {
  list-style: none;
  display: flex;
  gap: var(--space-sm);
}

.footer-v2-social-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(26, 31, 28, 0.08);
  color: var(--text);
  border-radius: var(--radius-md);
  transition: background var(--duration-fast), color var(--duration-fast), transform var(--duration-fast);
}

.footer-v2-social-list a:hover {
  background: var(--accent);
  color: var(--bg-elevated);
  transform: translateY(-2px);
}

.footer-v2-social-list .fa-brands {
  font-size: 1.125rem;
}

.footer-v2-copy {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Slanted bottom bar: red (copyright) | green – different heights */
.footer-slanted-bar {
  position: relative;
  width: 100%;
  min-height: 6rem;
  margin-top: 0;
  overflow: hidden;
}

.footer-slanted-red,
.footer-slanted-green {
  position: absolute;
  bottom: 0;
  display: flex;
  align-items: center;
  padding: var(--space-md) var(--space-lg);
  box-sizing: border-box;
}

.footer-slanted-red {
  left: 0;
  width: 48.3%;
  height: 3rem;
  min-height: 3rem;
  background: var(--color-bhanjyangred);
  color: var(--bg-elevated);
  clip-path: polygon(0 0, 100% 0, 96% 100%, 0 100%);
  z-index: 2;
}

.footer-slanted-green {
  right: 0;
  width: 53.3%;
  height: 4.5rem;
  min-height: 4.5rem;
  background: var(--color-deuraligreen);
  color: var(--bg-elevated);
  clip-path: polygon(5.5% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 1;
  justify-content: flex-end;
  text-align: right;
}

.footer-slanted-copy {
  font-size: clamp(0.75rem, 1.5vw, 0.9375rem);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.footer-dev-credit {
  opacity: 0.92;
}

.footer-dev-credit a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.footer-dev-credit a:hover {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.8);
}

.footer-slanted-tagline {
  font-size: clamp(0.6875rem, 1.3vw, 0.875rem);
  font-style: italic;
  font-weight: 400;
  opacity: 0.9;
  line-height: 1.4;
  padding-left: 3%;
}

@media (max-width: 768px) {
  .footer-slanted-bar {
    min-height: 0;
  }

  .footer-slanted-red,
  .footer-slanted-green {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 2.25rem;
    padding: 0.4rem var(--space-md);
    clip-path: none;
    justify-content: center;
    text-align: center;
  }

  .footer-slanted-red {
    min-height: 2.25rem;
  }

  .footer-slanted-green {
    min-height: 1.75rem;
    text-align: center;
    justify-content: center;
  }

  .footer-slanted-copy {
    font-size: 0.75rem;
  }

  .footer-slanted-tagline {
    font-size: 0.6875rem;
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .footer-v2-top {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }

  .footer-v2-brand-block {
    align-items: center;
  }

  .footer-v2-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-v2-tagline {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-v2-social .footer-v2-social-list {
    justify-content: center;
  }

  .footer-v2-nav ul {
    align-items: center;
  }

  .footer-v2-contact {
    align-items: center;
  }

  .footer-v2-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-v2-social .footer-v2-social-label {
    margin-bottom: var(--space-sm);
  }
}

@media (max-width: 480px) {
  .footer-v2-brand .logo-img {
    height: 36px;
  }
}

/* ===== Responsive tweaks ===== */
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: var(--space-sm);
  }

  .hero-actions .btn {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
    --top-header-h: 36px;
  }

  .header-inner {
    padding: 0 var(--space-md);
  }

  .logo {
    font-size: 1.1rem;
  }

  .logo-img {
    height: 38px;
    max-width: 140px;
  }

  .logo-footer .logo-img {
    height: 36px;
  }

  .logo-icon {
    width: 36px;
    height: 36px;
  }

  .logo-icon .fa-solid,
  .logo-icon .fa {
    font-size: 1rem;
  }

  .section-header {
    margin-bottom: var(--space-2xl);
  }
}

@media (max-width: 380px) {
  .hero {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }

  .hero-desc {
    font-size: 0.9375rem;
  }

  .section-title {
    font-size: 1.35rem;
  }
}

/* ===== Home – Latest News Grid ===== */
.home-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.home-news-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.home-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.home-news-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.home-news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.home-news-card:hover .home-news-img img {
  transform: scale(1.05);
}

.home-news-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius-full, 999px);
  margin: 1rem 1rem 0;
  width: fit-content;
}

.home-news-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  padding: 0.5rem 1rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-news-date {
  font-size: 0.8rem;
  color: var(--text-muted, #6b7280);
  padding: 0.5rem 1rem 1rem;
  margin-top: auto;
}

@media (max-width: 768px) {
  .home-news-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .home-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Safe area for notched / rounded devices (footer v1 only; v2 slanted bar is the end) */
.site-footer:not(.site-footer-v2) {
  padding-bottom: calc(var(--space-xl) + env(safe-area-inset-bottom, 0));
}

.site-footer-v2 .footer-slanted-bar {
  padding-bottom: env(safe-area-inset-bottom, 0);
}

/* ===== Notice Popup Modal ===== */
body.notice-open {
  overflow: hidden;
}

.notice-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  opacity: 0;
  visibility: hidden;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, opacity 0.4s ease, visibility 0s 0.4s;
}

.notice-overlay.is-visible {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 1;
  visibility: visible;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, opacity 0.4s ease, visibility 0s 0s;
}

.notice-overlay.is-closing {
  opacity: 0;
  visibility: hidden;
  transition: background 0.35s ease, opacity 0.35s ease, visibility 0s 0.35s;
}

.notice-modal {
  position: relative;
  max-width: 560px;
  width: 90vw;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: scale(0.85) translateY(30px);
  transition: transform 0.45s var(--ease-out-expo);
}

.notice-overlay.is-visible .notice-modal {
  transform: scale(1) translateY(0);
}

.notice-overlay.is-closing .notice-modal {
  transform: scale(0.9) translateY(20px);
}

.notice-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.notice-close:hover {
  background: rgba(220, 38, 38, 0.85);
  transform: rotate(90deg) scale(1.1);
}

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

@media (max-width: 480px) {
  .notice-modal {
    max-width: 95vw;
    border-radius: var(--radius-md);
  }

  .notice-close {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
  }
}