/* =================================
   Hermès Skin v22 — SEO meta + 4-column footer + Cascade hidden  2026-06-11
   ================================= */

:root {
  --h-cream: #F5F1EA;
  --h-light: #FAF8F5;
  --h-charcoal: #2A2A2A;
  --h-brown: #8B7355;
  --h-red: #C73E2E;
  --h-line: #D8D2C8;
}

/* body 基础 */
body {
  background-color: var(--h-cream);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
}

/* carousel 箭头形状 */
.carousel-arrow, .story-nav-prev, .story-nav-next,
.carousel-prev, .carousel-next {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  padding: 0 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* 图片轻微降饱和 */
img { filter: saturate(0.88) brightness(1.02); }

/* card 直角 */
.card { border-radius: 0 !important; }

/* Hermès banner */
.hermes-banner {
  position: relative !important;
  background: var(--h-red) !important;
  color: white !important;
}

/* 隐藏 carousel 多余横线 */
.story-carousel hr,
.story-carousel-progress,
.story-carousel-line,
.story-carousel-divider,
.story-carousel-track + hr {
  display: none !important;
}

/* 深色 section 强制浅色文字 */
.certifications, .certifications h1, .certifications h2, .certifications h3, .certifications h4, .certifications p,
.cert-section, .cert-section h1, .cert-section h2, .cert-section h3, .cert-section h4, .cert-section p,
.contact, .contact h1, .contact h2, .contact h3, .contact h4, .contact p,
.contact-section, .contact-section h1, .contact-section h2, .contact-section h3, .contact-section h4, .contact-section p,
.cta, .cta h1, .cta h2, .cta h3, .cta h4, .cta p,
.cta-section, .cta-section h1, .cta-section h2, .cta-section h3, .cta-section h4, .cta-section p,
footer, footer h1, footer h2, footer h3, footer h4, footer p, footer a,
.footer, .footer h1, .footer h2, .footer h3, .footer h4, .footer p, .footer a {
  color: #F5F1EA !important;
  -webkit-text-fill-color: #F5F1EA !important;
}

/* =================================
   v19 精修 — Logo
   ================================= */
.logo {
  font-family: 'Playfair Display', serif !important;
  font-size: 1.9rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.35em !important;
  color: var(--h-charcoal) !important;
  text-decoration: none !important;
}
.logo span { color: inherit !important; }
.logo::after {
  content: '' !important;
  display: inline-block !important;
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: var(--h-red) !important;
  margin-left: 0.4em !important;
  vertical-align: middle !important;
}

/* v25 移除: Hero 图已上线, 不需要"待上传"占位规则 */

/* =================================
   v19 精修 — OUR STORY 圆点
   ================================= */
.story-carousel-dots {
  display: flex !important;
  justify-content: center !important;
  gap: 10px !important;
  margin-top: 30px !important;
}
.story-dot {
  width: 10px !important;
  height: 10px !important;
  border: 1px solid var(--h-charcoal) !important;
  background: transparent !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  padding: 0 !important;
}
.story-dot.active {
  background: var(--h-red) !important;
  border-color: var(--h-red) !important;
}

/* =================================
   v20 精修 — 标签 + 导航字体（正文回退 base CSS）
   ================================= */
.eyebrow, .label, .section-eyebrow {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.25em !important;
  color: var(--h-brown) !important;
}
nav a, .btn, button {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.75rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.22em !important;
}

/* === v47 additions: Applications / Projects / FAQ === */

/* ── Shared section chrome ── */
section.section-cream {
  background: var(--h-cream);
  padding: 80px 24px;
}
.section-title {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--h-charcoal);
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-style: italic;
  color: #8B7355;
  margin-bottom: 48px;
}

/* ── Applications Grid ── */
section#applications, section#projects, section#faq {
  max-width: 1200px;
  margin: 0 auto;
}
section#applications.section-cream, section#faq.section-cream {
  max-width: 100%;
}
section#applications .section-title,
section#projects .section-title,
section#faq .section-title {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.applications-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.application-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.application-card:hover {
  transform: scale(1.02);
}
.application-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.application-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--h-charcoal);
  padding: 20px 24px 8px;
}
.application-card p {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #5C5C5C;
  padding: 0 24px 24px;
}

/* ── Projects List ── */
section#projects {
  background: #fff;
  padding: 80px 24px;
  max-width: 100%;
}
.projects-list {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.project-images {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}
.project-images img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}
.project-meta {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}
.project-tag {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #8B7355;
  display: block;
  margin-bottom: 8px;
}
.project-narrative h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--h-charcoal);
  margin-bottom: 16px;
}
.project-narrative p {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #5C5C5C;
}
.project-specs {
  list-style: none;
  padding: 0;
}
.project-specs li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #e8e3db;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: #5C5C5C;
}
.project-specs li strong {
  color: var(--h-charcoal);
  font-weight: 600;
  flex-shrink: 0;
}
.project-specs li span {
  text-align: right;
}

/* ── FAQ ── */
section#faq.section-cream {
  padding: 80px 24px;
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-list details {
  border-bottom: 1px solid #ddd;
}
.faq-list summary {
  cursor: pointer;
  padding: 20px 32px 20px 0;
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--h-charcoal);
  list-style: none;
  position: relative;
  outline: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::marker {
  display: none;
  content: '';
}
.faq-list summary::after {
  content: "▾";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: #8B7355;
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(180deg);
}
.faq-answer p {
  padding: 0 0 20px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.5rem;
  }
  .section-sub {
    font-size: 0.85rem;
    margin-bottom: 32px;
  }
  .applications-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .project-images {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .project-meta {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .project-narrative h3 {
    font-size: 1.3rem;
  }
  .projects-list {
    gap: 56px;
  }
  section.section-cream,
  section#projects {
    padding: 56px 20px;
  }
}


/* === v53 START: Lightbox + application-card__more === */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox.hidden { display: none; }
.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  padding: 8px 16px;
  z-index: 10000;
}
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover {
  background: rgba(255,255,255,0.25);
}
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 14px;
  letter-spacing: 1px;
}
.application-card__more {
  display: inline-block;
  background: transparent;
  border: 1px solid #8B7355;
  color: #8B7355;
  padding: 8px 16px;
  margin: 12px 24px 24px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s;
}
.application-card__more:hover {
  background: #8B7355;
  color: #fff;
}
/* === v53 END === */
