/* ==========================================================================
   Section heading
   ========================================================================== */
.section-heading { max-width: 42rem; display: flex; flex-direction: column; gap: 1rem; }
.section-heading--center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.section-heading p { font-size: 1rem; line-height: 1.7; color: var(--graphite-light); }
.section-heading--light p { color: rgba(255,255,255,0.8); }
@media (min-width: 768px) { .section-heading p { font-size: 1.1rem; } }

/* ==========================================================================
   Supply model / industry cards
   ========================================================================== */
.model-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: var(--shadow-card);
  border-radius: 1.25rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  height: 100%;
  transition: transform 0.4s var(--ease-premium);
}
.model-card:hover { transform: translateY(-6px); }
.model-card__icon {
  width: 3.5rem; height: 3.5rem;
  border-radius: 1rem;
  background: var(--forest-800);
  display: flex; align-items: center; justify-content: center;
}
.model-card__icon svg { width: 24px; height: 24px; color: var(--gold-light); }
.model-card h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--forest-800); }
.model-card p { font-size: 0.9rem; color: var(--graphite-light); line-height: 1.7; }

.industry-card {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  text-align: center;
  padding: 2rem;
  border-radius: 1.25rem;
  border: 1px solid var(--sand-300);
  background: rgba(255,255,255,0.6);
  transition: all 0.35s var(--ease-premium);
}
.industry-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow-card); }
.industry-card__icon {
  width: 4rem; height: 4rem; border-radius: 999px;
  background: rgba(27,59,46,0.05);
  display: flex; align-items: center; justify-content: center;
}
.industry-card__icon svg { width: 26px; height: 26px; color: var(--forest-800); }
.industry-card p { font-weight: 500; color: var(--forest-800); }

/* ==========================================================================
   Category tiles (home / products index)
   ========================================================================== */
.tile {
  position: relative;
  display: block;
  border-radius: 1.25rem;
  overflow: hidden;
  height: 16rem;
  box-shadow: var(--shadow-card);
}
.tile--tall { height: 18rem; }
.tile__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease-premium);
}
.tile:hover .tile__img { transform: scale(1.1); }
.tile__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18,37,25,0.9), rgba(18,37,25,0.2) 60%, transparent);
}
.tile__content { position: absolute; bottom: 0; padding: 1.5rem; }
.tile__content h3 { font-family: var(--font-display); font-size: 1.5rem; color: #fff; margin-bottom: 0.25rem; }
.tile__content p { color: rgba(255,255,255,0.7); font-size: 0.9rem; max-width: 85%; }
.tile__cta {
  display: inline-flex; align-items: center; gap: 0.35rem;
  color: var(--gold-light); font-size: 0.85rem; margin-top: 0.6rem;
  opacity: 0; transition: opacity 0.3s;
}
.tile:hover .tile__cta { opacity: 1; }
.tile__eyebrow { font-size: 0.7rem; color: var(--gold-light); text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 0.4rem; }

/* Stat badge (about preview) */
.stat-badge {
  position: absolute;
  bottom: -2rem; left: -2rem;
  background: var(--forest-800);
  color: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  max-width: 220px;
  box-shadow: var(--shadow-soft);
  display: none;
}
@media (min-width: 768px) { .stat-badge { display: block; } }
.stat-badge .num { font-family: var(--font-display); font-size: 2.5rem; color: var(--gold-light); }
.stat-badge .label { font-size: 0.7rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.2em; margin-top: 0.25rem; }

/* ==========================================================================
   Product cards
   ========================================================================== */
.product-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(233,226,208,0.6);
  transition: transform 0.4s var(--ease-premium);
}
.product-card:hover { transform: translateY(-8px); }
.product-card__img-wrap { position: relative; height: 16rem; overflow: hidden; }
.product-card__img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease-premium);
}
.product-card:hover .product-card__img-wrap img { transform: scale(1.1); }
.product-card__body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.product-card__body h3 { font-family: var(--font-display); font-size: 1.25rem; color: var(--forest-800); }
.product-card__body p { font-size: 0.875rem; color: var(--graphite-light); line-height: 1.6; }
.product-card__cta {
  margin-top: 0.5rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.875rem; font-weight: 500; color: var(--gold-dark);
  width: fit-content;
  transition: color 0.3s;
}
.product-card__cta:hover { color: var(--forest-800); }
.product-card__cta svg { width: 15px; height: 15px; }

/* ==========================================================================
   Video placeholder
   ========================================================================== */
.video-placeholder {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--forest-900);
}
.video-placeholder img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.6; transition: opacity 0.5s;
}
.video-placeholder:hover img { opacity: 0.7; }
.video-placeholder video { width: 100%; height: 100%; object-fit: cover; display: none; }
.video-placeholder__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18,37,25,0.8), rgba(18,37,25,0.1) 40%, rgba(18,37,25,0.4));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem; text-align: center; padding: 0 1.5rem;
}
.video-placeholder__play {
  width: 4.5rem; height: 4.5rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s;
}
.video-placeholder__play:hover { transform: scale(1.08); }
.video-placeholder__play svg { width: 26px; height: 26px; color: var(--forest-800); margin-left: 3px; }
.video-placeholder__title { color: #fff; font-family: var(--font-display); font-size: 1.35rem; }
.video-placeholder__upload {
  margin-top: 0.5rem;
  display: inline-flex; align-items: center; gap: 0.35rem;
  color: rgba(255,255,255,0.7); font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 0.2em;
  transition: color 0.3s;
}
.video-placeholder__upload:hover { color: var(--gold-light); }
.video-placeholder__upload svg { width: 14px; height: 14px; }

/* ==========================================================================
   Sourcing map
   ========================================================================== */
.sourcing-map {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) { .sourcing-map { grid-template-columns: 3fr 2fr; } }
.sourcing-map__visual { position: relative; aspect-ratio: 4/5; max-width: 420px; margin: 0 auto; width: 100%; }
.sourcing-map__svg { width: 100%; height: 100%; }
.sourcing-map__point {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer;
  background: none; border: none;
}
.sourcing-map__dot {
  width: 16px; height: 16px; border-radius: 999px;
  background: var(--forest-600);
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: background 0.3s;
}
.sourcing-map__point.is-active .sourcing-map__dot {
  background: var(--gold);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}
.sourcing-map__label {
  margin-top: 0.4rem;
  font-size: 0.68rem; font-weight: 500;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.8);
  color: var(--forest-800);
  white-space: nowrap;
  transition: all 0.3s;
}
.sourcing-map__point.is-active .sourcing-map__label { background: var(--gold); color: var(--forest-900); }

.sourcing-map__panel-title { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.sourcing-map__panel-title svg { width: 18px; height: 18px; color: var(--gold-dark); }
.sourcing-map__panel { padding: 2rem; }
.sourcing-map__panel p.desc { font-size: 0.9rem; color: var(--graphite-light); line-height: 1.7; margin-bottom: 1.5rem; }
.sourcing-map__panel .tag-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--gold-dark); margin-bottom: 0.75rem; }
.sourcing-map__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sourcing-map__tags li {
  font-size: 0.75rem;
  background: rgba(27,59,46,0.05);
  border: 1px solid rgba(27,59,46,0.1);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  color: var(--forest-800);
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery-filters {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.gallery-filters button {
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  font-size: 0.875rem; font-weight: 500;
  border: 1px solid rgba(27,59,46,0.2);
  color: var(--forest-800);
  transition: all 0.3s;
}
.gallery-filters button:hover { border-color: var(--forest-800); }
.gallery-filters button.is-active { background: var(--forest-800); color: #fff; border-color: var(--forest-800); }

.masonry {
  columns: 2;
  column-gap: 1rem;
}
@media (min-width: 768px) { .masonry { columns: 3; } }
.masonry__item {
  display: block; width: 100%;
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
  cursor: zoom-in;
}
.masonry__item.is-hidden { display: none; }
.masonry__item img { width: 100%; height: auto; display: block; transition: transform 0.7s var(--ease-premium); }
.masonry__item:hover img { transform: scale(1.1); }
.masonry__caption {
  position: absolute; inset: 0;
  background: rgba(18,37,25,0);
  display: flex; align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: all 0.4s;
}
.masonry__item:hover .masonry__caption { background: rgba(18,37,25,0.35); opacity: 1; }
.masonry__caption span { color: #fff; font-size: 0.875rem; font-weight: 500; text-align: left; }

.lightbox {
  position: fixed; inset: 0; z-index: 600;
  background: rgba(18,37,25,0.92);
  display: none;
  align-items: center; justify-content: center;
  padding: 1.5rem;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 85vh; max-width: 100%; border-radius: 0.75rem; object-fit: contain; }
.lightbox__close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  color: rgba(255,255,255,0.8);
}
.lightbox__close:hover { color: #fff; }
.lightbox__close svg { width: 30px; height: 30px; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-field { display: flex; flex-direction: column; gap: 0.5rem; }
.form-field label {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em;
  color: rgba(27,59,46,0.7);
}
.form-field input, .form-field textarea {
  border: 1px solid var(--sand-300);
  border-radius: 0.5rem;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  background: #fff;
  transition: border-color 0.3s;
  width: 100%;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--gold); }
.form-field textarea { resize: none; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .form-grid { grid-template-columns: 1fr 1fr; } }

.contact-form { padding: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
@media (min-width: 768px) { .contact-form { padding: 2.5rem; } }

.form-success {
  padding: 2.5rem;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem;
}
.form-success svg { width: 40px; height: 40px; color: var(--gold); }
.form-success p { font-size: 0.9rem; color: var(--graphite-light); max-width: 24rem; }

/* Contact info list */
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-item__icon {
  width: 3rem; height: 3rem; border-radius: 999px; flex-shrink: 0;
  background: rgba(27,59,46,0.05);
  display: flex; align-items: center; justify-content: center;
}
.contact-info-item__icon svg { width: 20px; height: 20px; color: var(--forest-800); }
.contact-info-item .label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--gold-dark); margin-bottom: 0.25rem; }
.contact-info-item p, .contact-info-item a { color: var(--graphite-light); font-size: 0.9rem; }
.contact-info-item a:hover { color: var(--forest-800); }

.map-placeholder {
  border-radius: 1.25rem;
  overflow: hidden;
  height: 16rem;
  border: 1px solid var(--sand-200);
  background: var(--sand-100);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 1.5rem;
}
.map-placeholder svg { width: 28px; height: 28px; color: rgba(27,59,46,0.4); margin: 0 auto 0.5rem; }
.map-placeholder p { font-size: 0.85rem; color: rgba(91,91,85,0.7); }

/* ==========================================================================
   Inquiry modal
   ========================================================================== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 700;
  background: rgba(18,37,25,0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center; justify-content: center;
  padding: 1rem;
}
.modal-overlay.is-open { display: flex; }
.modal {
  background: var(--ivory-100);
  border-radius: 1.25rem;
  max-width: 28rem; width: 100%;
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-soft);
  max-height: 90vh;
  overflow-y: auto;
}
.modal__close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  color: var(--graphite-light);
}
.modal__close:hover { color: var(--forest-800); }
.modal__close svg { width: 22px; height: 22px; }
.modal h3 { margin-top: 0.5rem; margin-bottom: 0.25rem; }
.modal > p.subtitle { font-size: 0.875rem; color: var(--graphite-light); margin-bottom: 1.5rem; }
.modal form { display: flex; flex-direction: column; gap: 1rem; }

/* ==========================================================================
   Timeline / mission-vision / why choose (about page)
   ========================================================================== */
.timeline-card { padding: 2rem; height: 100%; display: flex; flex-direction: column; gap: 1rem; }
.timeline-card .yr { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--gold-dark); font-weight: 600; }
.timeline-card p { font-size: 0.875rem; color: var(--graphite-light); line-height: 1.7; }

.mv-card {
  padding: 2.5rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255,255,255,0.15);
  height: 100%;
}
.mv-card svg { width: 30px; height: 30px; color: var(--gold-light); margin-bottom: 1.5rem; }
.mv-card h3 { font-family: var(--font-display); font-size: 1.85rem; color: #fff; margin-bottom: 1rem; }
.mv-card p { color: rgba(255,255,255,0.75); line-height: 1.7; }

.why-item { display: flex; gap: 1.25rem; padding: 2rem; border-radius: 1.25rem; background: #fff; box-shadow: var(--shadow-card); border: 1px solid rgba(233,226,208,0.6); height: 100%; }
.why-item .num { font-family: var(--font-display); font-size: 2.25rem; color: var(--gold); flex-shrink: 0; }
.why-item h3 { font-family: var(--font-display); font-size: 1.25rem; color: var(--forest-800); margin-bottom: 0.5rem; }
.why-item p { font-size: 0.875rem; color: var(--graphite-light); line-height: 1.7; }

/* 404 */
.notfound { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1.5rem; }
.notfound .big { font-family: var(--font-display); font-size: 6rem; color: rgba(27,59,46,0.2); }
.notfound p { color: var(--graphite-light); max-width: 28rem; }
