/* ============================================================
   わんとも — Landing Page styles
   B案（地図が主役）× C案（手紙・誠実）統合版
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500;700;900&family=Kiwi+Maru:wght@400;500&family=M+PLUS+Rounded+1c:wght@400;500;700;800&display=swap');

:root {
  --font-display: 'Zen Maru Gothic', sans-serif;
  --font-body: 'Zen Maru Gothic', sans-serif;

  --bg: #FAF5EB;
  --bg-band: #F1ECDE;
  --surface: #FFFFFF;
  --surface-soft: #FDFBF5;
  --ink: #423A2E;
  --ink-soft: #837A6A;
  --ink-faint: #A99F8D;
  --brand: #3E8E5E;
  --brand-deep: #2F6E49;
  --brand-tint: #E7F1E7;
  --brand-tint-2: #DCEADD;
  --cta: #E0633F;
  --cta-hover: #CC5532;
  --cta-ink: #FFFFFF;
  --pink: #D9688A;
  --line: #E9E0CD;
  --line-soft: #F0EADA;
  --shadow: 0 6px 24px rgba(83, 70, 47, 0.10);
  --shadow-lg: 0 14px 44px rgba(83, 70, 47, 0.14);
  --radius: 22px;
  --radius-sm: 14px;
  --map-bg: #F2F0E4;
  --map-grid: #E5E1CF;
  --map-park: #DCEAD6;
  --map-water: #DCE7EC;
  --paw-pattern-ink: rgba(62, 142, 94, 0.055);
}

[data-theme="dark"] {
  --bg: #211E18;
  --bg-band: #282419;
  --bg-band: #29251D;
  --surface: #2D2921;
  --surface-soft: #332E25;
  --ink: #F1EADB;
  --ink-soft: #B7AD9A;
  --ink-faint: #8E8472;
  --brand: #72BE8F;
  --brand-deep: #8FD0A8;
  --brand-tint: #32402F;
  --brand-tint-2: #3A4A36;
  --cta: #E8754F;
  --cta-hover: #F08A66;
  --cta-ink: #FFF8F2;
  --pink: #E08BA5;
  --line: #3D372C;
  --line-soft: #353024;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.32);
  --shadow-lg: 0 14px 44px rgba(0, 0, 0, 0.4);
  --map-bg: #2A2E26;
  --map-grid: #353A30;
  --map-park: #324233;
  --map-water: #2E3B41;
  --paw-pattern-ink: rgba(114, 190, 143, 0.05);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.35s ease, color 0.35s ease;
}

body[data-paws="on"] {
  background-image:
    radial-gradient(ellipse 5px 7px at 24px 30px, var(--paw-pattern-ink) 98%, transparent),
    radial-gradient(ellipse 3px 4px at 16px 19px, var(--paw-pattern-ink) 98%, transparent),
    radial-gradient(ellipse 3px 4px at 24px 16px, var(--paw-pattern-ink) 98%, transparent),
    radial-gradient(ellipse 3px 4px at 32px 19px, var(--paw-pattern-ink) 98%, transparent),
    radial-gradient(ellipse 5px 7px at 110px 112px, var(--paw-pattern-ink) 98%, transparent),
    radial-gradient(ellipse 3px 4px at 102px 101px, var(--paw-pattern-ink) 98%, transparent),
    radial-gradient(ellipse 3px 4px at 110px 98px, var(--paw-pattern-ink) 98%, transparent),
    radial-gradient(ellipse 3px 4px at 118px 101px, var(--paw-pattern-ink) 98%, transparent);
  background-size: 170px 170px;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
  text-wrap: pretty;
}
p { margin: 0; text-wrap: pretty; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 16px;
}
.logo {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-display);
  font-weight: 900; font-size: 21px;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.logo .paw-mark { color: var(--brand); display: inline-flex; }
.site-nav { display: none; gap: 28px; align-items: center; }
.site-nav a {
  text-decoration: none; font-size: 14.5px; font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--brand); }
.header-cta { display: flex; align-items: center; gap: 12px; }

/* ---------- Tweaks launcher (static-page only) ---------- */
#tweaks-launcher {
  position: fixed; left: 16px; bottom: 16px; z-index: 60;
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%;
  background: var(--surface); color: var(--ink-soft);
  box-shadow: var(--shadow); cursor: pointer;
  transition: color .18s ease, border-color .18s ease, transform .12s ease;
}
#tweaks-launcher:hover { color: var(--brand); border-color: var(--brand); }
#tweaks-launcher:active { transform: scale(0.92); }
#tweaks-launcher:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

@media (min-width: 820px) {
  .site-nav { display: flex; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  border: none; cursor: pointer;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s, box-shadow 0.2s;
}
.btn:active { transform: scale(0.95); }
.btn-cta {
  background: var(--cta); color: var(--cta-ink);
  font-size: 17px; padding: 15px 32px;
  box-shadow: 0 6px 18px color-mix(in oklab, var(--cta) 38%, transparent);
}
.btn-cta:hover { background: var(--cta-hover); transform: translateY(-1px); }
.btn-cta.small { font-size: 14.5px; padding: 10px 22px; box-shadow: none; }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 2px solid var(--line);
  font-size: 16px; padding: 13px 28px;
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- badges ---------- */
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  white-space: nowrap; flex: none;
  font-family: var(--font-display);
  font-size: 13.5px; font-weight: 700;
  color: var(--brand-deep);
  background: var(--brand-tint);
  border-radius: 999px;
  padding: 6px 16px;
}
.badge svg { width: 14px; height: 14px; }

/* ---------- hero ---------- */
.hero { padding: 56px 0 72px; overflow: hidden; }
.hero .container {
  display: grid; gap: 44px;
  grid-template-columns: 1fr;
  align-items: center;
}
.hero-copy { max-width: 540px; }
.hero h1 {
  font-size: clamp(34px, 5.4vw, 52px);
  font-weight: 900;
  letter-spacing: 0.01em;
  margin: 22px 0 18px;
}
.hero h1 .accent { color: var(--brand); }
.hero .lede {
  font-size: 16.5px; color: var(--ink-soft);
  max-width: 42ch;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; align-items: center; }
.hero-note { font-size: 13px; color: var(--ink-faint); margin-top: 14px; }

/* hero visual: polaroid + map */
.hero-visual { position: relative; display: flex; flex-direction: column; align-items: center; }
.polaroid {
  position: relative; z-index: 2;
  background: var(--surface);
  padding: 12px 12px 40px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  transform: rotate(-3.5deg);
  width: min(290px, 72vw);
  margin-bottom: -54px;
  align-self: flex-start;
}
.polaroid .caption {
  position: absolute; bottom: 9px; left: 0; right: 0;
  text-align: center;
  font-family: 'Kiwi Maru', serif;
  font-size: 13.5px; color: var(--ink-soft);
}
.map-card {
  position: relative; z-index: 1;
  width: 100%;
  border-radius: var(--radius);
  background: var(--map-bg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
}
.map-card svg.map-base { display: block; width: 100%; height: auto; }

.map-pin {
  position: absolute;
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50% 50% 50% 6px;
  transform: rotate(-6deg);
  background: var(--brand);
  color: #fff;
  box-shadow: 0 5px 14px rgba(0,0,0,0.18);
}
.map-pin svg { width: 22px; height: 22px; transform: rotate(6deg); }
.map-pin.spot {
  background: var(--surface);
  color: var(--ink-soft);
  width: 38px; height: 38px;
  font-size: 17px;
}
@media (prefers-reduced-motion: no-preference) {
  .map-pin.ev1 { animation: pin-bob 3.2s ease-in-out infinite; }
  .map-pin.ev2 { animation: pin-bob 3.2s ease-in-out 0.9s infinite; }
  @keyframes pin-bob {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -7px; }
  }
}

.map-event-card {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  display: flex; align-items: center; gap: 13px;
  background: var(--surface);
  border-radius: 18px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
}
.map-event-card .ev-body { flex: 1; min-width: 0; line-height: 1.5; }
.map-event-card .ev-title { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; }
.map-event-card .ev-meta { font-size: 12px; color: var(--ink-soft); margin-top: 3px; }

@media (min-width: 880px) {
  .hero { padding: 76px 0 96px; }
  .hero .container { grid-template-columns: 11fr 10fr; gap: 56px; }
  .polaroid { margin-left: -34px; }
}

/* ---------- section scaffolding ---------- */
section.lp-section { padding: 84px 0; }
.section-kicker {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}
.section-kicker .paw-mark { display: inline-flex; }
.section-title { font-size: clamp(26px, 3.6vw, 36px); font-weight: 900; }
.section-lede { color: var(--ink-soft); margin-top: 16px; max-width: 56ch; font-size: 16px; }
.center { text-align: center; }
.center .section-kicker { justify-content: center; }
.center .section-lede { margin-inline: auto; }

.band { background: var(--bg-band); }

/* paw trail divider */
.paw-divider {
  display: flex; justify-content: center; gap: 26px;
  padding: 8px 0;
  color: var(--brand);
  opacity: 0.5;
}
.paw-divider svg { width: 17px; height: 17px; }
.paw-divider svg:nth-child(2) { transform: rotate(14deg) translateY(-5px); }
.paw-divider svg:nth-child(1), .paw-divider svg:nth-child(3) { transform: rotate(-10deg); }

/* ---------- mission (C) ---------- */
.mission-card { max-width: 740px; margin: 0 auto; text-align: center; }
.mission-card .mission-quote {
  font-size: clamp(24px, 3.4vw, 33px);
  font-weight: 900;
  font-family: var(--font-display);
  line-height: 1.6;
}
.mission-card .mission-quote .u {
  background: linear-gradient(transparent 68%, var(--brand-tint-2) 68%);
  padding: 0 2px;
}
.mission-body { color: var(--ink-soft); margin-top: 22px; font-size: 16px; }
.mission-facts {
  display: grid; gap: 14px;
  grid-template-columns: 1fr;
  margin-top: 36px;
  text-align: left;
}
.mission-fact {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  box-shadow: var(--shadow);
}
.mission-fact .ic {
  flex: none;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--brand-tint);
  color: var(--brand-deep);
  display: flex; align-items: center; justify-content: center;
}
.mission-fact .ic svg { width: 20px; height: 20px; }
.mission-fact strong { font-family: var(--font-display); font-size: 15.5px; display: block; line-height: 1.5; }
.mission-fact span { font-size: 13.5px; color: var(--ink-soft); line-height: 1.7; display: block; margin-top: 3px; }
@media (min-width: 760px) {
  .mission-facts { grid-template-columns: 1fr 1fr 1fr; }
  .mission-fact { flex-direction: column; gap: 12px; padding: 22px; }
}

/* ---------- week timeline (B) ---------- */
.week { position: relative; max-width: 660px; margin: 48px auto 0; }
.week-step {
  position: relative;
  display: grid; grid-template-columns: 58px 1fr; gap: 16px 18px;
  padding-bottom: 44px;
}
.week-side { grid-column: 2; min-width: 0; }
@media (min-width: 880px) {
  .week { max-width: 920px; }
  .week-step { grid-template-columns: 58px minmax(0, 1fr) 320px; gap: 18px 26px; }
  .week-side { grid-column: 3; grid-row: 1; align-self: center; justify-self: end; width: 100%; max-width: 320px; }
}
.week-step:last-child { padding-bottom: 0; }
.week-step::before {
  content: "";
  position: absolute; left: 28px; top: 62px; bottom: 6px;
  border-left: 2.5px dotted color-mix(in oklab, var(--brand) 38%, transparent);
}
.week-step:last-child::before { display: none; }
.week-num {
  width: 58px; height: 58px; border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand);
  position: relative; z-index: 1;
}
.week-num svg { width: 27px; height: 27px; }
.week-body h3 { font-size: 19px; margin-top: 4px; }
.week-body h3 .step-label {
  font-size: 12px; color: var(--ink-faint); font-weight: 700;
  display: block; letter-spacing: 0.12em; margin-bottom: 2px;
}
.week-body p { color: var(--ink-soft); font-size: 14.5px; margin-top: 6px; max-width: 46ch; }

/* step vignettes */
.vignette {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  max-width: 360px;
}
.vignette .vg-head { display: flex; align-items: center; gap: 13px; }
.vignette .vg-name { font-family: var(--font-display); font-weight: 700; font-size: 15.5px; line-height: 1.5; }
.vignette .vg-sub { font-size: 12.5px; color: var(--ink-soft); }
.chip-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.chip {
  font-family: var(--font-display); font-weight: 700;
  font-size: 12px;
  color: var(--brand-deep);
  background: var(--brand-tint);
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
}

.mini-map {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line-soft);
  max-width: 360px;
  background: var(--map-bg);
}
.mini-map svg { display: block; width: 100%; height: auto; }
.mini-map .map-pin { width: 38px; height: 38px; }
.mini-map .map-pin svg { width: 19px; height: 19px; }
.mini-map .mini-map-chip {
  position: absolute; left: 12px; bottom: 12px; right: 12px;
  display: flex; align-items: center; gap: 8px;
  background: var(--surface);
  border-radius: 999px;
  padding: 8px 16px;
  box-shadow: var(--shadow);
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  line-height: 1.4;
}
.mini-map .mini-map-chip .paw-mark { color: var(--brand); display: inline-flex; flex: none; }

.meet-polaroid {
  background: var(--surface);
  padding: 10px 10px 34px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transform: rotate(2.5deg);
  width: min(250px, 100%);
  position: relative;
  margin: 6px auto 0;
}
@media (min-width: 880px) { .meet-polaroid { margin: 0 0 0 auto; } }
.meet-polaroid .caption {
  position: absolute; bottom: 7px; left: 0; right: 0;
  text-align: center;
  font-family: 'Kiwi Maru', serif;
  font-size: 12.5px; color: var(--ink-soft);
}

.reward-row { display: flex; align-items: center; gap: 13px; }
.reward-row .ic {
  flex: none;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand-deep);
  display: flex; align-items: center; justify-content: center;
}
.reward-row .ic svg { width: 20px; height: 20px; }
.reward-paws {
  display: flex; gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1.5px dashed var(--line);
  color: var(--brand);
  align-items: center;
}
.reward-paws svg { width: 19px; height: 19px; }
.reward-paws .faint { opacity: 0.22; }
.reward-paws .label { font-size: 12px; color: var(--ink-faint); margin-left: 4px; }

/* paw participate demo */
.paw-demo {
  margin-top: 0;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  max-width: 330px;
}
.paw-demo .hint { font-size: 12.5px; color: var(--ink-faint); }
.btn-paw {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700;
  color: var(--cta-ink);
  background: var(--cta);
  border: none; cursor: pointer;
  border-radius: 999px;
  padding: 16px 34px;
  box-shadow: 0 6px 18px color-mix(in oklab, var(--cta) 38%, transparent);
  transition: background-color 0.25s, transform 0.16s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.btn-paw svg { width: 21px; height: 21px; }
.btn-paw.squish { animation: squish 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes squish {
  0% { transform: scale(1); }
  35% { transform: scale(0.86, 0.78); }
  70% { transform: scale(1.06, 1.04); }
  100% { transform: scale(1); }
}
.btn-paw.joined { background: var(--brand); box-shadow: 0 6px 18px color-mix(in oklab, var(--brand) 38%, transparent); }
.paw-pop {
  position: absolute;
  pointer-events: none;
  color: var(--brand);
  animation: paw-pop 0.9s ease-out forwards;
}
.paw-pop svg { width: 18px; height: 18px; }
@keyframes paw-pop {
  0% { opacity: 0; transform: translateY(4px) scale(0.5) rotate(-12deg); }
  25% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-46px) scale(1.15) rotate(14deg); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-paw.squish { animation: none; }
  .paw-pop { animation: none; opacity: 0; }
}

/* ---------- features ---------- */
.feature-grid {
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
  margin-top: 44px;
}
.feature-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-card .ic {
  width: 48px; height: 48px; border-radius: 16px;
  background: var(--brand-tint);
  color: var(--brand-deep);
  display: flex; align-items: center; justify-content: center;
}
.feature-card .ic svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 18px; }
.feature-card p { font-size: 14px; color: var(--ink-soft); }
@media (min-width: 680px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .feature-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- anshin (B contrast + C pledge) ---------- */
.map-contrast {
  display: grid; gap: 18px;
  grid-template-columns: 1fr;
  margin-top: 44px;
}
.contrast-card {
  border-radius: var(--radius);
  padding: 26px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.contrast-card.shown { border: 2px solid color-mix(in oklab, var(--brand) 45%, transparent); }
.contrast-card.hidden-things { border: 2px dashed var(--line); background: transparent; box-shadow: none; }
.contrast-card h3 {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px;
}
.contrast-card h3 .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--brand); flex: none; }
.contrast-card.hidden-things h3 .dot { background: var(--ink-faint); }
.contrast-card ul { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.contrast-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.7; }
.contrast-card li svg { width: 18px; height: 18px; flex: none; margin-top: 4px; }
.contrast-card.shown li svg { color: var(--brand); }
.contrast-card.hidden-things li { color: var(--ink-soft); }
.contrast-card.hidden-things li svg { color: var(--ink-faint); }
.contrast-card li small { display: block; font-size: 12.5px; color: var(--ink-faint); }
@media (min-width: 760px) { .map-contrast { grid-template-columns: 1fr 1fr; } }

/* pledge card (C) */
.pledge {
  max-width: 680px;
  margin: 56px auto 0;
  background: var(--surface);
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  padding: 36px 28px 30px;
  position: relative;
}
.pledge::before {
  content: "";
  position: absolute; inset: 10px;
  border: 1.5px dashed color-mix(in oklab, var(--brand) 30%, transparent);
  border-radius: 18px;
  pointer-events: none;
}
.pledge h3 {
  text-align: center;
  font-size: 22px;
  font-family: 'Kiwi Maru', serif;
  font-weight: 500;
}
.pledge-list { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.pledge-list li { display: flex; gap: 16px; align-items: flex-start; }
.pledge-list .ic {
  flex: none;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand-deep);
  display: flex; align-items: center; justify-content: center;
}
.pledge-list .ic svg { width: 20px; height: 20px; }
.pledge-list strong { font-family: var(--font-display); font-size: 16px; display: block; line-height: 1.5; }
.pledge-list span { font-size: 13.5px; color: var(--ink-soft); display: block; margin-top: 2px; line-height: 1.7; }
.pledge-sign {
  display: flex; justify-content: flex-end; align-items: center; gap: 10px;
  margin-top: 26px;
  font-family: 'Kiwi Maru', serif;
  font-size: 14px;
  color: var(--ink-soft);
}
.pledge-sign .stamp {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid color-mix(in oklab, var(--pink) 60%, transparent);
  color: var(--pink);
  display: flex; align-items: center; justify-content: center;
  transform: rotate(8deg);
}
.pledge-sign .stamp svg { width: 22px; height: 22px; }

/* ---------- about / why free ---------- */
.about-grid {
  display: grid; gap: 40px;
  grid-template-columns: 1fr;
  align-items: center;
  margin-top: 12px;
}
.about-photo-stack { display: flex; justify-content: center; gap: 0; }
.about-photo-stack .ph {
  background: var(--surface);
  padding: 10px 10px 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.about-photo-stack .ph:nth-child(1) { transform: rotate(-5deg) translateY(10px); z-index: 1; }
.about-photo-stack .ph:nth-child(2) { transform: rotate(3deg); z-index: 2; margin-left: -26px; }
.about-copy h2 { font-size: clamp(25px, 3.4vw, 33px); font-weight: 900; }
.about-copy .qa { margin-top: 24px; display: flex; flex-direction: column; gap: 20px; }
.about-copy .qa dt {
  font-family: var(--font-display);
  font-weight: 700; font-size: 16.5px;
  color: var(--brand-deep);
  display: flex; gap: 9px; align-items: center;
}
.about-copy .qa dt .paw-mark { display: inline-flex; color: var(--brand); }
.about-copy .qa dd { margin: 8px 0 0; font-size: 14.5px; color: var(--ink-soft); }
@media (min-width: 860px) {
  .about-grid { grid-template-columns: 5fr 7fr; gap: 64px; }
}

/* ---------- join CTA ---------- */
.join-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
  padding: 52px 26px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.join-card .badge-row { justify-content: center; }
.join-card h2 { font-size: clamp(25px, 3.6vw, 34px); font-weight: 900; margin-top: 18px; }
.join-card .join-lede { color: var(--ink-soft); margin-top: 14px; font-size: 15.5px; }
.join-actions { margin-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.join-soft { font-size: 13px; color: var(--ink-faint); }
.join-divider {
  display: flex; align-items: center; gap: 14px;
  max-width: 380px; margin: 26px auto 0;
  color: var(--ink-faint); font-size: 12.5px;
}
.join-divider::before, .join-divider::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.notify-form {
  margin: 18px auto 0;
  display: flex; gap: 8px;
  max-width: 420px;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 5px 5px 5px 20px;
}
.notify-form:focus-within { border-color: var(--brand); }
.notify-form input {
  flex: 1; min-width: 0;
  border: none; background: transparent; outline: none;
  font-family: var(--font-body); font-size: 14.5px;
  color: var(--ink);
}
.notify-form input::placeholder { color: var(--ink-faint); }
.notify-form button {
  flex: none;
  font-family: var(--font-display); font-weight: 700; font-size: 13.5px;
  border: none; cursor: pointer;
  background: var(--brand); color: #fff;
  border-radius: 999px;
  padding: 9px 18px;
  transition: background-color 0.2s;
}
.notify-form button:hover { background: var(--brand-deep); }
[data-theme="dark"] .notify-form button:hover { background: var(--brand); filter: brightness(1.1); }
.notify-done { margin-top: 18px; font-size: 14.5px; color: var(--brand-deep); font-weight: 700; font-family: var(--font-display); }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 44px 0 56px;
  background: var(--bg-band);
}
.site-footer .container {
  display: flex; flex-direction: column; gap: 22px;
}
.footer-brand { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 900; font-size: 18px; }
.footer-brand .paw-mark { color: var(--brand); display: inline-flex; }
.footer-org { font-size: 13.5px; color: var(--ink-soft); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 13.5px; color: var(--ink-soft); text-decoration: none; }
.footer-links a:hover { color: var(--brand); text-decoration: underline; }
.footer-legal { font-size: 12px; color: var(--ink-faint); }
@media (min-width: 760px) {
  .site-footer .container { flex-direction: row; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
}

/* ---------- reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; translate: 0 26px; transition: opacity 0.7s ease, translate 0.7s ease; }
  .reveal.in { opacity: 1; translate: 0 0; }
}

/* ---------- a11y ---------- */
:focus-visible { outline: 3px solid color-mix(in oklab, var(--brand) 70%, transparent); outline-offset: 3px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--surface); color: var(--ink);
  padding: 10px 18px; border-radius: 0 0 12px 0;
  font-family: var(--font-display);
}
.skip-link:focus { left: 0; }

/* ============================================================
   動きの演出（decorative animations）
   ============================================================ */

/* paw walker on hero map */
.map-walker span {
  position: absolute;
  width: 15px; height: 15px;
  color: var(--brand);
  opacity: 0;
  margin: -7px 0 0 -7px;
}
.map-walker span svg { width: 100%; height: 100%; display: block; }

@media (prefers-reduced-motion: no-preference) {
  body:not([data-anim="off"]) .map-walker span {
    animation: paw-walk 6.4s linear infinite;
    animation-delay: calc(var(--wi) * 0.6s);
  }
  @keyframes paw-walk {
    0% { opacity: 0; transform: var(--pr) scale(0.5); }
    5% { opacity: 0.85; transform: var(--pr) scale(1); }
    52% { opacity: 0.85; }
    68% { opacity: 0; }
    100% { opacity: 0; transform: var(--pr) scale(1); }
  }

  /* hero entrance */
  body:not([data-anim="off"]) .hero .badge-row { animation: fade-up 0.65s 0.05s backwards ease-out; }
  body:not([data-anim="off"]) .hero h1 { animation: fade-up 0.65s 0.15s backwards ease-out; }
  body:not([data-anim="off"]) .hero .lede { animation: fade-up 0.65s 0.25s backwards ease-out; }
  body:not([data-anim="off"]) .hero-actions { animation: fade-up 0.65s 0.35s backwards ease-out; }
  body:not([data-anim="off"]) .hero-note { animation: fade-up 0.65s 0.45s backwards ease-out; }
  body:not([data-anim="off"]) .hero .polaroid { animation: polaroid-in 0.85s 0.25s backwards cubic-bezier(0.34, 1.56, 0.64, 1); }
  body:not([data-anim="off"]) .hero .map-card { animation: fade-up 0.8s 0.4s backwards ease-out; }
  body:not([data-anim="off"]) .hero .map-event-card { animation: card-up 0.7s 1s backwards cubic-bezier(0.34, 1.56, 0.64, 1); }

  @keyframes fade-up {
    from { opacity: 0; translate: 0 22px; }
    to { opacity: 1; translate: 0 0; }
  }
  @keyframes polaroid-in {
    from { opacity: 0; transform: rotate(-13deg) translateY(-34px); }
    to { opacity: 1; transform: rotate(-3.5deg) translateY(0); }
  }
  @keyframes card-up {
    from { opacity: 0; transform: translateY(46px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* week step numbers pop when revealed */
  body:not([data-anim="off"]) .week-step.reveal.in .week-num {
    animation: num-pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
  }
  @keyframes num-pop {
    from { transform: scale(0.3) rotate(-14deg); }
    to { transform: scale(1) rotate(0deg); }
  }

  /* pledge stamp slams down */
  body:not([data-anim="off"]) .pledge.reveal.in .pledge-sign .stamp {
    animation: stamp-down 0.55s 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
  }
  @keyframes stamp-down {
    0% { opacity: 0; transform: rotate(8deg) scale(2.6) translateY(-10px); }
    55% { opacity: 1; transform: rotate(8deg) scale(0.88); }
    100% { opacity: 1; transform: rotate(8deg) scale(1); }
  }

  /* reward paws stamp in one by one */
  body:not([data-anim="off"]) .reveal.in .reward-paws svg {
    animation: reward-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
  }
  body:not([data-anim="off"]) .reveal.in .reward-paws svg:nth-child(1) { animation-delay: 0.35s; }
  body:not([data-anim="off"]) .reveal.in .reward-paws svg:nth-child(2) { animation-delay: 0.55s; }
  body:not([data-anim="off"]) .reveal.in .reward-paws svg:nth-child(3) { animation-delay: 0.75s; }
  @keyframes reward-pop {
    from { transform: scale(0); }
    60% { transform: scale(1.3) rotate(10deg); }
    to { transform: scale(1) rotate(0deg); }
  }

  /* kicker paw wiggles when section reveals */
  body:not([data-anim="off"]) .reveal.in .section-kicker .paw-mark svg,
  body:not([data-anim="off"]) .reveal.in.section-kicker .paw-mark svg {
    animation: wiggle 0.9s 0.3s ease-in-out backwards;
  }
  /* playful hover wiggles */
  body:not([data-anim="off"]) .logo:hover .paw-mark svg,
  body:not([data-anim="off"]) .feature-card:hover .ic svg,
  body:not([data-anim="off"]) .mission-fact:hover .ic svg {
    animation: wiggle 0.7s ease-in-out;
  }
  @keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-14deg); }
    50% { transform: rotate(11deg); }
    75% { transform: rotate(-6deg); }
  }
}

/* animation kill-switch (Tweaks) */
body[data-anim="off"] .map-walker { display: none; }
body[data-anim="off"] .map-pin { animation: none; }
