/* =========================================================
   dynamite — 空想キャンプギアの展覧会（空想企画）
   Pure HTML + CSS（外部ライブラリなし）
   方針: 洗練・余白・整列・自然なコピー、過度な演出はしない
   主役は「価格・カート」ではなく「空想の面白さ」と「投票」
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --ink:        #1d1b16;
  --ink-soft:   #3c382f;
  --muted:      #6f695c;
  --bg:         #f7f4ee;
  --bg-alt:     #efe9df;
  --panel:      #ece5da;
  --sand:       #cdbfb5;
  --forest:     #2b3a2e;
  --forest-2:   #1f2a20;
  --ember:      #bf5a2e;
  --ember-dark: #a64a23;
  --line:       rgba(29, 27, 22, 0.12);
  --card:       #ffffff;

  --font-display: 'Archivo', 'Noto Sans JP', sans-serif;
  --font-body:    'Noto Sans JP', 'Archivo', system-ui, sans-serif;

  --container: 1200px;
  --radius: 8px;
  --header-h: 76px;
  --shadow-sm: 0 2px 10px rgba(29, 27, 22, 0.06);
  --shadow-md: 0 18px 40px rgba(29, 27, 22, 0.12);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  word-break: normal;
  line-break: strict;
  overflow-wrap: anywhere;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
[hidden] { display: none !important; }   /* 絞り込み等で hidden を確実に効かせる */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* 見出しは balance、本文は pretty で改行を自然に */
.hero__title, .section__title, .story__title, .cta__title,
.spotlight__name, .news__title, .detail__name, .step__title, .related__title {
  text-wrap: balance;
}
.hero__lead, .hero__sub, .step__text, .concept__text, .story__text,
.spotlight__text, .news__text, .detail__desc, .detail__teaser {
  text-wrap: pretty;
}

/* ---------- Shared atoms ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 14px;
}
.eyebrow--light { color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--ember); color: #fff; }
.btn--primary:hover { background: var(--ember-dark); }
/* ゴーストボタン：写真上でも読めるよう半透明の地＋ぼかし */
.btn--ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-color: rgba(255, 255, 255, 0.85);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.26); border-color: #fff; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--ink);
  white-space: nowrap;
}
.textlink svg { transition: transform 0.25s var(--ease); }
.textlink:hover { color: var(--ember); }
.textlink:hover svg { transform: translateX(4px); }

/* ---------- Reveal on scroll（穏やかに） ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.header__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: padding 0.35s var(--ease);
}
.header.is-scrolled,
.page--detail .header {
  background: rgba(247, 244, 238, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header.is-scrolled .header__inner { padding-block: 14px; }

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
  transition: color 0.35s var(--ease);
}
.header.is-scrolled .brand,
.page--detail .brand { color: var(--ink); text-shadow: none; }
.brand__dot { color: var(--ember); }
.brand { display: inline-flex; align-items: center; }
.brand__img {
  height: 40px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);          /* ヒーロー写真の上では白で表示 */
  transition: filter 0.35s var(--ease), height 0.35s var(--ease);
}
.header.is-scrolled .brand__img,
.page--detail .brand__img { filter: none; }  /* 明るい背景ではブランドのネイビー */
.header.is-scrolled .brand__img { height: 33px; }
.brand--footer .brand__img { height: 42px; filter: brightness(0) invert(1); }  /* 濃い背景では白 */

.nav { display: flex; align-items: center; gap: 32px; }
.nav__link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  padding-block: 4px;
  transition: color 0.3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__link:hover::after { transform: scaleX(1); }
.header.is-scrolled .nav__link,
.page--detail .nav__link { color: var(--ink-soft); text-shadow: none; }
.header.is-scrolled .nav__link:hover,
.page--detail .nav__link:hover { color: var(--ember); }

.nav__btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--ember);
  padding: 10px 22px;
  border-radius: 999px;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.nav__btn:hover { background: var(--ember-dark); transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  border: none;
  background: transparent;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  margin-inline: auto;
  background: #fff;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background-color 0.35s var(--ease);
}
.header.is-scrolled .hamburger span,
.page--detail .hamburger span { background: var(--ink); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;                          /* ファーストビューはMVだけ */
  padding-top: var(--header-h);
  padding-bottom: clamp(96px, 14vh, 168px);
  display: flex;
  align-items: flex-end;                        /* コンテンツを下寄せ（間延び回避） */
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1504280390367-361c6d9f38f4?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: heroZoom 16s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
/* 視認性：下＋左を濃いめに落とす */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 20, 16, 0.5) 0%, rgba(18, 20, 16, 0.1) 24%, rgba(18, 20, 16, 0.42) 52%, rgba(18, 20, 16, 0.8) 76%, rgba(18, 20, 16, 0.95) 100%),
    linear-gradient(90deg, rgba(18, 20, 16, 0.62) 0%, rgba(18, 20, 16, 0.16) 46%, rgba(18, 20, 16, 0) 78%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  width: 100%;
  margin-inline: auto;
  padding: 0 24px;
  color: #fff;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}
.hero__sub {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  color: #fff;
  margin-top: 12px;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}
.hero__lead {
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: rgba(255, 255, 255, 0.96);
  max-width: 36em;
  margin-top: 22px;
  margin-bottom: 38px;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__scroll {
  position: absolute;
  left: 50%; bottom: 30px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}
.hero__scroll svg { animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* =========================================================
   SECTION（共通）
   ========================================================= */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--alt { background: var(--bg-alt); }

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 46px;
}
.section__head--center { justify-content: center; text-align: center; }
.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.section__lead {
  max-width: 44em;
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.9;
}
.section__head--center .section__lead { margin-inline: auto; }

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.how { background: var(--bg-alt); padding-block: clamp(64px, 9vw, 116px); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 32px 34px;
}
.step__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.step__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(191, 90, 46, 0.1);
  color: var(--ember);
  flex: none;
}
.step__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--sand);
}
.step__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.step__text { color: var(--muted); font-size: 0.95rem; }
.step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%; right: -22px;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--sand);
  z-index: 1;
}

/* =========================================================
   GALLERY — Spotlight（現在の首位）
   ========================================================= */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  background: var(--forest);
  color: #f3efe6;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  margin-bottom: 44px;
}
.spotlight__media { display: block; background: var(--forest-2); align-self: stretch; }
.spotlight__media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; transition: transform 0.7s var(--ease); }
.spotlight__media:hover img { transform: scale(1.03); }
.spotlight__body { padding: clamp(28px, 4vw, 52px) clamp(24px, 4vw, 52px) clamp(28px, 4vw, 52px) 0; }

.rank {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 14px;
}
.rank__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 4px rgba(191, 90, 46, 0.25); }
.spotlight__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.25;
  margin-bottom: 14px;
}
.spotlight__name a { transition: color 0.25s var(--ease); }
.spotlight__name a:hover { color: var(--sand); }
.spotlight__text { color: rgba(243, 239, 230, 0.82); max-width: 34em; margin-bottom: 26px; }
.spotlight .concept__foot { gap: 18px; }
.spotlight .concept__price { color: rgba(243, 239, 230, 0.82); }
.spotlight .price--tbd { color: rgba(243, 239, 230, 0.6); }

/* =========================================================
   GALLERY — フィルター（カテゴリ絞り込み）
   ========================================================= */
.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}
.chip {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease);
}
.chip:hover { border-color: var(--ink); }
.chip__n { margin-left: 7px; font-size: 11px; color: var(--muted); }
.chip.is-active { background: var(--forest); color: #fff; border-color: var(--forest); }
.chip.is-active .chip__n { color: rgba(255, 255, 255, 0.7); }

.grid-empty { color: var(--muted); text-align: center; padding: 40px 0; }

/* =========================================================
   GALLERY — Concept grid
   ========================================================= */
.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.concept {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.concept:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.concept__media {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--panel);
  overflow: hidden;
}
.concept__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.concept:hover .concept__media img { transform: scale(1.05); }

.status {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(43, 58, 46, 0.92);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.concept__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.concept__cat {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 7px;
}
.concept__name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin-bottom: 8px; }
.concept__name a { transition: color 0.25s var(--ease); }
.concept__name a:hover { color: var(--ember); }
.concept__text { color: var(--muted); font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }
.concept__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; }

/* 投票ボタン */
.vote {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ember);
  background: transparent;
  border: 1.5px solid var(--ember);
  border-radius: 999px;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.2s var(--ease);
}
.vote:hover { background: rgba(191, 90, 46, 0.08); }
.vote:active { transform: scale(0.97); }
.vote--lg { padding: 14px 26px; font-size: 1rem; }
.vote__icon { transition: transform 0.25s var(--ease); }
.vote__count { font-variant-numeric: tabular-nums; padding-left: 9px; margin-left: 2px; border-left: 1px solid currentColor; opacity: 0.95; }
.vote.is-voted { background: var(--ember); color: #fff; border-color: var(--ember); }
.vote.is-voted .vote__icon { transform: translateY(-2px); }

.concept__price { font-size: 0.82rem; color: var(--muted); text-align: right; line-height: 1.4; }
.concept__price strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; color: var(--ink); }
.price--tbd { color: var(--muted); }

/* =========================================================
   STORY / ABOUT
   ========================================================= */
.story { background: var(--bg); }
.story__inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: clamp(36px, 6vw, 80px);
  padding-block: clamp(64px, 9vw, 110px);
}
.story__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.story__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.story__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.28; margin-bottom: 22px; }
.story__text { color: var(--ink-soft); margin-bottom: 18px; max-width: 34em; }
.story .textlink { margin-top: 8px; }

/* =========================================================
   VOTE CTA BAND
   ========================================================= */
.cta {
  position: relative;
  padding-block: clamp(90px, 14vw, 170px);
  background-image: url('https://images.unsplash.com/photo-1445308394109-4ec2920981b1?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
  color: #fff;
}
.cta__overlay { position: absolute; inset: 0; background: rgba(20, 22, 18, 0.6); }
.cta__content { position: relative; z-index: 2; }
.cta__content .eyebrow { display: block; }
.cta__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.2; margin-bottom: 16px; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35); }
.cta__text { font-size: 1.08rem; color: rgba(255, 255, 255, 0.92); margin-bottom: 32px; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.4); }

/* =========================================================
   STATS（数字で見る dynamite）
   ========================================================= */
.stats { background: var(--forest); color: #f3efe6; padding-block: clamp(52px, 7vw, 84px); }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; max-width: 820px; margin-inline: auto; }
.stat { display: flex; flex-direction: column; gap: 10px; }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1; color: #fff; }
.stat__label { font-size: 0.9rem; color: rgba(243, 239, 230, 0.72); letter-spacing: 0.04em; }
.stat__num .stat__unit { font-size: 0.55em; margin-left: 2px; color: var(--sand); }
@media (max-width: 640px) { .stats__grid { grid-template-columns: repeat(3, 1fr); gap: 22px 10px; } }

/* =========================================================
   NEWSLETTER
   ========================================================= */
.news { background: var(--bg-alt); padding-block: clamp(56px, 8vw, 96px); }
.news__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 30px; }
.news__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 8px; }
.news__text { color: var(--muted); }
.news__form { display: flex; gap: 12px; flex: 1 1 380px; max-width: 480px; }
.news__input {
  flex: 1;
  padding: 14px 20px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.25s var(--ease);
}
.news__input:focus { outline: none; border-color: var(--ember); }

/* =========================================================
   DETAIL PAGE（item.html）
   ========================================================= */
.detail { padding-top: calc(var(--header-h) + 36px); padding-bottom: clamp(64px, 9vw, 110px); }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 30px;
}
.crumbs a { transition: color 0.2s var(--ease); }
.crumbs a:hover { color: var(--ember); }
.crumbs span[aria-current] { color: var(--ink); }

.detail__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(32px, 5vw, 64px); }
.detail__media { border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.detail__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

.detail__tags { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.status--inline { position: static; }
.detail__cat { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; color: var(--muted); }
.detail__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.25; margin-bottom: 14px; }
.detail__teaser { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--ink-soft); margin-bottom: 18px; }
.detail__desc { color: var(--ink-soft); margin-bottom: 30px; }
.detail__action { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-bottom: 22px; }
.detail__price { font-size: 0.9rem; color: var(--muted); }
.detail__price span { display: block; font-size: 0.78rem; }
.detail__price strong { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--ink); }
.detail__price.price--tbd { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--muted); }
.detail__note {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 26px;
}
.detail__note strong { color: var(--ember); font-weight: 700; }

.detail__notfound { grid-column: 1 / -1; text-align: center; padding: 60px 0; }
.detail__notfound h1 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 14px; }
.detail__notfound p { color: var(--muted); margin-bottom: 28px; }

.related { margin-top: clamp(56px, 8vw, 90px); border-top: 1px solid var(--line); padding-top: clamp(40px, 6vw, 64px); }
.related__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 1.8rem); margin-bottom: 30px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--forest-2); color: rgba(243, 239, 230, 0.78); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-block: clamp(54px, 7vw, 80px); }
.brand--footer { color: #fff; font-size: 24px; margin-bottom: 16px; text-shadow: none; }
.footer__tagline { font-size: 0.9rem; line-height: 1.9; margin-bottom: 22px; }
.sns { display: flex; gap: 12px; }
.sns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(243, 239, 230, 0.22);
  border-radius: 50%;
  color: rgba(243, 239, 230, 0.85);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.sns a:hover { background: var(--ember); border-color: var(--ember); color: #fff; }
.footer__heading { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.16em; color: #fff; margin-bottom: 18px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col a { font-size: 0.9rem; color: rgba(243, 239, 230, 0.72); transition: color 0.25s var(--ease); width: fit-content; }
.footer__col a:hover { color: #fff; }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  padding-block: 24px;
  border-top: 1px solid rgba(243, 239, 230, 0.14);
}
.footer__copy, .footer__back a { font-family: var(--font-display); font-size: 0.8rem; letter-spacing: 0.04em; color: rgba(243, 239, 230, 0.6); }
.footer__back a:hover { color: #fff; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__brand { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; gap: 16px; max-width: 520px; margin-inline: auto; }
  .step:not(:last-child)::after { content: none; }
  .concept-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    inset: 0;
    width: 100%;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 2px;
    padding: calc(var(--header-h) + 40px) 40px 48px;
    background: var(--forest);
    transform: translateX(100%);
    transition: transform 0.42s var(--ease);
    overflow-y: auto;
  }
  body.nav-open .nav { transform: translateX(0); }
  body.nav-open .brand { position: relative; z-index: 110; }
  body.nav-open .brand__img { filter: brightness(0) invert(1); }
  .nav__link { color: #fff; font-size: 1.2rem; padding-block: 10px; text-shadow: none; letter-spacing: 0.04em; }
  .nav__link::after { display: none; }
  .header.is-scrolled .nav__link, .page--detail .nav__link { color: #fff; }
  .nav__btn { margin-top: 18px; font-size: 0.95rem; padding: 12px 28px; }
  .hamburger { display: flex; z-index: 110; }
  body.nav-open .hamburger span { background: #fff; }
  body.nav-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .hamburger span:nth-child(2) { opacity: 0; }
  body.nav-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .spotlight { grid-template-columns: 1fr; }
  .spotlight__media img { min-height: 0; aspect-ratio: 16 / 10; }
  .spotlight__body { padding: clamp(26px, 6vw, 40px); padding-top: 0; }
  .story__inner { grid-template-columns: 1fr; }
  .story__media { order: -1; }
  .cta { background-attachment: scroll; }
  .news__inner { flex-direction: column; align-items: flex-start; }
  .detail__grid { grid-template-columns: 1fr; }
  .detail__media img { aspect-ratio: 4 / 3; }
}

@media (max-width: 520px) {
  .container { padding-inline: 18px; }
  .header__inner { padding-inline: 18px; }
  .section__head { flex-direction: column; align-items: flex-start; }
  .concept-grid { grid-template-columns: 1fr; gap: 22px; max-width: 400px; margin-inline: auto; }
  .hero__actions { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
  .hero__actions .btn { width: auto; }
  .btn { padding: 12px 24px; font-size: 14px; }
  .news__form { flex-direction: column; }
  .news__input { width: 100%; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__brand { grid-column: auto; }
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__media { animation: none; transform: none; }
  .hero__scroll svg { animation: none; }
  .reveal { transition: none; }
  * { animation-duration: 0.001ms !important; }
}
