@import url("page-common.css");

.page-hero {
  position: relative;
  padding: 48px 0 40px;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(33, 87, 214, 0.2), transparent);
}

.page-hero-inner {
  display: grid;
  gap: 16px;
  padding: 32px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(33, 87, 214, 0.08), rgba(123, 199, 255, 0.2));
  border: 1px solid rgba(33, 87, 214, 0.12);
}

.page-title-en {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(36px, 5vw, 54px);
  letter-spacing: 2px;
  margin: 0;
  color: var(--ink-strong);
  text-transform: uppercase;
}

.page-title-jp {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}

.belief-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.belief-card {
  padding: 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 8px;
}

.belief-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.story-timeline {
  display: grid;
  gap: 16px;
}

.story-step {
  padding: 20px 22px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
}

.story-step-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent);
}

.story-step-year {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--accent);
}

.story-step-label {
  color: var(--muted);
}

.story-step h3 {
  margin: 0;
  font-size: 18px;
}

.story-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.story-cta {
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(16, 34, 67, 0.08), rgba(123, 199, 255, 0.2));
  border: 1px solid rgba(33, 87, 214, 0.12);
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.story-cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .story-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

main {
  padding: 48px 0 96px;
}

.breadcrumb {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}

.breadcrumb a {
  text-decoration: none;
  color: inherit;
}

.section {
  margin-bottom: 72px;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.7s ease forwards;
}

.section:nth-of-type(2) {
  animation-delay: 0.08s;
}

.section:nth-of-type(3) {
  animation-delay: 0.14s;
}

.section:nth-of-type(4) {
  animation-delay: 0.2s;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--accent);
  margin: 0 0 12px;
  font-family: "Barlow Condensed", sans-serif;
}

.section-title {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(28px, 3.2vw, 40px);
  margin: 0 0 12px;
  color: var(--ink-strong);
  letter-spacing: 1px;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

@media (max-width: 900px) {
  main {
    padding-top: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
