/* ============================================================
   HOME.CSS — index.html editorial homepage
   Digital Atelier · no borders, surface tiers, copper accents
   ============================================================ */

.home-page {
  background-color: var(--bg-main);
}

/* ---- Shared container ---- */
.h-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ---- Shared eyebrow ---- */
.h-eyebrow {
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}

/* ====================================================
   ① HERO
   ==================================================== */
.h-hero {
  background-color: var(--bg-main);
  background-image:
    radial-gradient(ellipse 800px 500px at 85% 60%, rgba(201, 169, 110, 0.07) 0%, transparent 65%),
    radial-gradient(ellipse 600px 400px at  5% 100%, rgba(122,  88,  59, 0.04) 0%, transparent 60%);
  padding: 108px 0 88px;
}

.h-display {
  font-family: "Noto Serif SC", "Noto Serif", "Bodoni Moda", "Songti SC", serif;
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--accent);
  margin: 0 0 40px;
  white-space: nowrap;
}

.h-hero-foot {
  display: flex;
  align-items: center;
  gap: 40px;
}

.h-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--accent-text);
  border: none;
  border-radius: var(--radius-pill);
  padding: 14px 32px;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: var(--shadow-ambient);
  transition: background 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.h-btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}

/* Inline stats */
.h-stats-inline {
  display: flex;
  align-items: center;
  gap: 32px;
}

.h-stat-inline {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.h-stat-inline strong {
  font-family: "Noto Serif SC", "Noto Serif", serif;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
}

.h-stat-inline span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* ====================================================
   ② FEATURE TABS — vertical rows
   ==================================================== */
.h-tabs-section {
  background-color: var(--bg-section);
  padding: 16px 0 0;
}

.h-feature-tabs {
  border-top: 1px solid var(--line-strong);
}

.h-feature-tab {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background 240ms ease;
  cursor: pointer;
}

a.h-feature-tab:hover {
  background: none;
}

a.h-feature-tab:hover .h-tab-title {
  color: var(--accent-hover);
}

a.h-feature-tab:hover .h-tab-arrow {
  transform: translateX(4px);
  opacity: 1;
}

.h-tab-muted {
  cursor: default;
  opacity: 0.55;
}

.h-tab-num {
  font-family: "Noto Serif SC", "Noto Serif", serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.08em;
  align-self: start;
  padding-top: 3px;
}

.h-tab-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.h-tab-title {
  font-family: "Noto Serif SC", "Noto Serif", "Songti SC", serif;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin: 0;
  transition: color 240ms ease;
}

.h-tab-desc {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin: 0;
}

.h-tab-arrow {
  color: var(--accent);
  opacity: 0.5;
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1), opacity 240ms ease;
  flex-shrink: 0;
}

.h-tab-badge {
  display: inline-block;
  background: var(--bg-depth);
  color: var(--subtle);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

/* ====================================================
   ③ VALUE — bg-main, 4-col strip
   ==================================================== */
.h-value-section {
  background-color: var(--bg-main);
  padding: 88px 0;
}

.h-value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.h-value-item {
  padding: 40px 32px;
  background: var(--bg-depth);
  display: flex;
  flex-direction: column;
  transition: background 240ms ease;
}

.h-value-item:first-child { border-radius: 16px 0 0 16px; }
.h-value-item:last-child  { border-radius: 0 16px 16px 0; }
.h-value-item + .h-value-item { border-left: 1px solid rgba(177,178,176,0.2); }

.h-value-item:hover { background: rgba(249, 221, 200, 0.55); }

.h-value-item:hover .h-value-icon {
  transform: scale(1.08) translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.h-value-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--card);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: var(--shadow-ambient);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 240ms ease;
}

.h-value-item strong {
  font-family: "Noto Serif SC", "Noto Serif", serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.h-value-item span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* ====================================================
   ④ CTA BAND — copper fill
   ==================================================== */
.h-cta-band {
  background: var(--accent);
  padding: 80px 0;
}

.h-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.h-cta-title {
  font-family: "Noto Serif SC", "Noto Serif", "Bodoni Moda", "Songti SC", serif;
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--accent-text);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

.h-btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-text);
  color: var(--accent);
  border: none;
  border-radius: var(--radius-pill);
  padding: 14px 32px;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 300ms ease;
}

.h-btn-white:hover { opacity: 0.88; }

/* ====================================================
   RESPONSIVE
   ==================================================== */
@media (max-width: 1024px) {
  .h-container { padding: 0 32px; }
  .h-hero { padding: 80px 0 64px; }
  .h-value-section { padding: 72px 0; }
  .h-cta-band { padding: 64px 0; }
}

@media (max-width: 768px) {
  .h-container { padding: 0 20px; }
  .h-hero { padding: 56px 0 48px; }

  .h-display {
    white-space: normal;
    font-size: clamp(36px, 9vw, 56px);
  }

  .h-hero-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .h-stats-inline { gap: 24px; }

  .h-feature-tab {
    grid-template-columns: 48px 1fr auto;
    gap: 20px;
    padding: 28px 0;
  }

  .h-value-grid { grid-template-columns: 1fr 1fr; }
  .h-value-item:first-child { border-radius: 16px 0 0 0; }
  .h-value-item:last-child  { border-radius: 0 0 16px 0; }
  .h-value-item:nth-child(2) { border-radius: 0 16px 0 0; }
  .h-value-item:nth-child(3) { border-radius: 0 0 0 16px; border-left: none; border-top: 1px solid rgba(177,178,176,0.2); }
  .h-value-item:nth-child(4) { border-top: 1px solid rgba(177,178,176,0.2); }

  .h-cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .h-feature-tab {
    grid-template-columns: 40px 1fr auto;
    gap: 16px;
    padding: 24px 0;
  }

  .h-value-grid { grid-template-columns: 1fr; }
  .h-value-item:first-child { border-radius: 16px 16px 0 0; }
  .h-value-item:last-child  { border-radius: 0 0 16px 16px; }
  .h-value-item:nth-child(2),
  .h-value-item:nth-child(3) { border-radius: 0; }
  .h-value-item + .h-value-item { border-left: none; border-top: 1px solid rgba(177,178,176,0.2); }
}
