/* ============ TOMOSU. — Minimal, editorial ============ */
:root {
  --paper: #FAFAF7;
  --paper-pure: #ffffff;
  --paper-deep: #F3F1EB;
  --ink: #1A1A1A;
  --ink-soft: #3a3a38;
  --ink-mute: #7a7874;
  --ink-faint: #b5b2ab;
  --line: #e4e1d8;
  --line-soft: #efece4;
  --dark: #0f0f0e;
  --dark-soft: #1a1a18;
  --gold: #a68042;
  --gold-soft: #c2a370;

  --serif-jp: "Noto Serif JP", "Yu Mincho", "游明朝", serif;
  --sans-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --serif-en: "Cormorant Infant", "EB Garamond", Georgia, serif;
  --sans-en: "Inter", -apple-system, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans-jp);
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
  line-height: 2;
  letter-spacing: 0.05em;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; color: inherit; }

/* ============ Layout ============ */
.container-narrow {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 64px;
}
section { position: relative; }

/* ============ Typography ============ */
.jp-display {
  font-family: var(--serif-jp);
  font-weight: 300;
  letter-spacing: 0.12em;
  line-height: 1.55;
  font-feature-settings: "palt";
}
.en-display {
  font-family: var(--serif-en);
  font-weight: 300;
  letter-spacing: 0.04em;
  font-style: italic;
}
.en-label {
  font-family: var(--serif-en);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
  font-style: italic;
}
.en-label-small {
  font-family: var(--serif-en);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--ink-mute);
  font-style: italic;
}
.section-number {
  font-family: var(--serif-en);
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
  font-style: italic;
}

/* ============ Buttons / links ============ */
.cta {
  display: inline-block;
  font-family: var(--sans-jp);
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.18em;
  padding: 20px 0 10px;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  transition: all 0.5s var(--ease);
  position: relative;
}
.cta::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.5s var(--ease);
}
.cta:hover { color: var(--gold); border-color: transparent; }
.cta:hover::after { width: 100%; }
.cta.on-dark { color: #fff; border-color: rgba(255,255,255,0.5); }
.cta.on-dark:hover { color: var(--gold-soft); }
.cta.on-dark::after { background: var(--gold-soft); }

.text-link {
  font-family: var(--sans-jp);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--ink);
  position: relative;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--ink-faint);
  transition: border-color 0.3s;
}
.text-link:hover { border-color: var(--gold); }

/* ============ Navigation ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 36px 0;
  transition: all 0.5s var(--ease);
  mix-blend-mode: normal;
}
.nav.scrolled {
  background: rgba(250,250,247,0.92);
  backdrop-filter: blur(18px);
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
}
.nav.on-dark:not(.scrolled) { color: #fff; }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 64px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  color: inherit;
  line-height: 0;
}
.nav-logo-img {
  height: 28px;
  width: auto;
  display: block;
  transition: opacity 0.35s var(--ease);
}
.nav.scrolled .nav-logo-img { height: 24px; }

/* Reserves space in the header where MorphLogo docks */
.nav-logo-slot {
  display: inline-block;
  width: 140px;
  height: 28px;
}

/* =========================================================
   MorphLogo — fixed, scroll-driven position + scale.
   --p goes 0 (hero) → 1 (docked in header), set from JS.
   ========================================================= */
.morph-logo {
  position: fixed;
  z-index: 60;
  cursor: pointer;
  line-height: 0;
  pointer-events: auto;
  display: block;
  will-change: transform, top, left, height;

  /* Hero (p=0) target: center horizontally, upper portion of hero. */
  --top-hero: 14vh;
  --top-nav:  22px;       /* matches .nav.scrolled padding-top (logo docks when scrolled) */

  --left-hero: 50vw;
  --left-nav:  calc(max(0px, (100vw - 1320px) / 2) + 64px);

  --size-hero: clamp(96px, 13vh, 150px);
  --size-nav:  28px;

  /* Interpolate top, left, translate, height from --p */
  top:  calc(var(--top-hero) + (var(--top-nav) - var(--top-hero)) * var(--p, 0));
  left: calc(var(--left-hero) + (var(--left-nav) - var(--left-hero)) * var(--p, 0));
  height: calc(var(--size-hero) + (var(--size-nav) - var(--size-hero)) * var(--p, 0));

  /* At p=0 we're centered horizontally: translateX(-50%).
     At p=1 we're anchored left: translateX(0%). */
  transform: translateX(calc(-50% * (1 - var(--p, 0))));
  transform-origin: center center;
}
.morph-logo-img {
  height: 100%;
  width: auto;
  display: block;
}
/* Darken when explicitly flagged on-dark */
.morph-logo.on-dark .morph-logo-img {
  filter: brightness(0) invert(1) opacity(0.92);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 48px;
  font-size: 12px;
  letter-spacing: 0.22em;
  font-weight: 300;
  line-height: 1;
}
.nav-links a {
  opacity: 0.7;
  transition: opacity 0.3s;
  padding: 4px 0;
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { opacity: 1; }
.nav-cta {
  font-family: var(--sans-jp);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.2em;
  padding: 4px 0;
  border-bottom: 1px solid currentColor;
  cursor: pointer;
  opacity: 0.9;
  transition: opacity 0.3s, color 0.3s;
  line-height: 1;
  white-space: nowrap;
  align-self: center;
}
.nav-cta:hover { color: var(--gold); opacity: 1; }
.nav.on-dark:not(.scrolled) .nav-cta:hover { color: var(--gold-soft); }

/* On dark bg (Philosophy): subtle brightness bump so charcoal half stays legible-ish,
   but since logo is intended for light bg, also slightly invert tonal balance via filter */
.nav.on-dark:not(.scrolled) .nav-logo-img {
  filter: brightness(0) invert(1) opacity(0.92);
}

/* ============ Hero ============ */
.hero {
  min-height: 100vh;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  padding: 140px 0 100px;
}
/* Reserved space so oversized MorphLogo (centered at ~26vh) doesn't collide with hero meta/title. */
.hero-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 22vh 64px 0;
  width: 100%;
}
.hero-meta {
  font-family: var(--serif-en);
  font-style: italic;
  font-weight: 400;
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.2em;
  margin-bottom: 72px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.hero-meta .rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.hero-title {
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: clamp(36px, 7.5vw, 104px);
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 56px;
  max-width: 1100px;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.hero-sub {
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: 16px;
  line-height: 2.2;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 80px;
}
.hero-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 120px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero-foot .left, .hero-foot .right {
  font-family: var(--serif-en);
  font-style: italic;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  line-height: 1.9;
}
.hero-foot .right { text-align: right; }

/* ============ Section scaffolding ============ */
.sec {
  padding: 200px 0;
}
.sec-sm {
  padding: 160px 0;
}
.sec-header {
  margin-bottom: 140px;
  max-width: 720px;
}
.sec-header .num {
  display: block;
  margin-bottom: 40px;
}
.sec-title {
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: clamp(36px, 4.8vw, 64px);
  letter-spacing: 0.1em;
  line-height: 1.55;
  color: var(--ink);
}
.sec-title.dark { color: #fff; }
.sec-title.center { text-align: center; }

/* ============ Philosophy (dark) ============ */
.philosophy {
  background: var(--dark);
  color: #fff;
  padding: 240px 0;
}
.phil-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 64px;
  text-align: center;
}
.phil-num {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.24em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 48px;
  display: block;
}
.phil-rule {
  width: 40px;
  height: 1px;
  background: var(--gold-soft);
  margin: 0 auto 56px;
}
.phil-vision {
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: clamp(32px, 4.2vw, 58px);
  letter-spacing: 0.12em;
  line-height: 1.8;
  color: #fff;
  margin-bottom: 120px;
}
.phil-body {
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: 16px;
  line-height: 2.3;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.72);
  max-width: 640px;
  margin: 0 auto;
}
.phil-body p + p { margin-top: 2.6em; }
.phil-sign {
  margin-top: 96px;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.4);
}

/* ============ About ============ */
.about {
  background: var(--paper);
  padding: 200px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 120px;
  align-items: start;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 64px;
}
.about-portrait {
  aspect-ratio: 3/4;
  width: 100%;
  max-width: 360px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #F3F1EB 0%, #e7e3d8 100%);
  position: relative;
}
.about-portrait::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 64%; height: 72%;
  background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
  opacity: 0;
}
.about-portrait-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 50%;
  filter: grayscale(10%) contrast(1.02);
}
.about-portrait .label {
  position: absolute;
  bottom: 28px; left: 28px;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
}
.about-content { padding-top: 40px; }
.about-kicker {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
  margin-bottom: 32px;
}
.about-title {
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: 0.1em;
  line-height: 1.7;
  margin-bottom: 56px;
}
.about-name {
  font-family: var(--serif-jp);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.14em;
  margin-bottom: 6px;
}
.about-name .en {
  font-family: var(--serif-en);
  font-style: italic;
  font-weight: 400;
  font-size: 15px;
  color: var(--ink-mute);
  margin-left: 16px;
  letter-spacing: 0.12em;
}
.about-role {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--ink-mute);
  margin-bottom: 40px;
}
.about-body {
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: 15px;
  line-height: 2.3;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.about-body p + p { margin-top: 1.8em; }

/* Career list */
.career {
  max-width: 1320px;
  margin: 200px auto 0;
  padding: 0 64px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 120px;
}
.career-title {
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: 28px;
  letter-spacing: 0.12em;
  line-height: 1.7;
}
.career-title .en {
  display: block;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--ink-mute);
  margin-bottom: 14px;
}
.career-list { display: block; }
.career-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 60px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.career-row:last-child { border-bottom: 1px solid var(--line); }
.career-year {
  font-family: var(--serif-en);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.career-body {
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.08em;
  line-height: 2.1;
  color: var(--ink-soft);
}
.career-body .role {
  color: var(--ink);
  font-weight: 400;
  margin-right: 12px;
}
.career-body .company {
  color: var(--ink-mute);
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.1em;
  margin-left: 4px;
}
.career-note {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
}

/* ============ Services ============ */
.services {
  background: var(--paper);
  padding: 200px 0 240px;
}
.svc-row {
  max-width: 1320px;
  margin: 0 auto;
  padding: 140px 64px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 120px;
  align-items: start;
  position: relative;
}
.svc-row + .svc-row { border-top: 1px solid var(--line); }
.svc-left {
  position: sticky;
  top: 140px;
}
.svc-num {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.24em;
  color: var(--ink-mute);
  margin-bottom: 32px;
  display: block;
}
.svc-title {
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: clamp(30px, 3.6vw, 48px);
  letter-spacing: 0.1em;
  line-height: 1.5;
  margin-bottom: 12px;
}
.svc-title-en {
  font-family: var(--serif-en);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  margin-bottom: 40px;
  display: block;
}
.svc-price {
  font-family: var(--serif-en);
  font-weight: 400;
  font-size: 28px;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.svc-price .small {
  font-family: var(--sans-jp);
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.12em;
  margin-left: 6px;
  font-weight: 300;
}
.svc-note {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
}
.svc-desc {
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: 17px;
  line-height: 2.3;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-bottom: 56px;
}
.svc-items {
  list-style: none;
  padding: 0;
  margin: 0 0 56px;
}
.svc-items li {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  letter-spacing: 0.12em;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 300;
}
.svc-items li:last-child { border-bottom: 1px solid var(--line); }
.svc-items li .idx {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.16em;
}

/* Differentiation — quiet callout */
.diff {
  padding: 200px 0;
  background: var(--paper-deep);
  text-align: center;
}
.diff-rule {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 48px;
}
.diff-text {
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 2.1;
  letter-spacing: 0.12em;
  max-width: 880px;
  margin: 0 auto;
  color: var(--ink);
}
.diff-text .em {
  font-family: var(--serif-en);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.06em;
  padding: 0 8px;
}

/* ============ Works ============ */
.works {
  background: var(--paper);
  padding: 200px 0;
}
.works-head {
  max-width: 1320px;
  margin: 0 auto 140px;
  padding: 0 64px;
}
.works-tabs-wrap {
  position: sticky;
  top: 70px;
  z-index: 40;
  background: var(--paper);
  margin-bottom: 80px;
}
.works-tabs {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 64px;
  display: flex;
  gap: 56px;
  border-bottom: 1px solid var(--line);
}
.works-tab {
  font-family: var(--sans-jp);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.22em;
  padding: 20px 0;
  color: var(--ink-mute);
  position: relative;
  transition: color 0.3s;
}
.works-tab::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 0; height: 1px;
  background: var(--ink);
  transition: width 0.4s var(--ease);
}
.works-tab.active { color: var(--ink); }
.works-tab.active::after { width: 100%; }
.works-tab .en {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.2em;
  margin-left: 10px;
  color: var(--ink-faint);
}

.works-panel {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 64px;
  min-height: 400px;
}

/* Clients — auto-scrolling marquee */
.clients-marquee {
  width: calc(100% + 128px);
  margin-left: -64px;
  margin-right: -64px;
  overflow: hidden;
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 72px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.clients-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: clients-scroll 42s linear infinite;
}
.clients-marquee:hover .clients-track { animation-play-state: paused; }
@keyframes clients-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.client-chip {
  flex: 0 0 auto;
  padding: 0 72px;
  text-align: center;
  position: relative;
}
.client-chip + .client-chip::before {
  content: "";
  position: absolute;
  left: 0; top: 30%; bottom: 30%;
  width: 1px;
  background: var(--line);
}
.client-chip-logo {
  height: 115px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.client-chip-img {
  max-height: 115px;
  max-width: 192px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}
.client-chip-name {
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: 26px;
  letter-spacing: 0.08em;
  color: var(--ink);
  white-space: nowrap;
  line-height: 1;
}
.client-chip-store {
  margin-top: 22px;
  font-family: var(--serif-jp);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--ink);
  white-space: nowrap;
  text-align: center;
  line-height: 1.4;
}
.client-chip-company {
  margin-top: 6px;
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  white-space: nowrap;
  text-align: center;
  line-height: 1.4;
}

/* Own track record */
.tinz {
  margin-top: 120px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 100px;
  padding-top: 80px;
  border-top: 1px solid var(--line);
}
.tinz-head {
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: 22px;
  letter-spacing: 0.1em;
  line-height: 1.7;
}
.tinz-head .en {
  display: block;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
  margin-bottom: 14px;
}
.tinz-head p {
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 2;
  letter-spacing: 0.08em;
  margin-top: 20px;
}
.tinz-nums {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.tinz-num {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.tinz-num .val {
  font-family: var(--serif-en);
  font-weight: 300;
  font-size: clamp(40px, 4.5vw, 64px);
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--ink);
}
.tinz-num .unit {
  font-family: var(--sans-jp);
  font-size: 14px;
  color: var(--ink-mute);
  margin-left: 8px;
  letter-spacing: 0.1em;
  font-weight: 300;
}
.tinz-num .lbl {
  margin-top: 20px;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
}

/* Samples — large single-image rows */
.samples {
  display: grid;
  gap: 120px;
}
.sample {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.sample:nth-child(even) { direction: rtl; }
.sample:nth-child(even) > * { direction: ltr; }
.sample-img {
  aspect-ratio: 4/5;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #F3F1EB 0%, #e4dfd1 100%);
  position: relative;
  overflow: hidden;
}
.sample-img-pic {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sample-img::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 55%; height: 65%;
  background: linear-gradient(180deg, rgba(255,255,255,0.4), rgba(255,255,255,0));
  pointer-events: none;
}
.sample-img:has(.sample-img-pic)::after { display: none; }
.sample-info {
  padding: 0 20px;
}
.sample-idx {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--ink-faint);
  margin-bottom: 28px;
  display: block;
}
.sample-title {
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: 32px;
  letter-spacing: 0.1em;
  line-height: 1.6;
  margin-bottom: 20px;
}
.sample-title .en {
  display: block;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-mute);
  letter-spacing: 0.12em;
  margin-top: 8px;
}
.sample-desc {
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: 14px;
  line-height: 2.2;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  max-width: 440px;
}

/* Commission — simple rows */
.commissions {
  display: block;
}
.comm-row {
  display: grid;
  grid-template-columns: 60px 2fr 3fr;
  gap: 60px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.comm-row:last-child { border-bottom: 1px solid var(--line); }
.comm-idx {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
}
.comm-title {
  font-family: var(--serif-jp);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.1em;
}
.comm-body {
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: 14px;
  line-height: 2.1;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

/* ============ Voice ============ */
.voice {
  background: var(--paper-deep);
  padding: 200px 0;
}
.voice-header {
  max-width: 1320px;
  margin: 0 auto 120px;
  padding: 0 64px;
}
.voice-rule {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 48px 0 48px;
}
.voice-heading {
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: clamp(36px, 4.8vw, 64px);
  letter-spacing: 0.1em;
  line-height: 1.55;
  color: var(--ink);
}
.voice-list {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 64px;
  display: grid;
  gap: 0;
}
.voice-card {
  padding: 80px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 60px;
  align-items: start;
}
.voice-card:last-child { border-bottom: 1px solid var(--line); }
.voice-card-photo {
  width: 160px;
  height: 160px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #F3F1EB 0%, #e7e3d8 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.voice-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.voice-card-initial {
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: 32px;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
}
.voice-card-body {}
.voice-card-cat {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 20px;
}
.voice-card-quote {
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: 17px;
  line-height: 2.3;
  letter-spacing: 0.08em;
  color: var(--ink);
  max-width: 640px;
  margin-bottom: 28px;
}
.voice-card-meta {}
.voice-card-name {
  display: block;
  font-family: var(--serif-jp);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--ink);
  margin-bottom: 6px;
}
.voice-card-role {
  display: block;
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
}
.voice-note {
  max-width: 1320px;
  margin: 48px auto 0;
  padding: 0 64px;
  font-family: var(--sans-jp);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
}

/* ============ Flow ============ */
.flow {
  background: var(--paper);
  padding: 200px 0;
}
.flow-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 64px;
}
.flow-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 80px;
  padding: 80px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.flow-row:last-child { border-bottom: 1px solid var(--line); }
.flow-num {
  font-family: var(--serif-en);
  font-weight: 300;
  font-style: italic;
  font-size: 48px;
  letter-spacing: 0.04em;
  color: var(--ink);
  line-height: 1;
}
.flow-title {
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: clamp(24px, 2.8vw, 34px);
  letter-spacing: 0.12em;
  line-height: 1.6;
  margin-bottom: 20px;
}
.flow-desc {
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: 14px;
  line-height: 2.2;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  max-width: 600px;
}
.flow-meta {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  text-align: right;
  line-height: 2;
  white-space: nowrap;
}
.flow-meta .free {
  display: block;
  color: var(--gold);
  margin-top: 4px;
}

/* ============ Blog ============ */
.blog {
  background: var(--paper);
  padding: 200px 0;
}
.blog-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 64px;
}
.blog-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 100px;
}
.blog-list { display: block; }
.blog-row {
  display: grid;
  grid-template-columns: 140px 140px 1fr auto;
  gap: 60px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
  cursor: pointer;
  transition: padding-left 0.4s var(--ease);
}
.blog-row:last-child { border-bottom: 1px solid var(--line); }
.blog-row:hover { padding-left: 16px; }
.blog-row:hover .blog-title { color: var(--gold); }
.blog-date {
  font-family: var(--serif-en);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
}
.blog-cat {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--gold);
}
.blog-title {
  font-family: var(--serif-jp);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.08em;
  line-height: 1.7;
  color: var(--ink);
  transition: color 0.3s;
}
.blog-more {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
}

/* ============ Contact ============ */
.contact {
  background: var(--paper);
  padding: 200px 0;
}
.contact-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 64px;
}
.contact-head {
  max-width: 720px;
  margin-bottom: 140px;
}
.contact-title {
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: clamp(36px, 4.8vw, 68px);
  letter-spacing: 0.1em;
  line-height: 1.6;
  margin-bottom: 48px;
}
.contact-lede {
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: 16px;
  line-height: 2.3;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  max-width: 600px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 120px;
  align-items: start;
}
.contact-info {
  padding-top: 20px;
}
.info-row {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  align-items: baseline;
}
.info-row:last-child { border-bottom: 1px solid var(--line); }
.info-row .k {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
}
.info-row .v {
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.08em;
  line-height: 1.9;
  color: var(--ink);
}
.info-row .v a { border-bottom: 1px solid var(--line); padding-bottom: 2px; font-family: var(--serif-en); font-size: 14px; letter-spacing: 0.06em; transition: border-color 0.3s; }
.info-row .v a:hover { border-color: var(--gold); color: var(--gold); }

/* Form — underline-only */
.form {}
.form-field {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s;
  position: relative;
}
.form-field:focus-within { border-color: var(--ink); }
.form-field.error { border-color: #a04938; }
.form-label {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
}
.form-label .jp {
  font-family: var(--sans-jp);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink);
  font-weight: 300;
}
.form-label .req {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.2em;
}
.form-label .opt {
  color: var(--ink-faint);
  font-size: 10px;
  letter-spacing: 0.2em;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--sans-jp);
  font-weight: 300;
  font-size: 16px;
  color: var(--ink);
  letter-spacing: 0.06em;
  padding: 8px 0;
}
.form-input::placeholder, .form-textarea::placeholder {
  color: var(--ink-faint);
  font-weight: 300;
}
.form-textarea { resize: vertical; min-height: 120px; line-height: 2; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='none' stroke='%237a7874' stroke-width='1' d='M1 1l4 4 4-4'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 24px;
  cursor: pointer;
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.form-err {
  font-family: var(--sans-jp);
  font-size: 11px;
  color: #a04938;
  margin-top: 8px;
  letter-spacing: 0.08em;
  font-weight: 300;
}
.form-agree {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 40px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.9;
  letter-spacing: 0.06em;
  font-weight: 300;
  cursor: pointer;
}
.form-agree input {
  appearance: none;
  width: 16px; height: 16px;
  border: 1px solid var(--ink-mute);
  flex-shrink: 0;
  margin-top: 4px;
  cursor: pointer;
  position: relative;
  background: transparent;
}
.form-agree input:checked {
  border-color: var(--gold);
  background: var(--gold);
}
.form-agree input:checked::after {
  content: "";
  position: absolute;
  left: 4px; top: 1px;
  width: 5px; height: 9px;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.form-agree a { border-bottom: 1px solid var(--line); padding-bottom: 1px; }
.form-submit-wrap {
  margin-top: 64px;
  display: flex;
  justify-content: flex-start;
}
.form-submit {
  font-family: var(--sans-jp);
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.2em;
  padding: 20px 0 10px;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  cursor: pointer;
  position: relative;
  transition: color 0.4s;
  background: transparent;
}
.form-submit::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.5s var(--ease);
}
.form-submit:hover { color: var(--gold); border-color: transparent; }
.form-submit:hover::after { width: 100%; }
.form-submit:disabled { opacity: 0.4; cursor: not-allowed; }

.form-success {
  padding: 80px 0;
  text-align: left;
}
.form-success .rule {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 40px;
}
.form-success h3 {
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: 28px;
  letter-spacing: 0.1em;
  line-height: 1.7;
  margin-bottom: 32px;
}
.form-success p {
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: 14px;
  line-height: 2.3;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  max-width: 480px;
}

/* ============ Footer ============ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 120px 0 48px;
}
.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 64px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 80px;
  padding-bottom: 100px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand {
  margin-bottom: 36px;
  line-height: 0;
}
.footer-logo-img {
  height: 36px;
  width: auto;
  display: block;
}
.footer-tag {
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: 14px;
  line-height: 2.2;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
  max-width: 320px;
}
.footer h5 {
  font-family: var(--serif-en);
  font-style: italic;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.24em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 32px;
}
.footer-list {
  list-style: none;
  display: grid;
  gap: 16px;
}
.footer-list li { font-size: 14px; }
.footer-list a {
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  letter-spacing: 0.12em;
  transition: color 0.3s;
  cursor: pointer;
  font-weight: 300;
}
.footer-list a:hover { color: var(--gold-soft); }
.footer-bottom {
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.4);
}

/* ============ Mobile Nav — burger + slide-in menu ============ */
.nav-burger {
  display: none; /* shown only on mobile */
  width: 40px;
  height: 40px;
  padding: 0;
  position: relative;
  background: transparent;
  border: none;
  cursor: pointer;
  color: inherit;
  z-index: 2;
}
.nav-burger-line {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 1px;
  background: currentColor;
  transition: transform 0.5s var(--ease), opacity 0.35s var(--ease), top 0.4s var(--ease);
}
.nav-burger-line:nth-child(1) { top: 14px; }
.nav-burger-line:nth-child(2) { top: 20px; }
.nav-burger-line:nth-child(3) { top: 26px; }
.nav-burger.is-open .nav-burger-line:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-burger.is-open .nav-burger-line:nth-child(2) { opacity: 0; }
.nav-burger.is-open .nav-burger-line:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* When mobile menu is open, keep the nav chrome on a light surface
   regardless of which section is behind it. */
.nav.menu-open {
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}
.nav.menu-open.on-dark:not(.scrolled) .nav-logo-img {
  filter: none;
}

.mobile-menu {
  display: none; /* enabled only on mobile via the @media block below */
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--paper);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), visibility 0s linear 0.55s;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), visibility 0s linear 0s;
}
.mobile-menu-inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 120px 28px 48px;
  max-width: 720px;
  margin: 0 auto;
}
.mobile-menu-head {
  padding-bottom: 24px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu-list {
  display: flex;
  flex-direction: column;
}
.mobile-menu-item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 20px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), color 0.3s, padding-left 0.3s var(--ease);
  cursor: pointer;
}
.mobile-menu.is-open .mobile-menu-item {
  opacity: 1;
  transform: none;
}
.mobile-menu-item:hover,
.mobile-menu-item.active { color: var(--gold); padding-left: 6px; }
.mobile-menu-item .num {
  font-family: var(--serif-en);
  font-style: italic;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--ink-faint);
}
.mobile-menu-item .en {
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: 26px;
  letter-spacing: 0.08em;
  line-height: 1.4;
}
.mobile-menu-item .jp {
  font-family: var(--sans-jp);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
}
.mobile-menu-foot {
  margin-top: auto;
  padding-top: 56px;
}
.mobile-menu-cta {
  display: block;
  padding: 28px 0 16px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: 18px;
  letter-spacing: 0.12em;
  color: var(--ink);
  text-align: center;
  transition: color 0.3s, border-color 0.3s;
  cursor: pointer;
}
.mobile-menu-cta .en {
  display: block;
  margin-top: 6px;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--ink-mute);
}
.mobile-menu-cta:hover { color: var(--gold); border-color: var(--gold); }
.mobile-menu-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
}

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .container, .container-narrow { padding: 0 28px; }
  .nav-inner, .hero-inner, .about-grid, .career, .svc-row, .works-head, .works-tabs, .works-panel, .flow-inner, .blog-inner, .contact-inner, .footer-inner { padding-left: 28px; padding-right: 28px; }
  .sec, .sec-sm, .about, .services, .works, .voice, .flow, .blog, .contact, .philosophy, .diff { padding: 120px 0; }
  .hero { padding: 120px 0 80px; }
  .hero-foot { margin-top: 60px; flex-direction: column; gap: 20px; align-items: flex-start; }
  .hero-foot .right { text-align: left; }
  .about-grid, .svc-row, .career, .contact-grid, .blog-head-row { grid-template-columns: 1fr; gap: 60px; }
  .svc-left { position: static; }
  .blog-head-row { align-items: flex-start; }
  .clients-track { animation-duration: 28s; }
  .client-chip { padding: 0 40px; }
  .client-chip-name { font-size: 22px; }
  .sample { grid-template-columns: 1fr; gap: 40px; }
  .sample:nth-child(even) { direction: ltr; }
  .samples { gap: 80px; }
  .comm-row { grid-template-columns: 40px 1fr; gap: 20px; }
  .comm-row .comm-body { grid-column: 1 / 3; padding-top: 12px; }
  .flow-row { grid-template-columns: 60px 1fr; gap: 30px; }
  .flow-row .flow-meta { grid-column: 1 / 3; text-align: left; padding-top: 12px; }
  .blog-row { grid-template-columns: 100px 1fr; gap: 20px; }
  .blog-row .blog-cat { display: none; }
  .blog-row .blog-more { display: none; }
  .form-row-2 { grid-template-columns: 1fr; gap: 0; }
  .footer-top { grid-template-columns: 1fr; gap: 48px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: block; }
  .mobile-menu { display: block; }
  /* Align docked MorphLogo with nav-inner padding in this range */
  .morph-logo { --left-nav: 28px; }
  .works-tabs { gap: 28px; overflow-x: auto; }
  .mobile-menu-meta { flex-direction: column; gap: 8px; }
  .voice-header, .voice-list, .voice-note { padding-left: 28px; padding-right: 28px; }
  .voice-card { grid-template-columns: 100px 1fr; gap: 28px; padding: 48px 0; }
  .voice-card-photo { width: 100px; height: 100px; }
  .voice-card-meta { text-align: left; }
}

/* Fade-in */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.fade-up.in { opacity: 1; transform: none; }

/* ============ Font Switcher (temporary UI for font comparison) ============ */
.font-switcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  font-family: var(--sans-jp);
  color: var(--ink);
}
.font-switcher-toggle {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 24px rgba(26, 26, 26, 0.06);
  min-width: 220px;
}
.font-switcher-toggle:hover { border-color: var(--ink-mute); }
.font-switcher.is-open .font-switcher-toggle { border-color: var(--ink); }
.fs-kicker {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
}
.fs-current {
  font-family: var(--serif-en);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.font-switcher-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 8px;
  min-width: 300px;
  box-shadow: 0 8px 40px rgba(26, 26, 26, 0.1);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fs-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 14px 16px;
  background: transparent;
  border: none;
  border-left: 2px solid transparent;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s, border-color 0.2s;
}
.fs-option:hover { background: var(--paper-deep); }
.fs-option.active {
  background: var(--paper-deep);
  border-left-color: var(--gold);
}
.fs-option-name {
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--ink);
  line-height: 1.3;
}
.fs-option-meta {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
  font-family: var(--sans-jp);
  font-weight: 300;
}
.fs-option-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.fs-option-note {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
}
.fs-footnote {
  padding: 10px 16px 6px;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  border-top: 1px solid var(--line-soft);
  margin-top: 4px;
}
@media (max-width: 980px) {
  .font-switcher { right: 16px; bottom: 16px; }
  .font-switcher-toggle { min-width: 0; padding: 12px 16px; }
  .font-switcher-panel { min-width: 260px; right: 0; }
}

/* ============ Photo placeholders (editorial empty-state) ============ */
.photo-slot {
  position: relative;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, #F3F1EB 0%, #e7e3d8 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  text-align: center;
  overflow: hidden;
}
.photo-slot::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(122, 120, 116, 0.28);
  pointer-events: none;
}
.photo-slot::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 55%; height: 65%;
  background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}
.photo-slot-kicker {
  position: relative;
  z-index: 1;
  font-family: var(--serif-en);
  font-style: italic;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--ink-faint);
}
.photo-slot-label {
  position: relative;
  z-index: 1;
  font-family: var(--serif-jp);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  line-height: 1.8;
}
.photo-slot--dark {
  background: linear-gradient(160deg, #1f1f1d 0%, #141413 100%);
  border-color: rgba(255, 255, 255, 0.08);
}
.photo-slot--dark::before { border-color: rgba(255, 255, 255, 0.14); }
.photo-slot--dark::after { background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%); }
.photo-slot--dark .photo-slot-kicker { color: rgba(255, 255, 255, 0.38); }
.photo-slot--dark .photo-slot-label { color: rgba(255, 255, 255, 0.55); }
.photo-slot--square { aspect-ratio: 1 / 1; padding: 16px; }
.photo-slot-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(4%) contrast(1.02);
}
.photo-slot:has(.photo-slot-img) { padding: 0; background: var(--ink); }
.photo-slot:has(.photo-slot-img)::before,
.photo-slot:has(.photo-slot-img)::after { display: none; }

/* — Philosophy scene photo — */
.phil-photo {
  aspect-ratio: 16 / 7;
  max-width: 720px;
  margin: 80px auto 60px;
  width: 100%;
}

/* Scroll-driven illumination — --lit (0..1) is set from JS.
   Layered over the existing photo-slot-img so the cinematic
   shop "lights up" as the photo enters the viewport. */
.phil-photo--lit { --lit: 0; }
/* Bottom layer: starts very dim, gently lifts to a moderate dusk
   brightness at full lit — surroundings come up but never match
   the lit noren. Light only ever reaches mid-brightness here. */
.phil-photo--lit .photo-slot-img {
  filter:
    grayscale(calc(0.42 - 0.32 * var(--lit, 0)))
    contrast(1.06)
    saturate(calc(0.30 + 0.55 * var(--lit, 0)))
    brightness(calc(0.30 + 0.42 * var(--lit, 0)));
  transition: filter 0.22s linear;
}
/* Ambient corner dim that fades fully out at lit=1 */
.phil-photo__dim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(
    ellipse 80% 100% at 68% 54%,
    rgba(0, 0, 0, 0.0) 0%,
    rgba(0, 0, 0, 0.18) 55%,
    rgba(0, 0, 0, 0.50) 100%
  );
  opacity: calc(1 - var(--lit, 0));
  transition: opacity 0.22s linear;
}
/* The "lights on" reveal: same image, masked to the noren region,
   then BRIGHTENED past 1x so the lamp pops harder than the source. */
.phil-photo__lights {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background-image: url('assets/scenes/philosophy-night-shop.png?v=2');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-mask-image:
    radial-gradient(ellipse 20% 30% at 68% 52%, #000 38%, transparent 80%),
    radial-gradient(ellipse 18% 9%  at 68% 76%, #000 12%, transparent 82%);
          mask-image:
    radial-gradient(ellipse 20% 30% at 68% 52%, #000 38%, transparent 80%),
    radial-gradient(ellipse 18% 9%  at 68% 76%, #000 12%, transparent 82%);
  -webkit-mask-composite: source-over;
          mask-composite: add;
  /* Boost: as --lit climbs, the noren is rendered brighter than source */
  filter:
    brightness(calc(1.0 + 0.55 * var(--lit, 0)))
    saturate(calc(1.0 + 0.20 * var(--lit, 0)));
  opacity: var(--lit, 0);
  transition: opacity 0.22s linear, filter 0.22s linear;
}
/* Strong tungsten bloom — wider + warmer at full lit */
.phil-photo__glow {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 14% 18% at 68% 54%,
      rgba(255, 220, 160, 0.80) 0%,
      rgba(255, 190, 110, 0.45) 35%,
      rgba(255, 150, 70, 0.00) 70%
    ),
    radial-gradient(
      ellipse 32% 40% at 68% 54%,
      rgba(255, 188, 110, 0.42) 0%,
      rgba(255, 150, 70, 0.18) 45%,
      rgba(255, 120, 50, 0.00) 80%
    );
  opacity: var(--lit, 0);
  mix-blend-mode: screen;
  transition: opacity 0.22s linear;
}
@media (prefers-reduced-motion: reduce) {
  .phil-photo__dim,
  .phil-photo__lights,
  .phil-photo__glow { transition: none; }
  .phil-photo--lit { --lit: 1 !important; }
}

/* — About secondary scenes (two-up) — */
.about-scenes {
  max-width: 1320px;
  margin: 120px auto 0;
  padding: 0 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.about-scene {
  aspect-ratio: 4 / 3;
}

/* — Services per-plan accent photo — */
.svc-photo {
  aspect-ratio: 4 / 3;
  width: 100%;
  max-width: 280px;
  margin-bottom: 40px;
}

/* — Works / Clients shop shot — */
.client-chip-shot {
  width: 180px;
  aspect-ratio: 4 / 3;
  margin: 20px auto 0;
  padding: 12px;
}
.client-chip-shot .photo-slot-label { font-size: 11px; letter-spacing: 0.16em; }

/* — Works / Commission scene photo — */
.comm-row { position: relative; }
.comm-photo {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 6;
  margin-bottom: 28px;
  width: 100%;
}

/* — Contact dialogue scene photo — */
.contact-photo {
  aspect-ratio: 16 / 6;
  margin-top: 56px;
  width: 100%;
}

@media (max-width: 980px) {
  .about-scenes { grid-template-columns: 1fr; gap: 24px; margin-top: 80px; padding: 0 32px; }
  .about-scene { aspect-ratio: 3 / 2; }
  .svc-photo { max-width: 100%; margin-bottom: 28px; }
  .client-chip-shot { width: 140px; }
  .phil-photo { margin: 56px auto 40px; }
  .comm-photo { aspect-ratio: 16 / 8; margin-bottom: 20px; }
  .contact-photo { aspect-ratio: 16 / 9; margin-top: 40px; }
}

/* ============ Phone (≤ 640px) ============
   Focused fixes for handheld portrait viewports.
   Keeps desktop/tablet untouched. */
@media (max-width: 640px) {
  /* Paddings */
  .nav-inner, .hero-inner, .about-grid, .career, .svc-row, .works-head, .works-tabs, .works-panel, .flow-inner, .blog-inner, .contact-inner, .footer-inner { padding-left: 20px; padding-right: 20px; }
  .voice-header, .voice-list, .voice-note { padding-left: 20px; padding-right: 20px; }

  /* MorphLogo: switch sizing from vh (tall phones) to vw so logo
     doesn't consume half the screen vertically. Also shrink bounds. */
  .morph-logo {
    --top-hero: 13vh;
    --size-hero: clamp(68px, 18vw, 110px);
    --size-nav: 24px;
    --left-nav: 20px;
  }

  /* Hero typography — narrower viewport needs smaller kicker & title */
  .hero-inner { padding-top: 20vh; }
  .hero-meta { font-size: 11px; letter-spacing: 0.18em; margin-bottom: 48px; gap: 14px; }
  .hero-meta .rule { width: 36px; }
  .hero-title { font-size: 34px; letter-spacing: 0.06em; margin-bottom: 40px; line-height: 1.55; }
  .hero-sub { font-size: 14px; line-height: 2.0; margin-bottom: 56px; }
  .cta { font-size: 13px; letter-spacing: 0.16em; }

  /* Hero footer — compact two-line stacked meta */
  .hero-foot { margin-top: 48px; padding-top: 24px; }
  .hero-foot .left, .hero-foot .right { font-size: 11px; letter-spacing: 0.18em; line-height: 1.8; }

  /* Section paddings */
  .sec, .sec-sm, .about, .services, .works, .voice, .flow, .blog, .contact, .philosophy, .diff { padding: 88px 0; }
  .hero { padding: 80px 0 60px; }

  /* Philosophy body */
  .phil-vision { font-size: 28px !important; line-height: 1.55; letter-spacing: 0.06em; }
  .phil-body p { font-size: 13px; line-height: 2.1; }

  /* About */
  .about-title { font-size: 22px; letter-spacing: 0.06em; line-height: 1.7; }
  .about-name { font-size: 18px; }
  .about-body p { font-size: 13px; line-height: 2.1; }
  .career-row { grid-template-columns: 56px 1fr; gap: 16px; }
  .career-year { font-size: 14px; }
  .career-body .role { font-size: 14px; }

  /* Sections titles */
  .sec-title { font-size: 26px !important; letter-spacing: 0.06em; line-height: 1.6; }
  .phil-num, .section-number { font-size: 11px; }

  /* Services */
  .svc-row { padding: 72px 20px; gap: 40px; }
  .svc-title { font-size: 22px; }
  .svc-price { font-size: 26px; }
  .svc-desc { font-size: 13px; line-height: 2.1; }
  .svc-items li { font-size: 13px; }

  /* Works */
  .works-tabs { gap: 20px; }
  .works-tab { font-size: 12px; letter-spacing: 0.14em; }
  .client-chip { padding: 0 28px; }
  .client-chip-name { font-size: 18px; }
  .client-chip-logo { height: 86px; }
  .client-chip-img { max-height: 86px; max-width: 140px; }
  .client-chip-shot { width: 118px; }
  .client-chip-store { font-size: 13px; margin-top: 16px; }
  .client-chip-company { font-size: 11px; }

  /* Voice cards */
  .voice-card { grid-template-columns: 72px 1fr; gap: 20px; padding: 36px 0; }
  .voice-card-photo { width: 72px; height: 72px; }
  .voice-card-cat { font-size: 11px; margin-bottom: 14px; }
  .voice-card-quote { font-size: 14px; line-height: 2.1; letter-spacing: 0.06em; margin-bottom: 18px; }
  .voice-card-name { font-size: 14px; }
  .voice-card-role { font-size: 11px; }

  /* Commissions */
  .comm-row { gap: 14px; padding: 28px 0; }
  .comm-title { font-size: 15px; }
  .comm-body { font-size: 13px; line-height: 2.0; }

  /* Flow */
  .flow-row { grid-template-columns: 44px 1fr; gap: 20px; }
  .flow-num { font-size: 18px; }
  .flow-title { font-size: 16px; }
  .flow-desc { font-size: 13px; line-height: 2.0; }
  .flow-meta { font-size: 11px; }

  /* Blog */
  .blog-row { grid-template-columns: 84px 1fr; gap: 14px; padding: 20px 0; }
  .blog-date { font-size: 11px; }
  .blog-title { font-size: 14px; line-height: 1.8; }

  /* Contact */
  .contact-title { font-size: 28px !important; letter-spacing: 0.06em; }
  .contact-lede { font-size: 13px; line-height: 2.0; }
  .form-input, .form-select, .form-textarea { font-size: 14px; }
  .form-submit { font-size: 14px; letter-spacing: 0.14em; padding: 16px 24px; }

  /* Footer */
  .footer { padding: 80px 0 40px; }
  .footer-tag { font-size: 13px; line-height: 1.9; }
  .footer-list li { font-size: 13px; }
  .footer-list a { font-size: 12px; }
  .footer-bottom { font-size: 11px; gap: 6px; flex-direction: column; align-items: flex-start; }

  /* Font switcher — further shrink, keep out of the way */
  .font-switcher { right: 10px; bottom: 10px; }
  .font-switcher-toggle { padding: 10px 12px; }
  .fs-kicker { font-size: 9px; }
  .fs-current { font-size: 12px; }
}

/* ============ Phone very narrow (≤ 380px) — iPhone SE / mini ============ */
@media (max-width: 380px) {
  .hero-title { font-size: 30px; }
  .phil-vision { font-size: 24px !important; }
  .sec-title { font-size: 22px !important; }
  .contact-title { font-size: 24px !important; }
  .morph-logo { --size-hero: clamp(60px, 20vw, 90px); }
}
