@charset "UTF-8";

/* ── Philosophy Pillars ─────────────────────────────── */
.philosophyPillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 56px;
  margin-bottom: 64px;
}
@media screen and (max-width: 960px) { .philosophyPillars { grid-template-columns: repeat(2, 1fr); } }
@media screen and (max-width: 640px) { .philosophyPillars { grid-template-columns: 1fr; gap: 32px; } }

.philosophyPillar {
  position: relative;
  padding: 44px 40px 40px;
  border: 1px solid rgba(22,46,30,0.1);
  background: rgba(255,255,255,0.6);
  transition: all 0.5s var(--ease-premium);
}
.philosophyPillar:hover {
  background: rgba(255,255,255,0.85);
  border-color: rgba(22,46,30,0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(22,46,30,0.06);
}
.philosophyPillar_num {
  font-family: var(--font-en-serif);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(22,46,30,0.2);
  position: absolute;
  top: 16px;
  right: 20px;
}
.philosophyPillar_title {
  font-family: var(--font-mincho);
  font-size: 28px;
  font-weight: 600;
  color: var(--color-deep-green);
  letter-spacing: 0.2em;
  margin-bottom: 4px;
}
.philosophyPillar_titleEn {
  display: block;
  font-family: var(--font-en-serif);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-green);
  margin-top: 4px;
  margin-bottom: 20px;
}
.philosophyPillar_text {
  font-size: 14px;
  font-weight: 300;
  line-height: 2;
  color: var(--color-deep-green);
  letter-spacing: 0.04em;
}
.philosophyPillar_rule {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--color-green);
  margin-bottom: 20px;
}

/* ── Cert Lightbox ──────────────────────────────────── */
.certModal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.75);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.certModal.is-open { display: flex; }
.certModal img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  cursor: default;
}
.certModal_close {
  position: absolute;
  top: 24px;
  right: 32px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.certModal_close:hover { background: rgba(255,255,255,0.3); }

/* ── Products Section ───────────────────────────────── */
.topProducts { padding: var(--section-pt) 0 var(--section-pb); background: var(--color-white); }

.topProducts_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 64px;
  background: var(--color-beige);
}
@media screen and (max-width: 960px) { .topProducts_grid { grid-template-columns: repeat(2, 1fr); } }
@media screen and (max-width: 580px)  { .topProducts_grid { grid-template-columns: 1fr; } }

.productCard {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--color-off-white);
  text-decoration: none;
  color: inherit;
  aspect-ratio: 4/3;
}
.productCard_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease-premium), filter 0.8s var(--ease-premium);
  filter: brightness(0.82) saturate(0.9);
}
.productCard:hover .productCard_img {
  transform: scale(1.06);
  filter: brightness(0.6) saturate(0.8);
}
.productCard_body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 28px;
  background: linear-gradient(to top, rgba(22,46,30,0.82) 0%, rgba(22,46,30,0.3) 45%, transparent 75%);
  transition: background 0.5s var(--ease-premium);
}
.productCard:hover .productCard_body {
  background: linear-gradient(to top, rgba(22,46,30,0.92) 0%, rgba(22,46,30,0.55) 55%, rgba(22,46,30,0.1) 100%);
}
.productCard_tag {
  font-family: var(--font-en-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: 8px;
  display: block;
}
.productCard_title {
  font-family: var(--font-mincho);
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.12em;
  line-height: 1.5;
  margin-bottom: 0;
  transition: margin-bottom 0.4s var(--ease-premium);
}
.productCard_arrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en-sans);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-top: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease-premium), transform 0.4s var(--ease-premium);
}
.productCard:hover .productCard_arrow {
  opacity: 1;
  transform: translateY(0);
}
.productCard_arrow svg { flex-shrink: 0; }
