*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --paper: #FDFBF7;
  --ink: #2B2B2B;
  --ink-light: #5a5a5a;
  --ink-faint: #999;
  --accent: #2C4F7C;
  --amber: #D4A373;
  --amber-light: #f5edd8;
  --border: #e8e3da;
  --serif: 'Shippori Mincho', 'Noto Serif JP', serif;
  --sans: 'Inter', 'Noto Sans JP', sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.8;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Header ── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.header.scrolled { border-bottom-color: var(--border); }

.header__brand {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.header__nav {
  display: flex;
  gap: 2rem;
  font-size: 0.8rem;
  color: var(--ink-light);
  letter-spacing: 0.03em;
}
.header__nav a:hover { color: var(--accent); }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: #f2eee9;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url('/img/hero.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to right,
    rgba(253, 251, 247, 0.98) 0%,
    rgba(253, 251, 247, 0.88) 36%,
    rgba(253, 251, 247, 0.48) 55%,
    rgba(253, 251, 247, 0) 78%
  );
  pointer-events: none;
}

.hero__container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 7rem 2.5rem 5rem;
  position: relative;
  z-index: 3;
}

.hero__copy {
  max-width: 34rem;
}

.hero__ornament {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--amber), transparent);
  margin: 0 0 2rem;
  opacity: 0.6;
}

.hero__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.65rem);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: var(--ink);
  max-width: 20em;
  margin: 0 0 1.75rem;
}

.hero__title em {
  font-style: normal;
  color: var(--accent);
}

.hero__mobile-break {
  display: none;
}

.hero__lead {
  font-size: 0.95rem;
  color: var(--ink-light);
  line-height: 2;
  max-width: 38em;
  margin: 0;
  font-weight: 300;
}

.hero__scroll {
  position: absolute;
  z-index: 3;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.hero__scroll::after {
  content: '';
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--ink-faint), transparent);
  display: block;
}

/* ── Divider ── */
.divider {
  width: 40px;
  height: 1px;
  background: var(--amber);
  border: none;
  margin: 0 auto;
  opacity: 0.5;
}

.divider--values-before {
  margin-bottom: 3.5rem;
}

.divider--values-after {
  margin-top: 3.5rem;
}

/* ── Section base ── */
.section {
  max-width: 900px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section--wide {
  max-width: 1080px;
}

.paths__intro {
  text-align: center;
}

.section__label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--amber);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1.25rem;
  display: block;
}

.section__title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.04em;
  margin-bottom: 1.75rem;
  color: var(--ink);
}

/* ── About ── */
.about {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about__text {
  font-size: 0.95rem;
  color: var(--ink-light);
  line-height: 2;
}

.about__text p + p { margin-top: 1.25em; }

.about__text strong { color: var(--ink); font-weight: 500; }

.about__features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature__num {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--border);
  line-height: 1;
  flex-shrink: 0;
  width: 1.75rem;
  font-weight: 600;
}

.feature__text {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--ink-light);
}
.feature__text strong { color: var(--ink); font-weight: 500; display: block; margin-bottom: 0.2em; }

/* ── Paths ── */
.paths {
  background: var(--paper);
}

.paths__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.path-card {
  border: 1px solid var(--border);
  padding: 2.5rem;
  position: relative;
  transition: box-shadow 0.25s, border-color 0.25s;
  background: #fff;
}

.path-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 24px rgba(44, 79, 124, 0.06);
}

.path-card__tag {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 500;
  margin-bottom: 1rem;
  display: block;
}

.path-card__title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  color: var(--ink);
}

.path-card__desc {
  font-size: 0.875rem;
  color: var(--ink-light);
  line-height: 1.9;
  margin-bottom: 2rem;
}

.path-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 0.15em;
  font-weight: 500;
  transition: opacity 0.2s;
}
.path-card__link:hover { opacity: 0.7; }
.path-card__link::after {
  content: '→';
  font-size: 0.9em;
}

.path-card--featured {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.path-card--featured .path-card__tag { color: rgba(255,255,255,0.6); }
.path-card--featured .path-card__title { color: #fff; }
.path-card--featured .path-card__desc { color: rgba(255,255,255,0.75); }
.path-card--featured .path-card__link {
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.5);
}
.path-card--featured:hover { box-shadow: 0 4px 32px rgba(44, 79, 124, 0.3); }

/* ── Values ── */
.values {
  text-align: center;
  border-top: 1px solid var(--border);
}

.values__body {
  max-width: 36em;
  margin: 0 auto;
  font-size: 0.95rem;
  color: var(--ink-light);
  line-height: 2.1;
}
.values__body p + p { margin-top: 1.5em; }

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
  text-align: center;
}

.footer__brand {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 1rem;
}

.footer__nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-size: 0.78rem;
  color: var(--ink-light);
  margin-bottom: 1.5rem;
}
.footer__nav a:hover { color: var(--accent); }

.footer__copy {
  font-size: 0.72rem;
  color: var(--ink-faint);
  letter-spacing: 0.05em;
}

/* ── Responsive ── */
@media (max-width: 680px) {
  .header { padding: 1rem 1.25rem; }
  .header__nav { display: none; }
  .about__body { grid-template-columns: 1fr; gap: 2.5rem; }
  .paths__grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .hero {
    min-height: 100svh;
    align-items: flex-start;
  }
  .hero__bg {
    background-position: 40% center;
  }
  .hero__overlay {
    background: rgba(253, 251, 247, 0.86);
  }
  .hero__container {
    padding: 7.5rem 1.25rem 4rem;
  }
  .hero__copy {
    max-width: 34rem;
    margin: 0 auto;
    text-align: center;
  }
  .hero__ornament {
    height: 32px;
    margin: 0 auto 1.25rem;
  }
  .hero__title {
    font-size: clamp(1.75rem, 7.4vw, 2.05rem);
    line-height: 1.6;
    letter-spacing: 0.02em;
  }
  .hero__lead br {
    display: none;
  }
  .hero__desktop-break {
    display: block;
  }
  .hero__mobile-break {
    display: block;
  }
  .hero__scroll { display: none; }
}

@media (min-width: 681px) and (max-width: 980px) {
  .hero__overlay {
    background: linear-gradient(
      to right,
      rgba(253, 251, 247, 0.97) 0%,
      rgba(253, 251, 247, 0.86) 44%,
      rgba(253, 251, 247, 0.18) 82%
    );
  }
  .hero__lead br {
    display: none;
  }
}
