:root {
  --forest: #2e4a32;
  --olive: #6b7a3e;
  --gold: #e2b23c;
  --clay: #b35a2e;
  --dye: #3a342e;
  --ivory: #f3ef66;
  --ivorylight: #f5f0e8;
  --beige: #dcc9a6;
  --indigo: #2f5f63;
  --stone: #8e877c;
  --mahua: #8a4f5e;
  --bg: #faf7f2;
  --text: #1a1714;
  --muted: #6b6560;
  --border: rgba(46, 74, 50, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Jost", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

body.store-modal-open {
  overflow: hidden;
}

body.archive-lightbox-open {
  overflow: hidden;
}

[data-random-bg] {
  background-image: var(--bg-tint, none), var(--random-bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

h1,
h2,
h3,
h4 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  line-height: 1.2;
}

.serif {
  font-family: "Cormorant Garamond", serif;
}

.caps {
  font-family: "Pacifico", cursive;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 14px;
  font-weight: 400;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  height: 64px;
}

.nav-logo {
  color: var(--forest);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  display: block;
  height: 40px;
  width: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 0 18px;
  height: 64px;
  line-height: 64px;
  color: var(--dye);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links a.active {
  color: var(--gold);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 18px;
  right: 18px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-store {
  background: var(--forest);
  color: #fff !important;
  padding: 8px 20px !important;
  height: auto !important;
  line-height: normal !important;
  border-radius: 2px;
  margin-left: 10px;
}

.nav-store:hover {
  background: var(--olive) !important;
  color: #fff !important;
}

.nav-store.active {
  background: var(--olive) !important;
  box-shadow: inset 0 0 0 1px rgba(245, 240, 232, 0.12);
}

.nav-store::after {
  display: none !important;
}

@media (max-width: 1180px) and (min-width: 901px) {
  .nav-links a {
    padding: 0 12px;
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .nav-links a::after {
    left: 12px;
    right: 12px;
  }

  .nav-store {
    padding: 8px 16px !important;
    margin-left: 6px;
  }
}

.page {
  min-height: 100vh;
  padding-top: 64px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 200;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--dye);
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 99;
  padding: 40px 6vw;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-link {
  display: block;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  font-size: 28px;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  color: var(--dye);
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-link:hover,
.mobile-link.active {
  color: var(--gold);
}

.mobile-link-store {
  margin-top: 32px;
  background: var(--forest);
  color: #fff !important;
  padding: 16px 24px;
  font-style: normal;
  font-family: "Jost", sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: none;
  text-align: center;
  flex-shrink: 0;
  margin-bottom: 24px;
}

.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(26, 23, 20, 0.4);
}

.drawer-overlay.show {
  display: block;
}

.hero-fullbleed {
  position: relative;
  min-height: calc(100vh - 64px);
  background-color: var(--dye);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 70% 50%, #6b3a1f 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 20% 80%, #2e4a32 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 85% 15%, #b35a2e 0%, transparent 50%);
  background-color: #2a2219;
}

.hero-home-bg {
  background-image:
    linear-gradient(120deg, rgba(26, 18, 12, 0.68) 0%, rgba(26, 18, 12, 0.42) 48%, rgba(26, 18, 12, 0.58) 100%),
    url("img/bg-hero.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg-pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cpath d='M0 60 Q30 20 60 60 Q90 100 120 60' fill='none' stroke='rgba(226,178,60,0.06)' stroke-width='1'/%3E%3Cpath d='M0 30 Q30 0 60 30 Q90 60 120 30' fill='none' stroke='rgba(226,178,60,0.04)' stroke-width='1'/%3E%3Cpath d='M0 90 Q30 60 60 90 Q90 120 120 90' fill='none' stroke='rgba(226,178,60,0.04)' stroke-width='1'/%3E%3Ccircle cx='60' cy='60' r='30' fill='none' stroke='rgba(245,240,232,0.025)' stroke-width='1'/%3E%3Cpath d='M30 0 L30 120 M60 0 L60 120 M90 0 L90 120' stroke='rgba(245,240,232,0.015)' stroke-width='0.5'/%3E%3Cpath d='M0 30 L120 30 M0 60 L120 60 M0 90 L120 90' stroke='rgba(245,240,232,0.015)' stroke-width='0.5'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg, rgba(26, 18, 12, 0.75) 0%, rgba(26, 18, 12, 0.3) 55%, rgba(26, 18, 12, 0) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 80px 6vw;
  gap: 60px;
  text-align: left;
}

.hero-content-inner {
  max-width: 700px;
  margin-left: clamp(16px, 4vw, 56px);
}

.hero-tagline {
  font-family: "Pacifico", cursive;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--gold);
  margin-bottom: 24px;
  font-weight: 400;
}

.hero-h1 {
  font-size: clamp(44px, 5.5vw, 80px);
  color: var(--ivorylight);
  font-weight: 300;
  font-style: italic;
  line-height: 1.05;
  margin-bottom: 32px;
}

.hero-h1 strong {
  font-style: normal;
  font-weight: 600;
  color: var(--gold);
}

.hero-sub {
  color: rgba(245, 240, 232, 0.65);
  font-size: 15px;
  line-height: 1.85;
  max-width: 420px;
  margin: 0 0 48px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.btn-primary {
  background: var(--gold);
  color: var(--dye);
  padding: 14px 32px;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 2px;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #c9a030;
}

.btn-ghost {
  border: 1px solid rgba(245, 240, 232, 0.3);
  color: var(--ivorylight);
  padding: 14px 32px;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 2px;
  transition: all 0.2s;
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-overlay-card {
  background: rgba(245, 240, 232, 0.95);
  padding: 40px 48px;
  text-align: center;
  min-width: 260px;
  flex-shrink: 0;
}

.hero-overlay-card .label {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 10px;
}

.hero-overlay-card h3 {
  font-size: 20px;
  color: var(--dye);
  font-weight: 400;
  letter-spacing: 0.05em;
  font-style: italic;
}

.hero-scroll-hint {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 6vw 32px;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.35);
}

.hero-scroll-line {
  width: 48px;
  height: 1px;
  background: rgba(245, 240, 232, 0.25);
}

.placeholder-label {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section {
  padding: 80px 6vw;
}

.section-sm {
  padding: 60px 6vw;
}

.section-label {
  font-family: "Pacifico", cursive;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 400;
}

.section-title {
  font-size: clamp(32px, 4vw, 52px);
  color: var(--forest);
  margin-bottom: 24px;
}

.section-para {
  color: var(--muted);
  max-width: 680px;
  line-height: 1.9;
  margin-bottom: 20px;
}

.pillars-section {
  background: var(--ivorylight);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 60px;
}

.pillar {
  background: var(--bg);
  padding: 48px 28px;
  text-align: center;
}

.pillar-letter {
  font-family: "Cormorant Garamond", serif;
  font-size: 64px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
}

.pillar-name {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--forest);
  font-weight: 500;
  margin-bottom: 12px;
}

.pillar-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.mission-img {
  aspect-ratio: 4 / 5;
  background: var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.mission-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pullquote {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(24px, 3vw, 38px);
  font-style: italic;
  color: var(--forest);
  line-height: 1.4;
  margin-bottom: 32px;
  border-left: 3px solid var(--gold);
  padding-left: 28px;
}

.team-section {
  background: var(--dye);
}

.team-section .section-title {
  color: var(--ivorylight);
}

.team-section .section-label {
  color: var(--gold);
}

.team-section .section-para {
  color: rgba(245, 240, 232, 0.6);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 60px;
}

.team-card {
  border: 1px solid rgba(245, 240, 232, 0.1);
  padding: 40px;
}

.founder-photo-frame {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 28px;
  border: 3px solid rgba(226, 178, 60, 0.4);
}

.founder-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  color: var(--ivorylight);
  margin-bottom: 4px;
}

.team-role {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.team-bio {
  color: rgba(245, 240, 232, 0.6);
  font-size: 14px;
  line-height: 1.8;
}

.ktas-hero {
  height: 60vh;
  background: var(--forest);
  display: flex;
  align-items: flex-end;
  padding: 60px 6vw;
  position: relative;
  overflow: hidden;
}

.ktas-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Ccircle cx='40' cy='40' r='30' fill='none' stroke='rgba(226,178,60,0.08)' stroke-width='1'/%3E%3Ccircle cx='40' cy='40' r='20' fill='none' stroke='rgba(226,178,60,0.05)' stroke-width='1'/%3E%3C/svg%3E") repeat;
}

.ktas-hero-content {
  position: relative;
  max-width: 700px;
}

.ktas-hero-content .section-label {
  color: var(--gold);
}

.ktas-hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  color: var(--ivorylight);
  font-weight: 300;
  font-style: italic;
  margin-bottom: 16px;
}

.ktas-hero p {
  color: rgba(245, 240, 232, 0.65);
  font-size: 16px;
  max-width: 560px;
}

.ktas-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.ktas-img-col {
  background: var(--beige);
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.ktas-text-col {
  padding: 80px 6vw;
}

.achievement-list {
  list-style: none;
  margin-top: 32px;
}

.achievement-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

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

.ach-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 36px;
  color: var(--gold);
  font-weight: 300;
  line-height: 1;
  min-width: 48px;
}

.ach-text h4 {
  font-size: 16px;
  color: var(--forest);
  margin-bottom: 4px;
  font-weight: 500;
}

.ach-text p {
  font-size: 13px;
  color: var(--muted);
}

.community-band {
  background: var(--clay);
  padding: 80px 6vw;
}

.community-band .section-title {
  color: var(--ivorylight);
  font-style: italic;
}

.community-band .section-label {
  color: rgba(245, 240, 232, 0.6);
}

.community-band .section-para {
  color: rgba(245, 240, 232, 0.75);
  max-width: none;
}

.projects-header {
  padding: 80px 6vw 40px;
  background: var(--ivorylight);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.project-card {
  padding: 60px 40px;
  border: 1px solid var(--border);
  transition: background 0.3s;
  cursor: pointer;
}

.project-card:hover {
  background: var(--ivorylight);
}

.project-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 80px;
  font-weight: 300;
  color: var(--beige);
  line-height: 1;
  margin-bottom: 24px;
}

.project-tag {
  font-family: "Pacifico", cursive;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 400;
}

.project-title {
  font-size: 28px;
  color: var(--forest);
  margin-bottom: 16px;
  font-style: italic;
}

.project-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.project-expand {
  margin-top: 24px;
  padding: 60px 6vw;
  background: var(--bg);
  border-top: 1px solid var(--border);
  display: none;
}

.project-expand.open {
  display: block;
}

.store-header {
  padding: 80px 6vw 40px;
}

.donate-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
  gap: 32px;
  align-items: stretch;
}

.donate-hero-copy {
  max-width: 760px;
}

.donate-card {
  background: rgba(245, 240, 232, 0.94);
  border: 1px solid rgba(46, 74, 50, 0.14);
  padding: 32px;
  box-shadow: 0 18px 40px rgba(26, 23, 20, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: center;
  scroll-margin-top: 92px;
}

.donate-card-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 18px;
}

.donate-details {
  display: grid;
  gap: 18px;
}

.donate-detail {
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.donate-detail:first-child {
  padding-top: 0;
  border-top: none;
}

.donate-detail dt {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 8px;
}

.donate-detail dd {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(24px, 3vw, 34px);
  color: var(--forest);
  line-height: 1.1;
  word-break: break-word;
}

.donate-note {
  background: var(--ivorylight);
}

.archive-header {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.archive-title {
  margin: 0;
  color: var(--forest);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(48px, 7vw, 92px);
  font-style: italic;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.archive-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.archive-action {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 14px 22px;
  font-family: "Jost", sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.archive-action:hover {
  transform: translateY(-1px);
}

.archive-action-primary {
  background: var(--forest);
  color: var(--ivorylight);
}

.archive-action-primary:hover {
  background: var(--olive);
  color: var(--ivorylight);
}

.archive-action-secondary {
  background: transparent;
  color: var(--forest);
  border-color: rgba(46, 74, 50, 0.18);
}

.archive-action-secondary:hover {
  background: rgba(46, 74, 50, 0.06);
}

.archive-upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.archive-hero-note {
  background: rgba(245, 240, 232, 0.92);
  border: 1px solid rgba(46, 74, 50, 0.14);
  padding: 30px;
  box-shadow: 0 18px 40px rgba(26, 23, 20, 0.06);
}

.archive-hero-note-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 12px;
}

.archive-hero-note h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-style: italic;
  color: var(--forest);
  margin-bottom: 12px;
}

.archive-hero-note p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.archive-gallery-section {
  background: var(--ivorylight);
  padding-top: 0;
}

.archive-gallery-head {
  max-width: 760px;
  margin-bottom: 20px;
}

.archive-status {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  margin-bottom: 24px;
  border: 1px solid rgba(46, 74, 50, 0.15);
  background: rgba(245, 240, 232, 0.9);
  color: var(--forest);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.archive-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.archive-tile {
  appearance: none;
  display: block;
  width: 100%;
  border: none;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.archive-tile:hover .archive-frame,
.archive-tile:focus-visible .archive-frame {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(26, 23, 20, 0.12);
}

.archive-tile:focus-visible {
  outline: none;
}

.archive-frame {
  display: block;
  width: 100%;
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(226, 178, 60, 0.18), rgba(179, 90, 46, 0.28)),
    linear-gradient(135deg, #3a342e, #6b7a3e);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 10px 24px rgba(26, 23, 20, 0.06);
}

.archive-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 23, 20, 0.08) 0%, rgba(26, 23, 20, 0) 40%),
    radial-gradient(circle at top right, rgba(245, 240, 232, 0.18), transparent 38%);
  pointer-events: none;
}

.archive-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.archive-placeholder-frame {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  color: var(--ivorylight);
}

.archive-placeholder-number {
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  line-height: 1;
  color: rgba(245, 240, 232, 0.88);
}

.archive-placeholder-label {
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 8px 10px;
  border: 1px solid rgba(245, 240, 232, 0.28);
  background: rgba(58, 52, 46, 0.22);
  backdrop-filter: blur(4px);
}

.archive-placeholder-note {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.65);
}

.archive-meta {
  padding: 16px 4px 0;
}

.archive-meta h3 {
  font-size: 18px;
  color: var(--forest);
  margin-bottom: 4px;
}

.archive-meta p {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
}

.archive-lightbox {
  position: fixed;
  inset: 0;
  z-index: 420;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.archive-lightbox.open {
  display: flex;
}

.archive-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 23, 20, 0.72);
  backdrop-filter: blur(6px);
}

.archive-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  background: #1e1915;
  border: 1px solid rgba(46, 74, 50, 0.18);
  box-shadow: 0 30px 90px rgba(26, 23, 20, 0.22);
  padding: 14px;
  display: flex;
  align-items: center;
  animation: fadeUp 0.25s ease;
}

.archive-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(245, 240, 232, 0.9);
  color: var(--forest);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.archive-lightbox-media {
  background: #1e1915;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.archive-lightbox-media img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(80vh, 900px);
  object-fit: contain;
  display: block;
  background: #1e1915;
}

.archive-lightbox-placeholder {
  width: 100%;
  height: 100%;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  color: var(--ivorylight);
  background:
    linear-gradient(135deg, rgba(179, 90, 46, 0.3), rgba(46, 74, 50, 0.3)),
    linear-gradient(135deg, #3a342e, #6b7a3e);
}

.archive-lightbox-placeholder .archive-placeholder-number {
  font-size: 54px;
}

.archive-lightbox-placeholder h3 {
  font-size: 36px;
  font-style: italic;
  margin-top: auto;
}

.archive-lightbox-placeholder p {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.72);
}

.archive-lightbox-copy {
  padding: 32px 20px 20px 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.archive-lightbox-copy .section-label {
  color: var(--clay);
}

.archive-lightbox-copy .section-title {
  font-style: italic;
  margin-bottom: 12px;
}

.archive-lightbox-copy .section-para {
  max-width: none;
}

.archive-lightbox-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-page .store-header {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.95fr);
  gap: 32px;
  align-items: end;
}

.store-hero-copy {
  max-width: 760px;
}

.store-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.store-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid rgba(46, 74, 50, 0.15);
  background: rgba(245, 240, 232, 0.72);
  color: var(--forest);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.store-hero-note {
  background: rgba(245, 240, 232, 0.92);
  border: 1px solid rgba(46, 74, 50, 0.14);
  padding: 28px;
  box-shadow: 0 18px 40px rgba(26, 23, 20, 0.06);
}

.store-hero-note-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 10px;
}

.store-hero-note h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-style: italic;
  color: var(--forest);
  margin-bottom: 12px;
}

.store-hero-note p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.store-catalog {
  padding: 64px 6vw 80px;
}

.store-catalog-head {
  max-width: 760px;
  margin-bottom: 24px;
}

.pattern-header-bg {
  background-image:
    linear-gradient(180deg, rgba(250, 247, 242, 0.94) 0%, rgba(250, 247, 242, 0.88) 100%),
    url("img/bg2.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.store-filters {
  display: flex;
  gap: 0;
  margin-bottom: 60px;
  border-bottom: 1px solid var(--border);
}

.filter-btn {
  padding: 12px 28px;
  background: none;
  border: none;
  font-family: "Jost", sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--forest);
  border-bottom-color: var(--gold);
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.store-item {
  background: var(--bg);
}

.store-img {
  aspect-ratio: 4 / 5;
  background: var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.store-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.store-img-inner {
  background: linear-gradient(135deg, var(--beige), var(--stone) 80%);
}

.craft-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: var(--ivorylight);
  padding: 6px 14px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dye);
}

.store-info {
  padding: 24px;
}

.store-item-name {
  font-size: 20px;
  color: var(--forest);
  margin-bottom: 4px;
}

.store-item-origin {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 12px;
}

.store-item-price {
  font-size: 16px;
  color: var(--clay);
  font-weight: 500;
}

.store-item-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.85;
}

.store-buy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.buy-btn {
  appearance: none;
  border: 1px solid var(--forest);
  background: var(--forest);
  color: var(--ivorylight);
  padding: 12px 20px;
  font-family: "Jost", sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.buy-btn:hover {
  background: var(--olive);
  border-color: var(--olive);
  transform: translateY(-1px);
}

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

.store-page .store-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.store-page .store-item {
  display: flex;
  flex-direction: column;
}

.store-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.store-modal.open {
  display: flex;
}

.store-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 23, 20, 0.62);
  backdrop-filter: blur(4px);
}

.store-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  background: var(--ivorylight);
  border: 1px solid rgba(46, 74, 50, 0.16);
  border-radius: 2px;
  padding: 32px;
  box-shadow: 0 30px 80px rgba(26, 23, 20, 0.22);
  animation: fadeUp 0.25s ease;
}

.store-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--stone);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.store-modal-close:hover {
  color: var(--forest);
}

.store-modal .section-label {
  color: var(--clay);
  margin-bottom: 10px;
}

.store-modal .section-title {
  font-style: italic;
  margin-bottom: 10px;
}

.store-modal .section-para {
  max-width: none;
}

.store-modal-actions {
  margin-top: 28px;
  display: flex;
  justify-content: flex-start;
}

.meet-artisan {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--indigo);
  text-decoration: none;
}

.press-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 60px;
}

.press-card {
  padding: 40px;
  border: 1px solid var(--border);
}

.press-source {
  font-family: "Pacifico", cursive;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--stone);
  margin-bottom: 16px;
}

.press-headline {
  font-size: 22px;
  color: var(--forest);
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 16px;
}

.press-link {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--indigo);
  text-decoration: none;
}

footer {
  background: var(--dye);
  color: rgba(245, 240, 232, 0.6);
  padding: 60px 6vw 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  color: var(--ivorylight);
  margin-bottom: 16px;
}

.footer-brand img {
  display: block;
  height: 54px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand span {
  color: var(--gold);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
}

.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  color: rgba(245, 240, 232, 0.5);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(245, 240, 232, 0.1);
  padding-top: 32px;
  font-size: 13px;
  text-align: center;
}

.divider {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 6vw;
  margin: 0;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.divider-motif {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  color: var(--gold);
}

.stat-band {
  background: var(--forest);
  padding: 60px 6vw;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  text-align: center;
}

.stat-item {
  padding: 0 20px;
}

.stat-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 64px;
  color: var(--gold);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.5);
}

.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.feature-photo-panel {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  padding: 40px;
}

.feature-photo-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 23, 20, 0.08) 0%, rgba(26, 23, 20, 0.45) 100%);
}

.feature-photo-panel span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(245, 240, 232, 0.92);
  color: var(--forest);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.story-split {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 40px;
}

.portrait-cover {
  padding: 0;
}

.portrait-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.recognition-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
}

.recognition-photo {
  background: var(--beige);
  min-height: 260px;
  overflow: hidden;
}

.recognition-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

.fade-in {
  animation: fadeUp 0.7s ease forwards;
}

@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    padding: 60px 6vw 40px;
    gap: 40px;
    align-items: flex-start;
  }

  .hero-overlay-card {
    width: 100%;
    padding: 28px 32px;
  }

  .mission-grid,
  .team-grid,
  .ktas-split,
  .footer-grid,
  .feature-split,
  .story-split,
  .community-grid,
  .recognition-grid {
    grid-template-columns: 1fr;
  }

  .pillars-grid {
    grid-template-columns: 1fr 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .store-grid {
    grid-template-columns: 1fr 1fr;
  }

  .store-page .store-header {
    grid-template-columns: 1fr;
  }

  .store-page .store-grid {
    grid-template-columns: 1fr 1fr;
  }

  .archive-header {
    align-items: flex-start;
  }

  .archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .archive-lightbox-panel {
    padding: 12px;
  }

  .archive-lightbox-media img {
    max-height: min(72vh, 760px);
  }

  .store-buy-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .store-modal-card {
    padding: 28px;
  }

  .donate-hero {
    grid-template-columns: 1fr;
  }

  .stat-band {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-drawer {
    display: flex;
  }
}

@media (max-width: 600px) {
  .store-grid {
    grid-template-columns: 1fr;
  }

  .store-page .store-grid {
    grid-template-columns: 1fr;
  }

  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .archive-lightbox {
    padding: 14px;
  }

  .archive-lightbox-panel {
    padding: 10px;
  }

  .archive-lightbox-media img {
    max-height: min(68vh, 620px);
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .press-grid {
    grid-template-columns: 1fr;
  }

  .stat-band {
    grid-template-columns: 1fr 1fr;
  }

  .hero-h1 {
    font-size: 42px;
  }
}
