/* ===================================================
   handoff-base.css — 下層3ページ共通（/about・/author・/privacy）
   緑＋金・明朝のデザインハンドオフ共通シェル。
   すべて .handoff-page 配下にスコープし、グローバルな
   :root トークンや top.css の .section 等と衝突させない。
   ヘッダー / フッター / チャットボットは既存 partial を再利用するため
   ここでは page-hero / crumb / section shell / cta-band のみ定義する。
   =================================================== */

.handoff-page {
  --green-deep: #1f4f3a;
  --green-darker: #163828;
  --green-soft: #2e5a46;
  --sage: #eef1ea;
  --paper: #ffffff;
  --bone: #faf8f3;
  --ink: #1a1f1c;
  --ink-soft: rgba(26, 31, 28, 0.72);
  --ink-mute: rgba(26, 31, 28, 0.55);
  --rule: rgba(26, 31, 28, 0.12);
  --rule-soft: rgba(26, 31, 28, 0.08);
  --accent: #c9a55c;
  --accent-soft: #d9b86a;

  color: var(--ink);
  background: #fff;
}

/* ============================================================
   Page hero（金の同心円・固定ヘッダー 72px 分を上乗せ）
   ============================================================ */
.handoff-page .page-hero {
  position: relative;
  background:
    radial-gradient(120% 80% at 82% 0%, rgba(217,184,106,0.10) 0%, rgba(217,184,106,0) 55%),
    linear-gradient(180deg, var(--green-deep) 0%, var(--green-darker) 100%);
  color: #fff;
  padding: calc(72px + clamp(40px, 6vw, 80px)) 24px clamp(48px, 6vw, 80px);
  overflow: hidden;
  isolation: isolate;
}
.handoff-page .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    repeating-radial-gradient(circle at 92% -8%,
      rgba(217,184,106,0.11) 0 1px,
      transparent 1px 104px);
  mask-image: radial-gradient(95% 95% at 92% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(95% 95% at 92% 0%, #000 0%, transparent 70%);
}
.handoff-page .page-hero-inner { max-width: 1080px; margin: 0 auto; position: relative; }

.handoff-page .crumb {
  display: flex; align-items: center; gap: 10px;
  font-size: 12.5px; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.7);
  margin: 0 0 28px;
}
.handoff-page .crumb a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color .25s ease; }
.handoff-page .crumb a:hover { color: var(--accent-soft); }
.handoff-page .crumb .sep { color: rgba(255,255,255,0.4); font-size: 10px; }

.handoff-page .page-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; letter-spacing: 0.24em;
  color: var(--accent-soft); text-transform: uppercase;
  margin: 0 0 22px; font-weight: 500;
}
.handoff-page .page-eyebrow .bar { display: inline-block; width: 32px; height: 1px; background: var(--accent-soft); }

.handoff-page .page-hero h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.35;
  letter-spacing: 0.04em;
  margin: 0;
  text-wrap: pretty;
}
.handoff-page .page-hero .hero-sub {
  margin: 22px 0 0;
  max-width: 640px;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.95;
  color: rgba(255,255,255,0.85);
}

/* ============================================================
   Section shell
   ============================================================ */
.handoff-page .section { padding: clamp(64px, 8vw, 112px) 24px; }
.handoff-page .section-inner { max-width: 920px; margin: 0 auto; }
.handoff-page .section-inner.narrow { max-width: 760px; }
.handoff-page .section.bone { background: var(--bone); }
.handoff-page .section.sage { background: var(--sage); }

.handoff-page .section-label {
  font-size: 12px; letter-spacing: 0.22em; color: var(--accent);
  text-transform: uppercase; font-weight: 600;
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 16px;
}
.handoff-page .section-label::before { content: ""; width: 26px; height: 1px; background: var(--accent); }
.handoff-page .section-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.5;
  letter-spacing: 0.03em;
  margin: 0 0 clamp(24px, 3vw, 36px);
  color: var(--ink);
}

/* ============================================================
   Closing CTA band
   ============================================================ */
.handoff-page .cta-band {
  background: var(--green-darker);
  color: #fff;
  padding: clamp(64px, 8vw, 104px) 24px;
  text-align: center;
  position: relative; overflow: hidden;
}
.handoff-page .cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 60% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(80% 60% at 50% 50%, #000 30%, transparent 80%);
}
.handoff-page .cta-inner { position: relative; max-width: 640px; margin: 0 auto; }
.handoff-page .cta-eyebrow { font-size: 12px; letter-spacing: 0.3em; color: var(--accent-soft); margin: 0 0 16px; text-transform: uppercase; }
.handoff-page .cta-band h2 {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(22px, 2.6vw, 32px);
  margin: 0 0 20px; letter-spacing: 0.04em;
}
.handoff-page .cta-band p { color: rgba(255,255,255,0.82); font-size: 15px; line-height: 2; margin: 0 0 32px; }
.handoff-page .btn-gold {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--green-darker);
  background: var(--accent-soft);
  font-size: 14px; letter-spacing: 0.06em; font-weight: 600;
  padding: 16px 36px;
  transition: background .3s ease, transform .3s ease;
}
.handoff-page .btn-gold:hover { background: #fff; transform: translateY(-2px); }
.handoff-page .btn-gold i { font-size: 12px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 720px) {
  .handoff-page .section { padding: 56px 20px; }
  .handoff-page .page-hero { padding: calc(72px + 28px) 20px 44px; }
  .handoff-page .crumb { margin-bottom: 22px; font-size: 12px; }
}
