/* ============================================================
   墨韻 BOKUIN — Design System
   ink #0A0A0A / paper #ECE7DC / red #9E2B25 / gold #C8A96A
   ============================================================ */

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --ink:    #0A0A0A;
  --paper:  #ECE7DC;
  --red:    #9E2B25;
  --gold:   #C8A96A;
  --gold-d: rgba(200,169,106,.35);

  --serif:  'Cormorant Garamond', 'Noto Serif JP', Georgia, serif;
  --jp:     'Noto Serif JP', 'Hiragino Mincho ProN', serif;
  --sans:   'Inter', system-ui, sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 700ms;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--jp);
  -webkit-font-smoothing: antialiased;
  cursor: none;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
button { cursor: none; background: none; border: none; color: inherit; }
input, textarea { font-family: var(--sans); }

/* ── Typography helpers ──────────────────────────────────── */
.serif { font-family: var(--serif); }

/* ── Preloader ───────────────────────────────────────────── */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .8s var(--ease-out-expo), visibility .8s;
}
.preloader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__col {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
}
.preloader__ch { width: auto; opacity: 0; }
.preloader__ch1 { height: 34vh; animation: preEmerge 2s ease .3s forwards; }
.preloader__ch2 { height: 33vh; margin-top: 3vh; margin-left: -6%; animation: preEmerge 2s ease 1.1s forwards; }
@keyframes preEmerge { to { opacity: 1; } }
.preloader__cap {
  position: absolute; bottom: 4.5vh; left: 0; right: 0;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--sans);
  font-size: 11px; letter-spacing: .5em; text-indent: .5em;
  color: rgba(236, 231, 220, .45);
  opacity: 0;
  animation: preCap 1.2s ease 2.6s forwards;
}
.preloader__seal { width: 26px; height: 26px; object-fit: contain; opacity: .96; }
@keyframes preCap { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .preloader__ch, .preloader__cap { animation-duration: .01ms; animation-delay: 0s; opacity: 1; }
}

/* ── Cursor ──────────────────────────────────────────────── */
.cursor { position: fixed; top: 0; left: 0; z-index: 9998; pointer-events: none; }
.cursor__dot {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--paper);
  transform: translate(-50%, -50%);
  transition: transform .1s, opacity .2s;
}
.cursor__ring {
  position: absolute;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(236,231,220,.5);
  transform: translate(-50%, -50%);
  transition: width .3s var(--ease-out-expo), height .3s var(--ease-out-expo),
              border-color .3s, transform .08s;
}
body:has(a:hover) .cursor__ring,
body:has(button:hover) .cursor__ring {
  width: 60px; height: 60px;
  border-color: var(--gold);
}

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 2rem;
  padding: 1.4rem 3rem;
  transition: background .4s, padding .4s;
}
.nav.is-scrolled { background: rgba(10,10,10,.92); backdrop-filter: blur(12px); padding: 1rem 3rem; }
/* 最上部は和紙白ヒーローの上 → 文字を墨色に。スクロール後はダーク背景 → 紙色に */
.nav { color: #141210; }
.nav.is-scrolled { color: var(--paper); }
.nav__logo {
  font-family: var(--jp);
  font-weight: 300;
  font-size: .9rem;
  letter-spacing: .12em;
  white-space: nowrap;
}
.nav__logo em { font-style: normal; font-family: var(--serif); }
.nav__links {
  display: flex; gap: 2rem;
  margin-left: auto;
}
.nav__links a {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .6;
  transition: opacity .25s;
}
.nav__links a:hover { opacity: 1; }
.nav__lang {
  display: flex; gap: .6rem;
  margin-left: 2rem;
}
.lang-btn {
  font-family: var(--sans);
  font-size: .65rem;
  letter-spacing: .1em;
  opacity: .4;
  transition: opacity .25s;
  padding: .2rem .4rem;
}
.lang-btn.is-active { opacity: 1; border-bottom: 1px solid var(--gold); }
.lang-btn:hover { opacity: .8; }

/* ── § Hero（和紙白 × 墨流し）──────────────────────────────── */
.s-hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 0 clamp(2.5rem, 8vw, 8rem);
  overflow: hidden;
  background: #ECE7DC;       /* 和紙白 */
  cursor: crosshair;
}
/* 墨流しキャンバス（最背面）— 上部はマスクでナビ保護 */
#inkHero {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; display: block;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, transparent 84px, #000 168px);
  mask-image: linear-gradient(to bottom, transparent 0, transparent 84px, #000 168px);
}
/* 和紙テクスチャ（墨の上に重なって紙質を出す） */
.s-hero::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
  pointer-events: none;
}
.hero__seal {
  position: absolute; top: 5.4rem; left: clamp(2.5rem, 8vw, 8rem); z-index: 2;
  font-family: var(--sans);
  font-size: .62rem;
  letter-spacing: .3em;
  color: var(--gold);
}
/* 縦書きステージ：左に大きな「墨」、右に縦書き3列（中央揃え） */
.hero__stage {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
}
/* 手書きの墨（画像）— 3言語共通のブランドマーク */
.hero__focal-wrap {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
}
.hero__focal-img {
  display: block;
  height: min(66vh, 620px); width: auto;
  mix-blend-mode: multiply;          /* 和紙・墨流しに馴染ませる */
  user-select: none; -webkit-user-drag: none;
}
/* 落款印＋ウォールラベル: 既定は非表示、英語（is-lat）のみ表示 */
.hero__label-block { display: none; }
.hero__rakkan {
  display: block; width: 42px; height: auto;
  mix-blend-mode: multiply; user-select: none; -webkit-user-drag: none;
}
.hero__caption {
  border-top: 1px solid rgba(20,18,16,.25); padding-top: .7rem;
  font-family: var(--sans); font-size: .6rem; letter-spacing: .34em;
  text-transform: uppercase; color: rgba(20,18,16,.6); line-height: 2;
}
.hero__caption-sub {
  display: block; letter-spacing: .22em; color: rgba(20,18,16,.38);
  text-transform: none; font-size: .58rem;
}

.hero__vcol {
  display: flex; flex-direction: row;
  gap: clamp(.6rem, 2vw, 1.4rem);
  align-items: center;                 /* 案1：天地中央でぴたり揃え */
}
.vc {
  writing-mode: vertical-rl; text-orientation: mixed;
  font-family: var(--serif); font-weight: 300; letter-spacing: .12em;
  color: #141210; mix-blend-mode: multiply;
}
.vc--main { font-size: clamp(2.2rem, 4.8vw, 3.8rem); }
.vc--sub  { font-size: clamp(1.1rem, 2.2vw, 1.7rem); letter-spacing: .18em; color: rgba(20,18,16,.6); }
.vc:empty { display: none; }
/* 英語：縦書き → 横書きに自動フォールバック */
.s-hero.is-lat .hero__stage { align-items: flex-end; }
.s-hero.is-lat .hero__vcol { flex-direction: column; align-items: flex-start; gap: .4rem; }
.s-hero.is-lat .vc { writing-mode: horizontal-tb; }
.s-hero.is-lat .vc--main { font-size: clamp(2rem, 4.4vw, 3.4rem); }
/* 英語のみ: 墨をやや小さくし、下に落款印＋ウォールラベルを配置 */
.s-hero.is-lat .hero__focal-img { height: min(56vh, 540px); }
.s-hero.is-lat .hero__label-block {
  position: absolute; top: 93%; left: 0;
  display: flex; flex-direction: column; align-items: flex-start; gap: .9rem;
}
.hero__role {
  position: absolute; bottom: 2.4rem; left: clamp(2.5rem, 8vw, 8rem); z-index: 2;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 300;
  letter-spacing: .1em;
  color: rgba(20,18,16,.6);
}
.hero__scroll {
  position: absolute; bottom: 2.4rem; right: clamp(2.5rem, 8vw, 8rem); z-index: 2;
  font-family: var(--sans);
  font-size: .66rem;
  letter-spacing: .2em;
  color: rgba(20,18,16,.45);
  animation: heroScrollPulse 2s ease-in-out infinite;
}
@keyframes heroScrollPulse {
  0%,100% { opacity: .4; transform: translateY(0); }
  50% { opacity: .7; transform: translateY(4px); }
}

/* ── § Photo Wall ────────────────────────────────────────── */
.s-wall { position: relative; }

.wall__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.wall__top {
  position: absolute; top: 2.5rem; left: 3rem; z-index: 2;
  display: flex; flex-direction: column; gap: .5rem;
  pointer-events: none;
}
.wall__sub {
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .08em;
  color: rgba(236,231,220,.5);
}
.wall__hint {
  font-family: var(--sans);
  font-size: .6rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(236,231,220,.3);
}
.wall__track {
  display: flex;
  height: 100%;
  width: max-content;
  will-change: transform;
}
.wall__strip {
  flex-shrink: 0;
  width: clamp(110px, 12vw, 175px);
  height: 100%;
  overflow: hidden;
}
.wall__strip img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(.5) contrast(1.1);
  transition: filter .8s var(--ease-out-expo);
  pointer-events: none;
  background: #1a1a1a;
}
.wall__strip:hover img { filter: brightness(1) contrast(1); }

/* mobile: native horizontal scroll */
@media (max-width: 768px) {
  .s-wall { overflow-x: scroll; scroll-snap-type: x mandatory; scrollbar-width: none; height: auto !important; }
  .s-wall::-webkit-scrollbar { display: none; }
  .wall__sticky { position: static; height: 55vh; overflow: visible; }
  .wall__track { height: 100%; }
  .wall__strip { width: 38vw; scroll-snap-align: start; }
}

/* ── § Section heading（各セクション共通）────────────────── */
.sec-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 4rem;
}
.sec-head__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: .02em;
}
.sec-head__sub {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .08em;
  color: rgba(236,231,220,.45);
}
/* ── § About ─────────────────────────────────────────────── */
.s-about {
  padding: 10rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}
.about__lead {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: .02em;
  margin-bottom: 1.5rem;
}
.about__body {
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(236,231,220,.6);
}
.about__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.about__col h3 {
  font-family: var(--sans);
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.about__col ul { display: flex; flex-direction: column; gap: .6rem; }
.about__col li {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 300;
  color: rgba(236,231,220,.55);
  line-height: 1.5;
}

/* ── § Commissions ───────────────────────────────────────── */
.s-services { padding: 10rem 3rem; }
.s-services .sec-head { margin-bottom: 5rem; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(236,231,220,.1);
}
.svc-card {
  padding: 2.5rem 2rem;
  border-right: 1px solid rgba(236,231,220,.1);
  display: flex; flex-direction: column; gap: 1rem;
  transition: background .3s;
}
.svc-card:last-child { border-right: none; }
.svc-card:hover { background: rgba(236,231,220,.04); }
.svc-card__tier {
  font-family: var(--sans);
  font-size: .55rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
}
.svc-card h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: .02em;
}
.svc-card p {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(236,231,220,.5);
  flex: 1;
}
.svc-card__price {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--gold);
  margin-top: auto;
}

/* ── § Editions ──────────────────────────────────────────── */
/* ═══ EXHIBITIONS ═══════════════════════════════════ */
.s-exhibitions {
  padding: 10rem 3rem;
  background: linear-gradient(to bottom, #050505 0%, #0a0a0a 50%, #050505 100%);
}
.s-exhibitions .sec-head { margin-bottom: 5rem; }
.sec-head__index {
  display: block;
  font-family: var(--mono, monospace);
  font-size: .75rem;
  letter-spacing: .3em;
  color: rgba(255,255,255,.4);
  margin-bottom: 1rem;
}

.exh__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
}
.exh-card { display: flex; flex-direction: column; gap: 1.5rem; }
.exh-card--wide { grid-column: 1 / -1; }
.exh-card--tall .exh-card__img { aspect-ratio: 1/2; }

.exh-card__img {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #0a0a0a;
  box-shadow:
    0 30px 80px rgba(0,0,0,.6),
    0 0 0 1px rgba(255,255,255,.04);
}
.exh-card--wide .exh-card__img { aspect-ratio: 2/1; }

.exh-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out-expo), filter .8s ease;
  filter: brightness(.9) contrast(1.05);
}
.exh-card:hover .exh-card__img img {
  transform: scale(1.03);
  filter: brightness(1) contrast(1.1);
}

.exh-card__meta {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding-top: .5rem;
}
.exh-card__title {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-weight: 300;
}
.exh-card__ch {
  font-family: var(--serif-jp, serif);
  font-size: 1.8rem;
  letter-spacing: .15em;
  color: rgba(255,255,255,.95);
}
.exh-card__en {
  font-family: var(--serif, serif);
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255,255,255,.6);
  font-weight: 300;
}
.exh-card__spec {
  font-size: .82rem;
  letter-spacing: .04em;
  color: rgba(255,255,255,.5);
  font-family: var(--mono, monospace);
  line-height: 1.6;
}
.exh-card__venue {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(212,164,96,.7);  /* 金色アクセント */
  font-family: var(--serif, serif);
}

.exh__note {
  text-align: center;
  margin-top: 5rem;
  font-size: .85rem;
  color: rgba(255,255,255,.45);
  letter-spacing: .08em;
}
.exh__note a {
  color: rgba(212,164,96,.9);
  border-bottom: 1px solid rgba(212,164,96,.4);
  padding-bottom: 2px;
  transition: color .3s;
}
.exh__note a:hover { color: rgba(212,164,96,1); }

@media (max-width: 768px) {
  .s-exhibitions { padding: 6rem 1.5rem; }
  .exh__grid { grid-template-columns: 1fr; gap: 3rem; }
  .exh-card__title { flex-direction: column; gap: .3rem; }
}

/* ── クリック可能カードのヒント ── */
.exh-card--clickable { cursor: pointer; }
.exh-card--clickable .exh-card__img { position: relative; }
.exh-card--clickable .exh-card__img::after {
  content: 'View ↗';
  position: absolute; bottom: 12px; right: 12px;
  font-family: var(--sans); font-size: .64rem; letter-spacing: .14em;
  color: #fff; background: rgba(0,0,0,.5); padding: .3rem .65rem; border-radius: 2px;
  opacity: 0; transition: opacity .35s;
}
.exh-card--clickable:hover .exh-card__img::after { opacity: 1; }
.exh-card--clickable:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* ── 作品詳細ビュー（オーバーレイ）── */
.exh-detail {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(8,8,8,.92);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity .5s var(--ease-out-expo), visibility .5s;
}
.exh-detail.is-open { opacity: 1; visibility: visible; }
.exh-detail__panel {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 46%) 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  max-width: 1100px; width: 100%; max-height: 88vh;
  background: #111; border: 0.5px solid rgba(236,231,220,.12);
  padding: clamp(1.6rem, 3vw, 2.8rem);
  transform: translateY(24px); transition: transform .6s var(--ease-out-expo);
}
.exh-detail.is-open .exh-detail__panel { transform: none; }
.exh-detail__img { margin: 0; align-self: center; }
.exh-detail__img img { width: 100%; height: auto; max-height: 78vh; object-fit: contain; }
.exh-detail__text {
  position: relative;
  overflow-y: auto; max-height: 78vh;
  padding-right: 1.4rem;
  scrollbar-gutter: stable;
  overscroll-behavior: contain;            /* モーダル端で背景に伝播させない */
  -webkit-overflow-scrolling: touch;        /* iOS 慣性スクロール */
  scrollbar-width: thin;
  scrollbar-color: rgba(212,164,96,.45) transparent;
}
.exh-detail__text::-webkit-scrollbar { width: 6px; }
.exh-detail__text::-webkit-scrollbar-track { background: transparent; }
.exh-detail__text::-webkit-scrollbar-thumb { background: rgba(212,164,96,.4); border-radius: 3px; }
.exh-detail__text::-webkit-scrollbar-thumb:hover { background: rgba(212,164,96,.7); }
/* 下端フェード（続きがある合図）— 最後まで読むと消える */
.exh-detail__fade {
  position: sticky; bottom: 0; left: 0; right: 0;
  height: 3.2rem; margin-top: -3.2rem; pointer-events: none;
  background: linear-gradient(to top, #111 12%, transparent);
  opacity: 1; transition: opacity .35s ease;
}
.exh-detail__text.is-bottom .exh-detail__fade { opacity: 0; }
.exh-detail__title { display: flex; align-items: baseline; gap: .7rem; margin: 0 0 .4rem; font-weight: 300; }
.exh-detail__ch { font-family: var(--serif); font-size: 2.6rem; color: var(--paper); }
.exh-detail__yomi { font-size: .68rem; letter-spacing: .22em; color: rgba(236,231,220,.5); }
.exh-detail__en { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: rgba(236,231,220,.75); }
.exh-detail__spec { font-family: var(--sans); font-size: .72rem; letter-spacing: .04em; color: rgba(236,231,220,.45); margin: 0 0 1.7rem; }
.exh-detail__quote {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2vw, 1.6rem);
  line-height: 1.5; color: var(--paper);
  border-left: 2px solid var(--gold); padding-left: 1rem; margin: 0 0 1.7rem;
}
.exh-detail__body p { font-family: var(--serif); font-size: 1rem; line-height: 1.95; color: rgba(236,231,220,.72); margin: 0 0 1.1rem; }
.exh-detail__closing { color: var(--gold) !important; font-style: italic; }
.exh-detail__cta {
  display: inline-block; margin-top: 1rem;
  font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; color: var(--gold);
  border-bottom: 1px solid rgba(212,164,96,.5); padding-bottom: 3px;
}
.exh-detail__cta:hover { border-color: var(--gold); }
.exh-detail__close {
  position: absolute; top: 1.2rem; right: 1.4rem; z-index: 2;
  background: none; border: none; color: var(--paper); font-size: 1.4rem; cursor: pointer;
  opacity: .55; transition: opacity .3s;
}
.exh-detail__close:hover { opacity: 1; }
@media (max-width: 780px) {
  .exh-detail__panel {
    grid-template-columns: 1fr; max-height: 90vh; overflow-y: auto;
    overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    scrollbar-width: thin; scrollbar-color: rgba(212,164,96,.45) transparent;
  }
  .exh-detail__img img { max-height: 38vh; }
  .exh-detail__text { overflow: visible; max-height: none; padding-right: 0; scrollbar-gutter: auto; }
  .exh-detail__fade { display: none; }   /* モバイルはパネル全体が1スクロール */
}

/* ── § Journal（淡墨フォーカス・リスト）─────────────────────
   読んでいる行だけ濃く、離れるほど淡墨に薄れる。
   上下はマスクで霞ませ、左の筆線＋朱点が現在地を示す */
.s-journal { padding: 10rem 3rem; }
.s-journal .sec-head { margin-bottom: 2.5rem; }
.journal__tabs {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 2.2rem;
  max-width: 52rem;
  margin: 0 auto 1.2rem;
}
.tab-btn {
  font-family: var(--sans);
  font-size: .65rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .35;
  transition: opacity .25s;
  position: relative;
  padding-bottom: .55rem;
}
.tab-btn::after {
  content: '';
  position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 105%; height: 7px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 7' preserveAspectRatio='none'%3E%3Cpath d='M2 4.5 Q28 1.5 52 3.5 T98 3' stroke='%23ECE7DC' stroke-width='2.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  opacity: 0;
  transition: opacity .3s;
}
.tab-btn.is-active { opacity: 1; }
.tab-btn.is-active::after { opacity: .85; }
.tab-btn:hover { opacity: .7; }
.journal__window {
  position: relative;
  max-width: 52rem;
  margin: 0 auto;
}
.journal__prog {
  position: absolute; left: 0; top: 5%; bottom: 5%;
  width: 1px;
  background: rgba(236,231,220,.14);
}
.journal__prog-fill {
  position: absolute; top: 0; left: 0;
  width: 1px; height: 0;
  background: var(--paper);
}
.journal__prog-dot {
  position: absolute; left: -2.5px; top: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
}
.journal__list {
  height: clamp(420px, 64vh, 640px);
  overflow-y: auto;
  scrollbar-width: none;
  position: relative;
  padding: .5rem .5rem 9rem 3.4rem;
  -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 7%, #000 90%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 7%, #000 90%, transparent);
}
.journal__list::-webkit-scrollbar { display: none; }
.journal__item {
  display: flex;
  gap: 1.4rem;
  align-items: baseline;
  padding: .85rem 0;
  transition: opacity .2s linear;
  cursor: default;
}
.journal__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  font-weight: 400;
  color: rgba(236,231,220,.32);
  min-width: 2.4rem;
  text-align: right;
  flex: none;
}
.journal__label {
  display: block;
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(236,231,220,.6);
  margin-bottom: .3rem;
}
.journal__tag {
  font-style: normal;
  font-family: var(--sans);
  font-size: .55rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-left: .8rem;
}
.journal__title {
  display: block;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--paper);
}
.journal__hint {
  max-width: 52rem;
  margin: 1rem auto 0;
  text-align: center;
  font-family: var(--sans);
  font-size: .6rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(236,231,220,.35);
}
@media (max-width: 640px) {
  .journal__num { display: none; }
  .journal__list { padding-left: 1.6rem; }
}

/* ── § Follow ────────────────────────────────────────────── */
.s-follow {
  padding: 8rem 3rem;
  border-top: 1px solid rgba(236,231,220,.1);
}
.follow__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.follow__lead {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 300;
  margin-bottom: 1rem;
}
.follow__handle {
  font-family: var(--sans);
  font-size: .8rem;
  letter-spacing: .12em;
  color: var(--gold);
  transition: letter-spacing .3s;
}
.follow__handle:hover { letter-spacing: .2em; }
.follow__nl-sub {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 300;
  color: rgba(236,231,220,.55);
  margin-bottom: 1.4rem;
  line-height: 1.6;
}
.follow__form {
  display: flex; gap: 0;
  border: 1px solid rgba(236,231,220,.2);
}
.follow__form input {
  flex: 1;
  padding: .85rem 1.2rem;
  background: transparent;
  border: none;
  outline: none;
  font-size: .8rem;
  color: var(--paper);
}
.follow__form input::placeholder { color: rgba(236,231,220,.3); }
.follow__form button {
  padding: .85rem 1.5rem;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background .25s, color .25s;
}
.follow__form button:hover { background: var(--gold); }

/* ── § Contact ───────────────────────────────────────────── */
.s-contact {
  padding: 10rem 3rem;
  border-top: 1px solid rgba(236,231,220,.1);
  position: relative;
  overflow: hidden;
  cursor: crosshair;
}
/* Contact 墨流しキャンバス（夜の水面・最背面） */
#inkContact {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; display: block;
  opacity: .8;
}
.contact__inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: start;
}
.contact__title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  position: sticky;
  top: 6rem;
}
.contact__form {
  display: flex; flex-direction: column; gap: 1.8rem;
}
.contact__group { display: flex; flex-direction: column; gap: .8rem; }
.contact__label {
  font-family: var(--sans);
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(236,231,220,.45);
}
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
  display: inline-flex;
}
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .08em;
  padding: .45rem 1rem;
  border: 1px solid rgba(236,231,220,.2);
  transition: border-color .25s, background .25s, color .25s;
  cursor: none;
}
.chip input:checked + span {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}
.chip:hover span { border-color: rgba(236,231,220,.5); }
.contact__form input,
.contact__form textarea {
  width: 100%;
  padding: .9rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(236,231,220,.18);
  outline: none;
  font-size: .85rem;
  font-weight: 300;
  color: var(--paper);
  resize: none;
  transition: border-color .25s;
}
.contact__form input::placeholder,
.contact__form textarea::placeholder { color: rgba(236,231,220,.3); }
.contact__form input:focus,
.contact__form textarea:focus { border-bottom-color: var(--gold); }
.contact__form button[type="submit"] {
  align-self: flex-start;
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border: 1px solid rgba(236,231,220,.3);
  transition: background .3s, color .3s, border-color .3s;
}
.contact__form button[type="submit"]:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

/* ── § Footer ────────────────────────────────────────────── */
.s-footer {
  padding: 3rem;
  border-top: 1px solid rgba(236,231,220,.1);
}
.footer__inner {
  display: flex; align-items: center; gap: 2rem;
}
.footer__brand {
  font-family: var(--jp);
  font-size: .8rem;
  font-weight: 300;
  letter-spacing: .12em;
}
.footer__copy {
  font-family: var(--sans);
  font-size: .62rem;
  letter-spacing: .06em;
  color: rgba(236,231,220,.3);
  margin-left: auto;
}
.footer__admin {
  font-family: var(--sans);
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(236,231,220,.25);
  transition: color .25s;
}
.footer__admin:hover { color: rgba(236,231,220,.7); }

/* ── Scroll reveal ───────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease-out-expo), transform .9s var(--ease-out-expo);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .svc-card:nth-child(2) { border-right: none; }
  .svc-card:nth-child(3) { border-top: 1px solid rgba(236,231,220,.1); }
  .svc-card:nth-child(4) { border-top: 1px solid rgba(236,231,220,.1); border-right: none; }
  .about__cols { grid-template-columns: 1fr; }
  .s-about { grid-template-columns: 1fr; gap: 4rem; }
}

@media (max-width: 768px) {
  .nav { padding: 1rem 1.5rem; }
  .nav__links { display: none; }
  .nav.is-scrolled { padding: .8rem 1.5rem; }
  .s-hero, .s-about, .s-services,
  .s-journal, .s-follow, .s-contact, .s-footer { padding-left: 1.5rem; padding-right: 1.5rem; }
  .hero__focal-img { height: min(46vh, 420px); }
  .s-hero.is-lat .hero__focal-img { height: min(40vh, 360px); }
  .hero__vcol { gap: clamp(.4rem, 2vw, 1rem); }
  .vc--main { font-size: clamp(1.8rem, 6.5vw, 3rem); }
  .vc--sub { font-size: clamp(1rem, 3.4vw, 1.5rem); }
  .sec-head { flex-direction: column; gap: .5rem; }
  .contact__inner { grid-template-columns: 1fr; gap: 3rem; }
  .contact__title { position: static; }
  .follow__inner { grid-template-columns: 1fr; gap: 3rem; }
  .services__grid { grid-template-columns: 1fr; border: none; gap: 2px; }
  .svc-card { border: 1px solid rgba(236,231,220,.1); border-right: 1px solid rgba(236,231,220,.1) !important; border-top: none !important; }
  .svc-card:first-child { border-top: 1px solid rgba(236,231,220,.1) !important; }
  .footer__inner { flex-wrap: wrap; gap: 1rem; }
  .footer__copy { order: 3; flex-basis: 100%; margin-left: 0; }
}
