/* ============================================================
   Minpaku Shashinten v3 — White, calm, photo-first
   ============================================================ */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f3ee;
  --bg-sub: #faf8f4;
  --ink: #14130f;
  --ink-2: #2a2722;
  --muted: #6f6a60;
  --line: rgba(20, 19, 15, 0.10);
  --line-soft: rgba(20, 19, 15, 0.06);
  --accent: #8a6a3c;
  --accent-soft: #b39064;
  --max: 1480px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 14px;
  --radius-lg: 22px;
  --helv: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  --serif: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  --jp-serif: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --sans: "Hiragino Kaku Gothic ProN", "Hiragino Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", "Meiryo", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-feature-settings: "palt";
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(150%) blur(20px);
  -webkit-backdrop-filter: saturate(150%) blur(20px);
  border-bottom: 1px solid var(--line-soft);
}
.nav.is-transparent {
  background: transparent;
  border-bottom-color: transparent;
  color: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.nav.is-transparent .brand img { filter: brightness(0) invert(1); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 104px; height: auto; object-fit: contain; filter: brightness(0); }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.nav-cta {
  border: 1px solid currentColor;
  padding: 9px 16px;
  border-radius: 999px;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.nav-cta:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.nav.is-transparent .nav-cta:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* When nav sits above a dark hero image */
.nav-overlay {
  background: transparent;
  border-bottom-color: transparent;
  color: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background .4s ease, color .4s ease, border-color .4s ease;
}
.nav-overlay .brand img { filter: brightness(0) invert(1); transition: filter .4s ease; }
.nav-overlay.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(150%) blur(20px);
  -webkit-backdrop-filter: saturate(150%) blur(20px);
  border-bottom-color: var(--line-soft);
  color: var(--ink);
}
.nav-overlay.is-scrolled .brand img { filter: none; }
.nav-overlay .nav-cta:hover { background: #fff; color: var(--ink); border-color: #fff; }
.nav-overlay.is-scrolled .nav-cta:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  font-size: 13px;
  letter-spacing: 0.1em;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-light { background: #fff; color: var(--ink); }
.btn-ghost { background: transparent; }
.btn-on-dark { border-color: #fff; color: #fff; }
.btn-on-dark.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-cta-large {
  min-height: 68px;
  padding: 0 56px;
  font-size: 15px;
  letter-spacing: 0.16em;
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.btn-cta-large:hover { background: var(--ink); color: #fff; border-color: #fff; }

/* ── Layout helpers ────────────────────────────────────── */
.container { width: min(var(--max), 100%); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section-sub { padding: clamp(60px, 8vw, 110px) 0; }
.kicker {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.lead {
  margin: 0;
  font-family: var(--jp-serif);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.lead-en {
  font-family: var(--helv);
  font-weight: 700;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1;
  letter-spacing: 0.02em;
  margin: 0;
  text-transform: uppercase;
}
.lead-en em { font-style: normal; }
.body {
  margin: 22px 0 0;
  color: var(--ink-2);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 2;
  max-width: 640px;
}
.body.muted { color: var(--muted); }
.divider { height: 1px; background: var(--line); margin: 0; border: 0; }

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--bg);
  display: grid;
  grid-template-rows: 1fr;
  color: var(--ink);
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 6vw, 100px);
  align-items: end;
  padding: 16vh var(--gutter) clamp(48px, 7vw, 110px);
  width: min(var(--max), 100%);
  margin: 0 auto;
}
.hero-copy h1 {
  margin: 0;
  font-family: var(--jp-serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.hero-copy h1 small {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.32em;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 22px;
  text-transform: uppercase;
}
.hero-copy p {
  margin: 28px 0 0;
  color: var(--ink-2);
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 2;
  max-width: 460px;
}
.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.hero-visual {
  position: relative;
  height: clamp(420px, 60vh, 700px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ddd;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.18));
}
.hero-meta {
  position: absolute;
  z-index: 2;
  left: 24px;
  bottom: 22px;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ── Hero Frame (single photo with logo overlaid at bottom) ─────── */
.hero-frame {
  background: #fff;
  padding: calc(72px + var(--gutter)) var(--gutter) clamp(40px, 5vw, 80px);
  display: grid;
  justify-items: center;
}
.hero-photo {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: var(--max);
  overflow: hidden;
  border-radius: clamp(8px, 0.8vw, 14px);
  background: #f0ebe2;
  aspect-ratio: 3 / 2;
  display: block;
}
.hero-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: clamp(80px, 11vw, 150px) clamp(20px, 4vw, 56px) clamp(24px, 3vw, 38px);
  background: linear-gradient(180deg, rgba(20,19,15,0) 0%, rgba(20,19,15,0.62) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}
.hero-logo {
  width: clamp(260px, 32vw, 480px);
  height: auto;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1) drop-shadow(0 10px 36px rgba(0,0,0,0.45));
}
.hero-frame .hero-actions {
  justify-content: center;
  margin-top: 4px;
}
@media (max-width: 620px) {
  .hero-frame { padding-top: calc(64px + var(--gutter)); }
  .hero-photo { aspect-ratio: 4 / 5; }
  .hero-logo { width: clamp(200px, 56vw, 280px); }
  .hero-overlay { padding-top: 140px; gap: 22px; }
}

/* ── Overview gallery (true masonry via CSS columns) ──── */
.overview {
  margin-bottom: clamp(60px, 8vw, 110px);
}
.overview-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(20px, 3vw, 32px);
}
.overview-head h3 {
  margin: 0;
  font-family: var(--jp-serif);
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: 0.04em;
}
.overview-head h3 em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-right: 14px;
  text-transform: uppercase;
}
.overview-head .count {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}
.overview-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(150px, 14vw, 230px);
  grid-auto-flow: dense;
  gap: clamp(8px, 1vw, 14px);
}
.overview-grid figure {
  margin: 0;
  grid-column: span 3;
  grid-row: span 1;
  overflow: hidden;
  border-radius: 10px;
  background: #ece6dd;
  cursor: zoom-in;
}
.overview-grid figure.big {
  grid-column: span 6;
  grid-row: span 2;
}
.overview-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1s cubic-bezier(.16,1,.3,1), filter .5s ease;
}
.overview-grid figure:hover img { transform: scale(1.04); filter: saturate(0.95); }

.overview-cta {
  margin-top: clamp(28px, 4vw, 50px);
  display: flex;
  justify-content: center;
}
.overview-cta a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
  transition: color .25s ease, gap .3s ease;
}
.overview-cta a:hover { color: var(--ink); gap: 22px; }

@media (max-width: 1024px) {
  .overview-grid { grid-template-columns: repeat(8, 1fr); grid-auto-rows: clamp(140px, 18vw, 200px); }
  .overview-grid figure { grid-column: span 4; }
  .overview-grid figure.big { grid-column: span 4; grid-row: span 2; }
}
@media (max-width: 720px) {
  .overview-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(130px, 32vw, 180px); gap: 8px; }
  .overview-grid figure { grid-column: span 2; }
  .overview-grid figure.big { grid-column: 1 / -1; grid-row: span 2; }
}

/* ── ABOUT intro (between hero and works) ─────────────── */
.about-intro {
  background: var(--bg-sub);
}
.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: center;
}
.about-intro-title {
  margin: 0 0 36px;
  font-family: var(--helv);
  font-weight: 700;
  font-size: clamp(40px, 5.5vw, 72px);
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1;
  text-transform: uppercase;
}
.about-intro-text p {
  margin: 0 0 18px;
  font-family: var(--jp-serif);
  color: var(--ink-2);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 2.1;
  letter-spacing: 0.04em;
}
.about-intro-text p:last-child { margin-bottom: 0; }
.about-intro-photo {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #e8e2d6;
}
.about-intro-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 900px) {
  .about-intro-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-intro-photo { aspect-ratio: 16 / 11; }
}

/* ── Works simple head ─────────────────────────────────── */
.works-head {
  display: flex;
  align-items: end;
  gap: 24px;
  margin-bottom: clamp(40px, 6vw, 70px);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.works-head .lead-en { margin: 0; line-height: 0.9; }
.works-head .works-sub {
  margin-bottom: 10px;
  font-family: var(--jp-serif);
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--muted);
  font-weight: 400;
}

/* ── Bio list (about) ──────────────────────────────────── */
.bio-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}
.bio-list li {
  position: relative;
  padding: 18px 0 18px 26px;
  border-top: 1px solid var(--line);
  font-family: var(--jp-serif);
  font-size: clamp(16px, 1.2vw, 19px);
  letter-spacing: 0.04em;
  color: var(--ink);
}
.bio-list li:last-child { border-bottom: 1px solid var(--line); }
.bio-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 1px;
  background: var(--accent);
}

/* ── Marquee strip under hero (legacy, kept for other pages) ─────────── */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-sub);
  overflow: hidden;
}
.strip-track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  padding: 18px 0;
  animation: drift 38s linear infinite;
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.strip-track span::before {
  content: "✦";
  margin-right: 28px;
  color: var(--accent-soft);
}
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Section head ───────────────────────────────────────── */
.head-row {
  display: grid;
  grid-template-columns: minmax(0, 0.32fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 100px);
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 70px);
}

/* ── Works (LP) ─────────────────────────────────────────── */
.category-block { padding-top: clamp(50px, 6vw, 80px); }
.category-block:first-of-type { padding-top: 0; }
.category-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  margin-bottom: clamp(20px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
}
.category-head h3 {
  margin: 0;
  font-family: var(--jp-serif);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 32px);
  letter-spacing: 0.05em;
}
.category-head h3 em {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.category-head .count { color: var(--muted); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 24px);
}
.card {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #f0ece5;
}
.card .thumb {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 75%;
  overflow: hidden;
}
.card .thumb img {
  position: absolute;
  inset: 0;
  transition: transform 1.4s cubic-bezier(.16,1,.3,1), filter .8s ease;
}
.card:hover .thumb img { transform: scale(1.04); filter: saturate(0.95); }
.card-body { padding: 22px 4px 6px; }
.card-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  margin: 0;
  font-family: var(--jp-serif);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.card-title .arrow { font-family: var(--serif); font-size: 18px; color: var(--accent); transition: transform .3s ease; }
.card:hover .card-title .arrow { transform: translateX(6px); }
.card-sub { margin: 8px 0 0; font-size: 13px; letter-spacing: 0.08em; color: var(--muted); }

.see-all {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(40px, 5vw, 60px);
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 6px;
  transition: gap .3s ease;
}
.see-all:hover { gap: 22px; }

/* ── Why ────────────────────────────────────────────────── */
.why {
  background: var(--bg-sub);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 50px);
}
.why-item .num {
  font-family: var(--serif);
  font-size: 56px;
  font-style: italic;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
}
.why-item h4 {
  margin: 0 0 14px;
  font-family: var(--jp-serif);
  font-weight: 400;
  font-size: clamp(20px, 1.6vw, 26px);
  letter-spacing: 0.04em;
  line-height: 1.45;
}
.why-item p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 2; }

/* ── Voice (card grid + modal) ─────────────────────────── */
.voice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(18px, 2vw, 28px);
}
.voice-card {
  position: relative;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  padding: 0;
  width: 100%;
  font: inherit;
  color: inherit;
}
.voice-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20,19,15,0.08); border-color: rgba(20,19,15,0.18); }
.voice-photo {
  position: relative;
  overflow: hidden;
  background: #e9e3d8;
  aspect-ratio: 4 / 3;
}
.voice-photo img { transition: transform 1.4s cubic-bezier(.16,1,.3,1); }
.voice-card:hover .voice-photo img { transform: scale(1.04); }
.voice-body { padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 16px; flex: 1; }
.voice-quote {
  margin: 0;
  font-family: var(--jp-serif);
  font-weight: 400;
  font-size: clamp(18px, 1.5vw, 23px);
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.voice-summary {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.voice-meta {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
}
.voice-name { font-size: 13px; letter-spacing: 0.1em; color: var(--accent); font-weight: 500; }
.voice-more {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
  transition: color .25s ease, transform .3s ease;
}
.voice-card:hover .voice-more { color: var(--ink); transform: translateX(4px); }

/* Voice Modal */
.v-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  background: rgba(20, 19, 15, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: clamp(16px, 4vw, 48px);
  overflow-y: auto;
}
.v-modal.is-open { display: block; }
.v-modal-shell {
  position: relative;
  max-width: 1180px;
  margin: clamp(16px, 4vw, 48px) auto;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.4);
  animation: vModalIn .45s cubic-bezier(.16,1,.3,1);
}
@keyframes vModalIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.v-modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 22px;
  cursor: pointer;
  z-index: 4;
  display: grid;
  place-items: center;
  transition: background .25s ease, color .25s ease;
}
.v-modal-close:hover { background: var(--ink); color: #fff; }
.v-modal-header {
  padding: clamp(34px, 4vw, 60px) clamp(28px, 4vw, 64px) clamp(20px, 2.5vw, 32px);
  border-bottom: 1px solid var(--line);
}
.v-modal-header .kicker { margin-bottom: 14px; padding: 0; border: 0; }
.v-modal-header h3 {
  margin: 0;
  font-family: var(--jp-serif);
  font-weight: 400;
  font-size: clamp(26px, 2.8vw, 40px);
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.v-modal-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  padding: 6px;
  background: #f4f0e9;
}
.v-modal-photos figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ddd;
  cursor: zoom-in;
}
.v-modal-photos img { transition: transform 1.2s cubic-bezier(.16,1,.3,1); }
.v-modal-photos figure:hover img { transform: scale(1.03); }
.v-modal-body {
  padding: clamp(34px, 4vw, 64px);
  display: grid;
  grid-template-columns: 0.32fr 1fr;
  gap: clamp(28px, 4vw, 70px);
}
.v-modal-side .kicker { margin-bottom: 10px; padding: 0; border: 0; }
.v-modal-side dt { font-size: 11px; letter-spacing: 0.18em; color: var(--muted); text-transform: uppercase; margin-top: 18px; }
.v-modal-side dd { margin: 6px 0 0; font-family: var(--jp-serif); font-size: 16px; }
.v-modal-side a { color: var(--accent); border-bottom: 1px solid var(--accent); padding-bottom: 2px; }
.v-modal-text p {
  margin: 0;
  color: var(--ink-2);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 2.1;
  letter-spacing: 0.02em;
}
.v-modal-text p + p { margin-top: 18px; }
.v-modal-text .pullquote {
  font-family: var(--jp-serif);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.55;
  color: var(--ink);
  border-left: 2px solid var(--accent);
  padding-left: 22px;
  margin-bottom: 30px;
}

@media (max-width: 900px) {
  .v-modal-photos { grid-template-columns: 1fr 1fr; }
  .v-modal-body { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 620px) {
  .v-modal-photos { grid-template-columns: 1fr; }
}

/* ── Pricing ────────────────────────────────────────────── */
.pricing { background: var(--bg-soft); }
.price-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 100px);
  align-items: start;
}
.price-list { border-top: 1px solid rgba(20,19,15,0.18); }
.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(20,19,15,0.18);
  align-items: baseline;
}
.price-row h3 { margin: 0; font-family: var(--jp-serif); font-weight: 400; font-size: clamp(20px, 1.8vw, 26px); letter-spacing: 0.04em; }
.price-row span { font-family: var(--serif); font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.02em; white-space: nowrap; }
.price-note { margin-top: 24px; color: var(--muted); font-size: 13px; line-height: 1.9; }

.pricing-simple { max-width: 880px; }
.pricing-simple .works-head { border-bottom: 1px solid var(--line); padding-bottom: 22px; margin-bottom: clamp(30px, 4vw, 50px); justify-content: center; gap: 18px; }
.pricing-simple .price-list { border-top: 1px solid rgba(20,19,15,0.18); }

/* ── About ──────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 6vw, 100px);
  align-items: center;
}
.about-photo {
  height: clamp(420px, 60vh, 640px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  filter: grayscale(1) contrast(1.02);
}
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 36px;
}
.fact { border-top: 1px solid var(--line); padding-top: 16px; }
.fact b { display: block; font-family: var(--serif); font-size: clamp(28px, 4vw, 48px); font-weight: 400; letter-spacing: -0.02em; }
.fact span { display: block; color: var(--muted); font-size: 12px; line-height: 1.6; margin-top: 4px; }

/* ── FAQ ────────────────────────────────────────────────── */
.faq { background: var(--bg-sub); }
.faq-list { max-width: 920px; margin: 0 auto; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 26px 0; }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--jp-serif);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 400;
  letter-spacing: 0.04em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--serif); color: var(--accent); transition: transform .3s ease; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 18px 0 0; color: var(--ink-2); line-height: 2; }

/* ── CTA / Final ────────────────────────────────────────── */
.final {
  position: relative;
  background: var(--ink);
  color: #fff;
  min-height: 80vh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}
.final.final-minimal { min-height: 56vh; }
.final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/properties/hakone/02.webp") center/cover;
  opacity: 0.45;
}
.final::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,19,15,0.6), rgba(20,19,15,0.85));
}
.final-inner {
  position: relative;
  z-index: 2;
  padding: clamp(80px, 12vw, 160px) var(--gutter);
  max-width: 880px;
}
.final h2 {
  margin: 0;
  font-family: var(--jp-serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.3;
  letter-spacing: 0.04em;
}
.final p { margin: 30px auto 0; max-width: 560px; color: rgba(255,255,255,0.72); line-height: 2; font-size: 15px; }

/* ── Footer ─────────────────────────────────────────────── */
.foot {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: clamp(50px, 6vw, 80px) var(--gutter) 30px;
}
.foot-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: start;
}
.foot-inner h5 {
  margin: 0 0 16px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.foot-inner a { display: block; padding: 4px 0; color: var(--ink-2); font-size: 14px; }
.foot-inner a:hover { color: var(--accent); }
.foot-brand img { width: 120px; height: auto; }
.foot-brand p { margin: 14px 0 0; color: var(--muted); font-size: 13px; line-height: 1.9; max-width: 280px; }
.foot-copy { text-align: center; margin-top: 50px; color: var(--muted); font-size: 12px; letter-spacing: 0.1em; }

/* ── Lightbox ───────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  background: rgba(15, 14, 11, 0.96);
}
.lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox img {
  display: block;
  margin: 0 auto;
  width: auto;
  height: auto;
  max-width: min(92vw, calc(100vw - 32px));
  max-height: min(88vh, calc(100vh - 110px));
  object-fit: contain;
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
}
.lb-btn {
  position: absolute;
  z-index: 2;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(20,19,15,0.6);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease, border-color .25s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lb-btn:hover { background: rgba(255,255,255,0.95); color: var(--ink); border-color: #fff; }
.lb-prev { left: clamp(14px, 3vw, 40px); top: 50%; transform: translateY(-50%); }
.lb-next { right: clamp(14px, 3vw, 40px); top: 50%; transform: translateY(-50%); }
.lb-prev:hover { transform: translateY(-50%) translateX(-3px); }
.lb-next:hover { transform: translateY(-50%) translateX(3px); }
.lb-close { top: clamp(14px, 2vw, 26px); right: clamp(14px, 3vw, 32px); font-size: 22px; }
.lb-counter {
  position: absolute;
  bottom: clamp(20px, 3vw, 30px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.18em;
  pointer-events: none;
}
@media (max-width: 620px) {
  .lb-btn { width: 44px; height: 44px; font-size: 22px; }
  .lb-prev { left: 6px; }
  .lb-next { right: 6px; }
  .lightbox img {
    max-width: calc(100vw - 16px);
    max-height: calc(100vh - 100px);
  }
}

/* ── Reveal ─────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ── Works listing (works.html) ───────────────────────── */
.works-hero {
  padding: 16vh var(--gutter) clamp(56px, 7vw, 110px);
  border-bottom: 1px solid var(--line);
}
.works-hero h1 {
  margin: 18px 0 0;
  font-family: var(--jp-serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 68px);
  letter-spacing: 0.03em;
  line-height: 1.2;
}
.works-hero p { margin: 22px 0 0; color: var(--muted); max-width: 540px; line-height: 2; }
.works-filter {
  position: sticky;
  top: 64px;
  z-index: 30;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.works-filter button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.1em;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.works-filter button:hover { border-color: var(--ink); }
.works-filter button.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.works-filter .label { margin-right: 12px; font-size: 12px; color: var(--muted); letter-spacing: 0.18em; text-transform: uppercase; }

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 28px);
  padding: clamp(40px, 5vw, 70px) var(--gutter) clamp(90px, 10vw, 140px);
  width: min(var(--max), 100%);
  margin: 0 auto;
}
.works-grid .card { background: #f0ece5; }
.works-grid .card[data-cat="resort"] .badge { background: rgba(45, 82, 65, 0.92); }
.works-grid .card[data-cat="house"] .badge { background: rgba(120, 72, 36, 0.92); }
.works-grid .card[data-cat="mansion"] .badge { background: rgba(45, 60, 92, 0.92); }
.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: rgba(20,19,15,0.85);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

/* ── Article (works/{slug}.html) ──────────────────────── */
.article-hero {
  position: relative;
  height: clamp(60vh, 80vh, 760px);
  overflow: hidden;
  background: #1a1814;
  color: #fff;
}
.article-hero img { position: absolute; inset: 0; filter: brightness(0.78); }
.article-hero .scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.32) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0.5));
}
.article-meta {
  position: absolute;
  z-index: 2;
  left: var(--gutter);
  bottom: clamp(40px, 6vw, 80px);
  right: var(--gutter);
  max-width: 880px;
}
.article-meta .crumbs { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.article-meta h1 {
  margin: 18px 0 0;
  font-family: var(--jp-serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.article-meta .sub { margin-top: 14px; font-size: 14px; letter-spacing: 0.12em; color: rgba(255,255,255,0.78); }

.article-intro {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: clamp(28px, 6vw, 100px);
  padding: clamp(60px, 8vw, 110px) var(--gutter);
  width: min(var(--max), 100%);
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}
.article-info dt { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line); }
.article-info dd { margin: 6px 0 18px; font-family: var(--jp-serif); font-size: 17px; }
.article-lead { font-family: var(--jp-serif); font-size: clamp(20px, 2vw, 28px); line-height: 1.8; letter-spacing: 0.02em; color: var(--ink); }

.gallery {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(40px, 5vw, 80px) var(--gutter) clamp(100px, 12vw, 160px);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(10px, 1vw, 18px);
}
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: #ece6dd; cursor: zoom-in; }
.gallery figure img { height: 100%; transition: transform 1.2s cubic-bezier(.16,1,.3,1); }
.gallery figure:hover img { transform: scale(1.03); }
.gallery .g-w { grid-column: span 8; height: 56vh; min-height: 380px; }
.gallery .g-m { grid-column: span 4; height: 56vh; min-height: 380px; }
.gallery .g-h { grid-column: span 6; height: 46vh; min-height: 320px; }
.gallery .g-t { grid-column: span 12; height: 70vh; min-height: 480px; }
.gallery .g-s { grid-column: span 4; height: 38vh; min-height: 280px; }

.next-works { padding: clamp(50px, 7vw, 100px) var(--gutter); background: var(--bg-soft); border-top: 1px solid var(--line); }
.next-works-inner { width: min(var(--max), 100%); margin: 0 auto; }
.next-works h4 { margin: 0 0 26px; font-family: var(--jp-serif); font-weight: 400; font-size: clamp(22px, 2vw, 30px); letter-spacing: 0.04em; }
.next-works .cards { grid-template-columns: repeat(3, 1fr); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 18vh; }
  .hero-visual { height: 60vh; }
  .head-row, .price-grid, .about-grid, .article-intro { grid-template-columns: 1fr; gap: 28px; }
  .voice-grid, .why-grid, .works-grid, .next-works .cards { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .gallery .g-w, .gallery .g-m, .gallery .g-h, .gallery .g-s { grid-column: span 12; height: 50vh; min-height: 320px; }
  .foot-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .strip-track { font-size: 18px; gap: 38px; }
  .voice-grid, .why-grid, .next-works .cards, .facts { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: 38px; }
  .lead { font-size: 26px; }
  .hero-actions .btn { width: 100%; }
  .article-hero { height: 60vh; }
  .foot-inner { grid-template-columns: 1fr; }
  .works-filter { top: 60px; padding: 14px var(--gutter); }
  .btn-cta-large { padding: 0 36px; min-height: 60px; font-size: 14px; }

  /* Horizontal-scroll category cards on mobile (lock vertical pan inside the strip) */
  .cards {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    gap: 12px;
    margin: 0 calc(-1 * var(--gutter));
    padding: 6px var(--gutter) 14px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }
  .cards::-webkit-scrollbar { display: none; }
  .cards > .card {
    flex: 0 0 78vw;
    max-width: 320px;
    scroll-snap-align: start;
    touch-action: pan-x;
  }
  .cards > .card .thumb { padding-top: 70%; }
  .cards > .card .card-body { padding: 16px 4px 8px; }
  .cards > .card .card-title { font-size: 17px; }
  .cards > .card .card-sub { font-size: 12px; }
  .category-head { padding-bottom: 14px; margin-bottom: 16px; }
  .category-head h3 em { font-size: 11px; }
  .category-head .count { font-size: 11px; }

  /* Works listing grid: also horizontal scroll if desired (keep grid for filtered) */
  .works-grid { grid-template-columns: repeat(2, 1fr); }

  /* Article gallery: stack with natural aspect ratios */
  .gallery {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 24px var(--gutter) 70px;
  }
  .gallery figure,
  .gallery .g-w, .gallery .g-m, .gallery .g-h, .gallery .g-s, .gallery .g-t {
    grid-column: 1;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
  }
  .gallery figure img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    aspect-ratio: auto;
  }
}
@media (max-width: 460px) {
  .works-grid { grid-template-columns: 1fr; }
}
